[GH-ISSUE #7832] Linux: launcher window is transparent on AMD Radeon HD 8510G (radeon driver); software-rendering workaround makes the game client inherit it and run at 2-3 FPS #4613

Open
opened 2026-11-03 05:05:16 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @h2ssangg-beep on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7832

Environment* OS: Linux Mint 22.3 (Zena), based on Ubuntu 24.04* Session type: X11* GPU: AMD Richland APU, Radeon HD 8510G (integrated, no dedicated GPU)* Kernel driver in use: radeon (modules available: radeon, amdgpu)* Mesa 25.2.8, OpenGL 4.6, renderer string AMD ARUBA* RAM: 8 GB* Launcher: horizon-launcher-linux-x86_64.AppImage, client version nightly-2026-11-01-c9d474dHi, and thanks for building this launcher. I really like the idea of it being lighter than Java-based launchers.Problem 1: the launcher window is fully transparentWhen I launch the AppImage normally (double click or from a terminal), the window opens but is completely transparent. Nothing is printed to the terminal and the process keeps running.These did not fix it on their own:* WEBKIT_DISABLE_DMABUF_RENDERER=1* WEBKIT_DISABLE_COMPOSITING_MODE=1* both together* both plus GDK_BACKEND=x11The only thing that makes the window render is forcing software rendering:LIBGL_ALWAYS_SOFTWARE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_DISABLE_COMPOSITING_MODE=1 ./horizon-launcher-linux-x86_64.AppImageProblem 2: the game client inherits the software-rendering environmentWhen the launcher is started with LIBGL_ALWAYS_SOFTWARE=1, the game client (horizon-client) is spawned as a child process and inherits the same variables. I confirmed this while the game was running:tr '\0' '\n' < /proc/$(pgrep -f horizon-client | head -1)/environ | grep -E "LIBGL|GALLIUM|WEBKIT"LIBGL_ALWAYS_SOFTWARE=1WEBKIT_DISABLE_COMPOSITING_MODE=1WEBKIT_DISABLE_DMABUF_RENDERER=1As a result the client renders on the CPU:* horizon-client uses about 255% CPU in ps aux* the game runs at 2-3 FPS, and even the menus (singleplayer, multiplayer, options) lag badly* the launcher opens quickly and the world loads fast, so the issue is only rendering speedThe GPU itself works fine on this system: glxinfo -B reports the hardware renderer AMD ARUBA (not llvmpipe) when the variable is not set.Why this mattersUsers with older AMD/Intel integrated GPUs on Linux are forced into a workaround that makes the game unplayable, because there is no way to apply it to the launcher only.Suggested fixes1. Remove LIBGL_ALWAYS_SOFTWARE, GALLIUM_DRIVER, WEBKIT_DISABLE_DMABUF_RENDERER and WEBKIT_DISABLE_COMPOSITING_MODE from the environment when spawning horizon-client (in Rust, Command::env_remove(...)).2. Set the WebKit workaround variables inside the launcher itself at startup, before the webview is created, so users don’t need to export them and the client doesn’t inherit them.3. Add a launcher setting for custom environment variables or a wrapper command for the game client.4. Document the known Linux workarounds (transparent window, DMABUF renderer, software rendering) in the README or install guide.5. Investigate the transparent window on the radeon driver. As far as I can tell it may be related to WebKitGTK compositing or the window’s transparency setting, and a fallback to a non-transparent window when GPU rendering fails would also help.I’m happy to test any fix and provide more logs (glxinfo, lspci -k, ps aux, etc.).Also, if this helps and a fix makes it into the next release, I’d really appreciate it if my GitHub account could be listed among the contributors. Thanks again!

Originally created by @h2ssangg-beep on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7832 Environment* OS: Linux Mint 22.3 (Zena), based on Ubuntu 24.04* Session type: X11* GPU: AMD Richland APU, Radeon HD 8510G (integrated, no dedicated GPU)* Kernel driver in use: `radeon` (modules available: radeon, amdgpu)* Mesa 25.2.8, OpenGL 4.6, renderer string `AMD ARUBA`* RAM: 8 GB* Launcher: `horizon-launcher-linux-x86_64.AppImage`, client version `nightly-2026-11-01-c9d474d`Hi, and thanks for building this launcher. I really like the idea of it being lighter than Java-based launchers.Problem 1: the launcher window is fully transparentWhen I launch the AppImage normally (double click or from a terminal), the window opens but is completely transparent. Nothing is printed to the terminal and the process keeps running.These did not fix it on their own:* `WEBKIT_DISABLE_DMABUF_RENDERER=1`* `WEBKIT_DISABLE_COMPOSITING_MODE=1`* both together* both plus `GDK_BACKEND=x11`The only thing that makes the window render is forcing software rendering:```LIBGL_ALWAYS_SOFTWARE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 WEBKIT_DISABLE_COMPOSITING_MODE=1 ./horizon-launcher-linux-x86_64.AppImage```Problem 2: the game client inherits the software-rendering environmentWhen the launcher is started with `LIBGL_ALWAYS_SOFTWARE=1`, the game client (`horizon-client`) is spawned as a child process and inherits the same variables. I confirmed this while the game was running:```tr '\0' '\n' < /proc/$(pgrep -f horizon-client | head -1)/environ | grep -E "LIBGL|GALLIUM|WEBKIT"LIBGL_ALWAYS_SOFTWARE=1WEBKIT_DISABLE_COMPOSITING_MODE=1WEBKIT_DISABLE_DMABUF_RENDERER=1```As a result the client renders on the CPU:* `horizon-client` uses about 255% CPU in `ps aux`* the game runs at 2-3 FPS, and even the menus (singleplayer, multiplayer, options) lag badly* the launcher opens quickly and the world loads fast, so the issue is only rendering speedThe GPU itself works fine on this system: `glxinfo -B` reports the hardware renderer `AMD ARUBA` (not llvmpipe) when the variable is not set.Why this mattersUsers with older AMD/Intel integrated GPUs on Linux are forced into a workaround that makes the game unplayable, because there is no way to apply it to the launcher only.Suggested fixes1. Remove `LIBGL_ALWAYS_SOFTWARE`, `GALLIUM_DRIVER`, `WEBKIT_DISABLE_DMABUF_RENDERER` and `WEBKIT_DISABLE_COMPOSITING_MODE` from the environment when spawning `horizon-client` (in Rust, `Command::env_remove(...)`).2. Set the WebKit workaround variables inside the launcher itself at startup, before the webview is created, so users don’t need to export them and the client doesn’t inherit them.3. Add a launcher setting for custom environment variables or a wrapper command for the game client.4. Document the known Linux workarounds (transparent window, DMABUF renderer, software rendering) in the README or install guide.5. Investigate the transparent window on the `radeon` driver. As far as I can tell it may be related to WebKitGTK compositing or the window’s transparency setting, and a fallback to a non-transparent window when GPU rendering fails would also help.I’m happy to test any fix and provide more logs (`glxinfo`, `lspci -k`, `ps aux`, etc.).Also, if this helps and a fix makes it into the next release, I’d really appreciate it if my GitHub account could be listed among the contributors. Thanks again!
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#4613
No description provided.