Public bug reported:

When using sway on a setup with an Nvidia graphics card using the
proprietary drivers, and  multiple monitors. I get constant flickering
on the external monitor (this is a laptop). It looks like there are
flashes where long narrow triangles of the screen become transparent,
showing the background instead of the content of the window.

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3671 may
be a possible fix for this, I haven't had a chance to compile with the
patch to see if it actually fixes it for me yet.

I do not have this problem if I use gnome with wayland.

I have tried several attempts to work around this to no avail:

- I tried both enabling and disabling hybrid graphics in my bios. It is much 
worse with hybrid graphics enabled
- I have tried setting WLR_RENDERER=vulkan. This seems to have no effect
- I have tried configuring WLR_DRM_DEVICES to prefer the intel graphics card in 
hybrid mode

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: sway 1.9-1build2 [modified: usr/share/wayland-sessions/sway.desktop]
ProcVersionSignature: Ubuntu 6.8.0-38.38-generic 6.8.8
Uname: Linux 6.8.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 22 12:38:32 2024
InstallationDate: Installed on 2024-07-19 (3 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
SourcePackage: sway
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: sway (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073799

Title:
  Flickering on sway with nvidia on multiple monitors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sway/+bug/2073799/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to