Gentoo Archives: gentoo-user

From: "Jesús Guerrero" <i92guboj@×××××.es>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] hal, how to chose between nvidia and nv
Date: Wed, 04 Nov 2009 10:53:15
Message-Id: 0365af17a47b2d9f5bde6d1e9bb7798e@localhost
In Reply to: [gentoo-user] hal, how to chose between nvidia and nv by Arnau Bria
On Wed, 4 Nov 2009 11:08:26 +0100, Arnau Bria <arnau@×××××××××.net> wrote:
> Hi all, > > I have no xorg.conf, so hal does all the conf stuff for me. > My problem (I think) is that I have both modules in my sytem: > > > [I] x11-drivers/nvidia-drivers > > $ grep nv /etc/make.conf > VIDEO_CARDS="vesa nvidia" > > > and seems that Xorg tries some drivers and finally loads nv driver: > > from less /var/log/Xorg.0.log, some relevant info: > > [..] > (--) PCI:*(0:1:0:0) 10de:0221:0000:0000 nVidia Corporation NV44A
[GeForce
> 6200] rev 161, Mem > [...] > > (II) LoadModule: "glx" > (II) Loading /usr/lib/xorg/modules/extensions//libglx.so > (II) Module glx: vendor="NVIDIA Corporation" > compiled for 4.0.2, module version = 1.0.0 > Module class: X.Org Server Extension > (II) NVIDIA GLX Module 180.60 Tue May 12 12:42:34 PDT 2009 > [...] > (II) LoadModule: "dri" > (WW) Warning, couldn't open module dri > (II) UnloadModule: "dri" > (EE) Failed to load module "dri" (module does not exist, 0) > (II) LoadModule: "dri2" > (WW) Warning, couldn't open module dri2 > (II) UnloadModule: "dri2" > (EE) Failed to load module "dri2" (module does not exist, 0) > (II) LoadModule: "nv" > (II) Loading /usr/lib/xorg/modules/drivers//nv_drv.so > (II) Module nv: vendor="X.Org Foundation" > compiled for 1.6.3.901, module version = 2.1.14 > Module class: X.Org Video Driver > ABI class: X.Org Video Driver, version 5.0 > (II) LoadModule: "vesa" > (II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so > (II) Module vesa: vendor="X.Org Foundation" > compiled for 1.6.3.901, module version = 2.2.1 > Module class: X.Org Video Driver > ABI class: X.Org Video Driver, version 5.0 > (II) LoadModule: "fbdev" > (WW) Warning, couldn't open module fbdev > (II) UnloadModule: "fbdev" > (EE) Failed to load module "fbdev" (module does not exist, 0) > (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2, > [...] > (II) NV(0): Initializing int10 > (II) NV(0): Primary V_BIOS segment is: 0xc000 > (--) NV(0): Chipset: "GeForce 6200" > (II) NV(0): Creating default Display subsection in Screen section > "Builtin Default nv Screen 0" for depth/fbbpp 24/32 > (==) NV(0): Depth 24, (--) framebuffer bpp 32 > (==) NV(0): RGB weight 888 > (==) NV(0): Default visual is TrueColor > [...] > (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not > found) > [...] > > > from here all refers to NV. > > Am Iworng or my xorg uses nv driver? if so, how may I force hal to use > nvidia driver? what about dri module? why is it failling to load it?
This is only one of the reasons (only one of them) why hal in X is as useless as it can get: if you use any driver that's not provided by the Xorg guys then you still need an xorg.conf. About dri, I don't think nv supports dri at all. It certainly doesn't do any 3d. -- Jesús Guerrero

Replies

Subject Author
Re: [gentoo-user] hal, how to chose between nvidia and nv Peter Haworth <pmh@××××××××××××××××××××.com>