You are not logged in.

#1 2011-11-08 22:48:10

zainin
Member
From: Poland
Registered: 2010-10-23
Posts: 33

Mplayer-vaapi, interrupted by signal 11

Hello there,

I've been trying to get mplayer to use video acceleration, but it still crashes. I tried reinstalling, changing xorg.conf, but it just doesn't work.

My specs are:
Kernel 3.0
Radeon HD 5650 + catalyst 11.10
mplayer-vaapi (lastest from community repo)
libva 1.0.15
xvba-video 0.7.8
Xorg 1.10.4

Here's what mplayer says:

$ mplayer movie.mp4 -vo vaapi:gl -va vaapi
MPlayer SVN-r34180-4.6.1 (C) 2000-2011 MPlayer Team
166 audio & 372 video codecs
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 movie.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1920x1080  24bpp  25.000 fps  2633.7 kbps (321.5 kbyte/s)
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isommp42
 creation_time: 2011-03-10 20:28:39
Load subtitles in ./
[vo_vaapi] Using OpenGL rendering
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
Opening video filter: [ass auto=1]
Couldn't open video filter 'ass'.
ASS: cannot add video filter
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 127.8 kbit/9.06% (ratio: 15979->176400)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 1920x1080 => 1920x1080 H.264 VA-API Acceleration  [fs]
[VD_FFMPEG] XVMC-accelerated MPEG-2.


MPlayer interrupted by signal 11 in module: decode video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- 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.

And here's vainfo output:

$ vainfo
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD

I'm not sure if the "Xfree86-DRI" error has something to do with it, but I can't get rid of this either.

And in the end, here's the xorg.conf:

Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
    Load "extmod"
    Load "glx"
    Load "dri"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "ServerFlags"
	Option	   "AIGLX" "off"
EndSection

Section "DRI"
	Group 0
	Mode 0666
EndSection

Offline

#2 2011-11-18 00:32:23

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: Mplayer-vaapi, interrupted by signal 11

I use vaapi with my ati card and I had similar errors. With ati's vaapi you can't have any of mplayer's video filters on. I can see that it's trying to use filter ass. Do you have that in your mplayer config file?

Offline

#3 2011-11-18 16:38:52

zainin
Member
From: Poland
Registered: 2010-10-23
Posts: 33

Re: Mplayer-vaapi, interrupted by signal 11

Yes, I do, however disabling ASS doesn't change anything. I still get the same error.

Here's my mplayer config: http://pastebin.com/QmiTBbCU

Offline

#4 2011-11-20 02:33:35

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: Mplayer-vaapi, interrupted by signal 11

I see your problem. To use vaapi you can't use lavadopts threads. Comment out that line and it should work.

Offline

#5 2011-11-22 14:19:58

zainin
Member
From: Poland
Registered: 2010-10-23
Posts: 33

Re: Mplayer-vaapi, interrupted by signal 11

Well, that's strange. I was pretty sure it worked before with lavadopts. Thanks for help.
And one more question... Does vaapi work with mplayer windowed? Because for me it works only in fullscreen.

Offline

#6 2011-11-22 22:40:52

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: Mplayer-vaapi, interrupted by signal 11

It works for me windowed. What happens in windowed mode for you?

Offline

#7 2011-11-22 22:52:51

zainin
Member
From: Poland
Registered: 2010-10-23
Posts: 33

Re: Mplayer-vaapi, interrupted by signal 11

The frame at which I've pressed F stays on the screen until I return to fullscreen.
By the way, vaapi also makes subtitles look bad. They're very low quality in fullscreen, very blurred. With vaapi disabled they look fine. I remember I've had this problem before, but now I can't find my old config nor the solution. I think it had something to do with mplayer not scaling subtitles size when entering fullscreen...

Offline

#8 2011-11-23 19:22:11

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: Mplayer-vaapi, interrupted by signal 11

That's odd mine doesn't do that. I don't have any subtitle videos to test the blurring effect with. My mplayer config is:

[default]
fs=true
vo=vaapi
va=vaapi
ao=pulse

[gnome-mplayer]
fs=true
vo=vaapi
va=vaapi
ao=pulse
msglevel=all=5

Offline

#9 2011-11-25 13:25:39

zainin
Member
From: Poland
Registered: 2010-10-23
Posts: 33

Re: Mplayer-vaapi, interrupted by signal 11

Well, I've checked how it works in smplayer: windowed mode works, but subtitles are still blurred.

Offline

#10 2011-11-26 19:56:10

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: Mplayer-vaapi, interrupted by signal 11

I found some subtitle files but I can't reproduce the blurring effect with mplayer, gnome-mplayer or smplayer. They all work fine. Maybe you want to start with a fresh mplayer config file and see if they are blurry with the default config.

Offline

#11 2011-11-27 02:04:33

zainin
Member
From: Poland
Registered: 2010-10-23
Posts: 33

Re: Mplayer-vaapi, interrupted by signal 11

Hmm... That's strange, even with fresh config I still have the same issues. I wonder why it happens with vaapi, but but with vo set to gl there's no problem.

Offline

#12 2011-11-27 21:44:25

coolbooks2
Member
Registered: 2009-02-12
Posts: 19

Re: Mplayer-vaapi, interrupted by signal 11

I'm running catalyst 11.11 with xorg-server 1.11. Maybe upgrading will fix it? I tried reverting to the version you have but I can't reproduce it. It is a very odd issue. Just if you upgrade don't use xv on any player it makes xorg crash.

Offline

#13 2011-12-03 00:56:20

zainin
Member
From: Poland
Registered: 2010-10-23
Posts: 33

Re: Mplayer-vaapi, interrupted by signal 11

After full system upgrade nothing's changed. I guess I'll stick to gl until I find a solution.
I know there is a solution somewhere, because I've found it once. I just can't find it again...

Offline

Board footer

Powered by FluxBB