SUMMARY After doing a VTYSwitch away from Plasma, and then another VTYSwitch back, Plasma shell does not render correctly anymore. The start menu and notifications are now transparent. Note that the VTYSwitches cause a modeswitch from 4k to whatever the nvidia-driver uses as default. I am using the latest nvidia-dkms drivers from the arch repos. When using nouveau, no modeswitch happens, and plasma renders correctly after a modeswitch The plasma log is kind of spammy for the same issue. STEPS TO REPRODUCE 0. Use nvidia proprietary drivers 1. VTYSwitch to VTY2 2. VTYSwitch to Plasma 3. Click on start menu, it is now transparent 4. Any notification is also transparent OBSERVED RESULT Rendering of plasma is buggy after vtyswitch with modeswitch EXPECTED RESULT Plasma should render correctly SOFTWARE/OS VERSIONS Linux: - `uname -a`: Linux XXXXX 5.2.9-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 16 11:29:43 UTC 2019 x86_64 GNU/Linux KDE Plasma Version: - `plasmashell --version`: plasmashell 5.16.4 KDE Frameworks Version: 6.51.0 Qt Version: 5.13.0 ADDITIONAL INFORMATION nvidia-dkms 430.40-5 (ArchLinux) Attached is the Xorg Log and Plasma Log.
Created attachment 122314 [details] KDE log
Created attachment 122315 [details] Xorg-Log
Can I see a screenshot?
Created attachment 122321 [details] Screenshot A notification popped up after the switch back. However, i was not fast enough to get it. Sometimes the whole bar on top and the complete task bar is also transparent.
Can I see output of QSG_INFO=1 plasmashell --replace
Created attachment 122386 [details] KDE ReplaceLog Using `QSG_INFO=1 plasmashell --replace 2>&1 | ts '[%H:%M:%S]' | tee replacelog.log`: I issued CTRL+ALT+F2 at approx. 17:44:14 and CTRL+ALT+F1 at approx. 17:44:16
[17:44:05] qt.scenegraph.general: QSG: basic render loop Aha, I hoped it would be this. I can see the bug there. No idea how you have an nvidia card and the non threaded render loop. Do you remember explicitly changing it? If you open "kcmshell5 qtquicksettings" and select the threaded render loop things should work again.
>If you open "kcmshell5 qtquicksettings" and select the threaded render loop things should work again. You're a genius! That was it! Thank you! > No idea how you have an nvidia card and the non threaded render loop. Do you remember explicitly changing it? TBH, no. But I have done the following things: - Start plasma without the proprietary driver => using nouveau - Manually play around with the display scale to force my 4k monitor to 100% - Move around a second display when it is attached. But otherwise, I honestly can't remember.
Made a Qt patch https://codereview.qt-project.org/c/qt/qtdeclarative/+/271912 Though I might still add a heuristic in KQuickAddons to not enable SurfaceResets on the non-threaded render loop