r/Ubuntu • u/Charming_Web_2328 • 6h ago
Fix: External Monitor Blacking Out & Green Cursor Artifacts on Ubuntu 26.04 (NVIDIA Wayland)
Just wanted to share a fix for a really frustrating bug I was experiencing on my Ubuntu 26.04 laptop with hybrid Intel/NVIDIA graphics.
The Problem:
My external HDMI monitor (connected to the NVIDIA GPU) was acting weird. When I hovered over UI elements, I'd get these weird green pixel fragments ("stars") around the cursor. Even worse, clicking, dragging, or moving a window to that external monitor would cause the screen to intermittently go black for 10+ seconds, alternating between black and "no signal."
The kernel log showed no link drops, and the DRM connector status stayed connected the whole time, which meant it was a software rendering bug, not a bad cable.
The Fix:
The issue is that Mutter (GNOME's compositor) is trying to hand the cursor to the NVIDIA hardware overlay plane, and the driver is choking on the buffer format. Forcing Mutter to render the cursor in software completely fixes both the artifacts and the black screens.
Run this in your terminal:
bash
systemctl --user set-environment MUTTER_DEBUG_DISABLE_HW_CURSORS=1
You must log out and log back in for this to take effect.
(Note: I tried switching from the open to the proprietary NVIDIA 595 driver, and disabling multi-GPU copy modes, but this was the only thing that worked).
I filed a full bug report on Launchpad with all the details if anyone wants to follow the progress for a permanent fix: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2190964
Hope this saves someone else the headache!
1
u/srijax_here 5h ago
Saving this immediately, I was losing my mind trying to figure out why my screen kept blacking out every time I dragged a window. The green cursor confetti was a nice touch too, thought my GPU was cooking itself for a bit.