-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
NVENC acceleration is not detected on Windows #225
Comments
I'm using windows 11 and have the same GPU (1660 Super), and everything works fine. So it must be something to do with the GPU passthrough you're using. I tested this using the portable zip file: Start:
End:
|
This issue is stale because it has been open for 30 days with no activity. Comment or remove the stale label, otherwise this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
@dannytech, were you ever able to figure this out? I'm running into exactly the same issue, but with a 3070. I also do GPU passthrough, so that could indeed be related. |
same issue, also GPU passthrough. Native gamestream worked fine, but since it's subject of being shut down, I am looking for an replacement like sunshine. |
could it be related to the fact that the GPU has no monitor attached since the error message shown during enumeration of nvenc is |
No, in my case and I would assume everyone else's, there was a monitor attached (this is usually required in order to take advantage of game streaming). PCI passthrough definitely seems to be the problem. I never got it working. |
well, it at least did the trick for me. Just played a couple seconds Portal RTX via sunshine running inside a win10 VM. The VM is running on a KVM/Quemu based hypervisor with all libvirt drivers installed. |
did a new installation of Windows and once again am facing this issue. And SteamLink streaming unfortunately sucks, so is also not an alternative. Could this issue be re-opened please as it is still not fixed? Issue is that Sunshine fails to enumerate the available encoders inside a virtual machine with GPU passthrough. |
It probably got closed because nobody has been able to reproduce and fix it. You could try running it with verbose logging and post the results to see if that reveals any more information. |
created a new ticket for the VM passthrough issue since it might be a different cause than the one from this ticket. #844 |
FYI - Issues are automatically closed after 100 days with no activity. A single comment will reset the timeline... but comments after the issue are closed will not automatically re-open it. |
@KuleRucket I tried verbose logging ( |
The issue still happens as today. Using also a 1660 SUPER. First time launching throws: Error: NvEnc: encoding format is not supported by the gpu After the first time error, restarting sunshine it works normally again. But first time connecting from Moonlight always fails with error mentioned. |
Describe the Bug
On a Windows 10 host, when I start Sunshine, even as administrator, it fails to detect my NVENC encoder (a GTX 1660 Super). I've included the log below of it trying NVENC, AMF, and software encoders, and falling back to software. I've also tried forcing Sunshine to use NVENC, but then it just crashes on startup because it can't find the NVENC encoder.
Expected Behavior
I wouldn't expect AMF to work so that's fine, but NVENC should be succeeding on
h264_nvenc
(and HEVC, if it checks for that), and I also see thatlibx264
had some errors, although when I actually stream it seems to work fine with software encoding (besides noticeably high latency).Additional Context
I am running inside a virtual machine with the GPU passed through, should that matter. However, I have tested other programs and they work fine with this setup. Parsec, for example, is able to use the Nvidia GPU for encoding, so the NVENC is definitely accessible:
I also installed Sunshine using the new installer rather than the portable Zip, but I don't believe this could cause any issues.
Sunshine Host Operating System and Version
Windows 10 19043.1766
Architecture
64-bit
Sunshine Version
0.14.0
GPU Type
Nvidia
GPU Model
GeForce GTX 1660 Super
GPU Driver/Mesa Version
516.40
Capture Method (Linux Only)
No response
The text was updated successfully, but these errors were encountered: