Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xbmc + vaapi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
syphering
n00b
n00b


Joined: 13 Feb 2007
Posts: 53
Location: France

PostPosted: Sat Feb 25, 2012 3:06 pm    Post subject: xbmc + vaapi Reply with quote

hi !

I have FUSION350-A-E (AMD E-350 APU 1.6 GHz Dual-Core, AMD Radeon™ HD 6310 and 8Go ddr3) for my htpc.

My Gentoo amd64 works well but xbmc can't play movie with vaapi. Vaapi is on in xbmc, but when i read movie i have a black screen. When i press 'o' i use dc:ff-h264 but no dc:ff-h264-vaappi.

Some informations about my configuration :

Code:
htpc ~ # uname -a
Linux htpc 3.2.1-gentoo-r2 #1 SMP Tue Jan 31 06:31:34 CET 2012 x86_64 AMD E-350 Processor AuthenticAMD GNU/Linux


Code:
htpc dri # ls -l /usr/lib/dri
total 31528
-rwxr-xr-x 1 root root 32282432 Jan 31 09:56 fglrx_dri.so
lrwxrwxrwx 1 root root       19 Feb 23 20:03 i810_dri.so -> ../mesa/i810_dri.so
lrwxrwxrwx 1 root root       19 Jan 31 19:46 i915_dri.so -> ../mesa/i915_dri.so
lrwxrwxrwx 1 root root       20 Feb 23 20:03 i915g_dri.so -> ../mesa/i915g_dri.so
lrwxrwxrwx 1 root root       19 Jan 31 19:46 i965_dri.so -> ../mesa/i965_dri.so
lrwxrwxrwx 1 root root       20 Feb 23 20:03 i965g_dri.so -> ../mesa/i965g_dri.so
lrwxrwxrwx 1 root root       19 Feb 23 20:03 r200_dri.so -> ../mesa/r200_dri.so
lrwxrwxrwx 1 root root       20 Jan 31 09:28 r300_dri.so -> ../mesa/r300g_dri.so
lrwxrwxrwx 1 root root       20 Feb 23 20:03 r300g_dri.so -> ../mesa/r300g_dri.so
lrwxrwxrwx 1 root root       20 Jan 31 09:28 r600_dri.so -> ../mesa/r600g_dri.so
lrwxrwxrwx 1 root root       20 Feb 23 20:03 r600g_dri.so -> ../mesa/r600g_dri.so
lrwxrwxrwx 1 root root       21 Feb 23 20:03 radeon_dri.so -> ../mesa/radeon_dri.so
lrwxrwxrwx 1 root root       22 Jan 31 09:28 swrast_dri.so -> ../mesa/swrastg_dri.so
lrwxrwxrwx 1 root root       22 Feb 23 20:03 swrastg_dri.so -> ../mesa/swrastg_dri.so


Code:
htpc drivers # ls -l /usr/lib/va/drivers
total 860
-rwxr-xr-x 1 root root 121552 Jan 31 19:14 fglrx_drv_video.so
-rwxr-xr-x 1 root root 632104 Feb 19 21:24 i965_drv_video.so
-rwxr-xr-x 1 root root 121552 Jan 31 19:14 xvba_drv_video.so


Code:
htpc drivers # cat /etc/environment
LIBVA_DRIVER_NAME=xvba
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers


Code:
htpc drivers # cat /etc/make.conf     
CFLAGS="-O2 -pipe"
CXXFLAGS="${CFLAGS}"
CFLAGS="-march=amdfam10 -O2 -pipe -mno-3dnow -mcx16 -mpopcnt -mssse3 -msse4a"
MAKEOPTS="-j3"
USE="opengl mmx sse sse2 win32codecs x264 X mp3 xvid vaapi ssl -ipv6 -bluetooth -ldap -cups -gnome"
VIDEO_CARDS="fglrx"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"
LINGUAS="fr"


Code:
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.8.0
vainfo: Supported profile and entrypoints
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD


Code:
htpc drivers # cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
        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:0:1:0"
        Option      "UseFastTLS" "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 "DRI"
        Mode         0666
EndSection


Code:
htpc drivers # qlist -Iv xbmc libva libdrm
media-tv/xbmc-11.0_beta3
x11-libs/libdrm-2.4.27
x11-libs/libva-1.0.15
x11-libs/libva-intel-driver-1.0.15
x11-libs/xvba-video-0.8.0


Code:
[ebuild   R    ] x11-libs/libdrm-2.4.27  USE="libkms -static-libs" VIDEO_CARDS="intel radeon -nouveau -vmware" 0 kB
[ebuild   R    ] x11-libs/libva-1.0.15  USE="opengl" VIDEO_CARDS="fglrx -dummy -intel -nvidia" 0 kB
[ebuild   R    ] x11-libs/xvba-video-0.8.0  0 kB
[ebuild   R   ~] media-tv/xbmc-11.0_beta3  USE="projectm rsxs samba sse sse2 vaapi webserver xrandr -airplay -alsa (-altivec) -avahi -bluray -css -debug -goom -joystick -midi -mysql -profile -pulseaudio -pvr -rtmp -udev -vdpau" 0 kB




If somebody can help me ;)

Thanks
_________________

Core 2 Quad Q9550 - 8 Go DDR2 Corsair - WD Caviar Black 500 Go - ATI HD5750 1 Go DDR5
Zotac Fusion-itx Wifi - 8 Go DDR3 G.Skill - Seagate 320 Go - WD Caviar Green 2 To - 1080P - 5.1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum