You are not logged in.
I'm having trouble using mplayer2 to play videos using the radeon video driver. It keeps defaulting to x11 because vaapi and xv don't want to work.
MPlayer2 2.0-726-g6c87a98 (C) 2000-2012 MPlayer Team
Cannot open file '/home/tom/.mplayer/input.conf': No such file or directory
Failed to open /home/tom/.mplayer/input.conf.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Playing something.mp4.
Detected file format: QuickTime / MOV (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
Clip info:
major_brand: mp42
minor_version: 0
compatible_brands: isommp42
creation_time: 2011-10-11 15:34:23
Load subtitles in .
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
[ass] auto-open
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 44100 Hz, 2 ch, floatle, 152.0 kbit/5.39% (ratio: 19003->352800)
AO: [pulse] Init failed: Connection refused
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
VIDEO: 1280x720 30.000 fps 2394.7 kbps (299.3 kB/s)
VO: [x11] 1280x720 => 1280x720 Planar YV12
[swscaler @ 0x7fc7bc212e60]using unscaled yuv420p -> bgra special converter
Colorspace details not fully supported by selected vo.I'm not sure if this belongs in the hardware section or not.
Last edited by xoma (2013-08-11 01:03:10)
Offline
What card is this? What's the output of 'mplayer -vo help'?
Offline
MPlayer2 2.0-726-g6c87a98 (C) 2000-2012 MPlayer Team
Available video output drivers:
vdpau VDPAU with X11
xv X11/Xv
gl3 OpenGL 3.x
gl OpenGL
x11 X11 ( XImage/Shm )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
caca libcaca
v4l2 V4L2 MPEG Video Decoder Output
null Null video output
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
gl_nosw OpenGL no software renderingIt's an HD 7770
Offline
What's the output of xvinfo?
Offline
X-Video Extension version 2.2
screen #0
no adaptors presentOffline
What's the output of 'xrandr'?
Offline
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 16384 x 16384
DisplayPort-0 connected 1600x900+0+0 (normal left inverted right x axis y axis) 443mm x 249mm
1600x900 60.0*+
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1366x768 60.0
1360x768 60.0
1280x800 74.9 59.8
1152x864 75.0
1280x768 74.9 59.9
1280x720 59.9
1024x768 75.0 70.1 60.0
1024x576 60.0
800x600 72.2 75.0 60.3 56.2
848x480 60.0
640x480 75.0 72.8 60.0
720x400 70.1
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
DVI-1 disconnected (normal left inverted right x axis y axis)Offline
if you happen to be using glamor as accelmethod, xv doesn't currently work with it.
I switched to using gl2 output because of this, you could try if that works for you.
never bothered to mess with vdpau myself, but this
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directorysuggest it is trying to use nvidia's vdpau backend for you ati card. did you check the vdpau section in arch wiki mplayer page?
Last edited by ooo (2013-08-11 08:30:09)
Offline
Thanks ooo. It says on the wiki people using southern bridge have glamor automatically enabled. Is there a way to disable this besides recompiling the driver?
EDIT: I disabled glamor and rebooted by recompiling the driver. Didn't change anything.
Last edited by xoma (2013-08-11 16:51:12)
Offline
normally you should be able to revert back to EXA acceleration (which is actually really slow compared to glamor) by putting something like this in/etc/X11/xorg.conf.d/20-radeon.conf
Section "Device"
Identifier "My Graphics Card"
Driver "radeon"
Option "AccelMethod" "EXA"
EndSectionbut, apparently exa support might still be missing for radeonsi. x.org radeon feature page says 'gallium' and even though I keep hearing about gallium drivers I have no idea what that could mean in practice.
if I'm not mistaken xv support for glamor was going to be gsoc project this year so hopefully this will be fixed in near future.
looks like vdpau should work with glamor (and radeonsi) but again, I have very limited experience of so I really can't tell for sure.
sorry I couldn't help much. best advice I can give is using opengl output until things get better..
Last edited by ooo (2013-08-11 21:47:10)
Offline
There is no EXA for radeonSI and there never will be, there is only glamor. Xv was indeed a GSoC project, but it never even started, so don't count on having Xv support anytime soon.
VDPAU works, but only with mesa 9.2, which isn't released yet. Until it is (release date is August 22nd), you need to use mesa-git from AUR.
Offline
Thanks guys. I think I'll just wait until the software I need is released then. On my hardware X11 actually works good enough even for 1080p videos. But it's good to know that I'll be able to use VDPAU soon.
EDIT: I thought EXA was for mostly newer cards? I have it enabled in one of my config files. Should I disable it?
Last edited by xoma (2013-08-11 22:31:27)
Offline
exa is older acceleration method and slower than glamor.
If you have enabled it, xorg will simply fall back to glamor since exa isn't supported for your card.
Offline