eclipxe's blog

porque algún día tenía que suceder

3 notes

Problem with libgl1-mesa-dri

Suddenly, when I enter to my desktop on Debian GNU/Linux (Wheezy + SID) and I had found that the composite extension is not running any more, first I thougth it was a problem with compiz, so I quickly change to metacity, but no.

The problem

Then I stop follow my impulses and go directly to the log files, search for “(EE)” in /var/log/Xorg.0.log and found this messages:

# grep “(EE)” /var/log/Xorg.0.log
[   465.902] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/i965_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[   465.902] (EE) AIGLX: reverting to software rendering
[   465.902] (EE) AIGLX error: dlopen of /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[   465.902] (EE) GLX: could not load software renderer

WTF: file not found??!! Yes, file not found.

Well, sear for i965_dri.so with apt-file and dpkg —search

# apt-file search i915_dri.so
ia32-libs: /usr/lib32/dri/i915_dri.so
libgl1-mesa-dri: /usr/lib/dri/i915_dri.so
libgl1-mesa-dri: /usr/lib/x86_64-linux-gnu/dri/i915_dri.so

# dpkg —search i965_dri.so
ia32-libs: /usr/lib32/dri/i965_dri.so
libgl1-mesa-dri: /usr/lib/dri/i965_dri.so

Now, that is weird, libgl1-mesa-dri should have this file and should be located in /usr/lib32/dri/. Isn’t it? Yes It is:

-rw-r—r— 1 root root 3461592 may 31 10:58 /usr/lib/dri/i915_dri.so

So, why apt-file shows also the path /usr/lib/x86_64-linux-gnu/ and dpkg —search does not ? Answer: I don’t know :)

What I did:

# Create the folder /usr/lib/x86_64-linux-gnu/
mkdir -p /usr/lib/x86_64-linux-gnu/
# Create symlink
ln -s /usr/lib/dri/ /usr/lib/x86_64-linux-gnu/
# Restart GDM
/etc/init.d/gdm3 restart

Where to report the bug?

And now this is working fine, the thing is. Where do I put my bug? Is this a problem of libgl1-mesa-dri or is a problem with xserver-xorg

Filed under debian linux wheezy

  1. crep01 reblogged this from eclipxe13
  2. eclipxe13 posted this