https://bugs.freedesktop.org/show_bug.cgi?id=69670
Priority: medium Bug ID: 69670 Assignee: dri-devel@lists.freedesktop.org Summary: KWin crashes when switching to OpenGL 3.1 + Raster Severity: normal Classification: Unclassified OS: Linux (All) Reporter: omegatype@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: 9.2 Component: Drivers/Gallium/radeonsi Product: Mesa
Created attachment 86306 --> https://bugs.freedesktop.org/attachment.cgi?id=86306&action=edit kwin stderr
KWin crashes with the following message after switching from OpenGL 2.0 + Raster to OpenGL 3.1 + Raster:
[xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. kwin: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Some information about the system (Arch Linux x86_64):
$ uname -srvm Linux 3.11.1-1-ARCH #1 SMP PREEMPT Sat Sep 14 19:30:21 CEST 2013 x86_64
$ sudo lspci | grep VGA 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition]
$ yaourt -Qs mesa | egrep '^[^ ]' extra/ati-dri 9.2.0-2 extra/glu 9.0.0-2 multilib/lib32-ati-dri 9.2.0-1 multilib/lib32-glu 9.0.0-2 multilib/lib32-libtxc_dxtn 1.0.1-5 multilib/lib32-mesa 9.2.0-1 multilib/lib32-mesa-libgl 9.2.0-1 extra/mesa 9.2.0-2 extra/mesa-demos 8.1.0-1 extra/mesa-libgl 9.2.0-2
$ yaourt -Qs xf86-video-ati extra/xf86-video-ati 1:7.2.0-1 (xorg-drivers xorg)
# cat /etc/X11/xorg.conf.d/05-glamor.conf Section "Module" Load "dri2" Load "glamoregl" EndSection
# cat /etc/X11/xorg.conf.d/50-device.conf Section "Device" Identifier "Default Device" Driver "radeon" Option "SwapbuffersWait" "off" Option "ColorTiling" "on" Option "ColorTiling2D" "on" Option "EnablePageFlip" "on" Option "AccelDFS" "on" Option "XV_VSYNC" "on" Option "AccelMethod" "glamor" #Option "AccelMethod" "EXA" EndSection
https://bugs.freedesktop.org/show_bug.cgi?id=69670
--- Comment #1 from Eugene omegatype@gmail.com --- Created attachment 86307 --> https://bugs.freedesktop.org/attachment.cgi?id=86307&action=edit dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=69670
--- Comment #2 from Eugene omegatype@gmail.com --- Created attachment 86308 --> https://bugs.freedesktop.org/attachment.cgi?id=86308&action=edit kwin stdout
https://bugs.freedesktop.org/show_bug.cgi?id=69670
--- Comment #3 from Eugene omegatype@gmail.com --- Created attachment 86309 --> https://bugs.freedesktop.org/attachment.cgi?id=86309&action=edit Xorg log
https://bugs.freedesktop.org/show_bug.cgi?id=69670
--- Comment #4 from Michel Dänzer michel@daenzer.net --- As you can see in the kwin stdout output, radeonsi only supports OpenGL 2.1 in Mesa 9.2. I suspect the problem happens when kwin tries to create an OpenGL 3.x context, but I wonder if this is radeonsi specific — does it not happen e.g. if you run kwin with LIBGL_ALWAYS_SOFTWARE=1 ?
https://bugs.freedesktop.org/show_bug.cgi?id=69670
--- Comment #5 from Eugene omegatype@gmail.com --- I am not sure how to confirm it. I tried launching:
LIBGL_ALWAYS_SOFTWARE=1 kwin --replace > kwin_stdout_LIBGL_ALWAYS_SOFTWARE.txt 2> kwin_stderr_LIBGL_ALWAYS_SOFTWARE.txt
and it disabled desktop effects; then I tried to switch to OpenGL 3.1 + Raster and Kwin crashed displaying 'report bug assignment' window and then was restarted automatically without effects. I could not enable effect anyhow.
kwin_stdout_LIBGL_ALWAYS_SOFTWARE.txt was empty.
https://bugs.freedesktop.org/show_bug.cgi?id=69670
--- Comment #6 from Eugene omegatype@gmail.com --- Created attachment 86794 --> https://bugs.freedesktop.org/attachment.cgi?id=86794&action=edit kwin stderr with LIBGL_ALWAYS_SOFTWARE=1
https://bugs.freedesktop.org/show_bug.cgi?id=69670
--- Comment #7 from smoki smoki00790@gmail.com ---
Pretty much old bug, is this still an issue with current mesa?
https://bugs.freedesktop.org/show_bug.cgi?id=69670
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED
--- Comment #8 from Timothy Arceri t_arceri@yahoo.com.au --- As per comment 4 radeonsi in 2013 probably didn't support the required OpenGL support. Closing.
dri-devel@lists.freedesktop.org