Bug 407968

Summary: [NVIDIA][Wayland] systemsettings opens but no UI is loaded
Product: [Applications] systemsettings Reporter: Alejandro Valdés <alejandrovaldes>
Component: generalAssignee: Erik Kurzinger <ekurzinger>
Status: RESOLVED UPSTREAM    
Severity: grave CC: nate, subdiff
Priority: NOR    
Version First Reported In: 5.15.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alejandro Valdés 2019-05-26 20:36:20 UTC
SUMMARY

Using the nvidia-wayland session, when systemsettings is opened no UI is rendered, an empty window is shown. This also happens when opening any other KCM.

Opening in console reports the following error (several times):

qt.qpa.wayland: Could not create EGL surface (EGL error 0x3008)

STEPS TO REPRODUCE
1. Login into wayland with nvidia hardware
2. Open systemsettings5 or any other kcm
3. No UI is rendered

OBSERVED RESULT

Empty window

EXPECTED RESULT

system settings

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0
Kernel Version: 5.1.4-arch1-1-ARCH
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 23.5 GiB of RAM
Comment 1 Alejandro Valdés 2019-05-30 14:09:08 UTC
Issue no longer happens with the update 1.1.3 to egl-wayland. I can open individual KCMs plus the systemsettings5 window.
Comment 2 Erik Kurzinger 2019-05-30 14:19:29 UTC
If that's the case, I suspect https://github.com/NVIDIA/egl-wayland/commit/547055cb58690515077bd9f02b1325ed677650c1 might have been the fix. With that change we now correctly report whether EGL images are Y-inverted or not.