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 <gentoo-user+bounces-46507-garchives=archives.gentoo.org@gentoo.org>)
	id 1G1tdW-0004BU-U6
	for garchives@archives.gentoo.org; Sat, 15 Jul 2006 23:33:27 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6FNU2iZ025360;
	Sat, 15 Jul 2006 23:30:02 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6FNL340000136
	for <gentoo-user@lists.gentoo.org>; Sat, 15 Jul 2006 23:21:03 GMT
Received: by nf-out-0910.google.com with SMTP id m19so204743nfc
        for <gentoo-user@lists.gentoo.org>; Sat, 15 Jul 2006 16:21:03 -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=drvfdezRBKaPPKlc7boeylQW92BL0D97PgvXnbrEaxBJGjmMHh63env3b51T+sFM7da39DqvwjyJvrKY5cUDVQg1XM0TPlfEWdd0nzA38A9islkjRBBwrXSEmPG425wc0xHn7i4bxKc7mW3lEXhy4Hm8CqDx11fAccQfENdGq+E=
Received: by 10.78.193.5 with SMTP id q5mr286304huf;
        Sat, 15 Jul 2006 16:21:03 -0700 (PDT)
Received: by 10.78.97.8 with HTTP; Sat, 15 Jul 2006 16:21:03 -0700 (PDT)
Message-ID: <7d20977a0607151621j7daeef4es8b5fc05a27eb17ec@mail.gmail.com>
Date: Sat, 15 Jul 2006 16:21:03 -0700
From: Korthrun <korthrun@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Nvidia+Xorg not allowing DRI.
In-Reply-To: <200607151059.49961.volker.armin.hemmann@tu-clausthal.de>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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>
	 <200607151059.49961.volker.armin.hemmann@tu-clausthal.de>
X-Archives-Salt: be90ea99-6246-4b99-b3c9-ac4598dd3f00
X-Archives-Hash: 63a949b7df15a7ffb07181bdb82a572a

On 7/15/06, Hemmann, Volker Armin <volker.armin.hemmann@tu-clausthal.de> wrote:
> On Friday 14 July 2006 14:30, 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
>
> did you make eselect opengl set nvidia?
> Did you ever use the nvidia-installer?
> If yes to the second question, stale files from it, can ruin everything.
>
> #
> Section "Module"
>
> # This loads the DBE extension module.
>
>     Load        "dbe"   # Double buffer extension
>     Load        "extmod"
>     Load        "type1"
>     Load        "speedo"
>     Load        "freetype"
> #    Load        "xtt"
>     Load        "glx"
>     Load        "v4l"
>     Load        "ddc"
>     Load        "i2c
>
> EndSection
>
> Section "Extensions"
>     Option "Composite" "Enable"
> EndSection
>
>
>
> # **********************************************************************
> # Files section.  This allows default font and rgb paths to be set
> # **********************************************************************
>
> Section "Files"
>
>
>     FontPath   "/usr/share/fonts/misc/"
>     FontPath   "/usr/share/fonts/TTF/"
>     FontPath   "/usr/share/fonts/Type1/"
>     FontPath   "/usr/share/fonts/75dpi/"
>     FontPath   "/usr/share/fonts/100dpi/"
>     FontPath   "/usr/share/fonts/local/"
> #    FontPath   "/usr/share/fonts/Speedo/"
>     FontPath   "/usr/share/fonts/TrueType/"
>     FontPath   "/usr/share/fonts/freefont/"
>     FontPath   "/usr/share/fonts/sharefonts/"
>     FontPath   "/usr/share/fonts/corefonts/"
>
> EndSection
>
> # **********************************************************************
> # Server flags section.
> # **********************************************************************
>
> Section "ServerFlags"
>
>
> EndSection
>
> # **********************************************************************
> # Input devices
> # **********************************************************************
>
> # **********************************************************************
> # Core keyboard's InputDevice section
> # **********************************************************************
>
> Section "InputDevice"
>
>     Identifier  "Keyboard1"
>     Driver      "kbd"
>
>     Option "AutoRepeat" "500 30"
>     Option "XkbRules"   "xorg"
>     Option "XkbModel"   "pc102"
>     Option "XkbLayout"  "de"
>
> EndSection
>
>
> # **********************************************************************
> # Core Pointer's InputDevice section
> # **********************************************************************
>
> Section "InputDevice"
>
> # Identifier and driver
>
>     Identifier  "Mouse1"
> #    Driver     "mouse"
> #    Option      "Protocol"    "IMPS/2"
> #    Option      "Protocol"     "ExplorerPS/2"
> #    Option "InputFashion" "Mouse"
> #    Option      "Buttons"      "7"
> #    Option       "ButtonNumber" "7"
> #    Option      "ZAxisMapping" "6 7"
> #    Option      "Emulate3Buttons" "false"
> #    Option     "Device"      "/dev/input/mice"
> #    Option "ZAxisMapping" "4 5"
> #  Identifier      "Configured Mouse"
>         Driver          "mouse"
>         Option          "CorePointer"
>         Option          "Device"                "/dev/input/mice"
>         Option          "Protocol"              "ExplorerPS/2"
>         Option          "Buttons"               "8"
>         Option          "ZAxisMapping"          "4 5 6 7"
>         Option          "Emulate3Buttons"       "false"
>         Option          "Resolution"            "800"
> EndSection
>
> # **********************************************************************
> # Monitor section
> # **********************************************************************
>
> # Any number of monitor sections may be present
>
> Section "Monitor"
>
>     Identifier  "ibm"
>
>     HorizSync   31.5-96
>     VertRefresh 50-85
>     Option     "dpms"
> EndSection
>
>
> # **********************************************************************
> # Graphics device section
> # **********************************************************************
>
>
> Section "Device"
>     Identifier  "6600"
>     Driver      "nvidia"
>     #VideoRam    131072
>     # Insert Clocks lines here if appropriate
>
>     Option "RenderAccel" "true"
>     Option "AllowGLXWithComposite" "true"
>     Option "backingstore" "true"
>  #   Option "XaaNoOffscreenPixmaps" "true"
>     Option "ADDARGBGLXVisuals" "true"
> EndSection
>
>
> # **********************************************************************
> # Screen sections
> # **********************************************************************
>
> # Any number of screen sections may be present.  Each describes
> # the configuration of a single screen.  A single specific screen section
> # may be specified from the X server command line with the "-screen"
> # option.
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "6600"
>     Monitor     "ibm"
>     DefaultDepth 24
>
>     Subsection "Display"
>         Depth       8
>         Modes       "1280x960" "1024x768" "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "1280x960" "1024x768" "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1280x960" "1024x768" "800x600" "640x480" "640x400"
>         ViewPort    0 0
>     EndSubsection
> EndSection
>
>
> Section "ServerLayout"
>
> # The Identifier line must be present
>     Identifier  "Simple Layout"
>
>     Screen "Screen 1"
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
>
> EndSection
>
>
> works perfect.
> --
> gentoo-user@gentoo.org mailing list
>
>

> did you make eselect opengl set nvidia?
Yes. I have done it by hand several times, and when I emerge the
nvidia-* portage does it for me.
> Did you ever use the nvidia-installer?
No. I'm about to unmerge the drivers from portage and try the driver
off of nvidias site though.

I'll also try some snippets out of your config and see what happens.

Thanks much for the replies,

K
-- 
()  The ASCII Ribbon Campaign - against HTML Email,
/\  vCards, and proprietary formats.
-- 
gentoo-user@gentoo.org mailing list