Package Details: vlc-git 4.0.0.r29525.g46a98b84f5-1

Git Clone URL: https://aur.archlinux.org/vlc-git.git (read-only, click to copy)
Package Base: vlc-git
Description: Multi-platform MPEG, VCD/DVD, and DivX player
Upstream URL: https://code.videolan.org/videolan/vlc
Licenses: GPL2, LGPL2.1
Conflicts: vlc
Provides: vlc
Submitter: None
Maintainer: xiota (knoelli)
Last Packager: knoelli
Votes: 208
Popularity: 1.20
First Submitted: 2008-04-01 12:14 (UTC)
Last Updated: 2024-06-26 10:19 (UTC)

Required by (159)

Sources (4)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 45 Next › Last »

knoelli commented on 2024-04-08 19:33 (UTC)

@Atticus Thank you for sharing your findings. While I can reproduce the problem with desktop recording throwing the error screenshooter extension not supported, I don't think it's a compilation or packaging issue but rather some problem within the source code itself. Wayland support in VLC is quite new, as is support for Qt6. Maybe they are yet missing some changes for the screenshooter to work (it's source hasn't been touched for quite a while now). I would therefore kindly ask you that you open an issue in the VLC issue tracker containing the details you've found.

Atticus commented on 2024-04-08 18:49 (UTC)

@knoelli, @MBK updates:

Using ldd, readelf, gdb, and grep, I-'ll get the source location for the following error: [00007fff84000ea0] wl_screenshooter access error: screenshooter extension not supported

When VLC can record a destop and show that desktop recording at the same time, then I-'ll say wayland enterprises is nearly operational!

What is your build system like. What gpu are you using, which gpu drivers have you installed, etc.

This is priority 4 on my list... I have other projects I-'m working on!

Atticus commented on 2024-04-07 17:42 (UTC) (edited on 2024-04-08 18:40 (UTC) by Atticus)

@Knoelli, @MBK I feel your pain. Multiple build tools, 3000 line long makefile, multiple protocols...


[XH0@archlinux bin]$ ldd vlc-static 
        linux-vdso.so.1 (0x00007ffc1b147000)
        libvlc.so.12 => /home/.../chroot/.../build/vlc-git/src/vlc/lib/.libs/libvlc.so.12 (0x000072267baec000)
        libvlccore.so.9 => /home/.../chroot/.../build/vlc-git/src/vlc/src/.libs/libvlccore.so.9 (0x000072267b9b1000)
        libidn.so.12 => /usr/lib/libidn.so.12 (0x000072267b943000)
        libm.so.6 => /usr/lib/libm.so.6 (0x000072267b857000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x000072267b806000)
        libc.so.6 => /usr/lib/libc.so.6 (0x000072267b622000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000072267bb17000)
        libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x000072267b535000)
        libcap.so.2 => /usr/lib/libcap.so.2 (0x000072267b529000)
        libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x000072267b3e0000)
        liblz4.so.1 => /usr/lib/liblz4.so.1 (0x000072267b3bb000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x000072267b386000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x000072267b2b3000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x000072267b28e000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x000072267b268000)

Still doesn-'t record desktop under wayland.


$ gdb vlc-static
...

[00007fff84000ea0] wl_screenshooter access error: screenshooter extension not supported
[New Thread 0x7fffba5ff6c0 (LWP 6073)]                                                                        
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
Downloading separate debug info for /usr/lib/libgsm.so.1                                                      
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libgsm.so.1.  
Downloading separate debug info for /usr/lib/libx264.so.164                                                   
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libx264.so.164.
Downloading separate debug info for /usr/lib/libx265.so.199

MBK commented on 2024-04-06 22:45 (UTC)

@knoelli THANK YOU! It works fine now.

knoelli commented on 2024-04-06 21:21 (UTC)

@MBK, @Atticus, @enesefendi and everybody else who recently encountered compilation problems: I was finally able to reproduce the problem on a machine here and found the problem. The configure script checks for the existence of ${CONTRIB_DIR}/../bin/qmake which, with ${CONTRIB_DIR} not being set equals to /bin/qmake. This is the Qt5 binary of qmake (for Qt6 on Arch it is named qmake6). This results in the configure script to use Qt libraries from contrib where they aren't complete right now.

To cut a long story short: latest commit adds a patch to fix this problem and the package should now compile without the recent problems.

Atticus commented on 2024-04-06 21:20 (UTC) (edited on 2024-04-06 22:16 (UTC) by Atticus)

@MBK vlc-git built in a chrooted environment still has problems.

Errors below: libvlc.so.12 not found; however, that file is located inside .../build/vlc-git/pkg/vlc-git/usr/lib


[****@archlinux bin]$ ldd $(pwd)/vlc
 linux-vdso.so.1 (0x00007fff16f20000)
 libvlc.so.12 => not found
 libvlccore.so.9 => /usr/lib/libvlccore.so.9 (0x000071146a49b000)
 libc.so.6 => /usr/lib/libc.so.6 (0x000071146a2b9000)
 libidn.so.12 => /usr/lib/libidn.so.12 (0x000071146a284000)
 libm.so.6 => /usr/lib/libm.so.6 (0x000071146a198000)
 libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x000071146a147000)
 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x000071146a120000)
 /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000071146a5ec000)
 libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x000071146a033000)
 libcap.so.2 => /usr/lib/libcap.so.2 (0x000071146a027000)
 libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x0000711469ede000)
 liblz4.so.1 => /usr/lib/liblz4.so.1 (0x0000711469eb9000)
 liblzma.so.5 => /usr/lib/liblzma.so.5 (0x0000711469e84000)
 libzstd.so.1 => /usr/lib/libzstd.so.1 (0x0000711469db1000)
 libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x0000711469d8b000)

[****@archlinux lib]$ ls -ailF
...
 libvlccore.so -> libvlccore.so.9.0.0*
 libvlccore.so.9 -> libvlccore.so.9.0.0*
 libvlccore.so.9.0.0*
 libvlc.so -> libvlc.so.12.0.0*
 libvlc.so.12 -> libvlc.so.12.0.0*
 libvlc.so.12.0.0*

vlc, linked with link files, has the following runtime errors:


[000074ec5c01de60] main decoder error: buffer deadlock prevented
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
libEGL warning: egl: failed to create dri2 screen
[000074ec6c015930] main decoder error: buffer deadlock prevented
...

@enesefendi Instructions to build in a chrooted environment are here: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

MBK commented on 2024-04-05 21:31 (UTC)

@Atticus fyi, vlc-git 4 works perfectly in wayland (before the latest package update that broke the build system). It has a completely new ui compared to vlc 3.

Atticus commented on 2024-04-05 20:09 (UTC)

@Knoelli, I-'m reporting the same build errors, as enesefendi, in a non chroot environment.

@enesefendi, I-'m also having problems getting VLC (package vlc) to run correctly in Wayland.

enesefendi commented on 2024-04-05 19:35 (UTC)

@knoelli so kind of you to assist me mate, appreciated.

But i really had enough with the wayland stuff. Nothing works for me. I'll go back to x11 and openbox where i was happy :)