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

Linux

47341 readers
1530 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
[–] [email protected] 11 points 3 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

[–] [email protected] 6 points 3 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*.

[–] [email protected] 5 points 3 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.

[–] [email protected] 3 points 3 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!

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

i use kde plasma with polonium with zero issues

[–] [email protected] 3 points 3 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.

[–] [email protected] 4 points 3 months ago* (last edited 3 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.

[–] [email protected] 1 points 3 months ago* (last edited 3 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)

[–] [email protected] 2 points 3 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.

[–] [email protected] 3 points 3 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

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

Does hyprland work for your setup?

[–] [email protected] 1 points 3 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.

[–] [email protected] 1 points 3 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.

[–] [email protected] 1 points 3 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.

[–] [email protected] 1 points 3 months ago

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

[–] [email protected] 1 points 3 months ago