You are not logged in.
Like the title says, i get this error when i try to run mplayer:
$ mplayer -vo vaapi -va vaapi virtual/t.mkv
MPlayer SVN-r34357-4.6.2 (C) 2000-2011 MPlayer Team
176 audio & 379 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 virtual/t.mkv.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0,
[lavf] stream 1: audio (dca), -aid 0, -alang eng, DTS-CORE 1536K
VIDEO: [H264] 1920x800 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in virtual/
libva: VA-API version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/dri//xvba_drv_video.so
libva error: /usr/lib/dri//xvba_drv_video.so init failed
libva: va_openDriver() returns -1
[vo_vaapi] vaInitialize(): unknown libva error
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 3.0 (03.0) of 58.6 (58.6) 6.1% $ mplayer -vo help
MPlayer SVN-r34357-4.6.2 (C) 2000-2011 MPlayer Team
176 audio & 379 video codecs
Available video output drivers:
xv X11/Xv
gl_nosw OpenGL no software rendering
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
gl OpenGL
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
fbdev Framebuffer Device
fbdev2 Framebuffer Device
matrixview MatrixView (OpenGL)
aa AAlib
caca libcaca
v4l2 V4L2 MPEG Video Decoder Output
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
xvmc XVideo Motion Compensation
mpegpes MPEG-PES to DVB card
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
mng MNG file
vaapi VA API with X11I get sound, but no picture. If i run mplayer without the extra options i get a picture, but no hw acceleration.
I run catalyst and have installed xvba-video and mplayer-vaapi. The card it runs on is ATI HD 6310 over HDMI
Any ideas or tips on what I can do?
Last edited by jhnns (2011-12-14 22:25:31)
Offline
isn't clear enough?
libva: Trying to open /usr/lib/dri//xvba_drv_video.so
libva error: /usr/lib/dri//xvba_drv_video.so init failed
libva: va_openDriver() returns -1
[vo_vaapi] vaInitialize(): unknown libva error
Error opening/initializing the selected video_out (-vo) device.same issue should exist if you type vainfo
Give what you have. To someone, it may be better than you dare to think.
Offline
isn't clear enough?
libva: Trying to open /usr/lib/dri//xvba_drv_video.so libva error: /usr/lib/dri//xvba_drv_video.so init failed libva: va_openDriver() returns -1 [vo_vaapi] vaInitialize(): unknown libva error Error opening/initializing the selected video_out (-vo) device.same issue should exist if you type vainfo
$ vainfo
vainfo: Error, can't open display: ''I guess its clear, but i dont know how to fix it. When i type mplayer -vo help it says that I have vaapi.
Offline
Hey I got the same problem with the same card, after install the new kernel and fglrx, i guess, before that mplayer works fine:
lamnk:~ % vainfo
libva: VA-API version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/dri//xvba_drv_video.so
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (ATIFGLEXTENSION)
Minor opcode of failed request: 67 ()
Value in failed request: 0x17
Serial number of failed request: 10
Current serial number in output stream: 10lamnk:~ % mplayer hello.avi
MPlayer SVN-r34357-4.6.2 (C) 2000-2011 MPlayer Team
176 audio & 379 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 hello.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x352 12bpp 23.976 fps 920.6 kbps (112.4 kbyte/s)
Clip info:
Software: Nandub v1.0rc2
Load subtitles in ./
SUB: Added subtitle file (1): ./hello.sub
[vo_vaapi] Using OpenGL rendering
libva: VA-API version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/dri//xvba_drv_video.so
X11 error: BadValue (integer parameter out of range for operation)
xvba_video: XVBA_CreateContext(): status 11
libva error: /usr/lib/dri//xvba_drv_video.so init failed
libva: va_openDriver() returns -1
[vo_vaapi] vaInitialize(): unknown libva error
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
It's for you, right?
A: 9.0 (09.0) of 11029.7 ( 3:03:49.6) 1.3%
MPlayer interrupted by signal 2 in module: play_audio
A: 9.1 (09.0) of 11029.7 ( 3:03:49.6) 1.3%
Exiting... (Quit)Offline
Maybe this helps?
http://forum.xbmc.org/showthread.php?t=99154
See also...
https://wiki.archlinux.org/index.php/AT … celeration
Offline
I rebuilt the module with
% sudo /usr/bin/catalyst_build_module allthen reinstalled all the xvba related packages mentioned in Arch Wiki then rebooted.
Now plain mplayer doesn't work. I must specify -va vaapi and -vo vaapi switches. Then it works. Otherwise X will crash.
Offline
I don't really use mplayer, but I noticed with VLC that I had to turn off hardware acceleration in VLC preferences for VLC to work. Might need to do something similar in mplayer when not using vaapi.
Offline
Dunno, I work around the crash issue by adding "vo=vaapi" in .mplayer/config
The new Tear-Free-Desktop feature is really nice, it noticeably improve picture quality in videos.
Offline
Maybe this helps?
http://forum.xbmc.org/showthread.php?t=99154
Thanks! I installed ubuntu and followed that guide, it worked out nicely.
I guess i'm not ready to take the arch step on to the desktop yet.
Offline