Steam + VGL crash after logging in

Ouverte
#262 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
cpp, debian, linux
Domaine
desktop

Piste de recherche

Start by investigating the VGL error isDisplayExcluded and the segmentation fault in the supplied log, then check how VirtualGL interacts with Steam's runtime and LD_PRELOAD libraries. Compare behavior with the reported working applications and review the Steam, VirtualGL, NVIDIA driver, and Debian versions. Done means reproducing the crash and identifying a fix or a clear compatibility limitation; the issue provides no repository files or tests to start from.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Steam is crashing when started with virtualgl after logging into account.

Clean Debian 12 installed in a VM with GPU passthrough.
Installed latest stable version of steam from the steam repository.
Installed latest stable version of virtualgl and virtualgl32 from the virtualgl repository.
NVIDIA open dkms driver 560.35.03-1 installed from NVIDIA repository.
Kernel 6.1.0-25-amd64.

$ dpkg -l | grep -e virtualgl -e steam
ii  steam-launcher                          1:1.0.0.81                              all          Launcher for the Steam software distribution service
ii  steam-libs-amd64                        1:1.0.0.81                              amd64        Steam libraries metapackage
ii  steam-libs-i386:i386                    1:1.0.0.81                              i386         Steam libraries metapackage
ii  virtualgl                               3.1.1-20240228                          amd64        A toolkit for displaying OpenGL applications to thin clients
ii  virtualgl32                             3.1.1-20240228                          amd64        A toolkit for displaying OpenGL applications to thin clients

On first steam+virtualgl start I'm getting to the login window but it's crashing when I login there.
All subsequent logged in steam+vurtialgl runs will crash.

I have these errors in the steam log:

ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
$ vglrun steam
steam.sh[1407]: Running Steam on debian 12 64-bit
steam.sh[1407]: STEAM_RUNTIME is enabled automatically
setup.sh[1535]: Steam runtime environment up-to-date!
steam.sh[1407]: Steam client's requirements are satisfied
[2024-09-27 16:52:30] Startup - updater built Sep 17 2024 20:02:19
[2024-09-27 16:52:30] Startup - Steam Client launched with: '/home/user/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened'
09/27 16:52:30 minidumps folder is set to /tmp/dumps
09/27 16:52:30 Init: Installing breakpad exception handler for appid(steam)/version(1726604483)/tid(1604)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-09-27 16:52:30] Loading cached metrics from disk (/home/user/.local/share/Steam/package/steam_client_metrics.bin)
[2024-09-27 16:52:30] Using the following download hosts for Public, Realm steamglobal
[2024-09-27 16:52:30] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-09-27 16:52:30] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-09-27 16:52:30] 3. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-09-27 16:52:30] Checking for update on startup
[2024-09-27 16:52:30] Checking for available updates...
[2024-09-27 16:52:30] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2024-09-27 16:52:30] Manifest download: send request
[2024-09-27 16:52:30] Manifest download: waiting for download to finish
[2024-09-27 16:52:31] Manifest download: finished
[2024-09-27 16:52:31] Download skipped: /steam_client_ubuntu12 version 1726604483, installed version 1726604483, existing pending version 0
[2024-09-27 16:52:31] Nothing to do
[2024-09-27 16:52:31] Verifying installation...
[2024-09-27 16:52:31] Performing checksum verification of executable files
[2024-09-27 16:52:32] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/user/.local/share/Steam/logs

XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe6f0b370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe6f09cc0
steamwebhelper.sh[1650]: Using supervisor /home/user/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[1650]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/user/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
steamwebhelper.sh[1650]: Using CEF sandbox \(try with -no-cef-sandbox if this fails\)
steamwebhelper.sh[1650]: Starting steamwebhelper with Sniper steam runtime at /home/user/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  130 (MIT-SHM)
  Minor opcode of failed request:  3 (X_ShmPutImage)
  Serial number of failed request:  44
  Current serial number in output stream:  45
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 1743
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  130 (MIT-SHM)
  Minor opcode of failed request:  3 (X_ShmPutImage)
  Serial number of failed request:  44
  Current serial number in output stream:  45
pressure-vessel-wrap[1677]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[1677]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
exec ./steamwebhelper -lang=en_US -cachedir=/home/user/.local/share/Steam/config/htmlcache -steampid=1604 -buildid=1726604483 -steamid=0 -logdir=/home/user/.local/share/Steam/logs -uimode=7 -startcount=0 -userdatadir=/home/user/.local/share/Steam/config/cefdata -steamuniverse=Public -realm=Global -clientui=/home/user/.local/share/Steam/clientui -steampath=/home/user/.local/share/Steam/ubuntu12_32/steam -launcher=0 -no-restart-on-ui-mode-change --valve-enable-site-isolation --enable-smooth-scrolling --password-store=basic --log-file=/home/user/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --enable-features=PlatformHEVCDecoderSupport --disable-features=SpareRendererForSitePerProcess,DcheckIsFatal
steamwebhelper.sh[1952]: Using supervisor /home/user/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[1952]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/user/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
steamwebhelper.sh[1952]: Using CEF sandbox \(try with -no-cef-sandbox if this fails\)
steamwebhelper.sh[1952]: Starting steamwebhelper with Sniper steam runtime at /home/user/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
pressure-vessel-wrap[1978]: N: Not replacing "/etc/vulkan/explicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
pressure-vessel-wrap[1978]: N: Not replacing "/etc/vulkan/implicit_layer.d" with tmpfs: Path "/etc" is reserved by the container framework
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
exec ./steamwebhelper -lang=en_US -cachedir=/home/user/.local/share/Steam/config/htmlcache -steampid=1604 -buildid=1726604483 -steamid=0 -logdir=/home/user/.local/share/Steam/logs -uimode=7 -startcount=1 -userdatadir=/home/user/.local/share/Steam/config/cefdata -steamuniverse=Public -realm=Global -clientui=/home/user/.local/share/Steam/clientui -steampath=/home/user/.local/share/Steam/ubuntu12_32/steam -launcher=0 -no-restart-on-ui-mode-change --valve-enable-site-isolation --enable-smooth-scrolling --password-store=basic --log-file=/home/user/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --enable-features=PlatformHEVCDecoderSupport --disable-features=SpareRendererForSitePerProcess,DcheckIsFatal
BRefreshApplicationsInLibrary 1: 1ms
Desktop state changed: desktop: { pos:    0,   0 size: 1920,2280 } primary: { pos:    0,   0 size: 1920,1200 }
BuildCompleteAppOverviewChange: 121 apps
RegisterForAppOverview 1: 3ms
RegisterForAppOverview 2: 3ms
[VGL] ERROR: in isDisplayExcluded--
[VGL]    98: Unexpected NULL condition
src/common/completionportmanager_posix.cpp (657) : m_AssocHandles.IsValidIndex( nAssocIdx )
src/common/completionportmanager_posix.cpp (657) : m_AssocHandles.IsValidIndex( nAssocIdx )
09/27 16:53:06 Failed writing minidump, nothing to upload.
/home/user/.local/share/Steam/steam.sh: line 906:  1604 Segmentation fault      "$STEAMROOT/$STEAMEXEPATH" "$@"

Other apps (glxgears/firefox) work properly.

Langage dominant
C++
Étoiles
830
Forks
116
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de VirtualGL/virtualgl

Toutes les issues de VirtualGL/virtualgl

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.