View Single Post
Old 02-09-10, 09:40 AM   #8
cormanaz
Registered User
 
Join Date: Feb 2010
Posts: 5
Default Re: Freeze/X lockup during VDPAU playback

Thanks for all the help on proper mplayer parameters. I'm not a regular use of it, so...

I did not update mplayer per suggestion of cehoyos because what I have is the latest available on RPM Fusion and I try to avoid installing things manually when I can. If someone thinks it might matter to this test I could do it, though.

The correct settings got rid of the audio sync problems. It also reproduced on mplayer the problems I am having with the MythTV player. Right after starting the video the console shows:

Code:
[root@mythtv recordings]# mplayer -vo vdpau -vc ffh264vdpau -ao alsa -demuxer lavf -nocorrect-pts 1751_20100206013000.mpg
MPlayer SVN-r29800-4.4.2 (C) 2000-2009 MPlayer Team
mplayer: could not open config files /root/.lircrc and /etc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing 1751_20100206013000.mpg.
libavformat file format detected.
[mpegts @ 0x165c490]max_analyze_duration reached
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
LAVF: Program 1 
VIDEO:  [H264]  1920x1080  0bpp  59.940 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 136.1 kbit/8.86% (ratio: 17015->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration 
A:   2.6 V:   2.6 A-V:  0.007 ct:  0.047 134/134  8%  4%  1.2% 1 0


On the first try the video played for about 30 sec then hung, with nothing unusual looking in the console. I did not copy down the numbers showing on the status line, so thinking that could be important I rebooted any played it again.

This time it got maybe 4 min into the video and crashed with a kernel panic. One odd thing that has not happened before is that the sound card kept playing about 1 sec of audio from the point of the crash, repeating it over and over until reboot. For some reason though, and unfortunately, even though the kdump service was running and it seemed to go into the crash kernel, there was no core dump in /etc/crash.

So I played the vid again, and this time it got more than 20 min into the program, and locked up (no panic). The values on the status line when it hung were:

A: 1723.7 V: 1723.7 A-V: 0.004 ct: 0.051 103289/103289 0% 0% 1.0% 2 0
cormanaz is offline   Reply With Quote