Just wanted to share for the 10 people like me who has with an Nvidia + dual screen setup on ArchLinux (btw) with KDE Plasma desktop that since the new plasma 6 update I can finally use the Wayland session option!
The wayland should work
has been around for the last 5 years and 5 years ago it was not even close, then 1 or 2 years ago it started not crashing but multi-screen was not OK (I tried all the kernel and driver parameters).
Now for me and my 5+ years-old setup (probably a lot of legacy plasma settings in my .config) it was finally seamless.
From previous tries I already knew that the desktop feels WAY smoother (true 60 fps everywhere, specially for the video players in web browser).
Feels great so far, discord screen-sharing is not there but can be done from Firefox if needed so OK for me.
I hope this post will be informative for some like me who tried several time over the years and didn’t had much hope.
PS : the cursor has a weirdly strong outline (too shiny to my taste) feels like unintended but not a big problem. I spent 30 mins in the options but couldn’t find anything about that.
- edinbruh ( @edinbruh@feddit.it ) 30•8 months ago
In the coming months, an important protocol will be merged to Wayland and xorg, and the next Nvidia driver release will have support for that protocol. This will make the Nvidia Wayland experience 100x better
- Nilz ( @Nilz@sopuli.xyz ) 20•8 months ago
Care to elaborate? Sounds promising
- SmoochyPit ( @SmoochyPit@beehaw.org ) English18•8 months ago
I’m not a hardware dev, but I’ve been following this issue for several months. Nvidia on Wayland does not implement implicit GPU synchronization currently for Xwayland. Other vendors do.
This issue is related to how/when the framebuffer from the gpu is handed off to be displayed. Implicit sync isn’t a great solution, it’s just what’s been done for Linux in the past.
Here’s a bit more detail if you’re interested:
I believe this issue is more specific to Wayland because Wayland relies on the DRM, direct rendering manager, to facilitate communication between the graphics driver and Wayland clients (applications). Whereas Xorg kinda just covered everything along the pipeline.
Implicit sync sounds like a bit of hack, where software (I assume the client? Or maybe the drm driver?) implicitly checks for the frame to be finished, rather than being signaled when the frame is ready.
So instead, Nvidia has been arguing for, designing and developing an explicit sync Wayland Protocol (and one for Xorg), which will let the graphics driver explicitly signal when a frame is finished and ready to be displayed. This is how the graphics stack works on Windows.
Right now on Nvidia, Xwayland clients will show previous frames, incomplete/corrupted frames or will fail to update when a new frame is rendered. Here’s the XWayland Merge Request. The issue is much worse on drivers > 535.xx after some optimizations worsened the issue. For now, rolling back can help!
There will be benefits in general with explicit sync, but the major ones will be Xwayland functioning properly for Nvidia users, VRR and apps with inconsistent framerates.
- Zenzio ( @Zenzio@kbin.social ) 8•8 months ago
And apparently the plan is to have explicit sync ready for the next major driver version (v555).
From the discussions on Github and Gitlab it seems the work for that to happen is done. The changes in the necessary packages (Xwayland, Mesa?) just need to be merged and the the Nvidia driver 555 needs to be released. It hasn’t been that long since the previous release 550. So I guess it is going to take a bit of waiting still.- unique_hemp ( @unique_hemp@discuss.tchncs.de ) 6•8 months ago
Yeah, still gonna be a couple of months, but that is the last signifficant issue for me, fingers crossed.
- edinbruh ( @edinbruh@feddit.it ) 3•8 months ago
It’s explicit sync, look at my other comment for links
- Matty_r ( @Matty_r@programming.dev ) 4•8 months ago
I’d like to know what this is as well? I was hoping Plasma 6 was going to solve my Nvidia + Wayland issues for me, but it didn’t seem to make any difference.
- SmoochyPit ( @SmoochyPit@beehaw.org ) English4•8 months ago
I just replied to Nilz over here with my understanding of it.
The protocol is to facilitate explicit gpu synchronization.
Currently xwayland apps show the most issues with this on Nvidia. Driver 535 and earlier help mitigate it, or using native Wayland apps, when possible.
- 1984 ( @1984@lemmy.today ) 4•8 months ago
Because it’s Nvidia drivers causing it.
- Matty_r ( @Matty_r@programming.dev ) 2•8 months ago
That has already been established, yes.
- edinbruh ( @edinbruh@feddit.it ) 2•8 months ago
Read these
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/59
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/967#note_2323666
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/90
https://github.com/NVIDIA/egl-wayland/pull/104
Plus, look for a merge request for your compositor, they are listed in the third link
- Berny23 ( @Berny23@lemmy.sdf.org ) 1•8 months ago
Yeah, also waiting for it. Until the protocol is implemented, I have to use driver 535 without HDR support. :(
- GolfNovemberUniform ( @GolfNovemberUniform@lemmy.ml ) 8•8 months ago
I tried Plasma 6 + Wayland on Arch btw earlier today, ran into the first issues in like 3 minutes after installation and switched back to Xorg for good. Wayland never worked for me. Yes it’s much more smooth and has nice features but it just never works that well on my machines. Btw for all the Wayland bodyguards, it was on Intel integrated graphics, not on NVidia or anything like that
- SmoochyPit ( @SmoochyPit@beehaw.org ) English3•8 months ago
I just installed Hyprland (so different WM, but still Wayland) on my laptop with Intel integrated graphics and it works fine for me. It could be a difference between generations, though, as my laptop is from 2014.
You’re not really missing much yet imo— most software I use still requires xwayland anyways.
- GolfNovemberUniform ( @GolfNovemberUniform@lemmy.ml ) 2•8 months ago
The machine was probably from the same era. I don’t remember the CPU model but it’s 4th gen I3 I think
Damned, this is so frustrating when you cannot switch yet. Not like Wayland is perfect anyway but I felt the same with pipewire where the new system as some needed improvement but the switch is harsh.
- GolfNovemberUniform ( @GolfNovemberUniform@lemmy.ml ) 3•8 months ago
Never had issues with Pipewire smh. I didn’t even notice the transition
- 4vr ( @4vr@lemmy.ca ) தமிழ்2•8 months ago
Same. Switching users didn’t work in Plasma 6 and switched back to Gnome.
- SteveTech ( @SteveTech@programming.dev ) English8•8 months ago
discord screen-sharing is not there but can be done from Firefox if needed
You can also install KDE’s XWayland Video Bridge, which converts Wayland screen sharing into an app for discord to share.
flatpak install --user --or-update https://cdn.kde.org/flatpak/xwaylandvideobridge-nightly/org.kde.xwaylandvideobridge.flatpakref
You might also want to add the repo for updates,
but I think it’s been down for a little while for me.Edit: There’s a new repo:
flatpak remote-add --if-not-exists xwaylandvideobridge-nightly https://cdn.kde.org/flatpak/xwaylandvideobridge-nightly/xwaylandvideobridge-nightly.flatpakrepo
- datavoid ( @datavoid@lemmy.ml ) English7•8 months ago
My experience with this setup is generally:
- login to a black screen
- try to switch windows or desktops, then something appears with glitchy green animations
- get annoyed
- go back to x
I’m sure I missed something stupid like installing drivers properly, but I’ve been too busy / lazy to fix it.
- KeriKitty (They(/It)) ( @RiikkaTheIcePrincess@pawb.social ) English7•8 months ago
Welcome to Wayland, the Way(land) of the Future! ducks, flees!
But really, welcome to the Wayland club ;P
- zewm ( @zewm@lemmy.zip ) 4•8 months ago
Feels great so far, discord screen-sharing is not there but can be done from Firefox if needed so OK for me.
I believe someone is maintaining a modified version of discord for Linux that has working screen sharing.
- LiiTheBaddie ( @LiiTheBaddie@beehaw.org ) 3•8 months ago
I got to try out wayland with an nvidia card(cause it get set as the default with the KDE 6 update) and it was just horrible buggy feeling mess. Steam and websites would have parts of the page just blink out of existence, games would stutter. plus other random stuff going wrong.
- fernandocarletti ( @fernandocarletti@lemmy.eco.br ) 1•8 months ago
I tried it with gnome recently and had the same behavior on steam and my browser, ended up rolling back to x11. I can tell I had less issues than the last time I tried it a year ago though :)
- moonpiedumplings ( @moonpiedumplings@programming.dev ) 3•8 months ago
Also switched here. OBS on wayland has some new features, that I’m excited to take advantage of, but I still cannot find a way to share some windows, but not an entire monitor.
OBS has another feature: “virtual monitor”. It does what it sounds like, and creates a virtual monitor, which you can then treat like a real monitor, like extending to, or unifying outputs, etc.
It also has a feature to share the entire workspace, but it doesn’t work like I expect, and instead uses all monitors (not workspaces) as a single input source. I suspect that’s a bug tbh, because this behavior is useless considering you can just add monitors as a source side by side.
- utopiah ( @utopiah@lemmy.ml ) 3•8 months ago
Neat, naive question, what’s the impact on Steam/Proton?
Wine is fine so I guess proton would be.
- auth ( @authed@lemmy.ml ) 2•8 months ago
You should try one huge monitor and use an addon that let you snap windows to 1/4, 1/2 of the screen, etc (30+ inches)… Been using Wayland for years with no problems
- dysprosium ( @dysprosium@lemmy.dbzer0.com ) 2•8 months ago
Same setup but with gnome. My video screen recorder broke: simplescreenrecorder for which I have not yet found a solution.
Also Mathpix anyone familiar? Just straigh out don’t work
- bitwolf ( @bitwolf@lemmy.one ) 2•8 months ago
You can likely screen share a window but not your full screen on discord.
I can do this on Wayland it’s just slow because no av1 support for AMD from discord.
- GadgeteerZA ( @GadgeteerZA@fedia.io ) 1•8 months ago
@Kajika@lemmy.ml thanks that sounds promising. I’d also seen some improvement but still got random freezes. Looking forward to the update. I have a similar setup with Manjaro KDE.
- D_Air1 ( @D_Air1@lemmy.ml ) 1•8 months ago
Same, this is also the first time that I am able to use wayland on my nvidia card. There are still issues, but there are being worked out. 6.0.2 solved the issue with plasmashell just quitting whenever I turned one of my monitors off.