ivan-hc / MPV-appimage

MPV Media Player, Unofficial AppImages built on top of JuNest (Arch Linux-based distro) and Debian.
12 stars 1 forks source link

Mpv Appimage doesn't start on Debian - mesa-loader errors cannot find vmwgfx, swrast & co. #13

Closed cg-cri-gl closed 6 months ago

cg-cri-gl commented 7 months ago

This is the first time i have downloaded your appimage'd mpv, however i couldn't get it to start (even with fiddling with ld.so & symlinks.

The error is:

mpv-Media-Player_0.37.0-2-archimage3.4-x86_64.AppImage  
MESA-LOADER: failed to open vmwgfx: /usr/lib/dri/vmwgfx_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
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/dri, suffix _dri)

Relevant excerpt from running LD_DEBUG=libs ./AppRun :

          [...]
     13069: 
     13069: initialize program: mpv
     13069: 
     13069: 
     13069: transferring control: mpv
     13069: 
     13069: find library=libglapi.so.0 [0]; searching
     13069:  search cache=/etc/ld.so.cache
     13069:   trying file=/usr/lib/libglapi.so.0
     13069: 
     13069: 
     13069: calling init: /usr/lib/libglapi.so.0
     13069: 
MESA-LOADER: failed to open vmwgfx: /usr/lib/dri/vmwgfx_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
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/dri, suffix _dri)
     13068: 
     13068: calling fini:  [0]
     13068: 
     13068: 
     13068: calling fini: /tmp/squashfs-root/.junest/usr/lib/libcap.so.2 [0]
     13068: 
     13068: 
     13068: calling fini: /tmp/squashfs-root/.junest/usr/lib/libgcc_s.so.1 [0]
     13068: 
     13068: 
     13068: calling fini: /tmp/squashfs-root/.junest/usr/lib/libc.so.6 [0]
     13068: 
     13068: 
     13068: calling fini: /tmp/squashfs-root/.junest/lib64/ld-linux-x86-64.so.2 [0]
     13068: 
     13080: find library=libselinux.so.1 [0]; searching
     13080:  search cache=/etc/ld.so.cache
     13080:   trying file=/lib/x86_64-linux-gnu/libselinux.so.1
     13080: 
     13080: find library=libc.so.6 [0]; searching
     13080:  search cache=/etc/ld.so.cache
     13080:   trying file=/lib/x86_64-linux-gnu/libc.so.6
     13080: 
     13080: find library=libpcre2-8.so.0 [0]; searching
     13080:  search cache=/etc/ld.so.cache
     13080:   trying file=/lib/x86_64-linux-gnu/libpcre2-8.so.0
     13080: 
     13080: 
     13080: calling init: /lib64/ld-linux-x86-64.so.2
     13080: 
     13080: 
     13080: calling init: /lib/x86_64-linux-gnu/libc.so.6
     13080: 
     13080: 
     13080: calling init: /lib/x86_64-linux-gnu/libpcre2-8.so.0
     13080: 
     13080: 
     13080: calling init: /lib/x86_64-linux-gnu/libselinux.so.1
     13080: 
      [...]

The 'missing' libs are actually in /usr/lib/x86_64-linux-gnu/dri/ instead

Details:


LE:

  1. This is 'funny' , line 13406: calling init: /usr/lib/libglapi.so.0 . This file isn't present on my system (it is in /usr/lib/x86_64-linux-gnu/libglapi.so.0 instead) but, according the the AppRun debug log , this didn't throw any visible error (?). Tried the 'symlink' dance -> no result.

  2. This seems related

Thanks for looking into this

ivan-hc commented 6 months ago

Thanks and am eager to check out your progress here :)

ahahah thanks, me too... I'd like to see my progress :rofl: