[Pkg-telepathy-maintainers] Bug#704257: missing libgl1-mesa-dri in upgrades

Daniel Pocock daniel at pocock.com.au
Mon Apr 1 19:59:20 UTC 2013

On 01/04/13 14:37, John Paul Adrian Glaubitz wrote:
> On 04/01/2013 11:59 AM, Daniel Pocock wrote:
>> I've found that some default packages in Gnome are broken if
>> libgl1-mesa-dri is not installed
>> (...)
>> While I've filed a bug against empathy (that is where I observed the
>> problem), I suspect other packages are impacted and the issue may need
>> to be fixed at some other level.
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704257
> Empathy itself does not required GL libraries to be installed:

Agreed - that's why I suggested that this bug probably needs to be
assigned elsewhere, but only after understanding how this dependency
should be brought in during upgrade.

> However, Empathy depends on Clutter which itself requires an OpenGL
> implementation:
> ...
> Checking the depends of libclutter-1.0-0:
> glaubitz at znote-t60o:~$ apt-cache depends libclutter-1.0-0 |head
> libclutter-1.0-0
>   Depends: libatk1.0-0
>   Depends: libc6
>   Depends: libcairo-gobject2
>   Depends: libcairo2
>   Depends: libcogl-pango0
>   Depends: libcogl9
>   Depends: libfontconfig1
>   Depends: libfreetype6
>   Depends: libgdk-pixbuf2.0-0
> glaubitz at znote-t60o:~$
> where you see a dependency on libcogl9 which in turn depends on MESA:
> glaubitz at znote-t60o:~$ apt-cache depends libcogl9 |head
> libcogl9
> ...
>   Depends: libgl1-mesa-glx

Agreed, but that doesn't complete the picture, as libgl1-mesa-glx
doesn't depend on libgl1-mesa-dri:

$ apt-cache depends libgl1-mesa-glx
    Recommends: libgl1-mesa-dri

> So, whatever you do, don't mess around with Empathy. The bug, if any, is
> not in Empathy but any of its dependencies. I'd have a look at Clutter.

Either empathy or libclutter probably need to generate a popup error
window in this situation, if the error only appears in a console then it
will leave users with a bad impression of any impacted binary.
Generating such an error is independent of making sure the dependency is

Here are the actual errors:

(empathy:30909): Clutter-CRITICAL **: Unable to initialize Clutter:
Failed to connected to any renderer:
XServer appears to lack required GLX support

(empathy:30909): empathy-CRITICAL **: main: assertion `gtk_clutter_init
(&argc, &argv) == CLUTTER_INIT_SUCCESS' failed

and this is from /var/log/Xorg.0.log:

[246718.377] (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)
[246718.377] (EE) AIGLX: reverting to software rendering
[246718.378] (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)
[246718.378] (EE) GLX: could not load software renderer

I also discovered some older complaints about the empathy/clutter/mesa
relationship, this was is grave and was only closed recently:


> Also, have you tried running Empathy on a non-compositing window manager
> when libgl1-mesa-dri is not installed?

I'm happy to try that, can you propose which window manager I should
try?  I know fvwm quite well and don't mind installing that.

More information about the Pkg-telepathy-maintainers mailing list