View unanswered posts | View active topics It is currently Thu May 23, 2013 9:38 pm



Reply to topic  [ 7 posts ] 
 MPlayer VA API error with new kernel from PPA 
Author Message

Joined: Tue Apr 28, 2009 11:35 am
Posts: 6
Post MPlayer VA API error with new kernel from PPA
I've been compiling some kernels to enable TUN/TAP drivers, so I can use my Fit-PC2 as a media centre and a IPv6 tunnel gateway. I did this before, on the previous kernel from the PPA and everything worked fine. Then I reinstalled my Fit-PC2, because my mplayer installation got bugged. I got the fresh start running again, and everything worked fine.

So I decided to build a new kernel using the (new) .tar.gz supplied by the Fit-PC2 PPA. I have used both the .config from the original kernel and in another attempt the .config supplied by the package. Both end in the same failure: everything works as expected (including IPv6) except mplayer doesn't work with hardware support anymore.

It gives the following output:

Code:
$ mplayer voa-ghostbusters_1080p_x264-sample.mkv
MPlayer SVN-r28469-4.2.4 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Atom(TM) CPU Z530   @ 1.60GHz (Family: 6, Model: 28, Stepping: 2)
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing voa-ghostbusters_1080p_x264-sample.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang eng
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1920x800  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
libva: va_DRI_GetDriverName: 0.1.0 psb (screen 0)
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va-0.29/drivers/psb_drv_video.so
libva: va_openDriver() returns 0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] VA API accelerated codec.
Selected video codec: [ffh264vaapi] vfm: ffmpeg (FFmpeg H.264 (VA API))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 800 (preferred colorspace: H.264 VA API Acceleration)
VDec: using H.264 VA API Acceleration as output csp (no 0)
Movie-Aspect is 2.40:1 - prescaling to correct movie aspect.
VO: [vaapi] 1920x800 => 1920x800 H.264 VA API Acceleration
vo_vaapi::find_free_surface(): rds->state != 0
vo_vaapi::find_free_surface(): rds->state != 0
mplayer: vaapivideo.c:1660: ff_vaapi_h264_frame_end: Assertion `status == 0x00000000' failed.


[b]MPlayer interrupted by signal 6 in module: decode video[/b]
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.


Is there maybe a patch or a module missing in the new kernel package? Does anybody have a clue what would cause this problem?


Sun Jun 28, 2009 10:52 am
Profile

Joined: Sun Apr 26, 2009 3:24 pm
Posts: 261
Post Re: MPlayer VA API error with new kernel from PPA
You mean that with fresh install you can play voa-ghostbusters_1080p_x264-sample.mkv and with custom kernel not?

(Not related to the mplayer - kernel config on default installation and on ppa is the same config - save compiling time)

_________________
Denis, Fit-PC2/3/IntensePC support


Sun Jun 28, 2009 12:31 pm
Profile

Joined: Tue Apr 28, 2009 11:35 am
Posts: 6
Post Re: MPlayer VA API error with new kernel from PPA
Yes, that is exactly correct. With the original kernel the file plays just fine, but with the custom kernel (which only enables TUN) the error is given. When I reboot into the original kernel, mplayer works just fine.


Sun Jun 28, 2009 4:27 pm
Profile

Joined: Sun Apr 26, 2009 3:24 pm
Posts: 261
Post Re: MPlayer VA API error with new kernel from PPA
Strange. Can you send me your new .config with TUN/TAP enabled? I will test it tommorow. The only thing I can think about is some another kernel settings were affected during recompiling..

_________________
Denis, Fit-PC2/3/IntensePC support


Sun Jun 28, 2009 5:02 pm
Profile

Joined: Tue Apr 28, 2009 11:35 am
Posts: 6
Post Re: MPlayer VA API error with new kernel from PPA
Strange indeed. I don't see anything weird in the diff between the versions:

Code:
diff /usr/src/linux-2.6.24.7.orig/.config /boot/config-2.6.24.7-v1-fitpc2
3,4c3,4
< # Linux kernel version: 2.6.24.7-v2-fitpc2
< # Fri Jun 26 20:01:48 2009
---
> # Linux kernel version: 2.6.24.7-v1-fitpc2
> # Mon Apr 20 10:25:52 2009
1171c1171
< CONFIG_TUN=m
---
> # CONFIG_TUN is not set
2152c2152
< # CONFIG_USB_DEBUG is not set
---
> CONFIG_USB_DEBUG=y


But just to be thorough I've uploaded the .config here: http://www.freshway.biz/files/fitpc2.config


Sun Jun 28, 2009 6:02 pm
Profile

Joined: Tue Apr 28, 2009 11:35 am
Posts: 6
Post Re: MPlayer VA API error with new kernel from PPA
Denis, were you able to reproduce the issue?


Fri Jul 03, 2009 12:53 pm
Profile

Joined: Sun Apr 26, 2009 3:24 pm
Posts: 261
Post Re: MPlayer VA API error with new kernel from PPA
Yes, I installed new kernel and mplayer-vaapi gone. Rebuilding from sources didn`t helped. I`m keep trying..

_________________
Denis, Fit-PC2/3/IntensePC support


Fri Jul 03, 2009 5:14 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.