Nvidia Sunshiners (game streaming), how are you getting it to work?
from BrianTheeBiscuiteer@lemmy.world to linux@lemmy.ml on 13 Nov 22:30
https://lemmy.world/post/21995811

I guess the other post was removed so I couldn’t continue the convo there. A few people said Sunshine worked great for them with their Nvidia cards and I’ve actually lost sleep over my issues.

I’m running Bazzite on a fairly new custom build with a RTX 2060S. Someone else said they used a RTX 40 series GPU so maybe my hardware is just too old. Still everything worked great in Windows (same machine) including streaming. I’m willing to try another OS but I don’t know if I can deal with another new GPU because it’d be my 3rd and I hate the hassle of selling stuff online.

A key thing I’ve seen is that the vainfo command reports no encoding capabilities at all. I’ve never seen any other reports online where someone showed an Nvidia card that could encode according to vainfo. I can absolutely encode using ffmpeg though which is why I’m even more frustrated.

#linux

threaded - newest

entropicdrift@lemmy.sdf.org on 13 Nov 23:09 next collapse

Don’t worry about vainfo. That should only matter if you use VA-API as the interface for hardware encoding your video. For Nvidia GPUs you would use NVENC instead.

What does your sunshine config look like? Do you have the debug logs for it?

Chraccoon@lemmy.world on 13 Nov 23:41 next collapse

I use a 1070ti and T500 without any issues with EndeavourOS, but I do recall having to install a bunch of packages to make the nvenc encoder detected.
I do not recall the packages… but I think there are some va-api packages specific to nvidia that aren’t installed by default; I’m not super confident on that tho.

[deleted] on 13 Nov 23:40 next collapse

.

SmoochyPit@lemmy.ca on 14 Nov 00:02 next collapse

I’m sorry to hear you’re having trouble!

Regarding the vainfo thing, at least on Arch, the Nvidia vaapi driver is a separate package. I’m not sure what the equivalent is on bazzite, but that’s likely why vainfo doesn’t show anything. And you should still be able to use nvenc anyways, which sunshine will choose before vaapi.

Is moonlight able to see the computer on your network? And in sunshine’s web interface under the “troubleshoot” tab, there’s a log. Does it say anything that might help?

MalReynolds@slrpnk.net on 14 Nov 01:40 next collapse

I’m on bazzite with a GTX980, and it’s been working flawlessly, so it’s not age. I assume you did

ujust sunshine-setup

but it’s worth checking.

BrianTheeBiscuiteer@lemmy.world on 14 Nov 02:47 collapse

I’ll try that again but the first time I tried that I had to rollback because the desktop would freeze immediately after login.

BrianTheeBiscuiteer@lemmy.world on 14 Nov 04:12 collapse

Tried the native installer again (was using Flatpak up until now). No freezing and the encoders are found!

Only problem now is getting the resolution to change based on my client. Any other screen is going to be much smaller than my desktop widescreen so changing resolution is pretty important. The Sunshine suggestion didn’t work (script to run nvidia-settings command).

WolfLink@sh.itjust.works on 14 Nov 14:55 collapse

Sunshine captures the screen at whatever its native resolution is, and streams it to Moonlight at whatever resolution is requested by Moonlight.

If you are trying to dynamically change the resolution things are rendered at, thats not going to be easy. Sunshine might not be the right tool.

Teppichbrand@feddit.org on 14 Nov 05:35 next collapse

I was one of the commenters but I’m of no help. It just worked. I use Linux Mint, it has Nvidia-support out of the box. I installed sunshine and, well, used it. No extra settings, no tinkering.
I love Mint, btw. I don’t see how this is a beginners OS. Just because everything is easy and just works? I have no intentions to distro hop because I don’t see anything I could gain from changing to a different Linux version.

atzanteol@sh.itjust.works on 14 Nov 13:43 collapse

Pop 22.04 with Nvidia 3070 and it “just worked”.

You haven’t described in what way it is not working for you.