[Help] Gstreamer won't load videos for non-Steam games in the standalone Runtime container unless I set `STEAMVIDEOTOKEN`
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Documentación
- Claridad
- Necesita aclaración
- Estado de actividad
- Tranquilo
- Stack tecnológico
- linux, shell
- Área
- devops, operating-systems
Línea de trabajo
Comienza con docs/slr-for-game-developers.md y la configuración del entorno de g_session.init_session del script de Proton. Rastrea dónde se consume STEAMVIDEOTOKEN y cómo lo proporciona el Steam client; después, documenta la configuración compatible del runtime independiente y verifica que GStreamer pueda cargar el plugin de Opus sin el Steam client.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello, first I acknowledge this isn't an issue, just a help request given how niche it is.
Please feel free to close this any time.
I migrated to Linux some recent years ago and started to dig my way through making everything standalone whenever I gain new knowledge, the relevant part is that I want to run my non-Steam games using the steam container runtime but without the full Steam client.
I don't know how to set ths env var STEAMVIDEOTOKEN, and its actual value is some random number + a UID, and there seems to be no docs for it, so I wanted to ask how should I set this?
The long story is that I've been using the non-Steam games feature of the store for quite some time now, but I stumbled upon this magnificent dev guide Launching non-Steam games in a Steam Linux Runtime container which does exactly what I really needed for a long time since all other online stores are really bad on Linux and without official support.
I noticed that all in-game videos are playing the fallback RGB-test video, and GStreamer log always shows failure loading opus plugin
0:00:00.007230065 71603 0xcda8d4f0 WARN WINE unixlib.c:124:find_element_factories: Failed to find any element factory matching type 64x, caps audio/x-opus, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003, codec_data=(buffer)4f707573486561640102380180bb0000000000, channel-mapping-family=(int)0, block_align=(int)0, depth=(int)0, bitrate=(int)0 / audio/x-opus, parsed=(boolean)true.
But if I run the same non-Steam game inside the Steam client all videos work.
To debug this, first I spawned a shell inside the container
PRESSURE_VESSEL_SHELL=instead %command%
And tried to mimic what proton does manually by prepending ubuntu12_32/video/ and Proton 11.0/files/lib/i386-linux-gnu/ dir to LD_LIBRARY_PATH and ran something this to make sure the .so files will load
ldd '<PROTON_PATH>/files/lib/i386-linux-gnu/gstreamer-1.0/libgstopus.so' | grep -i found
This works fine and to confirm it, I removed the LD_LIBRARY_PATH override and got some failure, so next I dumped all env vars to compare them against my bare environemnt
And also modified proton script to dump all env vars before spawning wine
...
g_session.init_session(sys.argv[1] != "runinprefix")
# custom code BEGIN
with open('/home/myuser/Desktop/py-proton.json', 'w', encoding='utf-8') as fff:
fff.write(json.dumps(g_session.env, indent=2, sort_keys=True, ensure_ascii=False))
# custom code END
#determine mode
rc = 0
if sys.argv[1] == "run":
...
And what I discovered eventually is that this env var STEAMVIDEOTOKEN is what makes the ffmpeg plugins which live in ~/.steam/steam/ubuntu12_*/video/ load properly and finally the videos work without the Steam client.
Adding a dummy value to this env var doesn't work and I can't find any dev docs for it.
Any guidance would be appreciated.
- Lenguaje dominante
- Shell
- Estrellas
- 1.5k
- Forks
- 98
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/steam-runtime
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
ValveSoftware/steam-runtime#876 ·
-
Runtime 4 on AArch64: diagnostic for loaded libraries in the first bubblewrap prerequisite childAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
ValveSoftware/steam-runtime#875 ·
-
Pressure Vessel
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
ValveSoftware/steam-runtime#873 · 4 comentarios ·
-
A Vulkan game fails to render when Steam uses the integrated GPU and the game uses the dedicated GPUAbierto
Dificultad 4/5 1-2 días Aptitud para principiantes 42/100
ValveSoftware/steam-runtime#872 · 25 comentarios ·
-
Nov 12th Steam Update Breaks Compatibility with any game that uses a dedicated GPU on Linux.Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
ValveSoftware/steam-runtime#871 · 13 comentarios ·
Todos los issues de ValveSoftware/steam-runtime
Issues similares
-
kind/bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kubeflow/sdk#998 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
linuxserver/docker-healthchecks#137 · 1 comentario ·
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
good first issue type/ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
c-w-z/commit-decision-record#20 ·
Los mantenedores suelen responder en 1 día
-
bug compatibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
omacom/omarchy#20525 · 1 comentario ·
Los mantenedores suelen responder en 1 día