A Vulkan game fails to render when Steam uses the integrated GPU and the game uses the dedicated GPU

Aperta
#872 25 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, shell
Ambito
desktop

Direzione di ricerca

Start by reproducing the issue with Steam on the integrated GPU and a Vulkan game launched on the dedicated GPU using prime-run or equivalent environment variables. Compare rendering behavior with the November 13 update, using the issue’s system details and Steam Runtime versions as context. Done means the game window renders correctly while the game uses the dedicated GPU.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Workaround

Run nvidia-modprobe -m before launching Steam.

Please describe your issue in as much detail as possible:

I have an NVidia dedicated GPU and an integrated GPU (AMD or Intel). Steam itself runs on the integrated GPU (my launcher apparently does not honor the use secondary GPU flag or the launcher) so I use a script that launches the command using several environment variables to push the games to the dedicated GPU.

Since the update from November 13, my games failed to render to the window: the window opens, the game actually uses the NVidia GPU and plays in the background, the audio plays but the window desperately remains all black or all white.
This has worked perfectly until last Friday, but the latest update broke my setup.

Steps for reproducing this issue:
  1. Start Steam WITHOUT it using the dedicated NVidia GPU. e.g. open a terminal and start steam from the terminal.
  2. Run a game using the dedicated graphics card, using prime-run or an equivalent script setting environment variables to use the secondary GPU
  3. the window stays desperately blank, even though the game appears to run in the background
Your system information
  • Steam Runtime Version: Steam version 1794536281
  • Distribution (e.g. Ubuntu 18.04): Debian Testing
  • Link to your full system information (Help -> Steam Runtime Diagnostics) in a Gist:
    I only get "XXX runtime container is not installed" for scout, soldier, sniper, legacy.
  • Have you checked for system updates?: Yes
  • What compatibility tool are you using?: Proton experimental
  • What versions are listed in steamapps/common/SteamLinuxRuntime/VERSIONS.txt? I don't have it
  • What versions are listed in steamapps/common/SteamLinuxRuntime_soldier/VERSIONS.txt? I don't have it
  • What versions are listed in steamapps/common/SteamLinuxRuntime_sniper/VERSIONS.txt? I don't have it
  • What versions are listed in steamapps/common/SteamLinuxRuntime_4/VERSIONS.txt?
    #Name Version Runtime Runtime_Version Comment
    depot 4.0.20261021.265997 # Overall version number
    pressure-vessel 0.20261007.0
    pressure-vessel-arm64 0.20261007.0
    scripts 0.20261007.0 # from steam-runtime-tools
    steamrt4 4.0.20261021.265997 steamrt4 4.0.20261021.265997 # steamrt4_platform_4.0.20261021.265997/
Lingua principale
Shell
Stelle
1.5k
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ValveSoftware/steam-runtime

Tutte le issue di ValveSoftware/steam-runtime

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.