Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: fodder on August 23, 2013, 11:56:38 AM

Title: [SOLVED] Intel HD + VAAPI + Mplayer
Post by: fodder on August 23, 2013, 11:56:38 AM
I honestly wasn't sure where to best post this problem since it involves several different packages/libs/etc.  I am posting here in the hopes that it is a common enough type of problem that TC users run into that someone will have some advice to at least push me in the right direction!

Goal: Play hardware accelerated (GPU) h.264 video using Mplayer
Hardware: Intel DCCP847DYE (NUC with Intel HD Graphics)
Tiny Core Version: 4.7.7

Using the process listed below everything compiles and installs correctly and I am able to get very high bitrate video (and audio) to play beautifully...but only for one track!  As soon as the track ends or I quit Mplayer, X completely freezes and I have to do a hard reset.

It appears to be the same problem that this person experienced a few months back: http://webcache.googleusercontent.com/search?q=cache:0Nop9g-Ja38J:https://labs.parabola.nu/issues/291+

And something changed recently in one of the packages (libva, intel-driver, ffmpeg, or mplayer-vaapi) that forced a lot of people revert to keep things working: https://bbs.archlinux.org/viewtopic.php?pid=1306150

I am using libva-1.1.1 and libva-intel-driver-1.0.20 because they work with the version of libdrm that is included with Xorg-7.6.  From there I have tried several versions of ffmpeg but only 2.0.1 seems to work with everything (up to the crash that I am experiencing.)

The questions bouncing around in my head right now are along these lines:

As always, any help will be greatly appreciated.

fodder


Compile Steps:


Title: Re: Intel HD + VAAPI + Mplayer
Post by: curaga on August 24, 2013, 03:40:18 AM
You could try TC 5, as it has a newer Xorg, so you could test the newer Intel packages too.
Title: Re: Intel HD + VAAPI + Mplayer
Post by: fodder on August 28, 2013, 06:30:42 PM
You could try TC 5, as it has a newer Xorg, so you could test the newer Intel packages too.

Sorry so long in getting back to you - I have been sick for the last several days.

I finally got a chance to try TC5 and it worked like charm.  Thanks so much for the suggestion!

I used the following (latest) versions and compiled exactly as I posted above:

Title: Re: [SOLVED] Intel HD + VAAPI + Mplayer
Post by: curaga on August 29, 2013, 06:14:21 AM
No issue, we all have varying timescales here, a week is nothing ;)