You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remote Play - Linux Host (Nvidia) fails to load NVENC/VAAPI (No CUDA support) - Falls back to libx264 #12639
Please describe your issue in as much detail as possible:
When attempting to host a Remote Play session from this Linux host to a Steam Deck, the host fails to initialise hardware encoding (NVENC). Despite having correct drivers (v590.48.01) installed, the Steam client appears unable to locate or initialise the 32-bit CUDA/Encode libraries required for the stream.
The system then attempts to initialize VAAPI as a fallback, but this also fails. Consequently, Steam falls back to software encoding - libx264.
Troubleshooting Attempted:
I have attempted the following steps to resolve the missing 32-bit library issue, but none have succeeded:
Tested on both Steam Native and Steam Runtime.
Tested the Beta branch on both Steam Native and Runtime.
Rolled back Nvidia drivers to version 580.xx, but the issue persists.
Relevant Log Snippet from streaming_log.txt:
[2026-01-10 16:13:24][400.542588] Allowed Codecs: 5,4
[2026-01-10 16:13:24][400.556965] NVENC - No CUDA support
[2026-01-10 16:13:24][400.569115] CGameStreamVideoStageVAAPI: Reinitializing 2560x1440 at 75000 Kbit/s and 240.00 FPS with quality 1
[2026-01-10 16:13:24][400.569696] ffmpeg verbose: libva: Trying to open /usr/lib32/dri/nvidia_drv_video.so
[2026-01-10 16:13:24][400.569705] ffmpeg verbose: libva: va_openDriver() returns -1
[2026-01-10 16:13:24][400.569710] ffmpeg error: Failed to initialise VAAPI connection: -1 (unknown libva error).
[2026-01-10 16:13:24][400.569799] Encoder stage failed [type=5, codec=5]
[2026-01-10 16:13:24][400.569877] Failed encoders: 2/5, 2/4, 4/5, 4/4, 5/5
[2026-01-10 16:13:24][400.570406] Failed encoders: 2/5, 2/4, 4/5, 4/4, 5/5, 5/4
[2026-01-10 16:13:24][400.573818] >>> Capture method set to Desktop Black Frame + libx264 main (4 threads)
Steps for reproducing this issue:
Launch Steam on a Manjaro Linux host with an Nvidia RTX GPU (Driver 590.xx).
Start a game and connect via Remote Play from a Steam Deck.
Enable the "Performance Overlay (Details)" on the client.
Observe that the Encoder lists "Desktop Black Frame + libx264" instead of "NVENC".
Reacted by bolu61, ivynIG, Simon Bear, WestonJFord, williamvasseur-hash, Samuele Bacchetta and Nick Yatracos
My understanding is that the expected code paths for video encoding/decoding are:
if Nvidia GPU (with Nvidia's proprietary driver): try to use Nvidia-specific interfaces (NVENC/NVDEC, or historically VDPAU)
else if GPU is supported by Mesa (AMD, Nvidia with Nouveau driver, etc.) or is supported by Intel's drivers: try to use VA-API
else: use software encoding/decoding
VA-API on Nvidia has never been very reliable, and it depends on a third-party VA-API module that isn't maintained by Nvidia and has a lot of external dependencies.
Similarly the Nvidia-specific interfaces mostly aren't available on non-Nvidia drivers, or if they are available, they don't work particularly well. Mesa used to have VDPAU drivers, but they were removed in 2025.
It's unfortunate that accelerated video has split into two "worlds" like this, but it is what it is.
NVENC - No CUDA support
I believe this is the real problem here: Steam is trying to use NVENC as its first-preference implementation of video encoding on Nvidia GPUs, but it didn't work, for whatever reason.
Everything involving VA-API (libva) is probably just a distraction here, because if what Steam was trying to do had worked the way it is meant to, it would never have had to fall back to VA-API.
Maybe Steam should try to use the ffmpeg NVENC driver directly
I think it already does? Notice that in the original reporter's log snippets, NVENC - No CUDA support is logged before anything that mentions VA-API.
On a multi-arch Debian system we can make it available by installing the nvidia-vaapi-driver:i386 package:
Note that even if nvidia-vaapi-driver can work on the host system, it won't work inside a pressure-vessel (Steam Linux Runtime) container. We have code that specifically ignores/disables nvidia_drv_video.so, because its dependencies include GStreamer, and pulling in all of GStreamer would defeat the ABI-stability reasons why we want to use a container.
CUDA Driver will not support 32-bit CUDA applications on GeForce RTX 50 series (Blackwell) and newer architectures.
And this covers at least my case, since I have an NVIDIA GeForce RTX 5070, and @Reverberation1 who seems to have a Nvidia GeForce RTX 5090, not sure about @rajasrijan.
If Steam started using a 64bit build of ffmpeg/cuda this should be solved?
If Steam started using a 64bit build of ffmpeg/cuda this should be solved?
Does it work better if you use the Steam beta client, and then enable Settings → Interface → Advanced → Use experimental SteamRT3 Steam Client? That new version is mostly 64-bit: there are still some 32-bit components, notably reaper (#13015), but the main Steam process is 64-bit.
(Be aware that the experimental client has some known regressions in other areas, many of which are being worked on - see issues labelled "SteamRT3" or "steamrt3c" on this issue tracker.)
I'm not sure offhand which process it is that actually loads the Nvidia libraries and does the encoding when Steam is acting as a streaming server. @ao2, perhaps it would be useful if you could look into that?
Switching to experimental SteamRT3 Steam Client is fixing the streaming issue
That's good to hear, I think that confirms what @ao2 said about 32-bit CUDA no longer being supported for newer GPUs.
none of the games are launching (native or proton)
Please open a separate issue for that, with your system details and logs - that sounds like a different regression that should be addressed before the new client leaves this experimental phase.
As proof that NVENC works with the experimental SteamRT3 Steam client:
[2026-05-18 12:04:09][140.613233] Created encoder NVENC for codec 4
[2026-05-18 12:04:09][140.630738] Video Encoder Changed
[2026-05-18 12:04:09][140.631917] >>> Capture method set to Desktop Black Frame + NVENC H264
And in my case games launch fine when I have empty Launch Options, so @rajasrijan you might want to check that too.
I noticed that in-game streaming works with some titles like GhostRunner, but it doesn't work with some other games like Portal, but this is yet another separate issue.
Good Afternoon and thanks @smcv. The 64-bit client fixes the encoder part for me. Updated source system's Steam to build 1794424036 and streaming to a Steam Deck now uses NVENC instead of libx264:
(Wayland still displays a black screen due to permission problems but adding -pipewire on boot does the trick).
❯ grep -iE "nvenc|libx264|cuda|encoder" ~/.local/share/Steam/logs/streaming_log.txt ~/.local/share/Steam/logs/console-linux.txt | tail -40
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:35] Creating new audio encoder for codec 3
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:35] Encoder audio init succeeded, now have 1 encoder(s)
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:35] Trying to create an encoder for streaming: [hardware_enabled=true][hardware_suppressed=false]
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:35] Created encoder NVENC for codec 5
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:35] Video Encoder Changed
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:35] >>> Capture method set to Desktop PipeWire NV12 + NVENC HEVC
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:36] CLIENT: Got control packet k_EStreamControlVideoEncoderInfo
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:36] CLIENT: ffmpeg verbose: Matched driver string as known nonstandard driver "radeonsi (HEVC encoder workarounds)", setting quirks (0x30).
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:30:50] "CaptureDescriptionID" "Desktop PipeWire NV12 + NVENC HEVC"
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:13] "CaptureDescriptionID" "Desktop PipeWire NV12 + NVENC HEVC"
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:43] Creating new audio encoder for codec 3
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:43] Encoder audio init succeeded, now have 1 encoder(s)
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:43] Trying to create an encoder for streaming: [hardware_enabled=true][hardware_suppressed=false]
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:43] Created encoder NVENC for codec 5
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:44] Video Encoder Changed
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:44] >>> Capture method set to Desktop PipeWire NV12 + NVENC HEVC
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:44] CLIENT: Got control packet k_EStreamControlVideoEncoderInfo
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:44] CLIENT: ffmpeg verbose: Matched driver string as known nonstandard driver "radeonsi (HEVC encoder workarounds)", setting quirks (0x30).
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:45] NVENC - recreating due to quality or resolution change
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:45] Video Encoder Changed
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:45] CLIENT: ffmpeg verbose: Matched driver string as known nonstandard driver "radeonsi (HEVC encoder workarounds)", setting quirks (0x30).
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:48] NVENC - recreating due to quality or resolution change
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:48] Video Encoder Changed
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:31:48] CLIENT: ffmpeg verbose: Matched driver string as known nonstandard driver "radeonsi (HEVC encoder workarounds)", setting quirks (0x30).
.local/share/Steam/logs/console-linux.txt:[2026-11-12 15:32:22] "CaptureDescriptionID" "Desktop PipeWire NV12 + NVENC HEVC"
Think that is a wrap. Thank you all for your unrelenting support!
Activity
rajasrijan commentedon May 7, 2026
I'm using Ubuntu 24.04.4 LTS with Nvidia 580.159.03 driver. Streaming is still not working. Is there a workaround to this?
rajasrijan commentedon May 10, 2026
I'm able to use nvenc using ffmpeg. These two commands work perfectly and i can see
ffmpegpop up on nvidia-smi.Steam still continues to crash.
ao2 commentedon May 13, 2026
Let's recap what the issue is about.
When trying to use hardware encoding with an Nvidia GPU, the Steam tries to use the 32bit VA-API
nvidia_drv_video.sodriver, as seen in the logs:the
(unknown libva error).seems to indicate that the driver cannot be found at all.On a multi-arch Debian system we can make it available by installing the
nvidia-vaapi-driver:i386package:After that the error changes:
A minimal reproducer on the host could be obtained on a multi-arch Debian system by installing
vainfo:i386:Now,
stracecould tell us more about what is missing:And on my system I was indeed missing
libcuda1:i386andlibnvcuvid1:i386.However even after satisfying all the deps, something is still missing:
A more complete reproducer could be with
ffmpeg:i386:The 64bit
nvidia_drv_video.socan be initialized, but it only offers the NVDEC backend, so encoding will not work anyway, even with 64bit ffmpeg:Maybe Steam should try to use the ffmpeg NVENC driver directly when setting up the encoder on NVIDIA machines.
smcv commentedon May 14, 2026
My understanding is that the expected code paths for video encoding/decoding are:
VA-API on Nvidia has never been very reliable, and it depends on a third-party VA-API module that isn't maintained by Nvidia and has a lot of external dependencies.
Similarly the Nvidia-specific interfaces mostly aren't available on non-Nvidia drivers, or if they are available, they don't work particularly well. Mesa used to have VDPAU drivers, but they were removed in 2025.
It's unfortunate that accelerated video has split into two "worlds" like this, but it is what it is.
I believe this is the real problem here: Steam is trying to use NVENC as its first-preference implementation of video encoding on Nvidia GPUs, but it didn't work, for whatever reason.
Everything involving VA-API (libva) is probably just a distraction here, because if what Steam was trying to do had worked the way it is meant to, it would never have had to fall back to VA-API.
I think it already does? Notice that in the original reporter's log snippets,
NVENC - No CUDA supportis logged before anything that mentions VA-API.Note that even if
nvidia-vaapi-drivercan work on the host system, it won't work inside a pressure-vessel (Steam Linux Runtime) container. We have code that specifically ignores/disablesnvidia_drv_video.so, because its dependencies include GStreamer, and pulling in all of GStreamer would defeat the ABI-stability reasons why we want to use a container.ao2 commentedon May 15, 2026
The confusion about VAAPI came from the fact that on my system I was not getting the message:
but the first encoder Steam tried was VAAPI with
nvidia_drv_video.so.Only after I installed
libnvidia-encode1:i386I started getting the message, which now makes sense.So this prompted another test.
NVENC is working fine with
ffmpeg:amd64:but it does not work with
ffmpeg:i386:We get an error similar to the one from Steam, even after installing
libcuda1:i386andlibcudart12:i386.So I guess the issue is that newer Nvidia drivers/GPU don't work with i386 userspace?
It looks like cuda is phasing out 32bit support since cuda 12, in
https://nvidia.custhelp.com/app/answers/detail/a_id/5615/~/support-plan-for-32-bit-cuda in particular we can read:
And this covers at least my case, since I have an
NVIDIA GeForce RTX 5070, and @Reverberation1 who seems to have aNvidia GeForce RTX 5090, not sure about @rajasrijan.If Steam started using a 64bit build of ffmpeg/cuda this should be solved?
smcv commentedon May 15, 2026
Does it work better if you use the Steam beta client, and then enable Settings → Interface → Advanced →
Use experimental SteamRT3 Steam Client? That new version is mostly 64-bit: there are still some 32-bit components, notablyreaper(#13015), but the main Steam process is 64-bit.(Be aware that the experimental client has some known regressions in other areas, many of which are being worked on - see issues labelled "SteamRT3" or "steamrt3c" on this issue tracker.)
I'm not sure offhand which process it is that actually loads the Nvidia libraries and does the encoding when Steam is acting as a streaming server. @ao2, perhaps it would be useful if you could look into that?
rajasrijan commentedon May 16, 2026
Switching to
experimental SteamRT3 Steam Clientis fixing the streaming issue, but none of the games are launching (native or proton).smcv commentedon May 18, 2026
That's good to hear, I think that confirms what @ao2 said about 32-bit CUDA no longer being supported for newer GPUs.
Please open a separate issue for that, with your system details and logs - that sounds like a different regression that should be addressed before the new client leaves this experimental phase.
ao2 commentedon May 18, 2026
As proof that NVENC works with the experimental SteamRT3 Steam client:
And in my case games launch fine when I have empty Launch Options, so @rajasrijan you might want to check that too.
I noticed that in-game streaming works with some titles like GhostRunner, but it doesn't work with some other games like Portal, but this is yet another separate issue.
smcv commentedon Nov 12, 2026
This is hopefully fixed now that the 64-bit/steamrt3c Steam Client has replaced the old 32-bit Steam Client as the default, because the streaming server is now 64-bit code. @Reverberation1, @rajasrijan: please try this again?
ao2 commentedon Nov 12, 2026
Yes I tested again and the new stable Steam client addresses this, NVENC is now used out of the box.
I think this can be closed, but let's wait a few days to give also the original reporters a chance to test and confirm.
Reverberation1 commentedon Nov 12, 2026
Good Afternoon and thanks @smcv. The 64-bit client fixes the encoder part for me. Updated source system's Steam to build 1794424036 and streaming to a Steam Deck now uses NVENC instead of libx264:
(Wayland still displays a black screen due to permission problems but adding -pipewire on boot does the trick).
Think that is a wrap. Thank you all for your unrelenting support!