Skip to contentSkip to conversation

kwin segfaults when Alt+Tabbing with windows thumbnails on AMDGPU

Bug 102423 [email protected] 1 participant 9 messages Aug 26, 2017 – Sep 8, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 102423
Summary: kwin segfaults when Alt+Tabbing with windows
thumbnails on AMDGPU
Product: Mesa
Version: 17.1
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 133806
--> https://bugs.freedesktop.org/attachment.cgi?id=133806&action=edit
Backtrace of the kwin crash

I use an AMD RX560 with Mesa 17.1.7 and Plasma 5.10.5 (ArchLinux).

When I use the "thumbnails" Alt+Tab style for kwin, sooner or later kwin will segfault while alt+tabbing.
Without windows thumbnails, everything works ok.

I reported this bug on the KDE bugtracker already :
https://bugs.kde.org/show_bug.cgi?id=383058

But the crash seems to come from the driver.
It happened with previous Mesa 17.1 versions too.

See the backtrace in attachment.

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

#1 lore raw

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

[email protected] changed:

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

                 OS|All                         |Linux (All)
           Hardware|Other                       |x86-64 (AMD64)
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

#2 lore raw
In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #1 from Michel Dänzer <[email protected]> --- Nothing can be done about this without debugging symbols being available for /usr/lib/xorg/modules/dri/radeonsi_dri.so in the backtrace.

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

#4 lore raw
In reply to [email protected]

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

Henry Hu <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #3 from Henry Hu <[email protected]> --- I also reported a similar bug to KDE:
https://bugs.kde.org/show_bug.cgi?id=384901
and they sent me upstream.

The backtrace is very similar. On the other hand, I am using the r600 dri module.
It crashes every time I do alt+tab. I'll try to build with debug.

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

#5 lore raw
In reply to [email protected]

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

--- Comment #4 from [email protected] ---
Created attachment 137109
--> https://bugs.freedesktop.org/attachment.cgi?id=137109&action=edit
backtrace kwin alt-tab thumbnails AMDGPU

Kwin segfaults when alt-tabbing with "thumbnails" selected. I wanted to file a bug report against AMDGPU driver, but search shows exactly the same problem with radeonsi, so I'm adding to this bug report. If you think I should open a new bug against AMDGPU, let me know please.

AMD Rx560 using AMDGPU with DC=1 on linux 4.15.0
Xorg: 1.19.6+13+gd0d1a694f-1
xf86-video-amdgpu: 1.4.0-1
kwin: 5.11.95-1
mesa: 17.3.3-2

Filed a bug with KDE: https://bugs.kde.org/show_bug.cgi?id=389593
They told me it's a driver crash and sent me here.

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

#6 lore raw
In reply to [email protected]

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

--- Comment #5 from Alex Deucher <[email protected]> --- amdgpu is the kernel driver and radeonsi is the user mode mesa driver. They both work together on your system.

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

#7 lore raw
In reply to [email protected]

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

--- Comment #6 from [email protected] ---
Plasma updated to 5.12 today, and I no longer can reproduce this bug. I guess this was on their end afterall.

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

#8 lore raw
In reply to [email protected]

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

Timothy Arceri <[email protected]> changed:

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

         Resolution|---                         |NOTOURBUG
             Status|NEEDINFO                    |RESOLVED

--- Comment #7 from Timothy Arceri <[email protected]> --- Closing as per comment 6.

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