-
-
Notifications
You must be signed in to change notification settings - Fork 688
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 can't use nvenc or cuda on fedora 35 with latest nvidia drivers and cuda installed. #95
Comments
Is there any tips from anyone else running fedora35 that I should know? maybe I need to install ffmpeg from another repository? or do I need to install nvenc sdk from nvidia as well? |
regarding the message |
I went ahead and gave it a try, and seems running
So the I guess nvenc can only be used when screencasting with NvFBC?! Shouldn't nvenc be usable with X11 screenscast as well, the same way ffmpeg does it? Anyhow, if someone else runs into problem to use nvenc with sunshine with an nvidia gpu in fedora 35, running |
@hradec thanks for posting your solution! |
"[2022:03:14:01:02:51]: Error: Could not open codec [h264_nvenc]: Function not implemented" - I believe this message is misleading. When I turn on verbose logging, the debug messages show: So as I understand from that, h264 is still supported just not with HDR encoding. |
how do you turn verbose on? |
add this to your
|
@ReenigneArcher thanks!! |
Is there anything left to fix here? The last log looks pretty normal to me so maybe this can be closed? |
Closing now. I can re-open if needed. |
Describe the Bug
I've tried to run sunshine (booth binary and building it myself) on fedora35, and it constantly fails to initialize nvenc, cuda and libva, with "unknown errors", despite the distro installation having the latest nvidia drivers and cuda installed. (downloaded from nvidia website and installed, not from any repository!)
At the end, it reverts to use libx264. :(
I've installed ffmpeg from rpmfusion dnf repositories, which seems to be version 4.4.1. (I'm not sure if this ffmpeg has nvenc support.)
this is the log I get when running sunshine (booth the binary downloaded from github and the one I've built spit out the same log!):
Expected Behavior
Sunshine should use nvenc since nvidia hardware is present and drivers/cuda are installed.
Additional Context
No response
Sunshine Host Operating System and Version
Fedora 35
Architecture
x86-64
Sunshine Version
0.13.0 (github binary) / git master branch (custom built)
GPU Type
Nvidia
GPU Model
Nvidia Geforce GTX960
GPU Driver/Mesa Version
Nvidia Driver 510.47.03
Capture Method (Linux Only)
Nvidia Driver 510.47.03
The text was updated successfully, but these errors were encountered: