[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#739691: libgl1-mesa-glx:amd64: Upgrade to Xserver 1.15 broke kwin and others: Invalid GLXFBConfig returned



Package: libgl1-mesa-glx
Version: 9.2.2-1
Severity: important

Dear Maintainer,

after upgrading to XServer 1.15, compositing in KWin does not work anymore. Downgrading X back to 1.14
confirmed that indeed the issue was introduced by the upgrade.

However, further research indicates that this is actually a bug in Mesa, which has been reported
against Ubuntu at [1] and upstream at [2]. Upstream has patches [3][4].
It's not only kwin showing the bug, but also my small GL test application [5]: glXChooseFBConfig returns
a GLXFBConfig that, when passed to glXGetVisualFromFBConfig, just yields NULL. The patch [3]
indicates that the problem is incorrect default values for GLX_DRAWABLE_TYPE, and indeed if I
explicitly request a GLX_DRAWABLE_TYPE of GLX_WINDOW_BIT in my test application, the bug is gone.

$ sudo lspci -nn |grep -i vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108M [GeForce GT 630M] [10de:0de9] (rev ff)

Kind regards
Ralf


[1] https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1278168
[2] https://bugs.freedesktop.org/show_bug.cgi?id=70706
[3] http://patchwork.freedesktop.org/patch/20458/
[4] http://patchwork.freedesktop.org/patch/20464/
[5] http://www.ralfj.de/git/gltest.git

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgl1-mesa-glx:amd64 depends on:
ii  libc6              2.17-97
ii  libdrm2            2.4.52-1
ii  libglapi-mesa      9.2.2-1
ii  libx11-6           2:1.6.2-1
ii  libx11-xcb1        2:1.6.2-1
ii  libxcb-dri2-0      1.10-2
ii  libxcb-glx0        1.10-2
ii  libxcb1            1.10-2
ii  libxdamage1        1:1.1.4-1
ii  libxext6           2:1.3.2-1
ii  libxfixes3         1:5.0.1-1
ii  libxxf86vm1        1:1.1.3-1
ii  multiarch-support  2.17-97

Versions of packages libgl1-mesa-glx:amd64 recommends:
ii  libgl1-mesa-dri  9.2.2-1

libgl1-mesa-glx:amd64 suggests no packages.

-- no debconf information


Reply to: