Which version of system do you use? Khadas official images, self built images, or others?
Ubuntu 24.04.1 LTS
Please describe your issue below:
Trying to run OBS Studio. Getting the error message:
Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
Is OBS incompatible with my device, or is there some solution for this?
OBS should be able to work, try launching it from the command line by setting these environment variables first:
XDG_SESSION_TYPE=wayland
QT_QPA_PLATFORM=wayland
Still same issue unfortunately
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Platform: Wayland
info: Physical Cores: 8, Logical Cores: 8
info: Physical Memory: 7671MB Total, 4887MB Free
info: Kernel Version: Linux 6.1.43
info: Distribution: "Ubuntu" "24.04"
info: Desktop Environment: ubuntu:GNOME (ubuntu)
info: Session Type: wayland
info: Qt Version: 6.4.2 (runtime), 6.4.2 (compiled)
info: Portable mode: false
info: OBS 30.0.2.1-3build1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
arm_release_ver: g13p0-01eac0, rk_so_ver: 10
info: Initialized EGL 1.4
error: eglBindAPI failed
error: eglChooseConfig failed
error: device_create (GL) failed
error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 2564.98 ms
info: ┣OBSApp::AppInit: 7.892 ms
info: ┃ ┗OBSApp::InitLocale: 1.139 ms
info: ┗OBSApp::OBSInit: 64.954 ms
info: ┣obs_startup: 4.083 ms
info: ┗OBSBasic::OBSInit: 7.723 ms
info: ┣OBSBasic::InitBasicConfig: 0.169 ms
info: ┣OBSBasic::ResetAudio: 0.337 ms
info: ┗OBSBasic::ResetVideo: 7.125 ms
info: ┗obs_init_graphics: 7.117 ms
info: obs_hotkey_thread(25 ms): min=0 ms, median=0 ms, max=0.001 ms, 99th percentile=0.001 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.008 ms, median=0.02 ms, max=0.043 ms, 99th percentile=0.033 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.061 ms, median=25.13 ms, max=25.203 ms, 100% within ±2% of 25 ms (0% lower, 0% higher)
info: =================================================
info: Number of memory leaks: 556
@AthleteInAction OBS relies on vaapi backends for intel, nvidia or radeon graphics cards, it was not made for encoding on the mali GPU, it should be able to do CPU encoding with some reduced performance capabilities.
1 Like
numbqq
October 22, 2024, 1:54am
5
The default OBS version requires OpenGL support but for Edge2 GPU only supports OpenGL ES, so you can’t run it by default. But if you really want to use it you can try to remove the GPU package and using CPU to rendering, in this case you will lose some performance.
You can follow this doumentation to remove the GPU package.
https://docs.khadas.com/products/sbc/edge2/troubleshooting/remove-gpu-package#tab__ubuntu-2404
Thank you. This worked. Side question, Is there a better board for recording 1080p 60fps?
720p 30 fps is about the best stable recording I can get