https://bugs.kde.org/show_bug.cgi?id=460288

            Bug ID: 460288
           Summary: second monitor image distorted on Wayland nouveau
                    output, but pointer OK
    Classification: Plasma
           Product: kwin
           Version: 5.25.5
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: vojt...@latal.name
  Target Milestone: ---

Created attachment 152733
  --> https://bugs.kde.org/attachment.cgi?id=152733&action=edit
photo of monitors

SUMMARY
Image produced by KWin on Wayland on nouveau output is distorted in kind of
"interlaced way". See attached screenshot and photo of monitors.
Note the mouse cursor/pointer is rendered OK. While background and windows are
not.

With Sway WM, it works flawlessly. The same with Wayfire. Plasma/X11 started
kernel panicking (no Magic SysRq working) lately, before it was OK.

KWin/Wayland worked for me several months ago with just a little bug:
It appeared the same as now upon startup, but to correct the second output I
had to do the following procedure:
1) Changing resolution to lower and then back to FullHD.
2) Move window from First screen to the second.
3) Voila! the output is corrected.

The procedure no longer fixes the output.

I have also tried attaching another monitor to another ouput of nouveau, the
image there was distorted the same way.

What I have tried and found the bug is not in:
* Plasma/X11 works even with second monitor
* Sway/Wayland & Wayfire/Wayland works even with second monitor
* Plasma/Wayland with only internal display (possibly Intel output) works

STEPS TO REPRODUCE
1. Have nvidia card with nouveau driver.
2. Start the "Plasma (Wayland)" through DM (SDDM).
3. Observer result.

OBSERVED RESULT
Distorted image produced on second and following outputs in kind of "interlaced
way". See attachments.

EXPECTED RESULT
Correct image produced on all outputs.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux up-to-date 
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6+kde+r177
Kernel Version: 5.19.13-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-2760QM CPU @ 2.40GHz
Memory: 23,4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000
Manufacturer: LENOVO
Product Name: 4282CL7
System Version: ThinkPad W520

ADDITIONAL INFORMATION
$ lsmod | grep "nouv\|i915"
i915                 3387392  63
drm_buddy              20480  1 i915
intel_gtt              28672  1 i915
nouveau              2904064  5
mxm_wmi                16384  1 nouveau
drm_ttm_helper         16384  1 nouveau
ttm                    98304  3 drm_ttm_helper,i915,nouveau
drm_display_helper    192512  2 i915,nouveau
cec                    90112  2 drm_display_helper,i915
wmi                    40960  4 wmi_bmof,think_lmi,mxm_wmi,nouveau
video                  61440  3 thinkpad_acpi,i915,nouveau

$ lspci | grep VGA            
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core
Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108GLM [Quadro 1000M]
(rev a1)

$ xrandr --listmonitors 
Monitors: 2
 0: +*XWAYLAND0 1920/340x1080/190+0+0  XWAYLAND0
 1: +XWAYLAND1 1920/510x1080/290+1920+0  XWAYLAND1

$ xrandr --listproviders 
Providers: number : 0

Feel free to ask for more details. I would love to help with that.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to