this post was submitted on 13 Nov 2024
21 points (100.0% liked)

Linux

48178 readers
1035 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

all 10 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 day ago

Pop 22.04 with Nvidia 3070 and it "just worked".

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

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago)

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?

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

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.

[–] [email protected] 1 points 1 day ago (1 children)

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.

[–] [email protected] 1 points 1 day ago (1 children)

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

[–] [email protected] 1 points 1 day ago (1 children)

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).

[–] [email protected] 2 points 1 day ago

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.

[–] [email protected] 1 points 2 days ago

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?

[–] [email protected] 1 points 2 days ago

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.