Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam snap fails to launch via .desktop file #420

Open
1 task done
olivercalder opened this issue Nov 30, 2024 · 6 comments
Open
1 task done

Steam snap fails to launch via .desktop file #420

olivercalder opened this issue Nov 30, 2024 · 6 comments
Labels
type/bug Something isn't working

Comments

@olivercalder
Copy link
Member

olivercalder commented Nov 30, 2024

Ensure there isn't an existing issue for this and check the wiki

  • This issue is not a duplicate and I have checked the wiki.

Current Behavior

If I click the application icon to launch steam, the steam update window appears and loads, but when it's done and the steam store (or library) should appear, it does not. Every few seconds, a window flashes on the screen (and an icon in the dock) and then immediately vanishes. The Steam appindicator is present in the top panel, but no interaction with it does anything except for "Exit Steam", which does thankfully work.

Strangely, running snap run steam or even simply steam in a terminal successfully launches Steam, and it's able to get to the steam store/library and work as intended.

See the "Anything else?" section for journalctl logs.

This suggests to me that the .desktop file may be wrong, but the Exec line looks fairly innocuous to me:

Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/steam_steam.desktop /snap/bin/steam %U

When I run the following in a terminal, the snap also successfully launches, so I don't think it's a problem with the BAMF_DESKTOP_FILE_HINT directive:

env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/steam_steam.desktop /snap/bin/steam

The exact same behavior has occurred to me on this machine, a desktop with AMD CPU and GPU running oracular, and also on a Dell XPS 15 9530 with an Intel CPU and Intel Arc A370M graphics running noble.

Expected Behavior

I expect the steam GUI to appear, whether one clicks the icon or runs steam in a terminal :)

Steps To Reproduce

  1. Install the steam snap.
  2. Open the application overview and click the Steam icon.
  3. Wait for the steam updater to finish

Environment

os_release:
    name:               "Ubuntu"
    version:            "24.10 (Oracular Oriole)"
snap_info:
    steam_revision:     206
    snapd_revision:     21759
lspci:
    03:00.0:            Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1)
    13:00.0:            Advanced Micro Devices, Inc. [AMD/ATI] Device 13c0 (rev c5)
glxinfo:
    gpu:                AMD Radeon RX 5700 XT (radeonsi, navi10, LLVM 15.0.7, DRM 3.58, 6.11.0-9-generic)
    gpu_version:        4.6 (Core Profile) Mesa 24.2.3 - kisak-mesa PPA
lscpu:
    model_name:         AMD Ryzen 7 9700X 8-Core Processor
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

gaming-graphics-core22 version

kisak-fresh (default)

Anything else?

When launched via the icon, my journalctl logs show the following, with the final set up duplicate messages continuing to reappear every 10 seconds until steam is closed:

Nov 29 22:33:30 station.calder.dev systemd[11136]: Started snap.steam.steam-d1f5d49b-e0fa-47ea-bd73-0b0a9863abe8.scope.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 7841.
Nov 29 22:33:30 station.calder.dev kernel: audit: type=1400 audit(1732941210.410:985): apparmor="DENIED" operation="capable" class="cap" profile="/usr/lib/snapd/snap-confine" pid=448189 comm="snap-confine" capability=12  capname="net_admin"
Nov 29 22:33:30 station.calder.dev kernel: audit: type=1400 audit(1732941210.413:986): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.steam" name="/proc/448210/maps" pid=448210 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448189]: Testing for explicit PulseAudio choice...
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448189]: ...and PulseAudio has been explicitly chosen, so using it.
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448189]: INFO: filtering /usr/share/ubuntu out of XDG_DATA_DIRS because it is unreachable
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448189]: INFO: filtering /usr/share/gnome out of XDG_DATA_DIRS because it is unreachable
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448189]: INFO: filtering /etc/xdg/xdg-ubuntu out of XDG_CONFIG_DIRS because it is unreachable
Nov 29 22:33:30 station.calder.dev steam-runtime-steam-remote[448275]: steam-runtime-steam-remote: Steam is not running: No such device or address
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448267]: steam.sh[448267]: Running Steam on ubuntu 24.10 64-bit
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448267]: steam.sh[448267]: STEAM_RUNTIME is enabled automatically
Nov 29 22:33:30 station.calder.dev steam_steam.desktop[448318]: setup.sh[448318]: Steam runtime environment up-to-date!
Nov 29 22:33:30 station.calder.dev steam[448344]: steam.sh[448267]: Steam client's requirements are satisfied
Nov 29 22:33:30 station.calder.dev steam[448344]: CProcessEnvironmentManager is ready, 6 preallocated environment variables.
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] Startup - updater built Nov 12 2024 17:09:08
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] Startup - Steam Client launched with: '/home/oac/snap/steam/common/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened' '-no-cef-sandbox'
Nov 29 22:33:30 station.calder.dev steam[448344]: 11/29 22:33:30 minidumps folder is set to /tmp/dumps
Nov 29 22:33:30 station.calder.dev steam[448344]: 11/29 22:33:30 Init: Installing breakpad exception handler for appid(steam)/version(1731433018)/tid(448381)
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] Loading cached metrics from disk (/home/oac/snap/steam/common/.local/share/Steam/package/steam_client_metrics.bin)
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] Using the following download hosts for Public, Realm steamglobal
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] 1. https://client-update.fastly.steamstatic.com, /, Realm 'steamglobal', weight was 900, source = 'update_hosts_cached.vdf'
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] 2. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] 3. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] Verifying installation...
Nov 29 22:33:30 station.calder.dev steam[448344]: [2024-11-29 22:33:30] Verification complete
Nov 29 22:33:30 station.calder.dev steam[448344]: UpdateUI: skip show logo
Nov 29 22:33:30 station.calder.dev steam[448344]: Steam logging initialized: directory: /home/oac/snap/steam/common/.local/share/Steam/logs
Nov 29 22:33:30 station.calder.dev steam[448344]: (process:448381): GLib-GIO-CRITICAL **: 22:33:30.670: g_settings_schema_source_lookup: assertion 'source != NULL' failed
Nov 29 22:33:30 station.calder.dev steam[448344]: XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xe7530370
Nov 29 22:33:30 station.calder.dev steam[448344]: XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xe752ecc0
Nov 29 22:33:31 station.calder.dev steamwebhelper[448470]: steamwebhelper.sh[448459]: Using supervisor /home/oac/snap/steam/common/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
Nov 29 22:33:31 station.calder.dev steamwebhelper[448470]: steamwebhelper.sh[448459]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/oac/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
Nov 29 22:33:31 station.calder.dev steamwebhelper[448470]: steamwebhelper.sh[448459]: CEF sandbox already disabled
Nov 29 22:33:31 station.calder.dev steamwebhelper[448470]: steamwebhelper.sh[448459]: Starting steamwebhelper with Sniper steam runtime at /home/oac/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
Nov 29 22:33:31 station.calder.dev xdg-desktop-por[38676]: Realtime error: Could not map pid: Mapping pids is not supported.
Nov 29 22:33:31 station.calder.dev xdg-desktop-por[38676]: Realtime error: Could not map pid: Mapping pids is not supported.
Nov 29 22:33:31 station.calder.dev xdg-desktop-por[38676]: Realtime error: Could not map pid: Mapping pids is not supported.
Nov 29 22:33:31 station.calder.dev steamwebhelper[448470]: pressure-vessel-wrap[448485]: W: Failed to load Vulkan ICD #0 from /var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json: openat(/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json): No such file or directory
Nov 29 22:33:31 station.calder.dev steam[448344]: Steam Runtime Launch Service: starting steam-runtime-launcher-service
Nov 29 22:33:31 station.calder.dev steam[448344]: Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 448625
Nov 29 22:33:31 station.calder.dev steam[448344]: bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
Nov 29 22:33:31 station.calder.dev steamwebhelper[448470]: exec ./steamwebhelper -lang=en_US -cachedir=/home/oac/snap/steam/common/.local/share/Steam/config/htmlcache -steampid=448381 -buildid=1731433018 -steamid=0 -logdir=/home/oac/snap/steam/common/.local/share/Steam/logs -uimode=7 -startcount=0 -steamuniverse=Public -realm=Global -clientui=/home/oac/snap/steam/common/.local/share/Steam/clientui -steampath=/home/oac/snap/steam/common/.local/share/Steam/ubuntu12_32/steam -launcher=0 -no-restart-on-ui-mode-change --valve-initial-threadpool-size=4 --valve-enable-site-isolation --enable-smooth-scrolling --no-sandbox --password-store=basic --log-file=/home/oac/snap/steam/common/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --enable-features=PlatformHEVCDecoderSupport --disable-features=SpareRendererForSitePerProcess,DcheckIsFatal,ValveFFmpegAllowLowDelayHEVC
Nov 29 22:33:33 station.calder.dev steam[448344]: Desktop state changed: desktop: { pos:    0,   0 size: 2560,1440 } primary: { pos:    0,   0 size: 2560,1440 }
Nov 29 22:33:33 station.calder.dev steam[448344]: Caching cursor image for , size 24x24, serial 1044, cache size = 0
Nov 29 22:33:33 station.calder.dev steam[448344]: BuildCompleteAppOverviewChange: 378 apps
Nov 29 22:33:33 station.calder.dev steam[448344]: pressure-vessel-wrap[448948]: W: Failed to load Vulkan ICD #0 from /var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json: openat(/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json): No such file or directory
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: fsync: up and running.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:34 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:35 station.calder.dev steam[448344]: Fossilize INFO: Overriding serialization path: "/home/oac/snap/steam/common/.local/share/Steam/shader_cache_temp_dir_d3d11_64/fozpipelinesv6/steamapprun_pipeline_cache".
Nov 29 22:33:35 station.calder.dev steam[448344]: pressure-vessel-wrap[449183]: W: Failed to load Vulkan ICD #0 from /var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json: openat(/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json): No such file or directory
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: fsync: up and running.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:36 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:37 station.calder.dev steam[448344]: wine: using kernel write watches, use_kernel_writewatch 1.
Nov 29 22:33:37 station.calder.dev steam[448344]: Fossilize INFO: Overriding serialization path: "/home/oac/snap/steam/common/.local/share/Steam/shader_cache_temp_dir_d3d12_64/fozpipelinesv6/steamapprun_pipeline_cache".
Nov 29 22:33:41 station.calder.dev steamwebhelper[449473]: steamwebhelper.sh[449464]: Using supervisor /home/oac/snap/steam/common/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
Nov 29 22:33:41 station.calder.dev steamwebhelper[449473]: steamwebhelper.sh[449464]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/oac/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
Nov 29 22:33:41 station.calder.dev steamwebhelper[449473]: steamwebhelper.sh[449464]: CEF sandbox already disabled
Nov 29 22:33:41 station.calder.dev steamwebhelper[449473]: steamwebhelper.sh[449464]: Starting steamwebhelper with Sniper steam runtime at /home/oac/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
Nov 29 22:33:41 station.calder.dev steamwebhelper[449473]: pressure-vessel-wrap[449489]: W: Failed to load Vulkan ICD #0 from /var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json: openat(/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json): No such file or directory
Nov 29 22:33:41 station.calder.dev steamwebhelper[449473]: exec ./steamwebhelper -lang=en_US -cachedir=/home/oac/snap/steam/common/.local/share/Steam/config/htmlcache -steampid=448381 -buildid=1731433018 -steamid=76561198077645306 -logdir=/home/oac/snap/steam/common/.local/share/Steam/logs -uimode=7 -startcount=1 -steamuniverse=Public -realm=Global -clientui=/home/oac/snap/steam/common/.local/share/Steam/clientui -steampath=/home/oac/snap/steam/common/.local/share/Steam/ubuntu12_32/steam -launcher=0 -no-restart-on-ui-mode-change --valve-initial-threadpool-size=4 --valve-enable-site-isolation --enable-smooth-scrolling --no-sandbox --password-store=basic --log-file=/home/oac/snap/steam/common/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --enable-features=PlatformHEVCDecoderSupport --disable-features=SpareRendererForSitePerProcess,DcheckIsFatal,ValveFFmpegAllowLowDelayHEVC
Nov 29 22:33:44 station.calder.dev steam[448344]: BuildCompleteAppOverviewChange: 378 apps
Nov 29 22:33:51 station.calder.dev steamwebhelper[449988]: steamwebhelper.sh[449977]: Using supervisor /home/oac/snap/steam/common/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
Nov 29 22:33:51 station.calder.dev steamwebhelper[449988]: steamwebhelper.sh[449977]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/oac/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
Nov 29 22:33:51 station.calder.dev steamwebhelper[449988]: steamwebhelper.sh[449977]: CEF sandbox already disabled
Nov 29 22:33:51 station.calder.dev steamwebhelper[449988]: steamwebhelper.sh[449977]: Starting steamwebhelper with Sniper steam runtime at /home/oac/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
Nov 29 22:33:51 station.calder.dev steamwebhelper[449988]: pressure-vessel-wrap[450003]: W: Failed to load Vulkan ICD #0 from /var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json: openat(/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json): No such file or directory
Nov 29 22:33:52 station.calder.dev steamwebhelper[449988]: exec ./steamwebhelper -lang=en_US -cachedir=/home/oac/snap/steam/common/.local/share/Steam/config/htmlcache -steampid=448381 -buildid=1731433018 -steamid=76561198077645306 -logdir=/home/oac/snap/steam/common/.local/share/Steam/logs -uimode=7 -startcount=2 -steamuniverse=Public -realm=Global -clientui=/home/oac/snap/steam/common/.local/share/Steam/clientui -steampath=/home/oac/snap/steam/common/.local/share/Steam/ubuntu12_32/steam -launcher=0 -no-restart-on-ui-mode-change --valve-initial-threadpool-size=4 --valve-enable-site-isolation --enable-smooth-scrolling --no-sandbox --password-store=basic --log-file=/home/oac/snap/steam/common/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --enable-features=PlatformHEVCDecoderSupport --disable-features=SpareRendererForSitePerProcess,DcheckIsFatal,ValveFFmpegAllowLowDelayHEVC

When launched via snap run steam or steam, I only get the following:

Nov 29 22:35:28 station.calder.dev systemd[11136]: Started snap.steam.steam-7625b6b7-f33a-4a5c-bfcb-0e66580cd071.scope.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 7845.
Nov 29 22:35:28 station.calder.dev kernel: audit: type=1400 audit(1732941328.294:988): apparmor="DENIED" operation="open" class="file" profile="snap-update-ns.steam" name="/proc/453010/maps" pid=453010 comm="5" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Nov 29 22:35:28 station.calder.dev steam-runtime-steam-remote[453078]: steam-runtime-steam-remote: Steam is not running: No such device or address
Nov 29 22:35:29 station.calder.dev xdg-desktop-por[38676]: Realtime error: Could not map pid: Mapping pids is not supported.
Nov 29 22:35:29 station.calder.dev xdg-desktop-por[38676]: Realtime error: Could not map pid: Mapping pids is not supported.
Nov 29 22:35:29 station.calder.dev xdg-desktop-por[38676]: Realtime error: Could not map pid: Mapping pids is not supported.
@olivercalder olivercalder added the type/bug Something isn't working label Nov 30, 2024
@olivercalder
Copy link
Member Author

olivercalder commented Dec 2, 2024

Interestingly, if I click the .desktop file for a particular installed game, Steam will happily run, show the Library, and launch the game.

The particular game for which I tested this is Baldur's Gate 3, and the .desktop file contains the following:

[Desktop Entry]
Name=Baldur's Gate 3
Comment=Play this game on Steam
Exec=snap run steam steam://rungameid/1086940
Icon=steam_icon_1086940
Terminal=false
Type=Application
Categories=Game;

@olivercalder
Copy link
Member Author

olivercalder commented Dec 2, 2024

I just noticed something else. steam_steam.desktop contains the following (under the [Desktop Entry] section, though there is are other sections):

[Desktop Entry]
X-SnapInstanceName=steam
Name=Steam
Comment=Application for managing and playing games on Steam
Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam
Comment[bg]=Приложение за ръководене и пускане на игри в Steam
Comment[cs]=Aplikace pro spravování a hraní her ve službě Steam
Comment[da]=Applikation til at håndtere og spille spil på Steam
Comment[nl]=Applicatie voor het beheer en het spelen van games op Steam
Comment[fi]=Steamin pelien hallintaan ja pelaamiseen tarkoitettu sovellus
Comment[fr]=Application de gestion et d'utilisation des jeux sur Steam
Comment[de]=Anwendung zum Verwalten und Spielen von Spielen auf Steam
Comment[el]=Εφαρμογή διαχείρισης παιχνιδιών στο Steam
Comment[hu]=Alkalmazás a Steames játékok futtatásához és kezeléséhez
Comment[it]=Applicazione per la gestione e l'esecuzione di giochi su Steam
Comment[ja]=Steam 上でゲームを管理&プレイするためのアプリケーション
Comment[ko]=Steam에 있는 게임을 관리하고 플레이할 수 있는 응용 프로그램
Comment[no]=Program for å administrere og spille spill på Steam
Comment[pt_PT]=Aplicação para organizar e executar jogos no Steam
Comment[pl]=Aplikacja do zarządzania i uruchamiania gier na platformie Steam
Comment[ro]=Aplicație pentru administrarea și jucatul jocurilor pe Steam
Comment[ru]=Приложение для игр и управления играми в Steam
Comment[es]=Aplicación para administrar y ejecutar juegos en Steam
Comment[sv]=Ett program för att hantera samt spela spel på Steam
Comment[zh_CN]=管理和进行 Steam 游戏的应用程序
Comment[zh_TW]=管理並執行 Steam 遊戲的應用程式
Comment[th]=โปรแกรมสำหรับจัดการและเล่นเกมบน Steam
Comment[tr]=Steam üzerinden oyun oynama ve düzenleme uygulaması
Comment[uk]=Програма для керування іграми та запуску ігор у Steam
Comment[vi]=Ứng dụng để quản lý và chơi trò chơi trên Steam
X-SnapAppName=steam
Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/steam_steam.desktop /snap/bin/steam %U
Icon=/snap/steam/206/usr/share/icons/hicolor/256x256/apps/steam.png
Terminal=false
Type=Application
Categories=Network;FileTransfer;Game;
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;Report;
PrefersNonDefaultGPU=true

In particular, note the PreferNonDefaultGPU=true. Might this be the source of the problem?

@olivercalder
Copy link
Member Author

I just installed the steam .deb from the Steam official website, and the same behavior is occurring: clicking the application icon results in (after initial setup/updates) the icon flashing into the dock and immediately disappearing, every few seconds, and no GUI window for the store or library. Running the steam command manually solves this. So I wonder if there's a bug around steam on noble/oracular at the moment, not specific to the snap.

@nstandif
Copy link

+1 Affected by this issue.

Webhelper logs appear to be error looping.

webhelper_gpu.txt
webhelper-linux.txt

Environment

os_release:
    name:               "Ubuntu"
    version:            "24.10 (Oracular Oriole)"
snap_info:
    steam_revision:     206
    snapd_revision:     23258
lspci:
    03:00.0:            Intel Corporation Device e20b
    76:00.0:            Advanced Micro Devices, Inc. [AMD/ATI] Device 13c0 (rev c5)
glxinfo:
    gpu:                Mesa Intel(R) Graphics (BMG G21)
    gpu_version:        4.6 (Core Profile) Mesa 24.2.3 - kisak-mesa PPA
lscpu:
    model_name:         AMD Ryzen 7 9700X 8-Core Processor
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu\

@GnomadaX
Copy link

GnomadaX commented Dec 28, 2024

+1 Affected by the same behavior.

os_release:
    name:               "Ubuntu"
    version:            "22.04.5 (Jammy Jellyfish)"
snap_info:
    steam_revision:     206
    snapd_revision:     23258
lspci:
    2:00.0:             NVIDIA Corporation GP107M [GeForce MX350] [10de:1c94] (rev a1)
glxinfo:
    gpu:                Mesa Intel(R) UHD Graphics (CML GT2)
    gpu_version:        4.6 (Core Profile) Mesa 24.2.3 - kisak-mesa PPA
lscpu:
    model_name:         Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu-xorg

@krzyzowiec
Copy link

krzyzowiec commented Jan 15, 2025

I'm also affected by this behavior. I have noticed that one workaround is to launch the App Center, search for Steam, and then click Open from there. In that situation, everything works as expected. If I try to launch Steam from Gnome's Show Apps screen, then the aforementioned behavior where I cannot open the Steam store or look at my library occurs.

Edit: Just tried using the Steam deb and can confirm that the issue remains, so I don't believe this is related to the Steam snap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants