| Summary: | VLC does not offer VA-API HW acceleration | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | Julian <fedora_bugreports> |
| Component: | vlc | Assignee: | Nicolas Chauvet <kwizart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | leigh123linux, piotrdrag, stefanrin |
| Priority: | P1 | ||
| Version: | f36 | ||
| Hardware: | x86_64 | ||
| OS: | GNU/Linux | ||
| URL: | https://code.videolan.org/videolan/vlc/-/issues/26772 | ||
| namespace: | |||
| Attachments: |
Only VDPAU in HW decoder list.
Package info with version info of VLC in the background Output of vainfo compat-ffmpeg4 patch |
||
|
Description
Julian
2022-05-11 10:32:13 CEST
Created attachment 2396 [details]
Package info with version info of VLC in the background
Created attachment 2397 [details]
Output of vainfo
Right, this is a known issue because we plan to use the system ffmpeg5 whereas VA-API support have changed a lot, so support have been dropped upstream. (or we would need to build vlc with ffmpeg4). This is unlikely to be fixed upstream until vlc-4.0 Please use mpv for hw accel video (if it really worth it). https://rpmfusion.org/CommonBugs (In reply to Nicolas Chauvet from comment #3) > Right, this is a known issue because we plan to use the system ffmpeg5 > whereas VA-API support have changed a lot, so support have been dropped > upstream. (or we would need to build vlc with ffmpeg4). > > > This is unlikely to be fixed upstream until vlc-4.0 > Please use mpv for hw accel video (if it really worth it). > > https://rpmfusion.org/CommonBugs Understood. Thank you for the fast response. Indeed, I do use mpv for now. Currently, the VLC flatpak can also give VA-API support as a workaround. I searched a bit for this but did not find anything about this in any forum, so I guess it is still good to have this info here. As a result, I would mark the "bug" as RESOLVED. Thank you again for clarifying it. Have a great day! Created attachment 2398 [details] compat-ffmpeg4 patch (In reply to Nicolas Chauvet from comment #3) > upstream. (or we would need to build vlc with ffmpeg4). We could fixed it that way, But I used to think that another software was linking to libvlc.so.5 (or libvlccore.so.9) that was also using ffmpeg-libs. So we need to use the same ffmpeg version there also. LANG=C sudo dnf repoquery --whatrequires libvlc.so.5\* kaffeine-0:2.0.18-6.fc35.x86_64 medialibrary-0:0.6.0-4.fc35.x86_64 phonon-qt5-backend-vlc-0:0.11.1-4.fc35.x86_64 phonon-qt5-backend-vlc-0:0.11.3-1.fc35.x86_64 vlc-devel-1:3.0.16-5.fc35.x86_64 vlc-devel-1:3.0.17.2-1.fc35.x86_64 LANG=C sudo dnf repoquery --whatrequires libvlccore.so.9\* phonon-qt5-backend-vlc-0:0.11.1-4.fc35.x86_64 phonon-qt5-backend-vlc-0:0.11.3-1.fc35.x86_64 vlc-1:3.0.16-5.fc35.x86_64 vlc-1:3.0.17.2-1.fc35.x86_64 vlc-bittorrent-0:2.13-2.fc35.x86_64 vlc-bittorrent-0:2.14-1.fc35.x86_64 vlc-devel-1:3.0.16-5.fc35.x86_64 vlc-devel-1:3.0.17.2-1.fc35.x86_64 vlc-extras-1:3.0.16-5.fc35.x86_64 vlc-extras-1:3.0.17.2-1.fc35.x86_64 (so far, theses are not using ffmpeg -libs directly). Only obs-studio uses vlc-devel without any runtime dependencies on the libraries (dlopen used ?). *** Bug 6296 has been marked as a duplicate of this bug. *** Since the discussion continues, I will re-open the ticket again. The problem itself is upstream: https://code.videolan.org/videolan/vlc/-/issues/26772 However, there are solutions possible, seemingly even without linking to ffmpeg4. Okay, I've modified your patch so that it will applies to el9 also... Let's go with this as I don't think we have conflicting ffmpeg in dependencies... |