canonical / steam-snap

Steam as a snap
https://snapcraft.io/steam
76 stars 10 forks source link

Quake 2 remaster crashes on startup #320

Open dtg01100 opened 1 year ago

dtg01100 commented 1 year ago

Is there an existing issue for this?

Have you checked the wiki for solutions?

Is this a Steam Snap-specific issue?

Current Behavior

Quake 2 remaster crashes on startup with error, the original executable works fine.

Expected Behavior

Game starts without issue.

Steps To Reproduce

Click play button, select Quake II, observe crash.

Environment

os_release:
    name:               "Ubuntu"
    version:            "23.10 (Mantic Minotaur)"
snap_info:
    steam_revision:     165
    snapd_revision:     20290
lspci:
    09:00.0:            Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c4)
glxinfo:
    gpu:                NAVI10 (navi10, LLVM 15.0.7, DRM 3.54, 6.5.0-9-generic)
    gpu_version:        4.6 (Core Profile) Mesa 23.2.1 - kisak-mesa PPA
lscpu:
    model_name:         AMD Ryzen 7 3700X 8-Core Processor
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

gaming-graphics-core22 version

kisak-fresh (default)

Anything else?

image game_log.txt

ashuntu commented 1 year ago

Could you provide the full logs from Steam when you run the game? The logs you provided seem unusually short.

parthux1 commented 1 year ago

Also having a problem with starting Quake II remastered with an AMD GPU on Ubuntu I'd like to add more information. This may not be the same problem @dtg01100 has..

Full log of starting steam and launching Quake II remastered: steam_quake2_log.txt Log of Quake II remastered: CRASHLOG.txt

Interesting lines in steam_quake2_log might be:

ERROR: ld.so: object '/home/user/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/snap/steam/common/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/user/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/snap/steam/common/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ashuntu commented 3 months ago

If not already, this may work now with 2.64 snapd. You can try by refreshing snapd with snap refresh snapd --edge (and restarting). Make sure to go back to stable after testing with snap refresh snapd --stable.