[GH-ISSUE #2904] F11 Borderless Fullscreen Crash #743

Closed
opened 2026-11-02 15:41:33 +07:00 by bsakaguchi · 9 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2904

What I did: Hit F11 to fullscreen in the title menu
What happened: Crash, repeated crashes upon attempts to relaunch
What I expected: Borderless fullscreen
Horizon Version: v0.2.88
Operating System: linux (x86_64) version CachyOS, kernel 7.2.11-1-cachyos
CPU: 20x 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 271 MiB used by the game, 15666 MiB installed
Render Settings: render distance 12, simulation distance 12, graphics fancy, FOV 70, max FPS 120, VSync on, fullscreen on, GUI scale auto, smooth lighting on, clouds true, biome blend 2, mipmap levels 4
Resource Packs: vanilla
Graphics Adapter: NVIDIA GeForce RTX 3060 Laptop GPU (Vulkan, DiscreteGpu), driver NVIDIA 615.78.08

Reported on Discord by 100Create in #horizon-bugs · Discord thread
Tags: crash

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2904 > What I did: Hit F11 to fullscreen in the title menu > What happened: Crash, repeated crashes upon attempts to relaunch > What I expected: Borderless fullscreen > Horizon Version: v0.2.88 > Operating System: linux (x86_64) version CachyOS, kernel 7.2.11-1-cachyos > CPU: 20x 12th Gen Intel(R) Core(TM) i7-12700H > Memory: 271 MiB used by the game, 15666 MiB installed > Render Settings: render distance 12, simulation distance 12, graphics fancy, FOV 70, max FPS 120, VSync on, fullscreen on, GUI scale auto, smooth lighting on, clouds true, biome blend 2, mipmap levels 4 > Resource Packs: vanilla > Graphics Adapter: NVIDIA GeForce RTX 3060 Laptop GPU (Vulkan, DiscreteGpu), driver NVIDIA 615.78.08 Reported on Discord by **100Create** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564697819527512124) Tags: crash **Attachments** (Discord links expire after a while; the thread keeps them) - [latest.log](https://cdn.discordapp.com/attachments/1564697819527512124/1564697820705853620/latest.log?ex=6ae235e7&is=6ae0e467&hm=76953b543e8fb29965fa426fde9f41e1ceece76496b4ce478db2647f5fb5e113&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:41:33 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 27, 2026):

Claimed by Kacper on Discord (GitHub: kacpherek), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #2904).

<!-- gh-comment-id:6449695548 --> @ludovic111 commented on GitHub (Oct 27, 2026): Claimed by `Kacper` on Discord (GitHub: `kacpherek`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #2904). <!-- kira:work -->
Author
Owner

@kacpherek commented on GitHub (Oct 27, 2026):

@100Create thanks for the report! #2906 stops the crash loop: after a crash like this the game now starts windowed again instead of crashing on every launch. To fix the F11 crash itself I need two things from you:

  1. Which desktop you're on (KDE Plasma, GNOME, Hyprland...) and whether it's Wayland or X11.
  2. What the terminal says when it crashes. Start the game from a terminal and press F11. Right before it exits, a line like wl_display#1: error ... or Protocol error ... should appear. It doesn't show up in latest.log. Please paste the last ~20 lines.

If you can, also try once with env -u WAYLAND_DISPLAY <your usual launch command>. That runs the game through XWayland instead of Wayland. If F11 works there, the problem is on the Wayland side.

To get back in right now, open options.txt in the game folder and set fullscreen:false.

<!-- gh-comment-id:6449760856 --> @kacpherek commented on GitHub (Oct 27, 2026): @100Create thanks for the report! #2906 stops the crash loop: after a crash like this the game now starts windowed again instead of crashing on every launch. To fix the F11 crash itself I need two things from you: 1. **Which desktop you're on** (KDE Plasma, GNOME, Hyprland...) and whether it's Wayland or X11. 2. **What the terminal says when it crashes.** Start the game from a terminal and press F11. Right before it exits, a line like `wl_display#1: error ...` or `Protocol error ...` should appear. It doesn't show up in latest.log. Please paste the last ~20 lines. If you can, also try once with `env -u WAYLAND_DISPLAY <your usual launch command>`. That runs the game through XWayland instead of Wayland. If F11 works there, the problem is on the Wayland side. To get back in right now, open `options.txt` in the game folder and set `fullscreen:false`.
Author
Owner

@ludovic111 commented on GitHub (Oct 27, 2026):

100Create added on Discord:

ofc I went into the files and disabled it 😭

no sh*t sherlock

<!-- gh-comment-id:6449880444 --> @ludovic111 commented on GitHub (Oct 27, 2026): **100Create** added on Discord: > ofc I went into the files and disabled it 😭 > no sh*t sherlock <!-- kira -->
Author
Owner

@kacpherek commented on GitHub (Oct 27, 2026):

@100Create here are the simplest steps, nothing technical needed. Each command is one line: copy it, paste it into the terminal and press Enter.

1. Get the game working again (no more crash on start):
Open the Konsole app (the terminal on CachyOS) and paste:

sed -i 's/^fullscreen:true/fullscreen:false/' ~/.local/share/horizon/options.txt

Now the game starts in a window again.

2. Help us find the cause (2 minutes):
In the same Konsole window, paste this. It starts the Horizon launcher and saves everything the game prints into a file:

eval "$(sed -n 's/^Exec=//p' ~/.local/share/applications/horizon-launcher.desktop)" 2>&1 | tee ~/horizon-crash.txt
  • The launcher opens as usual. Click Play.
  • In the main menu press F11. The game will close.
  • Close the launcher.
  • In your home folder there is now a file called horizon-crash.txt. Send it in the Discord thread.

3. Tell us one thing: do you use KDE Plasma or something else (GNOME, Hyprland...)? If you're not sure, just say so.

Thanks, this will let us fix F11 for good.

<!-- gh-comment-id:6450012866 --> @kacpherek commented on GitHub (Oct 27, 2026): @100Create here are the simplest steps, nothing technical needed. Each command is one line: copy it, paste it into the terminal and press Enter. **1. Get the game working again (no more crash on start):** Open the **Konsole** app (the terminal on CachyOS) and paste: ``` sed -i 's/^fullscreen:true/fullscreen:false/' ~/.local/share/horizon/options.txt ``` Now the game starts in a window again. **2. Help us find the cause (2 minutes):** In the same Konsole window, paste this. It starts the Horizon launcher and saves everything the game prints into a file: ``` eval "$(sed -n 's/^Exec=//p' ~/.local/share/applications/horizon-launcher.desktop)" 2>&1 | tee ~/horizon-crash.txt ``` - The launcher opens as usual. Click **Play**. - In the main menu press **F11**. The game will close. - Close the launcher. - In your home folder there is now a file called **horizon-crash.txt**. Send it in the Discord thread. **3. Tell us one thing:** do you use **KDE Plasma** or something else (GNOME, Hyprland...)? If you're not sure, just say so. Thanks, this will let us fix F11 for good.
Author
Owner

@ludovic111 commented on GitHub (Oct 27, 2026):

100Create added on Discord:

Got it, in the middle of writing a reply on github lmao

<!-- gh-comment-id:6450159271 --> @ludovic111 commented on GitHub (Oct 27, 2026): **100Create** added on Discord: > Got it, in the middle of writing a reply on github lmao <!-- kira -->
Author
Owner

@100Create commented on GitHub (Oct 27, 2026):

@kacpherek Thank you for your reply, sorry I didn't see these earlier as I opened the the ticket via the discord
Desktop: KDE Plasma running Wayland
I am afraid I am unable to give any terminal output via the methods you have outlined above as no output is given to the txt file although it is created to see direct output but there is the terminal output in the launcher which seems promising (see attached), but I can confirm that XWayland running with env -u WAYLAND_DISPLAY worked to solve it

Image Image
<!-- gh-comment-id:6450358373 --> @100Create commented on GitHub (Oct 27, 2026): @kacpherek Thank you for your reply, sorry I didn't see these earlier as I opened the the ticket via the discord Desktop: KDE Plasma running Wayland I am afraid I am unable to give any terminal output via the methods you have outlined above as no output is given to the txt file although it is created to see direct output but there is the terminal output in the launcher which seems promising (see attached), but I can confirm that XWayland running with env -u WAYLAND_DISPLAY worked to solve it <img width="1582" height="369" alt="Image" src="https://github.com/user-attachments/assets/3c146417-5942-469d-af48-4656e11aaa8d" /> <img width="870" height="337" alt="Image" src="https://github.com/user-attachments/assets/86bb2d9b-f3cf-4714-a983-8618b5211e92" />
Author
Owner

@kacpherek commented on GitHub (Oct 27, 2026):

@100Create thanks, that screenshot is exactly what was needed.

The key line is Protocol error 3 on object wp_linux_drm_syncobj_surface_v1. That's the Wayland explicit sync protocol: the graphics driver sent a frame with sync points but no buffer, and KWin closed the connection. The wgpu panic after it is just the game trying to resize a window that no longer exists. This part is handled inside the Vulkan driver, not in Horizon (we already use borderless fullscreen, which is the only kind Wayland has), and it explains why XWayland works.

Two things so I can narrow it down:

  1. Your GPU and driver. Paste the output of: vulkaninfo --summary | grep -E "deviceName|driverName|driverInfo"
  2. If it's NVIDIA, try launching once with __NV_DISABLE_EXPLICIT_SYNC=1 in front of your usual command and press F11. Tell me if it still crashes.

Until then env -u WAYLAND_DISPLAY is a fine workaround, and #2906 makes sure a crash like this doesn't leave you stuck in fullscreen.

<!-- gh-comment-id:6452637160 --> @kacpherek commented on GitHub (Oct 27, 2026): @100Create thanks, that screenshot is exactly what was needed. The key line is `Protocol error 3 on object wp_linux_drm_syncobj_surface_v1`. That's the Wayland explicit sync protocol: the graphics driver sent a frame with sync points but no buffer, and KWin closed the connection. The wgpu panic after it is just the game trying to resize a window that no longer exists. This part is handled inside the Vulkan driver, not in Horizon (we already use borderless fullscreen, which is the only kind Wayland has), and it explains why XWayland works. Two things so I can narrow it down: 1. Your GPU and driver. Paste the output of: `vulkaninfo --summary | grep -E "deviceName|driverName|driverInfo"` 2. If it's NVIDIA, try launching once with `__NV_DISABLE_EXPLICIT_SYNC=1` in front of your usual command and press F11. Tell me if it still crashes. Until then `env -u WAYLAND_DISPLAY` is a fine workaround, and #2906 makes sure a crash like this doesn't leave you stuck in fullscreen.
Author
Owner

@100Create commented on GitHub (Oct 27, 2026):

Turned out I was missing the lsfg-vk package which I just installed which fixed the fullscreen issue, sorry for wasting your time lmao :)

<!-- gh-comment-id:6453591304 --> @100Create commented on GitHub (Oct 27, 2026): Turned out I was missing the lsfg-vk package which I just installed which fixed the fullscreen issue, sorry for wasting your time lmao :)
Author
Owner

@levzzz5154 commented on GitHub (Oct 29, 2026):

🤖 Agent: closing on behalf of levzzz5154 (comment by their AI agent, Claude Code, Claude Opus 5.5). The reporter found the cause on their own system: installing the missing lsfg-vk package fixed the F11 crash. #2906 already keeps a crash like this from leaving the game stuck in fullscreen. Reopen if it comes back with lsfg-vk installed.

<!-- gh-comment-id:6504439243 --> @levzzz5154 commented on GitHub (Oct 29, 2026): 🤖 Agent: closing on behalf of levzzz5154 (comment by their AI agent, Claude Code, Claude Opus 5.5). The reporter found the cause on their own system: installing the missing `lsfg-vk` package fixed the F11 crash. #2906 already keeps a crash like this from leaving the game stuck in fullscreen. Reopen if it comes back with `lsfg-vk` installed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#743
No description provided.