[kwin] [Bug 431968] New: Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 Bug ID: 431968 Summary: Plasma 5.21 wayland crashes and has render issues Product: kwin Version: 5.20.90 Platform: Manjaro OS: Linux Status: REPORTED Severity: major Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: tito.matteuc...@gmail.com Target Milestone: --- Created attachment 135079 --> https://bugs.kde.org/attachment.cgi?id=135079&action=edit shows render issues SUMMARY after the long waited beta release of plasma beta 5.21 for the multi gpu support on wayland and fractional scaling, the DE dosent behave normally STEPS TO REPRODUCE 1. install plasma trough yay plasma-meta and installing the version 5.21-1 from kde-unstable repository; install kde applications trough yay kde-applications-meta and using version 20.12-3 from extra repository; install wayland trough yay plasma-wayland-session and installing the version 5.20.90-1 from kde-unstable repository; 2. login in to Plasma wayland 3. enjoi the bugs OBSERVED RESULT right and left monitors (connected trough intel's iGpu) are not rendered properly, see attachment; tho the cursor is all right bottom bar disappears a few minutes after login, but its still clickable searching more than one letter on the super menu (bottom left) crashes the whole plasma DE logging out from the DE crashes the DE most of the icons are missing (90/95% of them) many more... EXPECTED RESULT no crashes and glitches and correct rendering of all the screens. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.20.90 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 Kernel: 5.10.9 ADDITIONAL INFORMATION setup: i7 8700k at 5ghz with iGpu rx 5700 as dedicated graphics 4 monitors: bottom: 1080p 165hz connected trough rx 5700 top: 4k 60hz with 125% scale connected trough rx 5700 right: 1080p 60hz connected trough intel's iGpu left: 720p that runs at 1080p connected trough intel's iGpu any monitor setup produces the same problem. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #2 from Tito --- Here is attached the log file. https://pastebin.com/EZC1mMhs i needet to use pastebin because the Add an attachment function gives me a permession error. (ERR_ACCESS_DENIED) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #4 from Tito --- All good. Here is the new file: https://pastebin.com/fDGGTMyS -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #7 from Tito --- As of right now it just crashed to the login manager a few seconds after i try to login. although i dont really know if i did the stuff right, heres it what i did: applied the pach using the file provided. compiled and installed it following this as refernece: https://community.kde.org/KWin/Building installed a fresh copy of both plasma-meta and kde-applications-meta just to exclude any other possibilities of errors tried both with and without the edit to the env file as suggested in the previous link thanks for the help! -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #9 from Tito --- i followed the second method, and the result was pretty similar. the screens connected to the intel igpu behaved like shown before, tho after the loading of the logo finished, the desktop remained black, and any attempt at restarting/logging out trough the ctrl+alt+canc menu lead to weird and inconsistent behavior like poweroff or restart. should i try the first method? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #11 from Tito --- This patch seems to behave a bit better: First try the two screens connected to the igpu didnt have any graphical issues, although i didnt managed to go all the way to the desktop as it stalled to a black screen with the cursor, this time the ctrl+alt+canc menu behaved correctly logging me out without any problems. at a second try the two screens connected to the igpu were black (the screen was off) as they didnt recived any signal and went to power saving mode. the rest behaved as stated before. on this last try i also got a weird behavior as i heard the cpu fan spin up while logging out of kde, when i went back to check the cpu usage was at 100, any graphical resource monitor couldnt tell me which program was cousing this, except for htop wich showed some programs at around 260% cpu usage, killing the process fixed this. sadly i didnt noted the names of those as i thought they werent the cause of the issue. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #13 from Tito --- Created attachment 135313 --> https://bugs.kde.org/attachment.cgi?id=135313&action=edit Wayland session log file -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #14 from Tito --- Attached the log file to the thread. This time the behavior war different, the two screens black from no signal, no deskop, but yukuake was working and applications opened from the console too (chromium). i dont thin this matters at this point, tho it might be worth mentioning. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #15 from Tito --- I might add that i got the same behavior with the cpu usage, and the top cpu intensive programs are this. as i never got anything like this, might this be another bug with the beta or the patch? https://imgur.com/R62OXCc These are my top cpu intensive programs after logging out of plasma -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #19 from Tito --- Great progress! Now it kinda works, i still have problems with plasma, as i cant really get to the desktop, but thanks to the drop-down terminal i can run something like chromium and move it in to every monitor to see if it works or not: https://imgur.com/a/kpFr1uU link shows the glitches on the screens connected to the Igpu, also the logout plasma crash is back. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #21 from Tito --- it gives me some compilation errors and it stops. i did the same thing for the previous patches, might it be a but in the code? kwin/build/plugins/platforms/drm/KWinWaylandDrmBackend_autogen/EWIEGA46WW/../../../../../../plugins/platforms/drm/egl_gbm_backend.h:49:10: error: ‘void KWin::EglGbmBackend::cleanupDmabufForSecondaryGpuOutput(KWin::AbstractOutput*)’ marked ‘override’, but does not override 49 | void cleanupDmabufForSecondaryGpuOutput(AbstractOutput *output) override; this seems to be present a few times while compiling, might it be the couse? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #23 from Tito --- Now it works! as far as i can test tho, as i still cat get to the desktop. but on the igpu side everything is fine, rendering correctly, no tearing, no glitches! -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 431968] Plasma 5.21 wayland crashes and has render issues
https://bugs.kde.org/show_bug.cgi?id=431968 --- Comment #25 from Tito --- Thanks so mutch for the help! I've been trying to install and compile everything from source with kdesrc-build, but i ran in a lot of dependencies even after following this guide https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Install_the_dependencies and installing the suggested packages. I ran in this package kross that wouldnt install, and now im stuck on this step. am i doing something wrong? seems that its not a problem of dependency... -- You are receiving this mail because: You are watching all bug changes.