| Summary: | With Nvidia Quadro 1000M GPU on Wayland, external monitor shows corrupted image | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | robgssp |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | nate, xaver.hugl |
| Priority: | NOR | Keywords: | wayland-only |
| Version First Reported In: | 5.27.9 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/f1f7e2697d1ac4ebe9099006775717e5fd6f5777 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Garbled external screen
drm_info on Plasma Wayland drm_info on Plasma X11 drm_info on Gnome Wayland patch with debug logs |
||
|
Description
robgssp
2023-11-04 08:56:09 UTC
Please attach the output of drm_info while you're in the Wayland session, with the screen that doesn't work correctly connected and enabled Created attachment 162865 [details]
drm_info on Plasma Wayland
Created attachment 162866 [details]
drm_info on Plasma X11
Created attachment 162867 [details]
drm_info on Gnome Wayland
Attached, thanks. It looks like the main difference is in Card 1 Plane 0's format modifier: Plasma has it set to DRM_FORMAT_MOD_LINEAR, while X has it set to NVIDIA_BLOCK_LINEAR_2D(h=4, k=254, g=0, s=1, c=0) Okay, this is almost certainly already fixed in 5.27.7 No luck there, unfortunately. The bug appears unchanged in Plasma 5.27.9. There's also another issue in .9 where the display settings pane shows the external display as mirrored when it's been set to extend, but I'm guessing that's unrelated. hmm, maybe there's still something wrong in the CPU copy code then. If I provide a patch with debug prints for 5.27.9, would you build and run that on your system? I can't reproduce the issue on my laptop Yeah, can do. I'm out of town til Monday, I'll get you the output once I'm back. Created attachment 163152 [details] patch with debug logs There you go. Just run it with the issue present, and then attach the output of > journalctl --user-unit plasma-kwin_wayland --boot 0 here . Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |