I am having problems with more than one snap, but I’ll start with VLC. I am running Ubuntu 20.10, with a Radeon Pro WX5100 GPU. My install is fairly normal, apart from the fact I have had to manually install OpenCL (using this method), but something is causing problems for snap, where apt installed software or using appimages are fine.
❯ snap version snap 2.49.2 snapd 2.49.2 series 16 ubuntu 20.10 kernel 5.8.0-49-lowlatency
❯ snap info vlc name: vlc summary: The ultimate media player publisher: VideoLAN✓ store-url: https://snapcraft.io/vlc contact: https://www.videolan.org/support/ license: unset description: | VLC is the VideoLAN project's media player. Completely open source and privacy-friendly, it plays every multimedia file and streams. It notably plays MKV, MP4, MPEG, MPEG-2, MPEG-4, DivX, MOV, WMV, QuickTime, WebM, FLAC, MP3, Ogg/Vorbis files, BluRays, DVDs, VCDs, podcasts, and multimedia streams from various network sources. It supports subtitles, closed captions and is translated in numerous languages. commands: - vlc snap-id: RT9mcUhVsRYrDLG8qnvGiy26NKvv6Qkd tracking: latest/stable refresh-date: 5 days ago, at 15:05 CST channels: latest/stable: 22.214.171.124 2021-01-23 (2103) 309MB - latest/candidate: 126.96.36.199 2021-01-05 (2103) 309MB - latest/beta: 188.8.131.52-161-g8fe0049935 2021-04-03 (2284) 309MB - latest/edge: 4.0.0-dev-15110-g55456d7c1e 2021-04-04 (2285) 361MB - installed: 184.108.40.206 (2103) 309MB -
❯ snap run vlc /usr/share/libdrm/amdgpu.ids: No such file or directory VLC media player 220.127.116.11 Vetinari (revision 18.104.22.168-0-g170157402b) [00005628e17eeb10] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Qt: Session management error: Could not open network socket Fontconfig warning: FcPattern object weight does not accept value [0 205) zsh: segmentation fault (core dumped) snap run vlc
The file is present though:
❯ ls -al /usr/share/libdrm/ total 24 drwxr-xr-x 2 root root 4096 Apr 9 15:38 . drwxr-xr-x 305 root root 12288 Apr 14 11:03 .. -rw-r--r-- 1 root root 7547 May 27 2020 amdgpu.ids
Running apt VLC:
❯ /usr/bin/vlc VLC media player 22.214.171.124 Vetinari (revision 126.96.36.199-0-g52483f3ca2) [0000556c5ca5e670] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0000556c5cafda20] main playlist: playlist is empty