Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: nouveau-drm compile failure
Date: Thu, 20 May 2010 14:09:29
Message-Id: AANLkTil1krxkkWf8CLarjatfDJ7cItpvjagVGvHU6td_@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: nouveau-drm compile failure by Grant
1 >>> I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
2 >>> compilation fails:
3 >>
4 >> I don't think you should be using nouveau-drm in the first place.  This
5 >> driver is now in the kernel itself.  nouveau-drm was used before that driver
6 >> moved into the Linux kernel together with the other DRM drivers.
7 >
8 > Well, the xf86-video-nouveau-0.0.16_pre20100510 ebuild says:
9 >
10 > Nouveau DRM not detected. If you want any kind of
11 > acceleration with nouveau, emerge x11-base/nouveau-drm or
12 > enable CONFIG_DRM_NOUVEAU in the kernel.
13 > Nouveau DRM in kernel 2.6.33 is API incompatible to
14 >>=x11-libs/libdrm-2.4.18, please use x11-base/nouveau-drm
15 > instead.
16 >
17 > Unfortunately, the same ebuild depends on >=x11-libs/libdrm-2.4.19.  I
18 > tried to ignore the warning but X fails with:
19 >
20 > (EE) Failed to load module "dri" (module does not exist, 0)
21 > (EE) Failed to load module "dri2" (module does not exist, 0)
22 > (EE) [drm] No DRICreatePCIBusID symbol
23 > (EE) No devices detected.
24 >
25 > The xf86-video-nouveau-0.0.15_pre20100213 ebuild only depends on
26 >>=x11-libs/libdrm-2.4.18_pre so I installed those but I still get the
27 > errors above when trying to start X.
28 >
29 > Any ideas?  Do you have nouveau working?
30 >
31 > - Grant
32
33 I forgot to mention that I have CONFIG_DRM_NOUVEAU enabled in my
34 2.6.33 kernel and nouveau-firmware is loading successfully.
35
36 - Grant