[Mesa-dev] Problem using GLVND enabled mesa with Intel DDX

Yu, Qiang Qiang.Yu at amd.com
Fri Dec 16 03:06:46 UTC 2016


Thanks for your info, Emil. Same bug as 98428.

Regards,
Qiang

________________________________________
From: Emil Velikov <emil.l.velikov at gmail.com>
Sent: Thursday, December 15, 2016 9:58:34 PM
To: Yu, Qiang
Cc: mesa-dev at lists.freedesktop.org; kbrenneman at nvidia.com; Daenzer, Michel
Subject: Re: [Mesa-dev] Problem using GLVND enabled mesa with Intel DDX

On 15 December 2016 at 09:01, Yu, Qiang <Qiang.Yu at amd.com> wrote:
>
> Hi guys,
>
> I'm trying GLVND with mesa, but the Intel DDX seems have some problem with it:
> [  2970.834] (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: undefined symbol: _glapi_tls_Dispatch)
> [  2970.834] (EE) AIGLX: reverting to software rendering
> [  2970.889] (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: undefined symbol: _glapi_tls_Dispatch)
> [  2970.889] (EE) GLX: could not load software renderer
> [  2970.889] (II) GLX: no usable GL providers found for screen 0
>
> I find the _glapi_tls_Dispatch is in libglapi.so which is depended by libGLX_mesa.so.
> But in Intel DDX's case, no libGLX_mesa.so/libglapi.so is loaded, i965_dri.so is loaded directly.
>
Sounds like https://bugs.freedesktop.org/show_bug.cgi?id=98428

There's a bunch of ideas on how to tackle this, ranging from:
 - retro "fix" xserver - comment 2
 - link against glapi.so (it can have implications) - comment 3
 - reuse GLdispatch.so for the symbols - comment 3 and others

-Emil


More information about the mesa-dev mailing list