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
1 On Wed, 4 Nov 2009 11:08:26 +0100, Arnau Bria <arnau@×××××××××.net> wrote:
2 > Hi all,
3 >
4 > I have no xorg.conf, so hal does all the conf stuff for me.
5 > My problem (I think) is that I have both modules in my sytem:
6 >
7 >
8 > [I] x11-drivers/nvidia-drivers
9 >
10 > $ grep nv /etc/make.conf
11 > VIDEO_CARDS="vesa nvidia"
12 >
13 >
14 > and seems that Xorg tries some drivers and finally loads nv driver:
15 >
16 > from less /var/log/Xorg.0.log, some relevant info:
17 >
18 > [..]
19 > (--) PCI:*(0:1:0:0) 10de:0221:0000:0000 nVidia Corporation NV44A
20 [GeForce
21 > 6200] rev 161, Mem
22 > [...]
23 >
24 > (II) LoadModule: "glx"
25 > (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
26 > (II) Module glx: vendor="NVIDIA Corporation"
27 > compiled for 4.0.2, module version = 1.0.0
28 > Module class: X.Org Server Extension
29 > (II) NVIDIA GLX Module 180.60 Tue May 12 12:42:34 PDT 2009
30 > [...]
31 > (II) LoadModule: "dri"
32 > (WW) Warning, couldn't open module dri
33 > (II) UnloadModule: "dri"
34 > (EE) Failed to load module "dri" (module does not exist, 0)
35 > (II) LoadModule: "dri2"
36 > (WW) Warning, couldn't open module dri2
37 > (II) UnloadModule: "dri2"
38 > (EE) Failed to load module "dri2" (module does not exist, 0)
39 > (II) LoadModule: "nv"
40 > (II) Loading /usr/lib/xorg/modules/drivers//nv_drv.so
41 > (II) Module nv: vendor="X.Org Foundation"
42 > compiled for 1.6.3.901, module version = 2.1.14
43 > Module class: X.Org Video Driver
44 > ABI class: X.Org Video Driver, version 5.0
45 > (II) LoadModule: "vesa"
46 > (II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so
47 > (II) Module vesa: vendor="X.Org Foundation"
48 > compiled for 1.6.3.901, module version = 2.2.1
49 > Module class: X.Org Video Driver
50 > ABI class: X.Org Video Driver, version 5.0
51 > (II) LoadModule: "fbdev"
52 > (WW) Warning, couldn't open module fbdev
53 > (II) UnloadModule: "fbdev"
54 > (EE) Failed to load module "fbdev" (module does not exist, 0)
55 > (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
56 > [...]
57 > (II) NV(0): Initializing int10
58 > (II) NV(0): Primary V_BIOS segment is: 0xc000
59 > (--) NV(0): Chipset: "GeForce 6200"
60 > (II) NV(0): Creating default Display subsection in Screen section
61 > "Builtin Default nv Screen 0" for depth/fbbpp 24/32
62 > (==) NV(0): Depth 24, (--) framebuffer bpp 32
63 > (==) NV(0): RGB weight 888
64 > (==) NV(0): Default visual is TrueColor
65 > [...]
66 > (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
67 > found)
68 > [...]
69 >
70 >
71 > from here all refers to NV.
72 >
73 > Am Iworng or my xorg uses nv driver? if so, how may I force hal to use
74 > nvidia driver? what about dri module? why is it failling to load it?
75
76 This is only one of the reasons (only one of them) why hal in X is as
77 useless as it can get: if you use any driver that's not provided by the
78 Xorg guys then you still need an xorg.conf.
79
80 About dri, I don't think nv supports dri at all. It certainly doesn't do
81 any 3d.
82
83 --
84 Jesús Guerrero

Replies

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