Bug 454306 - An X11 application accessing the discrete graphics card in a Wayland session causes XWayland to crash
Summary: An X11 application accessing the discrete graphics card in a Wayland session ...
Status: RESOLVED DUPLICATE of bug 452062
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.24.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-24 03:54 UTC by Alastor Tenebris
Modified: 2022-05-24 07:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alastor Tenebris 2022-05-24 03:54:56 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
On a system with switchable graphics (In my case Vega8/Polaris11), when an application tries to access the discrete graphics card in a wayland session (E.G. running Chrome, running glxinfo), XWayland crashes. Applications no longer can see the discrete card. 

STEPS TO REPRODUCE
1. Run an application that accesses the discrete card (DRI_PRIME=1 glxinfo)


OBSERVED RESULT
XWayland crashes

EXPECTED RESULT
XWayland does not crash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 36 KDE
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Matej Mrenica 2022-05-24 07:08:07 UTC
Similar issues: 452062 452243
Possible duplicate of either.
Comment 2 Alastor Tenebris 2022-05-24 07:40:29 UTC
Yep, it's that bug.(In reply to Matej Mrenica from comment #1)
> Similar issues: 452062 452243
> Possible duplicate of either.

Yep it's 452062.

*** This bug has been marked as a duplicate of bug 452062 ***