[ltp] R52 - Xorg/DRI/GLX - 18586MM

Onno Benschop linux-thinkpad@linux-thinkpad.org
Tue, 18 Jul 2006 00:40:25 +1000


Yay!

Laurent Gilson wrote:
>>     * I was not able to install libgl1-mesa-dri or libgl1-mesa-glx the=
y
>>       do not appear to be in backports.
>
> Are you on stable, testing or unstable ?
On stable with backports, read on, we have lift-off...

>>     * dpg -l | grep ii|grep mesa gives me:
>>
>>         ii  xlibmesa-dri   4.3.0.dfsg.1-1 Mesa 3D graphics library
>>         modules [XFree86]
>
> That does not match the version that shows up in the log. The version=20
> loaded is for 7.0.0 xorg-ABI. I think your problem is related to two=20
> or more installed versions of the GLX-dri (which was renamed form=20
> xlibmesa-dri to libgl1-mesa-dri in unstable). Make a clean install of=20
> all these versions and try again with a version for 6.9.0 xorg.
This was the magic bit.

The log in /var/log/Xorg.0.log was telling me what's wrong all along :-)

The file that it was loading, together with two other files in the same=20
directory, all had a recent time stamp. This coincided with me following =

the thinkwiki instructions to install the DRI snapshot which compiled=20
the modules for me, then installed them. They were from 7.0.0 xorg - not =

that I knew this - so, the fix in the end was quite simple - though I=20
have some work ahead :-( [And accuracy makes me state that I didn't=20
actually run these two commands quite like this, though for future=20
readers, this should work.]

    * apt-get --reinstall -t sarge-backports install xserver-xorg
    * apt-get -t sarge-backports install xlibmesa-dri xlibmesa-gl
      xlibmesa-gl-dev xlibmesa-glu xlibmesa-glu-dev


[The rest of this email is for the archive really, and I need to=20
actually do a re-install of my kernel image and check the actual files.]

So what else did DRI snapshot overwrite - it made backups, though=20
running the installer the second time killed the original :-(

    $locate -i dri-old

        /lib/modules/2.6.11/kernel/drivers/char/drm/dri-old.drm.ko
        /lib/modules/2.6.11/kernel/drivers/char/drm/dri-old.i915.ko
        /usr/X11R6/lib/dri-old.libGL.so.1.2
        /usr/X11R6/lib/modules/dri/dri-old.i915_dri.so
        /usr/X11R6/lib/modules/dri-old.libexa.so
        /usr/X11R6/lib/modules/dri-old.libshadow.so
        /usr/X11R6/lib/modules/drivers/dri-old.i810_drv.so
        /usr/X11R6/lib/modules/extensions/dri-old.libdri.so
        /usr/X11R6/lib/modules/extensions/dri-old.libGLcore.so
        /usr/X11R6/lib/modules/extensions/dri-old.libglx.so
        /usr/X11R6/lib/modules/linux/dri-old.libdrm.so


I already found the ones in the extensions directory, thanks to the log=20
file. The rest are from:

    $ dpkg -S drm.ko

        kernel-image-2.6.11-1-686:
        /lib/modules/2.6.11-1-686/kernel/drivers/char/drm/drm.ko
        kernel-image-2.6.11:
        /lib/modules/2.6.11/kernel/drivers/char/drm/drm.ko


    $ dpkg -S i915.ko

        kernel-image-2.6.11:
        /lib/modules/2.6.11/kernel/drivers/char/drm/i915.ko
        kernel-image-2.6.11-1-686:
        /lib/modules/2.6.11-1-686/kernel/drivers/char/drm/i915.ko


    $ dpkg -S libGL.so.1.2

        xlibmesa-gl: /usr/X11R6/lib/libGL.so.1.2
        xlibmesa-gl: /usr/lib/libGL.so.1.2


    $ dpkg -S i915_dri.so

        xlibmesa-dri: /usr/X11R6/lib/modules/dri/i915_dri.so


    $ dpkg -S libexa.so

        xserver-xorg: /usr/X11R6/lib/modules/libexa.so


    $ dpkg -S libshadow.so

        xserver-xorg: /usr/X11R6/lib/modules/libshadow.so


    $ dpkg -S i810_drv.so

        xserver-xorg: /usr/X11R6/lib/modules/drivers/i810_drv.so


    $ dpkg -S libdrm.so

        xserver-xorg: /usr/X11R6/lib/modules/linux/libdrm.so


For today, I'm done, but I'll report back if all went as expected - that =

is, a final re-install fixed all my fun.

Morale of this story, don't install the DRI snapshot on a debian box -=20
I've updated the thinkwiki page to reflect what I think I learnt:

    *Warning:* Debian users, do not install the DRI Snapshot, it will
    overwrite several files in several packages and cause you all manner
    of grief. If you're using Stable with xorg from sarge-backports (at
    backports.org), you can install all the required files from that
    repository, Etch (Testing/Unstable) users can install from the
    Testing/Unstable repositories at debian.org

--=20
Onno Benschop

Connected via Optus B3 at S27=B052'34" - E151=B015'43" (Millmerran, QLD)
--
()/)/)()        ..ASCII for Onno..
|>>?            ..EBCDIC for Onno..
--- -. -. ---   ..Morse for Onno..

Proudly supported by Skipper Trucks, Highway1, Concept AV, Sony Central, =
Dalcon
ITmaze   -   ABN: 56 178 057 063   -  ph: 04 1219 8888   -   onno@itmaze.=
com.au