wlroots-eglstreams
wlroots-eglstreams copied to clipboard
Since nvidia driver 495 includes GBM support, will this fork no longer be needed?
https://www.nvidia.com/download/driverResults.aspx/181167/en
If said support will be more stable than this fork then probably yes, but knowing Nvidia it will be some time until that happens (I could be wrong and maybe even current beta is super stable, but I doubt it)
EDIT: Also a quote from another issue seems to confirm my conserns:
Sway still doesn't work as well on GBM compared to this fork, though.
Also I'm not sure if the nvidia support is code changes free, I have not played with beta driver yet, so that could be another reason for a fork
I'd say that there are still a lot of issues before GBM works properly with Sway. (See here). Personally NVDEC also started dropping lots of frames for me. Hopefully many of these issues will be fixed by the stable release.
Additionally this fork would be very helpful for users of Maxwell GPUs that won't be getting the 495 update.
@sheepymeh could you please provide the source of Maxwell vs 495? I've got 970 GTX (maxwell) and it's still working with 495 beta and release page lists it in supported cards
My bad, it was Kepler losing support in 495.
Personally, I doubt this fork will be unneeded any time soon. The sway devs won't implement any form of support unless nvidia fully open-sources their driver, which seems very unlikely. And "out of the box" in the readme is somewhat misleading: It enables sway to run, provided you pass --my-next-gpu-wont-be-nvidia
, but sway still won't use the nvidia card without heavy tinkering, or at all, depending on your hardware.
I think the GBM implementation they rolled out is not in vain, though. Maybe this fork could be simplified/extended if wired to use it?
Sway with gbm works OK for me, not too good but fairly usable:
- Terrible flickering and no cursor unless wf-recorder is running in the background
- Sometimes pasting from the wayland clipboard hangs the programs that are reading from it
- Similar to the above point, firefox sometimes just gets stuck and doesn't draw new frames, need to switch back and forth between workspaces to get it to magically redraw.
When the GBM support gets stable, yes. Until then, stuck on EGLStreams or X11.
I'll test todays driver when it arrives to arch repos. It's on aur now. If anyone has tested please provide feedback here with compositor etc. and what doesn't work.
I seem to have the exact same issues described here: https://github.com/danvd/wlroots-eglstreams/issues/33#issuecomment-950126734
Dunno what they even changed in the stable driver lol
@git-bruh did you today used standard wlroots or that fork?
@pm4rcin wlroots 0.41.1
@git-bruh did you use it with newest version of XWayland because it turns out that starting today it should work I guess XWayland-21.1.3-Released. But I don't know. I'll test tomorrow how it works on AMD + Nvidia laptop.
Hi guys. I also tried vanilla wlroots with latest nvidia driver. Looks like it's not usable now: flickering, chrome does not start with wayland backend. I did not tested it further though - these 2 issues make it a showstopper for me.
Now that mostly everything needed to get GBM into a usable state has been merged upstream, it's time for a progress report. As of this comment, I have the following packages installed:
- egl-wayland 1.1.9
- mesa 21.2.4
- nvidia-dkms 495.44
- plasma-desktop 5.23.3
- qt5-wayland 5.15.2 with this patch to fix stuttering
- wayfire-desktop-git 0.7.2
- wlroots 0.14.1
- xorg-xwayland 21.1.3
KDE Plasma on wayland is far from completely useable, but it's miles better than it was a year ago. With regular kwin, xwayland apps either stutter, have graphical glitches, or render completely black. The last case occurs with steam games and electron apps such as discord. Wayfire with an assortment of packages to make it a full desktop environment is a bit iffy to use, but I gave it a whirl to see if I would encounter the same issues. Steam games still render black and discord refuses to open.
Managed to try it out with the patch for qt5-wayland under plasma 5.23.4, with GBM it is actually quite useable for me, it has some apps like discord or reaper(DAW) or spotify that just have like rendering flickering, but other than that the entire desktop is smooth and runs extremely well, surprisingly. I hope that those issues can be resolved fairly quickly so that GBM with Nvidia on wayland would work flawlessly.
510.47 seems to have been released a few days ago with GBM support. I haven't tested it yet, but hopefully it fixes some of the remaining issues.
Just checked it. Nothing has changed:
- Flickering: YES
- No cursor: YES
- Freezes of alacritty: YES :-(
a long time later, still unuseable. Same issues that you mentioned @danvd . (worth noting, the no cursor can be worked around with WLR_NO_HARDWARE_CURSORS=1, but the rest of it is still a showstopper anyways).
Off-topic, but I purchased an RX 6600. GTFO of Nvidia if you use Linux.
And please do mention how sweet and buttery the new experience is! I made exactly the same move.
(sorry for the off-topic) Yep, did the same, all problems are magically gone, even X11 works miles better, no matter the WM, no matter the DE, no matter the display server, and as a bonus suspend which I used to think is just broken on Linux (as it always was barely working on all of my machines) is now working perfectly as well.
Kinda funny to realize that I've been using Linux for years, not realizing how subpar experience I had, sometimes even thinking that it's just Linux being Linux, while it was just Nvidia being Nvidia.
Off-topic again, but even on a Haswell, entry level, laptop Intel CPU, the experience with Wayland is THAT much better than Nvidia. Linux is, forgive the word, shit for many people because of Nvidia's lack of cooperation with Linux developers and lack of open source drivers.
Don't forget about legacy nvidia cards