The snap version of vlc doean’t work, while the apt version of vlc works well.
The vlc terminal output is
VLC media player 3.0.18 Vetinari (revision 3.0.18-0-ge9eceaed4d)
[0000557f585f2a00] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
Fontconfig warning: FcPattern object width does not accept value [75 100)
Segmentation fault (core dumped)
The dmesg
output is
[ 2025.157709] audit: type=1326 audit(1686928491.635:110): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.vlc.vlc pid=44694 comm="glxinfo" exe="/snap/vlc/3078/usr/bin/glxinfo" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f73e9563c7f code=0x50000
[ 2025.158063] audit: type=1326 audit(1686928491.635:111): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.vlc.vlc pid=44694 comm="glxinfo" exe="/snap/vlc/3078/usr/bin/glxinfo" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f73e9563c7f code=0x50000
[ 2025.158253] audit: type=1326 audit(1686928491.635:112): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.vlc.vlc pid=44694 comm="glxinfo" exe="/snap/vlc/3078/usr/bin/glxinfo" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f73e9563c7f code=0x50000
[ 2025.158779] audit: type=1326 audit(1686928491.639:113): auid=1000 uid=1000 gid=1000 ses=3 subj=snap.vlc.vlc pid=44694 comm="glxinfo" exe="/snap/vlc/3078/usr/bin/glxinfo" sig=0 arch=c000003e syscall=203 compat=0 ip=0x7f73e9563c7f code=0x50000
[ 2025.371614] vlc[44938]: segfault at 0 ip 00007f99d583bbb4 sp 00007f99e41ef4b0 error 4 in libQt5XcbQpa.so.5.14.2[7f99d5789000+146000] likely on CPU 3 (core 3, socket 0)
[ 2025.371633] Code: f8 ff 48 8b 33 48 85 f6 75 ec 4c 89 e2 4c 89 ee 31 ff e8 cf 53 f8 ff 4c 89 e7 49 89 c6 e8 84 45 f8 ff 4c 89 ef e8 ec 11 f8 ff <41> 8b 06 85 c0 7e 1e 45 31 e4 31 db 49 8b 46 08 83 c3 01 4a 8b 3c
My environment is:
CPU: AMD A8-6600K APU with Radeon(tm) HD Graphics
OS: Ubuntu 23.04
Kernel: 6.2.0-20-generic
vlc version: 2.59.4 (rev 19361 from latest/stable channel)
snapd version: 2.59.4 (rev 19361)
What wrong with the snap package? Please help.