Skip to contentSkip to conversation

New: KWin crashes when switching to OpenGL 3.1 + Raster

Bug 69670 [email protected] 1 participant 9 messages Sep 22, 2013 – Mar 31, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=69670

          Priority: medium
            Bug ID: 69670
          Assignee: [email protected]
           Summary: KWin crashes when switching to OpenGL 3.1 + Raster
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          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
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

https://bugs.freedesktop.org/show_bug.cgi?id=69670

--- Comment #1 from Eugene <[email protected]> --- Created attachment 86307
--> https://bugs.freedesktop.org/attachment.cgi?id=86307&action=edit
dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69670

--- Comment #2 from Eugene <[email protected]> --- Created attachment 86308
--> https://bugs.freedesktop.org/attachment.cgi?id=86308&action=edit
kwin stdout

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69670

--- Comment #3 from Eugene <[email protected]> --- Created attachment 86309
--> https://bugs.freedesktop.org/attachment.cgi?id=86309&action=edit
Xorg log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69670

--- Comment #4 from Michel Dänzer <[email protected]> ---
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 ?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69670

--- Comment #5 from Eugene <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69670

--- Comment #6 from Eugene <[email protected]> --- Created attachment 86794
--> https://bugs.freedesktop.org/attachment.cgi?id=86794&action=edit
kwin stderr with LIBGL_ALWAYS_SOFTWARE=1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69670

--- Comment #7 from smoki <[email protected]> ---

Pretty much old bug, is this still an issue with current mesa?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 69670] KWin crashes when switching to OpenGL 3.1 + Raster

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=69670

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #8 from Timothy Arceri <[email protected]> ---
As per comment 4 radeonsi in 2013 probably didn't support the required OpenGL support. Closing.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel