this post was submitted on 30 May 2024
22 points (95.8% liked)

Linux

48069 readers
813 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
 

I understand that nvidia support for wayland is lacking, but I know it's possible.

For context, I was using sway 1.8 for a while (no official support for nvidia). It was working almost perfectly, only minor issues. After the update to 1.9, I get constant flickering.

I can downgrade to 1.8, but the fact that 1.8 was working tells me that it is possible for a window manager to work well for nvidia. The problem is the sway team does not want that headache (understandably so).

Are there any alternatives that work well with nvidia?

top 16 comments
sorted by: hot top controversial new old
[–] Zamundaaa@discuss.tchncs.de 11 points 5 months ago

the fact that 1.8 was working tells me that it is possible for a window manager to work well for nvidia

Nope, it's a race condition for which the visible effects can appear or disappear for plenty of reasons. The only fix is explicit sync, which is being worked on for wlroots

[–] yala@discuss.online 6 points 5 months ago

Until its drivers are completely open source, Nvidia will continue to cause trouble every once in a while.

Therefore, if you liked Sway, then don't leave it expecting to be a lot better elsewhere.

However, Hyprland's community is pretty big and I can only be positive regarding the pace of its development. Therefore, if anything, Hyprland might be able to offer a solution. But, don't forget what I said earlier*.

[–] KindaABigDyl@programming.dev 5 points 5 months ago (1 children)

Hyprland works great as long as you make sure to get the build with nvidia patches to prevent flickering. It's very similar to i3, although not 1:1 like sway.

[–] SmoochyPit@lemmy.ca 3 points 5 months ago

I don’t think there’s a separate build with Nvidia patches now (at least on the AUR), as they’re included/fixed upstream. Still plenty of config and environment variables to set on Nvidia. And the new Nvidia beta driver, 555, should fix flickering in xwayland windows that was caused by a lack of explicit sync support. It’s been working well for me so far!

[–] jbloggs777@discuss.tchncs.de 4 points 5 months ago* (last edited 5 months ago) (1 children)

labwc is working pretty well these days. Screen tearing for games and all.

There are a bunch of environment variables that I set this time though, which may have contributed to a better experience this time.

[–] Sina@beehaw.org 1 points 5 months ago* (last edited 5 months ago) (1 children)

Labwc is quite possibly the most stable and sane Wayland WM there is today, but op wanted a tiler. (Sway does crash every once in a while, Labwc doesn't and the devs are more open minded about features)

[–] jbloggs777@discuss.tchncs.de 2 points 5 months ago

Regions give manual tiling possibility though, which is actually how I prefer it. I'm testing a new patch that someone recently did to support focus based on region, which is nifty.

[–] furzegulo@lemmy.dbzer0.com 4 points 5 months ago (1 children)

i use kde plasma with polonium with zero issues

[–] eager_eagle@lemmy.world 3 points 5 months ago

I think it's hit or miss. I've been having this annoying bug since I switched to Plasma 6 + Wayland and I have no idea whether it'll be solved any time soon.

[–] LucidDaemon@lemmy.world 3 points 5 months ago

Hyprland is my favorite tilling manager for Wayland. Its really easy to customize or find dotfiles. I have some if you want them.

If you want something that just works, popos-shell gnome plugin

[–] vikingtons@lemmy.world 2 points 5 months ago (1 children)

Does hyprland work for your setup?

[–] matcha_addict@lemy.lol 1 points 5 months ago (3 children)

I tried it about a year ago. I don't remember why I left it, but I think I did have a couple issues with it related to nvidia. I'll try it again.

[–] MrScruff@lemmy.ml 1 points 5 months ago

Get the Nvidia 555 beta drivers or you'll have flickering. There's Nvidia specific config in the hyprland docs as well. In addition, if it's a newer card make sure you disable the onboard firmware via Kernal params.

I have been using hyprland for a while and just switched to using my Nvidia card yesterday. Been running well so far.

[–] MrScruff@lemmy.ml 1 points 5 months ago

If you're hopping distros at the same time, CachyOS should just work out of the box with Hyprland.

[–] Ashiette@lemmy.world 1 points 5 months ago

I have had a few issues with Hyprland / nVidia, ultimately making me abandon hyprland as much as I absolutely loved it.

I couldn't work with TexStudio and Electron apps were at best buggy.

[–] TeddyKila@hexbear.net 1 points 5 months ago