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

2 points

I’m all for progress, I hope it helps people, but I haven’t had any issues with my Nvidia card and my two monitors on Wayland.

permalink
report
reply
5 points

If I remember right, the syncing issue was particularly egregious when you run windowed X11 programs on Wayland. So it could be that you got lucky.

permalink
report
parent
reply
2 points

I’ve been using Wayland on two Nvidia machines for months now, is the flickering the whole screen or just some applications because until I updated my Nvidia drivers very recently I’ve not had any flickering issues at all

permalink
report
reply
4 points

I’ve been on NVIDIA with Wayland since June 23 (which is when I switched to Linux in general) and I am still mystified what all this fuss is about. Everything just… works? What am I missing?

permalink
report
parent
reply
2 points

Depends on your card, I’ve had an good number of different issues between my pc and laptop

permalink
report
parent
reply
3 points

It is great to see I’m not alone, yeah, I wish people would realize that it’s just hardware at the end of the day. The company does crappy stuff but individuals who work there, most of them are smart individuals just trying their hardest to develope something they can be proud of, that people can enjoy, and that might benefit society in some way.

Mostly engineers but you get my point.

permalink
report
parent
reply
7 points

How long does a change like this take to make it’s way into Plasma 6?

permalink
report
reply
4 points
*

https://invent.kde.org/plasma/kwin/-/merge_requests/4693

there’s already a non-draft implementation, if I had to guess a few weeks before it’s merged, and then you have to wait for a release, and then your distro has to package it. So, it’s gonna be a while.

BUT, I think much more importantly is when it is merged into xwayland

https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967

Which should be fairly soon!

permalink
report
parent
reply
6 points
*

Does it have to be supported in wlroots/composers, or are these changes in wayland enough? Edit: nevermind, the pr links other prs, such as https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4262

permalink
report
reply
4 points

I saw a comment from an nvidia dev somewhere that XWayland support is enough to resolve the flickering, but compositor support is needed for best performance.

permalink
report
parent
reply
4 points

so was the problem wayland not doing something correctly or nvidia not doing something correctly 🤔

permalink
report
reply
17 points
*

Well correct is a matter of opinion.

Nvidia doesn’t support implicit sync, because they view explicit sync as more correct, it lets the driver do fewer things that might be wrong and perform better. This is true.

The Linux world often assumes implicit sync works. This was never true.

permalink
report
parent
reply
2 points

so another ‘just wayland things’?

permalink
report
parent
reply
16 points

Well, kind of. This is an example of everybody doing it one way and NVIDIA doing something else. So, we should not lose sight of this being NVIDIA being a poor team player and expecting the world to revolve around them.

That said, you can argue that the way NVIDIA wants to work is more correct and that a “complete” Wayland implementation should support that approach.

It is totally fair to see this as a missing feature in Wayland ( so “just wayland things” ). However, a more collaborative NVIDIA could have absolutely made a better experience for their users in the meantime ( as AMD has for example ).

Taken in combination, this is why so many of the “I use Wayland and it works just fine” people do not use NVIDIA and why so many of the “Wayland is not ready” people are NVIDIA users.

Reading the tea leaves, things should generally work for most people by the time the major distros make their releases in the fall ( eg. Ubuntu 24.10 ). By then, many of these improvements to Wayland will have made their way to shipping code. At the same time, improvements to both the NVIDIA proprietary drivers and NVK will have done the same. The fact the Wayland support in Wine will have matured by then may also be a factor.

permalink
report
parent
reply
6 points
*

No, there are hundreds of projects that assume implicit sync. Because its worked forever on Mesa.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 9.4K

    Monthly active users

  • 5.9K

    Posts

  • 162K

    Comments