You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: graphics: video initialization fails on AMD Radeon RX 9060 XT Copy title #617
Location
The error message originates in upstream OBS's video-initialization error handling, in frontend/widgets/OBSBasic.cpp. The relevant excerpt is:
#define UNKNOWN_ERROR
"Failed to initialize video. Your GPU may not be supported, "
"or your graphics drivers may need to be updated."
Class
Logic error / graphics initialization failure (root cause unknown) Copy
How it is reached
Install OBS Studio Rust 0.1.0 from the published release using:
The application fails to initialize video and displays:
Failed to initialize video. Your GPU may not be supported,
or your graphics drivers may need to be updated.
System configuration:
Arch Linux
KDE Plasma 6.7.5, Wayland
Kernel 7.2.9-arch1-1
AMD Radeon RX 9060 XT
AMD Ryzen 7 7700X with integrated graphics
32 GiB RAM
OBS Studio Rust 0.1.0
The failure occurs during startup. It is not yet known whether the cause is GPU selection, graphics API initialization, a missing dependency, or an unsupported backend. No specific upstream OBS bug has been established as the cause.
Proposed fix and failing test
The root cause has not yet been determined. First, capture the application's startup logs and identify the graphics initialization function that fails.
RED: Add a regression test for the identified failure. If reproducing the problem requires a live GPU or graphics context, isolate the backend-selection or initialization-decision logic into a testable function, following the approach described in the repository's coordination guide.
GREEN: Fix the identified initialization or backend-selection problem, verify that the regression test passes, and confirm that the application starts successfully on the affected AMD configuration.
The exact fix and test assertions depend on the diagnostic results; no specific code defect has been confirmed yet.
Thanks for the report. To narrow it down, could you share:
Which file appman installed: the AppImage (OBS_Studio-*-x86_64.AppImage, from the continuous or a dated release) or something else? Its exact filename helps.
The OBS log from that launch:~/.config/obs-studio/logs/, the newest file. The lines around Initializing OpenGL... / EGL / Failed to initialize video are what matter.
The same launch with driver debug output, from a terminal:
EGL_LOG_LEVEL=debug LIBGL_DEBUG=verbose ./OBS_Studio-*.AppImage 2>&1 | tee obs-debug.txt
Background: on Linux the AppImage carries some of its own system libraries, and your GPU driver (Mesa radeonsi for the RX 9060 XT) is loaded from the host next to them. A mismatch there would fail exactly at video init. #426 notes a related host-driver problem (EGLImage/DMA-BUF) on another Arch machine, so the debug output above would tell us whether this is the same thing.
Thanks, that helps a lot. Both logs fail at the very first EGL call (eglGetDisplay failed), and there's no Mesa/EGL debug output even with EGL_LOG_LEVEL=debug. So the host's Mesa EGL driver most likely never loaded at all.
Leading theory: the AppImage runs OBS under its own bundled glibc (ld-linux-x86-64.so.2 inside the image, since #499), while the GPU driver (libEGL_mesa.so, radeonsi) is loaded from your Arch install. If Arch's Mesa was built against a newer glibc than the one in the AppImage, the driver can't load into that process (GLIBC_2.xx not found), libglvnd finds no EGL vendor, and eglGetDisplay fails silently, which matches your logs.
Reproduced in an archlinux:latest container. The AppImage runs on its bundled glibc 2.43, but Arch's Mesa loads /usr/lib/libLLVM.so.23.1, which needs GLIBC_2.44:
libm.so.6: version `GLIBC_2.44' not found (required by /usr/lib/libLLVM.so.23.1) (fatal)
libglvnd then quietly drops the Mesa vendor library, so the log shows eglGetDisplay failed and nothing else. This isn't specific to your GPU or appman; it should affect any up-to-date Arch install. The fix is tracked in #621 (part of #635). Your version info is no longer needed. Thanks for the report.
Could you try the current release when you get a chance? The glibc problem zackees found above (the AppImage's bundled glibc 2.43 couldn't load Arch's Mesa, which needs 2.44) was fixed by #650. That fix is in 0.1.0-beta.20261014, so the AppImage now uses your system glibc when it is newer.
If it starts, this can be closed. If you still get "Failed to initialize video", the log from that launch would help (~/.config/obs-studio/logs/, newest file).
@benmordecai no reply yet to the request to try the current release, so this stays open until you can say whether it starts. Since that request, a further AppImage change merged: it builds on a glibc 2.28 base and stops bundling glibc (#927, #1047). Neither is in a release yet (the newest, 0.1.0-beta.20261014, has #650 only). The next release will carry both. If you try it and still see "Failed to initialize video", the newest log in ~/.config/obs-studio/logs/ would help.
I'm out of state for the next week or so and away from my Arch box. I may be able to run some headless tests over ssh (but I have another long running process that will likely take about 6 hours). I'll try to whip up a remote test later but I don't want to be the cause of the holdup if you're locked in.
No rush at all, you're not holding anything up. A headless run over ssh wouldn't tell us much here anyway, since "Failed to initialize video" depends on your GPU and display. It's better to try it when you're back at the Arch box. By then the next release should be out with the AppImage changes zackees mentioned, so that's the one worth testing. The issue can stay open until then.
Thanks for testing it! Good to hear 0.1.0-beta.20261023 starts on the RX 9060 XT. The AppImage changes since the release you first tried (#650, #927, #1047) are what fixed it, so I'm closing this. If "Failed to initialize video" ever comes back, reopen this issue or file a new one with the newest log from ~/.config/obs-studio/logs/.
Activity
zackees commentedon Oct 13, 2026
Thanks for the report. To narrow it down, could you share:
appmaninstalled: the AppImage (OBS_Studio-*-x86_64.AppImage, from thecontinuousor a dated release) or something else? Its exact filename helps.~/.config/obs-studio/logs/, the newest file. The lines aroundInitializing OpenGL.../EGL/Failed to initialize videoare what matter.Background: on Linux the AppImage carries some of its own system libraries, and your GPU driver (Mesa radeonsi for the RX 9060 XT) is loaded from the host next to them. A mismatch there would fail exactly at video init. #426 notes a related host-driver problem (EGLImage/DMA-BUF) on another Arch machine, so the debug output above would tell us whether this is the same thing.
benmordecai commentedon Oct 13, 2026
https://github.com/obs-rust/obs-studio/releases/download/obs-studio-rust-v0.1.0-beta.20261013/OBS-Studio-Rust-0.1.0-beta.20261013-linux-x86_64.AppImage is the version reported by Appman. For some reason the AppImage itself is not present in the folder with this installation method.
2026-10-13 16-21-57.txt
Ran with ./obs-studio-rust because it is the way that appman installed it.
obs-debug.txt
zackees commentedon Oct 13, 2026
Thanks, that helps a lot. Both logs fail at the very first EGL call (
eglGetDisplay failed), and there's no Mesa/EGL debug output even withEGL_LOG_LEVEL=debug. So the host's Mesa EGL driver most likely never loaded at all.Leading theory: the AppImage runs OBS under its own bundled glibc (
ld-linux-x86-64.so.2inside the image, since #499), while the GPU driver (libEGL_mesa.so, radeonsi) is loaded from your Arch install. If Arch's Mesa was built against a newer glibc than the one in the AppImage, the driver can't load into that process (GLIBC_2.xx not found), libglvnd finds no EGL vendor, andeglGetDisplayfails silently, which matches your logs.Could you run these two and paste the output?
And optionally, to see the loader error directly:
If that confirms it, the fix is on our side (the AppImage's glibc handling), not your setup.
zackees commentedon Oct 13, 2026
Reproduced in an
archlinux:latestcontainer. The AppImage runs on its bundled glibc 2.43, but Arch's Mesa loads/usr/lib/libLLVM.so.23.1, which needsGLIBC_2.44:libglvnd then quietly drops the Mesa vendor library, so the log shows
eglGetDisplay failedand nothing else. This isn't specific to your GPU or appman; it should affect any up-to-date Arch install. The fix is tracked in #621 (part of #635). Your version info is no longer needed. Thanks for the report.benmordecai commentedon Oct 13, 2026
benmordecai commentedon Oct 13, 2026
Awesome, thank you
rdoupe commentedon Oct 16, 2026
Could you try the current release when you get a chance? The glibc problem zackees found above (the AppImage's bundled glibc 2.43 couldn't load Arch's Mesa, which needs 2.44) was fixed by #650. That fix is in 0.1.0-beta.20261014, so the AppImage now uses your system glibc when it is newer.
https://github.com/obs-rust/obs-studio/releases (OBS-Studio-Rust-0.1.0-beta.20261014-linux-x86_64.AppImage; with appman, updating obs-studio-rust should pick it up)
If it starts, this can be closed. If you still get "Failed to initialize video", the log from that launch would help (
~/.config/obs-studio/logs/, newest file).zackees commentedon Oct 16, 2026
@benmordecai no reply yet to the request to try the current release, so this stays open until you can say whether it starts. Since that request, a further AppImage change merged: it builds on a glibc 2.28 base and stops bundling glibc (#927, #1047). Neither is in a release yet (the newest, 0.1.0-beta.20261014, has #650 only). The next release will carry both. If you try it and still see "Failed to initialize video", the newest log in
~/.config/obs-studio/logs/would help.benmordecai commentedon Oct 16, 2026
I'm out of state for the next week or so and away from my Arch box. I may be able to run some headless tests over ssh (but I have another long running process that will likely take about 6 hours). I'll try to whip up a remote test later but I don't want to be the cause of the holdup if you're locked in.
rdoupe commentedon Oct 16, 2026
No rush at all, you're not holding anything up. A headless run over ssh wouldn't tell us much here anyway, since "Failed to initialize video" depends on your GPU and display. It's better to try it when you're back at the Arch box. By then the next release should be out with the AppImage changes zackees mentioned, so that's the one worth testing. The issue can stay open until then.
benmordecai commentedon Oct 23, 2026
OBS Studio
OBS-Studio-Rust 0.1.0-beta.20261023 (based on OBS 33.0.0-beta6-1902-g582a4c3ed) (64 bit)
Starts with no problem.
rdoupe commentedon Oct 24, 2026
Thanks for testing it! Good to hear 0.1.0-beta.20261023 starts on the RX 9060 XT. The AppImage changes since the release you first tried (#650, #927, #1047) are what fixed it, so I'm closing this. If "Failed to initialize video" ever comes back, reopen this issue or file a new one with the newest log from
~/.config/obs-studio/logs/.