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.
threaded - newest
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?
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.
.
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?
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.
I’ll try that again but the first time I tried that I had to rollback because the desktop would freeze immediately after login.
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).
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.
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.
Pop 22.04 with Nvidia 3070 and it “just worked”.
You haven’t described in what way it is not working for you.