this post was submitted on 21 May 2024
208 points (98.1% liked)

Linux

45534 readers
1352 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 1 month ago (5 children)

Does that mean I can switch to Wayland from x11??

[–] [email protected] 14 points 1 month ago (1 children)

Yes, now is actually a pretty nice experience using Wayland with this driver

[–] [email protected] 6 points 1 month ago* (last edited 1 month ago)

i've heard that one a few times before.

[–] [email protected] 8 points 1 month ago (1 children)

Some compositors haven't updated yet to my knowledge. I think KDE has something in the aur but not the wider release until their 6.1 release in June. I'm not 100% though

[–] Molecular0079 9 points 1 month ago

You're correct. While the stable version of KDE Wayland is usable right now with the new driver with no flickering issues, etc., it technically does not have the necessary patches needed for explicit sync. Nvidia has put some workarounds in the 555 driver code to prevent flickering without explicit sync, but they're slower code paths.

The AUR has a package called kwin-explicit-sync, which is just the latest stable kwin with the explicit sync patches applied. This combined with the 555 drivers makes explicit sync work, finally solving the flickering issues in a fast performant way.

I've tested with both kwin and kwin-explicit-sync and the latter has dramatically improved input latency. I am basically daily driving Wayland now and it is awesome.

[–] bruhduh 5 points 1 month ago

Last piece of puzzle is to add cli mtp support on wayland, i have 2 laptops one on AMD and second on Nvidia and with wayland on AMD while Nvidia with x11, and i can't use jdupes on my mtp connections on wayland and i can't "cd" into mtp connection while gui apps doing fine on wayland

[–] [email protected] 4 points 1 month ago (2 children)

Wait Wayland is bad on Nvidia in the dark times before today?

[–] [email protected] 17 points 1 month ago* (last edited 1 month ago) (1 children)

XWayland (and therefore Zoom, IntelliJ IDEA, any game that runs on Wine, etc) has been borderline unusable for years due to Nvidia not supporting the way a system synchronises its rendering with the GPU, but recently all of the changes that facilitate a newer, better (and most importantly, a directly supported by Nvidia) way of synchronising got merged. This driver is the final piece of the puzzle and I can confirm that all Xwayland flickering has gone away for me.

[–] [email protected] 6 points 1 month ago (1 children)

Nvidia didn't implement implicit sync because it was stupid and also didn't really solve anything, it still had performance issues.

The real problem with explicit sync wasn't Nvidia, it was the fact everything and everybody has to implement it. This problem was worse under a stack like Wayland where every piece has to reinvent the wheel.

The missing piece of the puzzle wasn't one piece, it was all of them: explicit sync had to be implemented in the kernel, and in drivers, and in graphical libraries, and in compositors, and in apps and so on.

Nvidia released it after it was stable in the kernel.

They don't care about Wayland or any other userland applications except their own. They don't have to schedule their development around Wayland, why would they? It's an emerging stack that's not yet in use across all the Linux desktop, which is like 1% of their user base anyway.

[–] [email protected] 1 points 1 month ago (1 children)

Great points. Especially the last one, there’s been a lot of vitriol directed at Nvidia lately for “dragging their heels” or whatever, but I don’t blame them for not wanting to implement a crappy stopgap and I certainly do not blame them for the time it took to get e.g the Wayland protocol merged. I think people simply love complaining in the Linux community.

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

There's a simple solution. Open up your drivers Nvidia, like Intel and AMD have done.

[–] [email protected] 4 points 1 month ago (1 children)

I've not been having a pleasant experience with it, but X11 has its own share of issues as well. They have different issues though, my problems in Wayland are not identical to the problems i have with X11. PopOS under Wayland has been the most usable so far, but I'm hoping that when this update hits the stable branch it'll finally make Bazzite practical as my main OS.

[–] [email protected] 1 points 1 month ago (1 children)

X11 on Bazzite is perfectly working for me. Wayland was causing too many apps to flicker.

[–] [email protected] 3 points 1 month ago (1 children)

I can't use my two monitors on X11 because they're different refresh rates unfortunately. I'd have to either lower the refresh rate of my main monitor to match my secondary monitor (ew) or disable my secondary monitor completely. I get the flickering in Wayland also sadly.

[–] [email protected] 2 points 1 month ago (1 children)

Both monitors are working perfectly for me on x11 using the 165 refresh rate.

[–] [email protected] 5 points 1 month ago (1 children)

Oh yeah for sure, it works great when I set my monitors to the same refresh rate, but I'd prefer to not have to do that because it's a pretty big difference between them. My secondary monitor is 165hz, but my primary monitor is 360hz, and trying to run them at their native refresh rates at the same time in X11 doesn't work at all. I'd have to set the 360hz monitor down to 165hz to match my secondary monitor before things become usable.

[–] [email protected] 2 points 1 month ago

That sucks man.

[–] [email protected] 2 points 1 month ago (1 children)

Not if you need color management. Anyone who creates anything could use color management.

[–] [email protected] 2 points 1 month ago

Doesn't KDE basically have color management with 6 or 6.1 or something?