Created attachment 917916 [details] vlc 3.0.21-r3 console log media-video/vlc-3.0.21-r3 only shows a black video screen when desktop (Plasma or Gnome) uses wayland. The Error does not show up when Plasma- or Gnome-Desktop runs with X11. media-video/vlc-3.0.21-r1 works as expected. Please find attached vlc-logs when started directly from console. As a workaround i have maskt vlv-3.0.21-r3.
Created attachment 917917 [details] emerge --info
Created attachment 917918 [details] vlc-3.0.21-r3 console log now correct attachment
Created attachment 917919 [details] Ffprobe of the used video file
Created attachment 917920 [details] hwinfo --short
Works fine for me, fwiw.
(In reply to Andreas Sturmlechner from comment #5) > Works fine for me, fwiw. Hmmm ... what's wrong with my setup?
When i revert the ffmpeg-patch introduced in 3.0.21-r3 (${P}-vaapi-w-ffmpeg5.patch) to the one from 3.0.21-r1 (${PN}-3.0.21-vaapi-without-ffmpeg4.patch) it works again for me. Maybe this patch probably has an issue with Wayland/Intel Xe graphics
It would be interesting to see if you have the same problem with media-video/vlc-3.0.21-r0.
(In reply to Stefan Trenker from comment #7) > Maybe this patch probably has an issue with Wayland/Intel Xe graphics I'd put the blame on Intel Xe drivers for now, pending the aforementioned -r0 testing. At least on my Intel HD Graphics 515 it works fine as well within Plasma Wayland session.
(In reply to Andreas Sturmlechner from comment #8) > It would be interesting to see if you have the same problem with > media-video/vlc-3.0.21-r0. I assume media-video/vlc-3.0.21-r0 is identical with media-video/vlc-3.0.21? Emerging media-video/vlc-3.0.21 requires ffmpeg-4 and this throws lots of dependency conflicts. To much for downgrading. Portage update emerged vlc-3.0.21 in September 2024 and it was updated to -r1 in November 2024. During this time period vlc worked fine for me but with an older kernel. Must have been 6.10 or 6.11. I have tested -r3 with 6.13.0 as well. Still back screen on Wayland. On https://gitlab.freedesktop.org/drm/intel/-/issues?page=13&state=opened i cannot find anything related. Opening a new issue there will end up with finger pointing to vlc i guess.
(In reply to Stefan Trenker from comment #10) > (In reply to Andreas Sturmlechner from comment #8) > Emerging media-video/vlc-3.0.21 requires ffmpeg-4 and this throws lots of > dependency conflicts. To much for downgrading. You can always temporarily downgrade ffmpeg-4 using --nodeps, then build vlc-3.0.21-r0 against that. (In reply to Stefan Trenker from comment #10) > Portage update emerged vlc-3.0.21 in September 2024 and it was updated to > -r1 in November 2024. During this time period vlc worked fine for me but > with an older kernel. Must have been 6.10 or 6.11. > > I have tested -r3 with 6.13.0 as well. Still back screen on Wayland. The logical thing to test then would be a kernel version of that older series.
(In reply to Andreas Sturmlechner from comment #11) > (In reply to Stefan Trenker from comment #10) > > (In reply to Andreas Sturmlechner from comment #8) > > Emerging media-video/vlc-3.0.21 requires ffmpeg-4 and this throws lots of > > dependency conflicts. To much for downgrading. > You can always temporarily downgrade ffmpeg-4 using --nodeps, then build > vlc-3.0.21-r0 against that. I should have thought for that myself. > (In reply to Stefan Trenker from comment #10) > > Portage update emerged vlc-3.0.21 in September 2024 and it was updated to > > -r1 in November 2024. During this time period vlc worked fine for me but > > with an older kernel. Must have been 6.10 or 6.11. > > > > I have tested -r3 with 6.13.0 as well. Still back screen on Wayland. > The logical thing to test then would be a kernel version of that older > series. Downgrade to ffmpeg-4 and vlc-3.0.21 vlc still shows the same black screen on Wayland on kernels 6.6.74, 6.12.12, and 6.13.0. I know for sure it worked September to November 2024. But my system environment at all advanced with the regular portage ebuild updates. Last Year i was on Plasma/KF 5, now its 6. Wayland has received some updates as well. Its not 100% comparable now.
Xe firmware may have also changed together with your kernel updates, so that's another thing to test for - and double check you're not missing any for your hardware. The difference between VLC 3.0.21-r0 to -r1 and -r3 comes down to USE=vaapi: - r0 has vaapi support bound to ffmpeg-4, hence those conflicts you encountered - r1 had ffmpeg vaapi support disabled, fixing conflicts by loss of avcodec_vaapi - r3 reinstated avcodec_vaapi for >=ffmpeg-5 by means of an upstream VLC patch There's certainly no general known problem with Plasma 6 Wayland and VLC (or any other video player for that matter), as I am exclusively in Wayland sessions as well using AMD and Intel hardware.
(In reply to Andreas Sturmlechner from comment #13) > Xe firmware may have also changed together with your kernel updates, so > that's another thing to test for - and double check you're not missing any > for your hardware. I have no idea how to load older GuC-Firmware during boot. Renaming the current firmware file does not force loading a lower firmware version.