Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: nouveau-drm compile failure
Date: Fri, 21 May 2010 23:43:40
Message-Id: AANLkTim7MiErnb7twnUNemtFekRLztYZVGL6oUgjPfbV@mail.gmail.com
In Reply to: [gentoo-user] Re: nouveau-drm compile failure by walt
1 >>>> Google says the error can be due to disabling dri in xorg.conf, but I
2 >>>> don't have anything like that.  Should CONFIG_DRM_NOUVEAU=y include
3 >>>> the dri or dri2 module?
4 >>>
5 >>> The dri and dri2 modules should be installed by x11-base/xorg-server.
6 >>
7 >> I've got all of these:
8 >>
9 >> /usr/lib64/opengl/xorg-x11/extensions/libdri.so
10 >> /usr/lib64/opengl/xorg-x11/extensions/libdri2.so
11 >> /usr/lib/opengl/xorg-x11/extensions/libdri2.so
12 >> /usr/lib/opengl/xorg-x11/extensions/libdri.so
13 >>
14 >> but I get the dri and dri2 "module does not exist" errors.  Can I
15 >> specify a path in xorg.conf, or does anyone know what the problem
16 >> might be?
17 >
18 > I have this on my x86:
19 >
20 > (II) LoadModule: "dri"
21 > (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
22 > (II) Module dri: vendor="X.Org Foundation"
23 >        compiled for 1.7.6, module version = 1.0.0
24 >        ABI class: X.Org Server Extension, version 2.0
25 > (II) Loading extension XFree86-DRI
26 > (II) LoadModule: "dri2"
27 > (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
28 > (II) Module dri2: vendor="X.Org Foundation"
29 >        compiled for 1.7.6, module version = 1.1.0
30 >        ABI class: X.Org Server Extension, version 2.0
31 > (II) Loading extension DRI2
32 > (II) LoadModule: "nouveau"
33 >
34 > If you have the proprietary nvidia drivers installed, that package messes
35 > with
36 > the simlinks to the dri libraries when you use "eselect opengl set foo" so
37 > maybe you have that set for the nvidia opengl version?  Check to see what
38 > those
39 > simlinks are actually pointing to.
40
41 Bingo! Walt, you aced it, thank you. I can now start X via the
42 nouveau driver. The only problem I see in Xorg.0.log is:
43
44 (EE) AIGLX error: dlopen of /usr/lib64/dri/nouveau_dri.so failed
45 (/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No
46 such file or directory)
47 (EE) AIGLX: reverting to software rendering
48
49 I see that xf86-video-nouveau-0.0.15_pre20100213 doesn't install that
50 file. It does install the following file, but they don't look
51 interchangeable to me:
52
53 /usr/lib64/xorg/modules/drivers/nouveau_drv.so
54
55 Should /usr/lib64/dri/nouveau_dri.so come from CONFIG_DRM_NOUVEAU=y in
56 the kernel (which I have defined)? Does anyone have this file?
57
58 - Grant

Replies

Subject Author
[gentoo-user] Re: nouveau-drm compile failure walt <w41ter@×××××.com>