Valheim crashes at world load in full screen mode

Starting a few weeks ago, only in full screen mode, Valheim crashes when first loading the world such as right after submitting the password to join a server.

This does not happen when running in fullscreen on GNOME desktop.

Steam Beta Branch: Stable Client
Steam Version: 1733265492
Steam Client Build Date: Mon, Dec 2 4:26 PM UTC -08:00
Steam Web Build Date: Mon, Dec 2 4:20 PM UTC -08:00
Steam API Version: SteamClient021

OS: Arch Linux x86_64
Host: MS-7C37 (1.0)
Kernel: Linux 6.12.1-arch1-1
Packages: 2101 (pacman), 19 (flatpak)
Shell: zsh 5.9
Display (G321CQP E2): 2560x1440 @ 165 Hz in 32" [External]
DE: KDE Plasma 6.2.4
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
Cursor: breeze (24px)
Terminal: konsole 24.8.3
CPU: AMD Ryzen 7 3800X (16) @ 4.56 GHz
GPU: AMD Radeon RX 7900 XTX [Discrete]
Memory: 7.14 GiB / 15.54 GiB (46%)
Swap: 1.45 GiB / 15.09 GiB (10%)
Locale: en_US.UTF-8

I captured these logs from journalctl

Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: chdir "/home/hs/.local/share/Steam/steamapps/common/Valheim"
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: Game Recording - would start recording game 892970, but recording for this game is disabled
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: Adding process 34834 for gameID 892970
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: ERROR: ld.so: object '/home/hs/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: ERROR: ld.so: object '/home/hs/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: pid 34835 != 34834, skipping destruction (fork without exec?)
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: [R2MODMAN LINUX WRAPPER] Launching vanilla!
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: ERROR: ld.so: object '/home/hs/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: ERROR: ld.so: object '/home/hs/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: ERROR: ld.so: object '/home/hs/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: ERROR: ld.so: object '/home/hs/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: Adding process 34836 for gameID 892970
Dec 04 21:20:44 lh-ryzen-desktop steam[4746]: Adding process 34837 for gameID 892970
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]: pid 34943 != 34939, skipping destruction (fork without exec?)
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]: Adding process 34939 for gameID 892970
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]: pid 34948 != 34939, skipping destruction (fork without exec?)
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]: [UnityMemory] Configuration Parameters - Can be set up in boot.config
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-bucket-allocator-granularity=16"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-bucket-allocator-bucket-count=8"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-bucket-allocator-block-size=4194304"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-bucket-allocator-block-count=1"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-main-allocator-block-size=16777216"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-thread-allocator-block-size=16777216"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-gfx-main-allocator-block-size=16777216"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-gfx-thread-allocator-block-size=16777216"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-cache-allocator-block-size=4194304"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-typetree-allocator-block-size=2097152"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-profiler-bucket-allocator-granularity=16"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-profiler-bucket-allocator-bucket-count=8"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-profiler-bucket-allocator-block-size=4194304"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-profiler-bucket-allocator-block-count=1"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-profiler-allocator-block-size=16777216"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-profiler-editor-allocator-block-size=1048576"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-main=4194304"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-job-temp-allocator-block-size=2097152"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-job-temp-allocator-block-size-background=1048576"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-allocator-temp-initial-block-size-main=262144"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-allocator-temp-initial-block-size-worker=262144"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-background-worker=32768"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-job-worker=262144"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-preload-manager=262144"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-audio-worker=65536"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-cloud-worker=32768"
Dec 04 21:20:46 lh-ryzen-desktop steam[4746]:     "memorysetup-temp-allocator-size-gfx=262144"
Dec 04 21:20:49 lh-ryzen-desktop kwin_wayland[1845]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Dec 04 21:20:49 lh-ryzen-desktop pipewire[1247]: pw.node: (alsa_output.pci-0000_31_00.4.analog-stereo-58) graph xrun not-triggered (1 suppressed)
Dec 04 21:20:49 lh-ryzen-desktop pipewire[1247]: pw.node: (alsa_output.pci-0000_31_00.4.analog-stereo-58) xrun state:0x7ce5f672a008 pending:2/2 s:11711529902576 a:11711529906166 f:11711529930436 waiting:3590 process:24270 status:triggered
Dec 04 21:20:50 lh-ryzen-desktop steam[4746]: 12/04 21:20:50 minidumps folder is set to /tmp/dumps
Dec 04 21:20:50 lh-ryzen-desktop steam[4746]: 12/04 21:20:50 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20241202212633)/tid(35055)
Dec 04 21:20:50 lh-ryzen-desktop steam[4746]: 12/04 21:20:50 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(35055)
Dec 04 21:20:51 lh-ryzen-desktop kwin_wayland[1845]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 04 21:20:51 lh-ryzen-desktop kwin_wayland[1845]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 04 21:20:51 lh-ryzen-desktop kwin_wayland[1845]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 04 21:21:24 lh-ryzen-desktop kwin_wayland[1845]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 04 21:21:24 lh-ryzen-desktop kwin_wayland[1845]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 04 21:21:24 lh-ryzen-desktop kwin_wayland[1845]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 04 21:21:47 lh-ryzen-desktop steam[4746]: Game Recording - game stopped [gameid=892970]
Dec 04 21:21:47 lh-ryzen-desktop steam[4746]: Removing process 34939 for gameID 892970
Dec 04 21:21:47 lh-ryzen-desktop steam[4746]: Removing process 34837 for gameID 892970
Dec 04 21:21:47 lh-ryzen-desktop steam[4746]: Removing process 34836 for gameID 892970
Dec 04 21:21:47 lh-ryzen-desktop steam[4746]: Removing process 34834 for gameID 892970
Dec 04 21:21:47 lh-ryzen-desktop steam[4746]: Fossilize INFO: Setting autogroup scheduling.
Dec 04 21:21:52 lh-ryzen-desktop steam[4746]: (process:35055): GLib-GObject-CRITICAL **: 21:21:52.115: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

The log that stands out here and doesn’t seem to occur when running not in full screen is

kwin_wayland[1845]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)

which I found in qt bug report QTBUG-122819 but this sounds like a different scenario

I’m encountering the same issue sadly.

Hi, I had the same problem, I was able to join dedicated server after starting local game. Sadly I didn’t make notes of things I tried (windowed mode etc)

Steam Beta Branch: Stable Client
Steam Version: 1733265492
Steam Client Build Date: Mon, Dec 2 11:26 PM UTC -08:00
Steam Web Build Date: Mon, Dec 2 11:20 PM UTC -08:00
Steam API Version: SteamClient021

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.10-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 6950 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS ELITE
System Version: -CF

aaand it doesn’t work anymore, back in the “same issue here”