Rock 5B OBS studio not starting after installing armbian hardware acceleration drivers

obs studio is not starting after installing the armbian hardware acceleration drivers (on armbian of course) the command for the driver install:

sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
sudo apt update
sudo apt dist-upgrade

and the error from obs:

hannes@rock-5b:~$ obs
qt.qpa.xcb: XKeyboard extension not present on the X server
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/de-DE.ini
Attempted path: /usr/share/obs/obs-studio/locale/de-DE.ini
info: Using preferred locale ‘de-DE’
Attempted path: share/obs/obs-studio/themes/Yami.qss
Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: Physical Cores: 8, Logical Cores: 8
info: Physical Memory: 15720MB Total, 14901MB Free
info: Kernel Version: Linux 5.10.110-rockchip-rk3588
info: Distribution: “Ubuntu” “22.10”
info: Session Type: tty
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 5.15.6 (runtime), 5.15.6 (compiled)
info: Portable mode: false
qt.svg: Cannot open file ‘/usr/share/obs/obs-studio/themes/Dark/Close.svg’, because: No such file or directory
qt.svg: Cannot open file ‘/usr/share/obs/obs-studio/themes/Dark/Close.svg’, because: No such file or directory
qt.svg: Cannot open file ‘/usr/share/obs/obs-studio/themes/Dark/Popout.svg’, because: No such file or directory
qt.svg: Cannot open file ‘/usr/share/obs/obs-studio/themes/Dark/Popout.svg’, because: No such file or directory
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 28.0.1.11-3 (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…
libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)

error: Failed to initialize EGL: EGL_NOT_INITIALIZED
error: Failed to create context!
error: device_create (GL) failed
malloc(): unsorted double linked list corrupted
Aborted

and thankyou for helping

Me too but with Ubuntu, I think same problem as you.

1 Like

armbian is essentialy a de snaped ubuntu with a few addons

sudo apt-get install xcb
export QT_QPA_PLATFORM=“xcb”
MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 obs