Bug 490813 - After applying certain Window Decoration themes, System Settings refuses to open with "eglSwapBuffers failed with 0x300d, surface: 0x0" error
Summary: After applying certain Window Decoration themes, System Settings refuses to o...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.1.3
Platform: Arch Linux Other
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 495327 496558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-07-25 13:59 UTC by user7
Modified: 2024-11-21 23:11 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description user7 2024-07-25 13:59:26 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1.  Open settings- Colors % Theme - Global or Window Decoration 
2. Apply any Theme ( Stone, Amethyst,Iridiscent Round actually work)  
for example Vivid-Dark-Global-6 , Monochrome , KDE-Story-Dark-Global-6, Black Glass, Dracula
3. Close settings

OBSERVED RESULT
After applying the Theme and closing settings you can not open settings again
it tried to open it for a while and then the icon looks like it launched but cant be found anywhere on the desktop
In order to fix it you have to reset  themes by using : lookandfeeltool -a org.kde.breezedark.desktop close settings and open it again

EXPECTED RESULT
settings to open

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Cachyos 
(available in About System)
KDE Plasma Version:  6.1.3
KDE Frameworks Version:  6.4.0
Qt Version:  6.7.2

ADDITIONAL INFORMATION
Operating System: CachyOS Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.1-3-cachyos (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2 | 555.58.02
Comment 1 Nate Graham 2024-07-25 18:54:47 UTC
When the problem is reproducible, can you run `systemsettings` in a terminal window and paste the output?
Comment 2 user7 2024-07-27 00:22:20 UTC
(In reply to Nate Graham from comment #1)
> When the problem is reproducible, can you run `systemsettings` in a terminal
> window and paste the output?



qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Comment 3 user7 2024-07-27 00:27:23 UTC
qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Comment 4 Nate Graham 2024-07-29 20:15:12 UTC
When I apply KDE-Story-Dark-Global-6 and then quit and re-launch System Settings, everything is fine.

Are any other apps unable to launch when your system is in this state? e.v. Discover, Filelight, Spectacle, Dolphin, or Gwenview?
Comment 5 user7 2024-07-29 20:31:17 UTC
Every other application works and the theme is applied correctly 
just systemsetings doesnt launch even after reboot
Another cachyos user encountered the same issue
Comment 6 user7 2024-07-29 20:45:44 UTC
This issue seems to be only on Wayland
When applying any theme on x11 everything worked fine
Comment 7 Nate Graham 2024-07-31 16:17:25 UTC
Thanks. I can't reproduce this with my Intel GPU; might be an NVIDIA-specific issue. Moving to KWin for further triage.
Comment 8 Nate Graham 2024-08-13 19:22:34 UTC
Per Bug 480800 which reports the same issue as applied to KRunner, this is unfortunately very likely an NVIDIA driver bug.

Please try to reproduce the issue with an older driver version, and if it happens there too, report it to Qt at https://bugreports.qt.io/, if it doesn't, report it to NVIDIA at https://forums.developer.nvidia.com/c/gpu-graphics/linux.
Comment 9 Nate Graham 2024-11-14 17:24:39 UTC
*** Bug 495327 has been marked as a duplicate of this bug. ***
Comment 10 Nate Graham 2024-11-21 23:11:52 UTC
*** Bug 496558 has been marked as a duplicate of this bug. ***