From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G1uYc-00067r-Ah for garchives@archives.gentoo.org; Sun, 16 Jul 2006 00:32:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6G0UFeF002418; Sun, 16 Jul 2006 00:30:15 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6G0I0kt010861 for ; Sun, 16 Jul 2006 00:18:00 GMT Received: by nf-out-0910.google.com with SMTP id m19so209730nfc for ; Sat, 15 Jul 2006 17:17:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rDIRYMwMyEoJ0LMf6lp71o5WHrdp/tPx3NMyNs/qofjNGlxAXzkFe4L9jwHS73ATBNdrE4A/K8eTyWAFQDjOceFRmeRGit9tSDZ8E2ms3IN9HsSPE2Dq1EqcaE9ER914pBMJ9RsPnv3Ve0MffxTXVEqSurSOG7FfonLaBBcD1kk= Received: by 10.78.140.17 with SMTP id n17mr292167hud; Sat, 15 Jul 2006 17:17:59 -0700 (PDT) Received: by 10.78.97.8 with HTTP; Sat, 15 Jul 2006 17:17:59 -0700 (PDT) Message-ID: <7d20977a0607151717g3fd87735u3acac6922343509@mail.gmail.com> Date: Sat, 15 Jul 2006 17:17:59 -0700 From: Korthrun To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: Nvidia+Xorg not allowing DRI. In-Reply-To: <7d20977a0607151647y6f5b76dby8e0a3fb26734207c@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d20977a0607140530m4b60b8fexa4ee64e6c2ff63d8@mail.gmail.com> <7d20977a0607151647y6f5b76dby8e0a3fb26734207c@mail.gmail.com> X-Archives-Salt: 3c59c569-c63f-42d7-9c4e-bf78b29b55a8 X-Archives-Hash: 675cf2b8d825be506a83e05531d31f06 On 7/15/06, Korthrun wrote: > On 7/14/06, Korthrun wrote: > > Heyyas, > > > > I'm running: > > Xorg 7.0-r1 > > nvidia-kernel 1.0.8762 > > nvidia-glx 1.0.8762 > > > > I've followed the guide at > > http://www.gentoo.org/doc/en/nvidia-guide.xml with the following > > exceptions. I'm using a kernel.org kernel not a portage kernel, and I > > didn't make the "changes" regarding framebuffers because I don't > > intend to use one.That whole bit is disabled in my kernel. > > > > X starts up fine and looks great, I get decent FPS from glxgears. > > While following the above guide I get to this point "Code Listing > > 2.19: Checking the direct rendering status" and end up with this: > > > > glxinfo | grep direct > > Xlib: extension "XFree86-DRI" missing on display ":0.0". > > direct rendering: No > > > > My Xorg.conf follows: > > ######Start xorg.conf > > Section "ServerLayout" > > Identifier "X.org Configured" > > Screen 0 "Screen[0]" 0 0 > > InputDevice "Mouse0" "CorePointer" > > InputDevice "Keyboard0" "CoreKeyboard" > > EndSection > > > > Section "Files" > > RgbPath "/usr/share/X11/rgb" > > ModulePath "/usr/lib/xorg/modules" > > FontPath "/usr/share/fonts/misc" > > FontPath "/usr/share/fonts/75dpi" > > FontPath "/usr/share/fonts/100dpi" > > FontPath "/usr/share/fonts/TTF" > > FontPath "/usr/share/fonts/Type1" > > EndSection > > > > Section "Module" > > Load "glx" > > Load "extmod" > > Load "xtrap" > > Load "record" > > Load "dbe" > > # Load "dri" > > Load "freetype" > > Load "type1" > > EndSection > > > > Section "InputDevice" > > Identifier "Keyboard0" > > Driver "kbd" > > EndSection > > > > Section "InputDevice" > > Identifier "Mouse0" > > Driver "mouse" > > Option "Protocol" "IMPS/2" > > Option "Device" "/dev/input/mice" > > Option "Buttons" "7" > > Option "ZAxisMapping" "4 5" > > EndSection > > > > Section "Monitor" > > Identifier "Monitor[0]" > > Option "VendorName" "ATI Proprietary Driver" > > Option "ModelName" "Generic Autodetecting Monitor" > > Option "DPMS" "true" > > HorizSync 30-70 > > VertRefresh 50-180 > > EndSection > > > > Section "Device" > > Identifier "Device[0]" > > Driver "nvidia" > > EndSection > > > > Section "Screen" > > Identifier "Screen[0]" > > Device "Device[0]" > > Monitor "Monitor[0]" > > DefaultDepth 24 > > SubSection "Display" > > Viewport 0 0 > > Depth 24 > > Modes "1280x1024" > > EndSubSection > > EndSection > > > > Section "DRI" > > Group "video" > > Mode 0660 > > EndSection > > > > ######End xorg.conf > > > > I've tried it both with and without this last stanza regarding > > DRI. I tossed it in there for giggles since I needed it with my ATI > > card. One thing I haven't ventured to yet is recompilin xorg. When I > > compiled it I did have VIDEO_CARDS set to radeon. Will this effect > > xorg working with nvidia cards? What would the proper VIDEO_CARDS > > setting be for a geforce 6800? > > > > Any suggestions/comments are very welcome. Thanks muchly., > > > > Korf > > -- > > () The ASCII Ribbon Campaign - against HTML Email, > > /\ vCards, and proprietary formats. > > > Well, I've now narrowed it down to permissions. I didn't install the > drivers off of nvidias site as they are the same version. Perusing the > nvidia linux forum I came across a post that made me want to do > glxgears again. I was root on that console due to just having emerged > something, and DRI works fine. I'm going to poke some stuff with chmod > and restart, but if any know what might be the difference that allows > root to do it I'd love to hear it. > > K > > -- > () The ASCII Ribbon Campaign - against HTML Email, > /\ vCards, and proprietary formats. > I restarted X and I can see DRI fine on a non privileged user. The change was adding some of the options from device section of the xorg.conf posted by Hemmann, Volker Armin Thanks everyone, K -- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats. -- gentoo-user@gentoo.org mailing list