More testing for VLC 3.0.5?

Message
Author
User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

More testing for VLC 3.0.5?

#1 Post by Stevo »

Those that have installed it from the test repo with MXPI say it went without any problems, and it provides working va-api hardware acceleration for Intel GPUs where the Stretch 3.0.3 version is broken because of our newer libva and ffmpeg. Getting va-api acceleration working on Intel involves installing i965-va-driver, though...we probably should include that on the ISO in the future if we update VLC.

I'd like to see a few more positive reports from users before we move 3.0.5 and its load of newer libraries to the main repo, though. It requires a newer libbluray and phonon, for example, among others.

clicktician
Posts: 136
Joined: Sat May 02, 2015 4:35 pm

Re: More testing for VLC 3.0.5?

#2 Post by clicktician »

Stevo wrote: Wed Jan 02, 2019 3:28 pm Those that have installed it from the test repo with MXPI say it went without any problems, and it provides working va-api hardware acceleration for Intel GPUs where the Stretch 3.0.3 version is broken because of our newer libva and ffmpeg. Getting va-api acceleration working on Intel involves installing i965-va-driver, though...we probably should include that on the ISO in the future if we update VLC.
I have the i965 driver installed and I noticed that while I still appear to have ffmpeg va-api hardware decoding in ffmpeg (mpv), I have lost hardware encoding. ffmpeg fails with:

Code: Select all

ffmpeg: i965_encoder.c:1692: intel_enc_hw_context_init: Assertion `encoder_context->mfc_context' failed.
Having decoding without encoding suggests it might just be a flag left off the build or something.
ffmpeg works fine without hardware accel.
Son, someday all this will belong to your ex wife.

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: More testing for VLC 3.0.5?

#3 Post by Stevo »

Hmmm--what do you get for

Code: Select all

apt policy ffmpeg i965-va-driver

clicktician
Posts: 136
Joined: Sat May 02, 2015 4:35 pm

Re: More testing for VLC 3.0.5?

#4 Post by clicktician »

Code: Select all

ffmpeg:
  Installed: 7:3.3.4-1mx17+2
  Candidate: 7:3.3.4-1mx17+2
  Version table:
 *** 7:3.3.4-1mx17+2 500
        500 http://mxrepo.com/mx/repo stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     7:3.2.12-1~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        500 http://security.debian.org stretch/updates/main amd64 Packages
i965-va-driver:
  Installed: 2.2.0+dfsg1-2~mx17+1
  Candidate: 2.2.0+dfsg1-2~mx17+1
  Version table:
 *** 2.2.0+dfsg1-2~mx17+1 500
        500 http://mxrepo.com/mx/repo stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.3-1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages

Son, someday all this will belong to your ex wife.

User avatar
mmikeinsantarosa
Developer
Posts: 2192
Joined: Thu May 01, 2014 10:12 am

Re: More testing for VLC 3.0.5?

#5 Post by mmikeinsantarosa »

I loaded up 3.0.5 and all the plugins and nothing untoward to report here.
LT: MX19.1 Quad Core model: Intel Core i7-6820HQ Kernel: 5.0.0-7.1-liquorix-amd64 x86_64

User avatar
asqwerth
Developer
Posts: 7210
Joined: Sun May 27, 2007 5:37 am

Re: More testing for VLC 3.0.5?

#6 Post by asqwerth »

Are there other media players besides VLC that anyone uses to play blu-ray media (I have no idea as I don't even watch bluray stuff)? Is this other player still able to play bluray media after the installation of the new libraries? That might be a relevant test.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: More testing for VLC 3.0.5?

#7 Post by Stevo »

clicktician wrote: Thu Jan 03, 2019 10:47 am

Code: Select all

ffmpeg:
  Installed: 7:3.3.4-1mx17+2
  Candidate: 7:3.3.4-1mx17+2
  Version table:
 *** 7:3.3.4-1mx17+2 500
        500 http://mxrepo.com/mx/repo stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     7:3.2.12-1~deb9u1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        500 http://security.debian.org stretch/updates/main amd64 Packages
i965-va-driver:
  Installed: 2.2.0+dfsg1-2~mx17+1
  Candidate: 2.2.0+dfsg1-2~mx17+1
  Version table:
 *** 2.2.0+dfsg1-2~mx17+1 500
        500 http://mxrepo.com/mx/repo stretch/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.3-1 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages

The "+2" at the end of the ffmpeg version shows that's the version I rebuilt against our current Mesa and libva libraries in to get va-api working for playback, so I don't have any idea why that broke it for encoding. :frown:

We also have a newer ffmpeg 4.0.3 in the test repo that you can try, but it may have the same problem. It installs newer versions of libraries alongside the standard ones, libavcodec58 alongside libavcodec57 as an example, so won't break VLC va-api playback.

clicktician
Posts: 136
Joined: Sat May 02, 2015 4:35 pm

Re: More testing for VLC 3.0.5?

#8 Post by clicktician »

Stevo wrote: Thu Jan 03, 2019 4:58 pm The "+2" at the end of the ffmpeg version shows that's the version I rebuilt against our current Mesa and libva libraries in to get va-api working for playback, so I don't have any idea why that broke it for encoding. :frown:
Ah. Thanks, man. No worries. The gods of linux giveth... and they taketh away. Hahaha.
Son, someday all this will belong to your ex wife.

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: More testing for VLC 3.0.5?

#9 Post by Stevo »

I wonder if the static ffmpeg version you can download and just run in a directory supports the va-api encoding.

https://johnvansickle.com/ffmpeg/

Edit: the Google says not:
This is nothing to do with ffmpeg: libva cannot be linked into a static binary because it requires the dynamic linker to do driver loading.

User avatar
entropyfoe
Posts: 590
Joined: Thu Apr 19, 2007 11:42 am

Re: More testing for VLC 3.0.5?

#10 Post by entropyfoe »

Stevo,

I had a few minutes spare last night so I grabbed 3.0.5 from the test repo and installed.

Out side of lots of packages, the install went well, and I tested on three different media file formats, all seemed to work normally, so it is working for me at a basic level.
Asus PRIME X470-PRO
AMD Ryzen 3600X (12 threads @ 3.8 GHz)
32 Gig DDR4 3600 (Crucial CL 16)
Nvidia GeForce GT 710
Samsung 970 NVMe nvme0n1 P1-3=MX-23, P4=testing
Samsung 980 NVMe =1TB Data, plus 2TB WD =backups
on-board ethernet & sound

Post Reply

Return to “General”