Steam + VGL crash after logging in

Aberta
#262 2 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
cpp, debian, linux
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C++
Estrelas
830
Forks
116
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de VirtualGL/virtualgl

Todas as issues de VirtualGL/virtualgl

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.