>>>> Google says the error can be due to disabling dri in xorg.conf, but I
>>>> don't have anything like that.  Should CONFIG_DRM_NOUVEAU=y include
>>>> the dri or dri2 module?
>>>
>>> The dri and dri2 modules should be installed by x11-base/xorg-server.
>>
>> I've got all of these:
>>
>> /usr/lib64/opengl/xorg-x11/extensions/libdri.so
>> /usr/lib64/opengl/xorg-x11/extensions/libdri2.so
>> /usr/lib/opengl/xorg-x11/extensions/libdri2.so
>> /usr/lib/opengl/xorg-x11/extensions/libdri.so
>>
>> but I get the dri and dri2 "module does not exist" errors.  Can I
>> specify a path in xorg.conf, or does anyone know what the problem
>> might be?
>
> I have this on my x86:
>
> (II) LoadModule: "dri"
> (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
> (II) Module dri: vendor="X.Org Foundation"
>        compiled for 1.7.6, module version = 1.0.0
>        ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension XFree86-DRI
> (II) LoadModule: "dri2"
> (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
> (II) Module dri2: vendor="X.Org Foundation"
>        compiled for 1.7.6, module version = 1.1.0
>        ABI class: X.Org Server Extension, version 2.0
> (II) Loading extension DRI2
> (II) LoadModule: "nouveau"
>
> If you have the proprietary nvidia drivers installed, that package messes
> with
> the simlinks to the dri libraries when you use "eselect opengl set foo" so
> maybe you have that set for the nvidia opengl version?  Check to see what
> those
> simlinks are actually pointing to.

Bingo!  Walt, you aced it, thank you.  I can now start X via the
nouveau driver.  The only problem I see in Xorg.0.log is:

(EE) AIGLX error: dlopen of /usr/lib64/dri/nouveau_dri.so failed
(/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No
such file or directory)
(EE) AIGLX: reverting to software rendering

I see that xf86-video-nouveau-0.0.15_pre20100213 doesn't install that
file.  It does install the following file, but they don't look
interchangeable to me:

/usr/lib64/xorg/modules/drivers/nouveau_drv.so

Should /usr/lib64/dri/nouveau_dri.so come from CONFIG_DRM_NOUVEAU=y in
the kernel (which I have defined)?  Does anyone have this file?

- Grant

Reply via email to