-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sunshine cannot find encoder, not even software ones #271182
Comments
Something changed in this build that broke it -- before this it was working with hardware encoding for me, after it does not. Still working on a bisect to see if I can track down what broke it. If I revert to a generation that uses an older FWIW |
FYI... we have several patches in our version of ffmpeg that improve streaming performance for game streaming applications. Also regarding this specific issue there are a whole lot of errors in that log. I'd start at the top and work your way through them. Likely a lot more at the top as well. https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/usage.html#linux |
@ReenigneArcher thanks -- I actually started using the vendored @SuperKenVery I think what happened here was that |
The I wonder if we're going to face the same thing in our Linux packages. We don't explicitly define P.S. if you notice anything wrong with upstream that would help with packaging here (or anywhere), PRs would be welcome. Any help is appreciated as we're just a small team. |
Resolved by #271352. |
I am going to re-open this issue as I'm having the same problem. Using Sunshine 0.21.0 on NixOS 23.11. This is the log:
Config:
The bug is present ONLY when giving Sunshine Note: passing |
Should this be re-opened @devusb? |
Recently I tried sunshine in nixpkgs unstable again. It finds the encoders, but it cannot pair with devices with PIN. When I enter the PIN on admin web page, it either says my numbers are wrong or right and nothing happens. Haven't debugged further, but flatpak version doesn't have this issue. Have you encountered that? |
@jottr the |
Thanks, I'll try to investigate my own environment. |
Pin/pairing was broken in the localization update, but this never made it to a stable release/tag. It was fixed by LizardByte/Sunshine#2324 |
I still have this issue with sunshine 0.23.1 under wayland plasma 6 using nvidia's unfree drivers for a GeForce GTX 980 Ti
EDIT: Looks like |
Describe the bug
sunshine
(a game streaming server) cannot find any video encoder, not even software ones.Steps To Reproduce
Steps to reproduce the behavior:
sunshine
with nixsunshine
from terminalExpected behavior
Use appropriate hardware encoders. Even if this fails, software encoder should work.
Screenshots
Additional context
Flatpak install works (with hardware encoding).
I'm using an Intel 12th gen CPU with integrated graphics, with no discrete GPU.
Notify maintainers
@devusb Thanks for you great work! It's a pity that this didn't work on my machine.
I'm still a newbie to nix, but I guess that we need to put libraries like ffmpeg and vaapi into
wrapProgram
so that sunshine can find them. (They are currently only inbuildInputs
)Metadata
Priorities
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: