Secondary Monitor Glitching on KDE Wayland (open source Nvidia driver) - eviltoast

Hi everyone, I’ve neen having this issue when running KDE wayland with multiple screen on my Thinkpad W530. I’m using the nouveau driver.

The primary monitor is fine, but the secondary one is glitching.

This is tested on Gentoo as well as Debian. I know it’s not hardware issue because it runs fine on X11.

Anyone have any idea about this issue?

Edit: I should probably mention that I was using DisplayPort in the photo, but I also tried VGA and it gave the same result.

Edit1: I was able to narrow down the problem somewhat. Switching the BIOS setting to “Discrete only” for the GPU (thanks coreboot!) seems to make the glitching go away! This means the Optimus would be to blame.