Using GLX hardware accelleration in ArchImages / Proot
ivan-hc opened this issue · 1 comments
ivan-hc commented
I'm trying a solution to use the hardware accelleration in some apps that require that.
Today I've tried to build OpenShot (being the official Appimage buggy) and it doesn't work.
The same I've done previously with my Bottles "https://github.com/ivan-hc/Bottles-appimage", but here I'm near to a solution: I've tried to export these variables into the AppRun:
export __EGL_VENDOR_LIBRARY_DIRS=/etc/glvnd/egl_vendor.d/:/usr/share/glvnd/egl_vendor.d/
export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/*
export BOTTLES_RUNTIME_PATH=$HOME/.local/share/bottles/runtimes/runtime/
export GLPATH=/lib/:/lib64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/lib/
export LD_LIBRARY_PATH=/lib/:/lib64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/lib/:"${LD_LIBRARY_PATH}"
export LIBVA_DRIVERS_PATH=/lib/x86_64-linux-gnu/dri/
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/*
export VULKAN_DEVICE_INDEX=1
export VULKAN_LIBRARY_PATH=/lib/:/lib64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/:/usr/lib/
export JUNEST_HOME=$HERE/.junest
the result is that the Appimage runs without errors, but if I try to launch a game (for example SupertuxKart.exe) it doesn't start the game, but menus, sounds and all the rest is working.
If someone have a solution for this, please help me.
ivan-hc commented
ArchImgages will no more use "proot", since version 3 they will use "bwrap", so the tests will be done there