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
[pressure-vessel] NVIDIA encoding libraries (libnvidia-encode.so.1) and VA-API driver not captured on Manjaro/Arch #799
Please describe your issue in as much detail as possible:
Remote Play from this NVIDIA host fails to initialise hardware encoding. The streaming_log.txt reports NVENC - No CUDA support and attempts to fall back to VAAPI, which also fails with va_openDriver() returns -1.
The issue appears to be a failure in pressure-vessel to capture the NVIDIA encoding libraries from the host, even though they are present and correctly installed.
I have verified that the 32-bit and 64-bit libraries exist on the host via ldconfig -p | grep libnvidia-encode:
In the attached Steam Runtime Diagnostics, libcuda.so.1 is successfully mapped into overrides, but libnvidia-encode.so.1 is completely absent from the container overrides list.
nvidia_drv_video.so is not found in the container's DRI paths, preventing the hardware fallback.
I attempted to force-mount the libraries using PRESSURE_VESSEL_FILESYSTEMS_RW, but the runtime rejected this with the message: W: Not sharing path ... with container because "/usr" is reserved by the container framework.
This suggests that the runtime's discovery logic is intentionally or unintentionally skipping these specific libraries on this distribution/driver combination (NVIDIA 590.48.01) (?).
Unfortunately we have to capture the Nvidia libraries individually, rather than being able to take libnvidia-*, because a few of them are specifically things we don't want (capturing libraries with a GTK dependency would defeat the purpose of the container). Perhaps libnvidia-encode.so.1 is not on our list but should be.
It seems to only depend on libnvcuvid.so.1 plus glibc, so hopefully that won't cause any problems.
Remote Play from this NVIDIA host fails to initialise hardware encoding. The streaming_log.txt reports NVENC - No CUDA support
Am I correct to think that this is Remote Play with the Nvidia machine as the streaming server (the one that runs the actual game), using some non-Nvidia machine (e.g. Steam Deck) as the streaming client?
With a similar setup on a test machine, I'm seeing that on the Nvidia machine (Ubuntu 24.04 with Nvidia driver 580 in my case), libnvidia-encode.so.1is captured: I get /proc/$pid/root/overrides/lib/x86_64-linux-gnu/libnvidia-encode.so.1 -> /run/host/usr/lib/x86_64-linux-gnu/libnvidia-encode.so.580.126.09, for a $pid that is the process ID of my game.
Perhaps libnvidia-encode.so.1 is not on our list but should be.
In fact it is already on the list, so the relevant question is: why is it not captured on your system? I'll see what happens if I boot the Nvidia machine into Arch...
If you can collect a SLR log with STEAM_LINUX_RUNTIME_VERBOSE=1 in the environment, that might have useful information.
attempts to fall back to VAAPI, which also fails with va_openDriver() returns -1
In the attached Steam Runtime Diagnostics, libcuda.so.1 is successfully mapped into overrides, but libnvidia-encode.so.1 is completely absent from the container overrides list.
This doesn't seem to be true any more in the verbose log:
<7>18:01:56.614775: pressure-vessel-wrap[1237840]: D: overrides/lib/x86_64-linux-gnu/libnvidia-encode.so.1 points to container-side path /run/host/usr/lib/libnvidia-encode.so.590.48.01
Strange that both versions of libnvidia-encode.so.1 are found correctly. Perhaps in the initialisation there are missing sibling dependencies required by the Nvidia driver overrides?
I don't wish to jump the gun on saying that specific files are missing as I am really not sure if they are required, but I noticed a few libraries on my host like libnvidia-sandboxutils.so.1 that don't appear to be captured in the overrides. Could be a complete red herring.
I can reproduce NVENC - No CUDA support on Arch with Nvidia 590 (unlike Ubuntu 24.04 with Nvidia 580), so this is either a regression with the 590 driver, or an OS-specific issue. My first guess would be that it's more likely to be a regression with the 590 driver.
If a library that we already known about has an ELF hard dependency (DT_NEEDED) on one of these, then we'd pick it up automatically, but if it will dlopen() them at runtime, we can't track that automatically.
Another possibility is that the Nvidia driver wants to be able to load the dri_gbm.so provided by Mesa, which pressure-vessel isn't yet aware of (#797, already being worked on).
Maybe. It isn't 100% clear whether the bug here is in the Steam Linux Runtime, or the Steam client's streaming component, or what.
I do wonder whether we might be looking at the wrong copy of pressure-vessel: it isn't clear to me whether the streaming/encoding code that logs NVENC - No CUDA support is happening inside the game process (TF2 or Borderlands 4 during the tests done by @Reverberation1 so far), or whether it's happening inside the Steam client itself. If it's inside the Steam client, then replacing the copy of pressure-vessel used by SLR_sniper isn't going to have any effect, and instead we'd have to swap out the one used by Steam.
We now have a version of pressure-vessel that resolves #797, which should be released in a new beta batch soon. When that's more widely available, I'll ask for a re-test, and this time I'll provide instructions that affect all SLR containers so that we can be more sure that they're taking effect.
@Reverberation1, what I suggest you try is to unpack that copy of pressure-vessel into a convenient temporary location (I use ~/tmp, so that unpacking it gives me files like ~/tmp/pressure-vessel/bin/pv-verify), and then run Steam on your Nvidia machine with a command like this:
That way, every container used by Steam will use the updated version of pressure-vessel, without having to overwrite anything. To swap between versions, completely exit from Steam, delete/re-unpack ~/tmp/pressure-vessel and start Steam again with the same command.
To keep things as simple as possible please test with a native Linux sniper game, like TF2. It would be great if you could try all three of:
the production version (don't set PRESSURE_VESSEL_PREFIX at all) to check that the issue is still reproducible
I've removed Millennium to clean up the logs a bit.
To capture the verbose logs, I recorded the terminal session. I did have a play around with -pipewire too but the results were no different.
Finally just to rule out the previous client bug with TF2 selecting Scout, I attempted the same tests but using Retro Arch which resulted in the same results.
Unfortunately neither of the ideas we've had so far have helped you. I think the Steam Runtime team is not going to be able to go further with this without help from Steam client developers and/or Nvidia driver developers.
I've asked around to see whether we can get the necessary information. Tracked internally as steamrt/tasks#920.
Here is one more thing to try: choose a Steam Runtime 1 'scout' game, configure it to run under "Legacy Runtime 1.0" on the Nvidia machine, and try to stream that.
Most native Linux games are set up to run under scout, especially older games, for example the Half-Life and Portal series. By default Steam now runs them under SLR 1.0, but the "Legacy Runtime 1.0" is also available on desktop - it's the old LD_LIBRARY_PATH-based runtime from before we used containers.
Floating Point is a free game that I've often used in the past as a minimum viable scout game for testing purposes. It has a simple GTK launcher before you get into the actual game, which you'll probably need to operate using the Nvidia machine's display and mouse (I don't think Steam can stream non-GL, non-Vulkan user interfaces), so do this test while in front of the Nvidia machine if you use that game.
Floating Point, Portal and many other older games are 32-bit, so you might need to install additional lib32 libraries to make NVENC available to it. That's out-of-scope for pressure-vessel/SLR, but if you do have to install additional packages, please make a note of which ones so we can ask packagers to add them as optdepends or something.
Possible results are:
If NVENC works successfully, then that confirms your theory that this is a problem with pressure-vessel/SLR.
If you still see NVENC - No CUDA support (regardless of whether it successfully falls back to VA-API or not), then this is not a problem with pressure-vessel/SLR (because this test scenario doesn't use those), but instead some problem with either the Steam client, the new Nvidia driver or the combination of the two.
Floating Point crashes upon starting the game from the GTK launcher however, I've hung the remote play connection awaiting for the GTK to begin the game which is just enough time for the steam_logs.txt to output NVENC - No CUDA support.
Looks like this problem is not Pressure Vessel after all! Thank you for the guidance in isolating this.
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?
Based on earlier test results we think that this is not a pressure-vessel (Steam Linux Runtime) problem, but instead either a Steam Client issue (ValveSoftware/steam-for-linux#12639) or a problem with the Nvidia drivers. Probably we should close this issue and use ValveSoftware/steam-for-linux#12639 for any followups by other teams.
I investigated the issue in ValveSoftware/steam-for-linux#12639 to confirm that this is indeed independent from pressure-vessel, the issue also happens when using NVENC/VAAPI on the host directly.
@smcv I didn't mention you there to avoid having you subscribed to a non-SteamRuntime ticket.
Activity
smcv commentedon Feb 10, 2026
Unfortunately we have to capture the Nvidia libraries individually, rather than being able to take
libnvidia-*, because a few of them are specifically things we don't want (capturing libraries with a GTK dependency would defeat the purpose of the container). Perhapslibnvidia-encode.so.1is not on our list but should be.It seems to only depend on
libnvcuvid.so.1plus glibc, so hopefully that won't cause any problems.smcv commentedon Feb 10, 2026
Am I correct to think that this is Remote Play with the Nvidia machine as the streaming server (the one that runs the actual game), using some non-Nvidia machine (e.g. Steam Deck) as the streaming client?
With a similar setup on a test machine, I'm seeing that on the Nvidia machine (Ubuntu 24.04 with Nvidia driver 580 in my case),
libnvidia-encode.so.1is captured: I get/proc/$pid/root/overrides/lib/x86_64-linux-gnu/libnvidia-encode.so.1 -> /run/host/usr/lib/x86_64-linux-gnu/libnvidia-encode.so.580.126.09, for a$pidthat is the process ID of my game.In fact it is already on the list, so the relevant question is: why is it not captured on your system? I'll see what happens if I boot the Nvidia machine into Arch...
If you can collect a SLR log with
STEAM_LINUX_RUNTIME_VERBOSE=1in the environment, that might have useful information.It is expected that fallback to VA-API won't normally work on Nvidia systems. There is an unofficial VA-API driver for Nvidia systems, https://github.com/elFarto/nvidia-vaapi-driver, but we can't safely use that in our container even if you have it installed, because it has too many dependencies (GStreamer!).
Reverberation1 commentedon Feb 10, 2026
@smcv Thank you for looking into this!
Yes, you are correct. The NVIDIA machine (Manjaro, 590.48.01) is the streaming server/host, and a Steam Deck is acting as the client.
Here is the verbose SLR Log: Link.
smcv commentedon Feb 10, 2026
This doesn't seem to be true any more in the verbose log:
<7>18:01:56.614775: pressure-vessel-wrap[1237840]: D: overrides/lib/x86_64-linux-gnu/libnvidia-encode.so.1 points to container-side path /run/host/usr/lib/libnvidia-encode.so.590.48.01smcv commentedon Feb 10, 2026
/run/host/usris your host system's/usr, so that one should work, I think.smcv commentedon Feb 10, 2026
ldconfiginside your container also seems to be finding the library successfully:Reverberation1 commentedon Feb 10, 2026
Strange that both versions of libnvidia-encode.so.1 are found correctly. Perhaps in the initialisation there are missing sibling dependencies required by the Nvidia driver overrides?
I don't wish to jump the gun on saying that specific files are missing as I am really not sure if they are required, but I noticed a few libraries on my host like libnvidia-sandboxutils.so.1 that don't appear to be captured in the overrides. Could be a complete red herring.
smcv commentedon Feb 10, 2026
I can reproduce
NVENC - No CUDA supporton Arch with Nvidia 590 (unlike Ubuntu 24.04 with Nvidia 580), so this is either a regression with the 590 driver, or an OS-specific issue. My first guess would be that it's more likely to be a regression with the 590 driver.smcv commentedon Feb 10, 2026
Possibly relevant, yes. On my test system I see
in addition to the ones we already know about.
If a library that we already known about has an ELF hard dependency (
DT_NEEDED) on one of these, then we'd pick it up automatically, but if it willdlopen()them at runtime, we can't track that automatically.smcv commentedon Feb 12, 2026
Another possibility is that the Nvidia driver wants to be able to load the
dri_gbm.soprovided by Mesa, which pressure-vessel isn't yet aware of (#797, already being worked on).Reverberation1 commentedon Feb 13, 2026
@smcv Thanks for the update. It’s interesting that it's specific to the 590 drivers.
I'll stay tuned for the GBM fix and can test any beta builds you need.
smcv commentedon Feb 16, 2026
Unfortunately addingdri_gbm.soto the container didn't solve this for me, and neither did adding more Nvidia libraries to the container or combining both changes, so the reason that Steam is reportingNVENC - No CUDA supportmust presumably be something else.smcv commentedon Feb 16, 2026
Actually no, my test machine's GPU is sufficiently old that https://github.com/NVIDIA/open-gpu-kernel-modules doesn't support it, so those test results are inconclusive.
@Reverberation1, to start with, please could you try testing your theory about adding more Nvidia libraries to the container? To do this, delete the
steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/directory and replace it with the result of unpacking https://gitlab.steamos.cloud/steamrt/steam-runtime-tools/-/jobs/2162713/artifacts/raw/_build/pressure-vessel-bin.tar.gz. (Note to self, this is steam-runtime-tools!925 v1.)The GBM change isn't quite ready yet, but when it is, we can also try with that, or with the combination of both.
Reverberation1 commentedon Feb 16, 2026
@smcv I tested the custom build. Unfortunately, no dice on the theory. The streaming_log.txt still reports
NVENC - No CUDA support.I’ve verified the following inside the container shell:
/dev/nvidia-uvmis present and correctly mapped.libnvidia-sandboxutilsandlibnvidia-tileiras.6 remaining items
smcv commentedon Feb 19, 2026
Maybe. It isn't 100% clear whether the bug here is in the Steam Linux Runtime, or the Steam client's streaming component, or what.
I do wonder whether we might be looking at the wrong copy of pressure-vessel: it isn't clear to me whether the streaming/encoding code that logs
NVENC - No CUDA supportis happening inside the game process (TF2 or Borderlands 4 during the tests done by @Reverberation1 so far), or whether it's happening inside the Steam client itself. If it's inside the Steam client, then replacing the copy of pressure-vessel used by SLR_sniper isn't going to have any effect, and instead we'd have to swap out the one used by Steam.We now have a version of pressure-vessel that resolves #797, which should be released in a new beta batch soon. When that's more widely available, I'll ask for a re-test, and this time I'll provide instructions that affect all SLR containers so that we can be more sure that they're taking effect.
smcv commentedon Feb 19, 2026
I'm waiting for the appropriate handle to be turned to get an official beta, but for now, we have a release of pressure-vessel: you can test it by downloading https://repo.steampowered.com/pressure-vessel/snapshots/0.20260218.0/pressure-vessel-bin.tar.gz.
@Reverberation1, what I suggest you try is to unpack that copy of pressure-vessel into a convenient temporary location (I use
~/tmp, so that unpacking it gives me files like~/tmp/pressure-vessel/bin/pv-verify), and then run Steam on your Nvidia machine with a command like this:That way, every container used by Steam will use the updated version of pressure-vessel, without having to overwrite anything. To swap between versions, completely exit from Steam, delete/re-unpack
~/tmp/pressure-vesseland start Steam again with the same command.To keep things as simple as possible please test with a native Linux sniper game, like TF2. It would be great if you could try all three of:
PRESSURE_VESSEL_PREFIXat all) to check that the issue is still reproducibleWhat I'm hoping is that (1.) still reports
NVENC - No CUDA support, but either (2.) or (3.) might work better.Reverberation1 commentedon Feb 20, 2026
I've removed Millennium to clean up the logs a bit.
To capture the verbose logs, I recorded the terminal session. I did have a play around with
-pipewiretoo but the results were no different.Finally just to rule out the previous client bug with TF2 selecting Scout, I attempted the same tests but using Retro Arch which resulted in the same results.
libx264libx264libx264smcv commentedon Feb 20, 2026
Unfortunately neither of the ideas we've had so far have helped you. I think the Steam Runtime team is not going to be able to go further with this without help from Steam client developers and/or Nvidia driver developers.
I've asked around to see whether we can get the necessary information. Tracked internally as steamrt/tasks#920.
Reverberation1 commentedon Feb 20, 2026
Thank you for all your support @smcv! It is greatly appreciated. I'll keep an eye out for any news.
Cheers.
smcv commentedon Feb 20, 2026
Here is one more thing to try: choose a Steam Runtime 1 'scout' game, configure it to run under "Legacy Runtime 1.0" on the Nvidia machine, and try to stream that.
Most native Linux games are set up to run under scout, especially older games, for example the Half-Life and Portal series. By default Steam now runs them under SLR 1.0, but the "Legacy Runtime 1.0" is also available on desktop - it's the old
LD_LIBRARY_PATH-based runtime from before we used containers.Floating Point is a free game that I've often used in the past as a minimum viable scout game for testing purposes. It has a simple GTK launcher before you get into the actual game, which you'll probably need to operate using the Nvidia machine's display and mouse (I don't think Steam can stream non-GL, non-Vulkan user interfaces), so do this test while in front of the Nvidia machine if you use that game.
Floating Point, Portal and many other older games are 32-bit, so you might need to install additional
lib32libraries to make NVENC available to it. That's out-of-scope for pressure-vessel/SLR, but if you do have to install additional packages, please make a note of which ones so we can ask packagers to add them asoptdependsor something.Possible results are:
NVENC - No CUDA support(regardless of whether it successfully falls back to VA-API or not), then this is not a problem with pressure-vessel/SLR (because this test scenario doesn't use those), but instead some problem with either the Steam client, the new Nvidia driver or the combination of the two.Reverberation1 commentedon Feb 20, 2026
I've had the lib32 libraries installed whilst troubleshooting for ValveSoftware/steam-for-linux#12639.
Floating Point crashes upon starting the game from the GTK launcher however, I've hung the remote play connection awaiting for the GTK to begin the game which is just enough time for the steam_logs.txt to output
NVENC - No CUDA support.Looks like this problem is not Pressure Vessel after all! Thank you for the guidance in isolating this.
ao2 commentedon Feb 23, 2026
What does
nvidia-smioutput on the affected system?Reverberation1 commentedon Feb 23, 2026
ao2 commentedon Feb 26, 2026
OK, this does not sow any obvious problem on the host side.
Would it make sent to have
nvidia-smirunning also under the Steam Runtime? Even though the issue seem to be more related to the Steam client.Reverberation1 commentedon Feb 26, 2026
If this is what you are after, here you go:
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?
smcv commentedon May 7, 2026
Based on earlier test results we think that this is not a pressure-vessel (Steam Linux Runtime) problem, but instead either a Steam Client issue (ValveSoftware/steam-for-linux#12639) or a problem with the Nvidia drivers. Probably we should close this issue and use ValveSoftware/steam-for-linux#12639 for any followups by other teams.
ao2 commentedon May 13, 2026
I investigated the issue in ValveSoftware/steam-for-linux#12639 to confirm that this is indeed independent from pressure-vessel, the issue also happens when using NVENC/VAAPI on the host directly.
@smcv I didn't mention you there to avoid having you subscribed to a non-SteamRuntime ticket.