this post was submitted on 20 Mar 2024
361 points (98.4% liked)

Linux

48679 readers
376 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Since nvidia drivers do not properly implement implicit sync, this protocol not existing is the root cause of flickering with nvidia graphics on Wayland. This MR being merged means that Wayland might finally be usable with nvidia graphics with the next driver release.

EDIT: Nvidia dev posted that support is planned in the 555 driver, with beta release planned for May 15: https://github.com/NVIDIA/egl-wayland/pull/104#issuecomment-2010292221

you are viewing a single comment's thread
view the rest of the comments
[–] pr06lefs@lemmy.ml 20 points 9 months ago (6 children)

Questions from someone still on xmonad/x11, with 3 computers that have nvidia cards:

Do all nvidia cards have trouble in wayland currently, or is it just some subset?

Is it really unususable, or just really annoyingly flickery?

Would my card be usable now (without this merge) if I was using the nouveau driver?

Once this is merged, will all nvidia cards work in wayland? Or do we not really know yet.

[–] SuperIce@lemmy.world 37 points 9 months ago

The Nvidia driver on Wayland has been decent for a couple of years and stabilized a lot over the past ~6 months. The flickering issue was specific to XWayland. Normal Wayland apps don't have flickering problems (not quite sure why tbh), but XWayland apps would often rapidly flicker between 2 frames since it only supported implicit sync, which confused the Nvidia driver, which only supports explicit sync. Now with a Wayland protocol for explicit sync, XWayland can be updated to support it and resolve the flickering there.

[–] unique_hemp@discuss.tchncs.de 21 points 9 months ago (1 children)

Nouveau should have already been fine, this should fix the proprietary driver's issues. AFAIK this is a core issue of the proprietary driver, so should affect all cards.

I tried Wayland on my 16xx series GPU, Electron apps were only annoying, but games were unplayable. The desktop itself and Wayland native apps worked fine, though.

[–] strawberry@kbin.run 2 points 9 months ago (1 children)

so are you on x11? what drivers? having some issues with my 1660ti, curious what youre running

[–] unique_hemp@discuss.tchncs.de 4 points 9 months ago (1 children)

Plasma 6 X11, 550 proprietary driver.

[–] strawberry@kbin.run 1 points 9 months ago (1 children)

think I'm on Wayland, will try and switch. what exact GPU? mobile or regular?

[–] unique_hemp@discuss.tchncs.de 1 points 9 months ago
[–] Lojcs@lemm.ee 5 points 9 months ago* (last edited 9 months ago)

In addition to what others said a recent Nvidia driver update also added a workaround to reduce out of order frames without explicit sync. Ime it just made it so that resizing a flickering window makes it stop.

[–] Sina@beehaw.org 4 points 9 months ago

It's not really card related, but rather it just comes up sometimes in niche circumstances. I only had this on my second monitor and then it went away with an nvidia driver update. (since then i moved to amd)

[–] blipblip@hexbear.net 3 points 9 months ago (1 children)

I only have experience with my current GPU (3070 ti) and only in Hyprland, but the only flickering I have is in steam windows, everything else works flawlessly on 535 driver. Still excited that it may be fixed soon!

[–] dimath@ttrpg.network 1 points 9 months ago

On 3060 mobile, there is flickering in steam and chrome, but it's usable. In chrome I believe it can be fixed by disabling hardware acceleration.

[–] matcha_addict@lemy.lol 2 points 9 months ago (1 children)

For what it's worth, I have only minor issues on wayland with nvidia, and all were fixable by changing some configuration option or something.

Maybe my demands aren't too heavy, but I do play games. I also use gentoo which makes fixing things easier.

[–] unique_hemp@discuss.tchncs.de 2 points 9 months ago (1 children)

Maybe if your games are Wayland native or you're still running the 535 driver? I saw fbdev=1 as a workaround, but that made things very jello-y.

[–] NoisyFlake@lemm.ee 2 points 9 months ago

I think 535 is the only option for Wayland gaming right now, everything else is a flickery mess.