v2026.516.143833 broke hardware enc on older nvidia cards
Is there an existing issue for this?
- [x] I have searched the existing issues
Is your issue described in the documentation?
- [x] I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
In v2026.516.143833 (and also the latest pre-release) sunshine is no longer using my (old) nvidia GPU for encoding and falls back to the software encoder (libx264). The latest version working for me is v2025.924.154138
Expected Behavior
Sunshine should use hevc_nvenc as it did in the older versions.
Additional Context
Log_v2025.924.154138.txt Log_v2026.516.143833.txt
Capture Method: Autodetect
Host Operating System
Windows
Operating System Version
11 Pro 26H1 (28000.2113)
Architecture
amd64/x86_64
Package
Windows - Winget
GPU Type
NVIDIA
GPU Model
NVIDIA Quadro P4000
GPU Driver/Mesa Version
NVIDIA-SMI 551.23 Driver Version: 551.23 CUDA Version: 12.4
Capture Method
None
Apps
Log output
[2026-05-30 09:49:21.057]: Info: Sunshine version: 2026.516.143833 commit: 14ffa6fdaa53f7b51512be2b3d24f3939695403c
[2026-05-30 09:49:21.058]: Info: Package Publisher: LizardByte
[2026-05-30 09:49:21.058]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-05-30 09:49:21.058]: Info: Get support: https://app.lizardbyte.dev/support
[2026-05-30 09:49:21.058]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2026-05-30 09:49:21.062]: Info: Currently available display devices:
[
{
"device_id": "{ea5e798d-1b0e-584b-8637-938799d8bad6}",
"display_name": "\\\\.\\DISPLAY1",
"edid": {
"manufacturer_id": "HPN",
"product_code": "348A",
"serial_number": 16843009
},
"friendly_name": "HP Z27n G2",
"info": {
"hdr_state": null,
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 1000,
"numerator": 59951
}
},
"resolution": {
"height": 1440,
"width": 2560
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 100
}
}
}
}
]
[2026-05-30 09:49:21.287]: Info: nvprefs: No need to modify application profile settings
[2026-05-30 09:49:21.287]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2026-05-30 09:49:21.330]: Info: Compiling shaders...
[2026-05-30 09:49:21.421]: Info: Compiled shaders
[2026-05-30 09:49:21.431]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-05-30 09:49:21.431]: Info: Trying encoder [nvenc]
[2026-05-30 09:49:21.675]: Info:
Device Description : NVIDIA Quadro P4000
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001BB1
Device Video Mem : 8068 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12206 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-05-30 09:49:21.675]: Info: Active GPU has HAGS enabled
[2026-05-30 09:49:21.675]: Info: Using realtime GPU priority
[2026-05-30 09:49:21.675]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.662109,0.329102]
Green Primary : [0.300781,0.620117]
Blue Primary : [0.144531,0.0488281]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2026-05-30 09:49:21.676]: Info: Desktop resolution [2560x1440]
[2026-05-30 09:49:21.676]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-30 09:49:21.676]: Info: Display refresh rate [59.951Hz]
[2026-05-30 09:49:21.676]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-30 09:49:21.677]: Info: Creating encoder [h264_nvenc]
[2026-05-30 09:49:21.677]: Info: Color coding: SDR (Rec. 601)
[2026-05-30 09:49:21.677]: Info: Color depth: 8-bit
[2026-05-30 09:49:21.677]: Info: Color range: JPEG
[2026-05-30 09:49:21.697]: Error: NvEnc: NvEncOpenEncodeSessionEx() failed: NV_ENC_ERR_INVALID_VERSION
[2026-05-30 09:49:21.704]: Info: Creating encoder [h264_nvenc]
[2026-05-30 09:49:21.704]: Info: Color coding: SDR (Rec. 601)
[2026-05-30 09:49:21.705]: Info: Color depth: 8-bit
[2026-05-30 09:49:21.705]: Info: Color range: JPEG
[2026-05-30 09:49:21.723]: Error: NvEnc: NvEncOpenEncodeSessionEx() failed: NV_ENC_ERR_INVALID_VERSION
[2026-05-30 09:49:21.730]: Info: Encoder [nvenc] failed
[2026-05-30 09:49:21.740]: Info: Trying encoder [quicksync]
[2026-05-30 09:49:21.932]: Info:
Device Description : NVIDIA Quadro P4000
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001BB1
Device Video Mem : 8068 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12206 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-05-30 09:49:21.932]: Info: Active GPU has HAGS enabled
[2026-05-30 09:49:21.933]: Info: Using realtime GPU priority
[2026-05-30 09:49:21.933]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.662109,0.329102]
Green Primary : [0.300781,0.620117]
Blue Primary : [0.144531,0.0488281]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2026-05-30 09:49:21.933]: Info: Desktop resolution [2560x1440]
[2026-05-30 09:49:21.933]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-30 09:49:21.933]: Info: Display refresh rate [59.951Hz]
[2026-05-30 09:49:21.933]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-30 09:49:21.934]: Info: Encoder [quicksync] is not supported on this GPU
[2026-05-30 09:49:21.942]: Info: Trying encoder [amdvce]
[2026-05-30 09:49:22.132]: Info:
Device Description : NVIDIA Quadro P4000
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001BB1
Device Video Mem : 8068 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12206 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-05-30 09:49:22.132]: Info: Active GPU has HAGS enabled
[2026-05-30 09:49:22.133]: Info: Using realtime GPU priority
[2026-05-30 09:49:22.133]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.662109,0.329102]
Green Primary : [0.300781,0.620117]
Blue Primary : [0.144531,0.0488281]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2026-05-30 09:49:22.133]: Info: Desktop resolution [2560x1440]
[2026-05-30 09:49:22.133]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-30 09:49:22.133]: Info: Display refresh rate [59.951Hz]
[2026-05-30 09:49:22.134]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-30 09:49:22.134]: Info: Encoder [amdvce] is not supported on this GPU
[2026-05-30 09:49:22.142]: Info: Trying encoder [mediafoundation]
[2026-05-30 09:49:22.326]: Info:
Device Description : NVIDIA Quadro P4000
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001BB1
Device Video Mem : 8068 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12206 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-05-30 09:49:22.327]: Info: Active GPU has HAGS enabled
[2026-05-30 09:49:22.327]: Info: Using realtime GPU priority
[2026-05-30 09:49:22.327]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.662109,0.329102]
Green Primary : [0.300781,0.620117]
Blue Primary : [0.144531,0.0488281]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2026-05-30 09:49:22.328]: Info: Desktop resolution [2560x1440]
[2026-05-30 09:49:22.328]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-30 09:49:22.328]: Info: Display refresh rate [59.951Hz]
[2026-05-30 09:49:22.328]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-30 09:49:22.328]: Info: Encoder [mediafoundation] is not supported on this GPU
[2026-05-30 09:49:22.338]: Info: Trying encoder [software]
[2026-05-30 09:49:22.516]: Info:
Device Description : NVIDIA Quadro P4000
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001BB1
Device Video Mem : 8068 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12206 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-05-30 09:49:22.517]: Info: Active GPU has HAGS enabled
[2026-05-30 09:49:22.517]: Info: Using realtime GPU priority
[2026-05-30 09:49:22.517]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.662109,0.329102]
Green Primary : [0.300781,0.620117]
Blue Primary : [0.144531,0.0488281]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2026-05-30 09:49:22.517]: Info: Desktop resolution [2560x1440]
[2026-05-30 09:49:22.518]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-30 09:49:22.518]: Info: Display refresh rate [59.951Hz]
[2026-05-30 09:49:22.518]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-30 09:49:22.518]: Info: Creating encoder [libx264]
[2026-05-30 09:49:22.518]: Info: Color coding: SDR (Rec. 601)
[2026-05-30 09:49:22.518]: Info: Color depth: 8-bit
[2026-05-30 09:49:22.518]: Info: Color range: JPEG
[2026-05-30 09:49:22.518]: Info: Streaming bitrate is 1000000
[2026-05-30 09:49:22.518]: Info: [libx264 @ 000000b23de7b580] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2026-05-30 09:49:22.519]: Info: [libx264 @ 000000b23de7b580] profile High, level 4.2, 4:2:0, 8-bit
[2026-05-30 09:49:22.549]: Info: [libx264 @ 000000b23de7b580] frame I:1 Avg QP:31.00 size: 1203
[2026-05-30 09:49:22.549]: Info: [libx264 @ 000000b23de7b580] mb I I16..4: 99.9% 0.0% 0.0%
[2026-05-30 09:49:22.549]: Info: [libx264 @ 000000b23de7b580] 8x8 transform intra:0.0%
[2026-05-30 09:49:22.550]: Info: [libx264 @ 000000b23de7b580] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2026-05-30 09:49:22.550]: Info: [libx264 @ 000000b23de7b580] i16 v,h,dc,p: 97% 0% 3% 0%
[2026-05-30 09:49:22.550]: Info: [libx264 @ 000000b23de7b580] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-05-30 09:49:22.550]: Info: [libx264 @ 000000b23de7b580] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-05-30 09:49:22.550]: Info: [libx264 @ 000000b23de7b580] i8c dc,h,v,p: 100% 0% 0% 0%
[2026-05-30 09:49:22.550]: Info: [libx264 @ 000000b23de7b580] kb/s:577.44
[2026-05-30 09:49:22.551]: Info: Creating encoder [libx264]
[2026-05-30 09:49:22.551]: Info: Color coding: SDR (Rec. 601)
[2026-05-30 09:49:22.551]: Info: Color depth: 8-bit
[2026-05-30 09:49:22.552]: Info: Color range: JPEG
[2026-05-30 09:49:22.552]: Info: Streaming bitrate is 1000000
[2026-05-30 09:49:22.552]: Info: [libx264 @ 000000b23e1ab240] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[2026-05-30 09:49:22.552]: Info: [libx264 @ 000000b23e1ab240] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[2026-05-30 09:49:22.582]: Info: [libx264 @ 000000b23e1ab240] frame I:1 Avg QP:31.00 size: 1312
[2026-05-30 09:49:22.582]: Info: [libx264 @ 000000b23e1ab240] mb I I16..4: 99.9% 0.0% 0.0%
[2026-05-30 09:49:22.583]: Info: [libx264 @ 000000b23e1ab240] 8x8 transform intra:0.0%
[2026-05-30 09:49:22.583]: Info: [libx264 @ 000000b23e1ab240] coded y,u,v intra: 0.0% 0.0% 0.0%
[2026-05-30 09:49:22.583]: Info: [libx264 @ 000000b23e1ab240] i16 v,h,dc,p: 97% 0% 3% 0%
[2026-05-30 09:49:22.583]: Info: [libx264 @ 000000b23e1ab240] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-05-30 09:49:22.583]: Info: [libx264 @ 000000b23e1ab240] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-05-30 09:49:22.583]: Info: [libx264 @ 000000b23e1ab240] kb/s:629.76
[2026-05-30 09:49:22.789]: Info:
Device Description : NVIDIA Quadro P4000
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001BB1
Device Video Mem : 8068 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 12206 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2026-05-30 09:49:22.790]: Info: Active GPU has HAGS enabled
[2026-05-30 09:49:22.790]: Info: Using realtime GPU priority
[2026-05-30 09:49:22.790]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.662109,0.329102]
Green Primary : [0.300781,0.620117]
Blue Primary : [0.144531,0.0488281]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2026-05-30 09:49:22.790]: Info: Desktop resolution [2560x1440]
[2026-05-30 09:49:22.791]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-30 09:49:22.791]: Info: Display refresh rate [59.951Hz]
[2026-05-30 09:49:22.791]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-30 09:49:22.799]: Info:
[2026-05-30 09:49:22.799]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-05-30 09:49:22.799]: Info:
[2026-05-30 09:49:22.799]: Info: Found H.264 encoder: libx264 [software]
[2026-05-30 09:49:22.799]: Info: Open the Web UI to set your new username and password and getting started
[2026-05-30 09:49:22.799]: Info: Starting system tray
[2026-05-30 09:49:22.799]: Info: System tray thread initialized successfully
[2026-05-30 09:49:22.799]: Info: No main thread features enabled, skipping event loop
[2026-05-30 09:49:22.800]: Info: File D:\tmp\Sunshine\config\sunshine_state.json doesn't exist
[2026-05-30 09:49:22.800]: Info: System tray thread started
[2026-05-30 09:49:22.803]: Info: Configuration UI available at [https://localhost:47990]
[2026-05-30 09:49:22.814]: Info: System tray created
[2026-05-30 09:49:23.568]: Info: Registered Sunshine mDNS service
Online logs
No response
https://github.com/LizardByte/Sunshine/pull/4892 required upgrading the minimum Nvidia SDK version.
Does that mean that my gpu is simply too old and not supported anymore in the latest version?
Can you get newer drivers for your card?
I don't think so, the latest driver version I found is from 2024
Then unfortunately it won't work. I'll leave this issue open to find out how many users are affected and see if we can find a way around this.
I have no idea if this is feasible or how much work it would entail, but might it make sense to show a warning in the web UI when a gpu is detected that cannot be used?
The only reason I realized what was happening is because suddenly after the sunshine update the moonlight uwp app on my xbox started to crash if I connected with a resolution higher than 1080p. Took me a while to figure out that that was because the stream was h264 instead of hevc.
The logs made it clear instantly, but maybe there are more people like me who don't think to check the logs after every update 😅
It looks like Sunshine requires driver version 580 or higher. Support for older cards seems to have been dropped with version 585.
I used driver version: 580.159.03 (has CUDA Version: 13.0) and 582 for my old cards (GTX 980 and GTX 980M on a laptop but both linux versions). Perhaps I'm looking in the wrong place, but there's a 582 Production Branch/Studio Driver for the Quadro P4000, seems like it would work.
I was affected by this as well, running driver version 539.19 on my Windows host. I have a P40, using NVIDIA vGPU with VMWare, and am unfortunately locked to this driver version since I am running vSphere 7 and support was dropped for Pascal/vSphere 7 in 16.9. I downgraded to v2025.924.154138 and am fine with this since it works until I can afford to update hardware, mentioning it for visibility
I was affected by this as well, running driver version 539.19 on my Windows host. I have a P40, using NVIDIA vGPU with VMWare, and am unfortunately locked to this driver version since I am running vSphere 7 and support was dropped for Pascal/vSphere 7 in 16.9. I downgraded to v2025.924.154138 and am fine with this since it works until I can afford to update hardware, mentioning it for visibility
old versions of Sunshine have publicly known security vulnerabilities so this is definitely not a recommended path
Unless a workaround becomes available I do not have a choice at this time. These are VM's in private VLAN's, only used for playing games, and Sunshine is not publicly accessible, so I'm fine with the risks
It looks like Sunshine requires driver version 580 or higher. Support for older cards seems to have been dropped with version 585.
I used driver version: 580.159.03 (has CUDA Version: 13.0) and 582 for my old cards (GTX 980 and GTX 980M on a laptop but both linux versions). Perhaps I'm looking in the wrong place, but there's a 582 Production Branch/Studio Driver for the Quadro P4000, seems like it would work.
You're right, thanks for the tip! Seems like I was just too stupid for the nvidia homepage... I'm going to try this tomorrow, hopefully it works with the new sunrise release. (Edit: it does work with the R580 driver)
Few others including myself are affected by this https://github.com/LizardByte/Sunshine/issues/5147
Few others including myself are affected by this https://github.com/LizardByte/Sunshine/issues/5147
That must be a different issue as OP said they have driver 596.
Using nvidia Pascal with driver 535.XX, affected as well, only way to use my P4 with sunshine was to rollback to 2025.924.154138
Yep, same issue here windows 11 with Tesla P100
If anyone wants to work on a fix, there was an attempt here (https://github.com/LizardByte/Sunshine/pull/3040) that went stale.
Running into this issue as well on my GTX 1060 on Linux Mint 22.3 (Ubuntu 24.04 based) which is stuck in driver version 580.
Using v2025.924.154138 does make it work (obviously) but that version still has the security bug. If properly fixing this for new releases is out of the question would having a hotfixed version with just the security vulnerability fixed be very much appreciated. IMO too many people are still running older Nvidia GPUs (especially in this economy) to ignore the possible security implications.
Running into this issue as well on my GTX 1060 on Linux Mint 22.3 (Ubuntu 24.04 based) which is stuck in driver version 580.
Using v2025.924.154138 does make it work (obviously) but that version still has the security bug. If properly fixing this for new releases is out of the question would having a hotfixed version with just the security vulnerability fixed be very much appreciated. IMO too many people are still running older Nvidia GPUs (especially in this economy) to ignore the possible security implications.
This GitHub issue is specific to Windows.
On Linux it depends on the version of CUDA used during compilation, which I believe at the moment requires driver 585+. You can solve it yourself by self compiling with an older version of cuda toolkit.
Ran into this, used codex to help me troubleshoot (turn on debug logs and analyze and then find this GH issue). Upgraded my GTX 750 Ti driver from 560.94 -> 582.66 and boom, back in business. Thanks for the useful thread - and for this very useful software that lets me stream games to a 2010 macbook air at 1440 native resolution and 30fps flawlessly (with a stadia controller connected) and put an old laptop to good use!
Can anyone with this issue please test #5451 and let me know if it solves the issue?
You can get artifacts from https://github.com/LizardByte/Sunshine/actions/runs/30178795286?pr=5451#artifacts
For Windows, it will be titled build-Windows-*, and you must be logged into your GitHub account to see/download this.