Streaming games using Sunshine (the gamestream implementation) now works a lot better on nVidia/wayland

kelvie@lemmy.ca to Linux Gaming@lemmy.ml – 86 points –
Is NvFBC for X11-only? · LizardByte/Sunshine · Discussion #2060
github.com

Yes, yes, I know, buy AMD, but I already have nVvdia to use CUDA, but this new patch on the nightly branch (on arch, you can use sunshine-git but with my patch here: https://aur.archlinux.org/packages/sunshine-git) finally makes it so that I don't have to "dual boot" into X11 to get game streaming at full performance.

Prior to this, wayland-based streamers had to make a round-trip through CPU ram, and now it stays within GPU ram and thus we can stream 4k on nvidia/Wayland!

9

I've gone crazy several times trying to get this to work on my Arch + AMD rig. I wish it was easier.

Sunshine should be seamless?

IDK, I can't thank them enough for what they have done already. I'm just wishing it would be easier so it would be come more widely adopted.

I mean:

  • Why doesn't every open source game launcher include it?
  • Why distros don't adopt this 1st class remote desktop tech?
  • Why most users don't know it even exists?
  • Why hasn't AMD baked it in their Windows drivers?
  • Why hasn't it been included along the MESA drivers?

Having to install the software is kinda the lowest common denominator in desktop computing, I think bundling it with things would be silly

Edit: you mentioned you used arch. Sunshine is a mainline arch package, so you just install it and then start the systemd service. Can’t imagine it being much easier than that

i dunno if they could implement a reimplementation of nvidias protocol on the amd driver bundle on windows. i mean legally, could this have issues?

and mesa is not for streaming software, its for drivers and sunshine is not a driver

its already on flatpak, so on most distros repos by default

https://i.imgur.com/stD3glj.png

I'm getting the error people posted on the AUR about this. How can i implement your patch? I never modified some AUR package

I use yay so I just go to ~/.cache/yay/sunshine-git after the failed build and change the PKGBUILD, then use makepkg -si to build and install it.

You can use the patch command to apply the diff.

hm interesting. I also use yay but i don't get a yay folder in my .cache dir after the failed installation