PDA

View Full Version : [mythbuntu] 10.4 Ati driver with using Via XvMC



seppl82
June 13th, 2010, 11:18 AM
Dear all ATI users,

i've installed the ATI wrapper (xvba-video) for VIA XvMC and all necessary libs for via hardware acceleration (libva1, libva1-dbf, libva-dev).

http://www.linuxquestions.org/questions/linux-desktop-74/amd-hd-series-graphics-guide-optimizing-video-playback-for-mythtv-mplayer-and-others-786335/

But i think it is not working in a way i like to have it :-(

I've changed my rendering setting to use VIA XvMC as decoder with xvmc-blit but if i try to start watching TV the CPU goes up to 100%.
I've found this in the var/log/mythtv/



2010-06-13 12:16:04.033 mythfrontend version: branches/release-0-23-fixes [24158] www.mythtv.org
2010-06-13 12:16:04.034 Using runtime prefix = /usr
2010-06-13 12:16:04.034 Using configuration directory = /home/frsc/.mythtv
2010-06-13 12:16:04.723 Empty LocalHostName.
2010-06-13 12:16:04.723 Using localhost value of frsc-media
2010-06-13 12:16:04.727 New DB connection, total: 1
2010-06-13 12:16:04.729 Connected to database 'mythconverg' at host: localhost
2010-06-13 12:16:04.730 Closing DB connection named 'DBManager0'
2010-06-13 12:16:04.736 ScreenSaverX11Private: XScreenSaver support enabled
2010-06-13 12:16:04.736 DPMS is disabled.
2010-06-13 12:16:04.737 Primary screen: 0.
2010-06-13 12:16:04.738 Connected to database 'mythconverg' at host: localhost
2010-06-13 12:16:04.739 Using screen 0, 1680x1050 at 0,0
2010-06-13 12:16:04.746 Desktop video mode: 1680x1050 59.9556 Hz
2010-06-13 12:16:05.161 MythUI Image Cache size set to 20971520 bytes
2010-06-13 12:16:05.171 Enabled verbose msgs: important general
2010-06-13 12:16:05.181 Connecting to lcd server: 127.0.0.1:6545 (try 1 of 10)
2010-06-13 12:16:05.183 New DB connection, total: 2
2010-06-13 12:16:05.183 Connected to database 'mythconverg' at host: localhost
2010-06-13 12:16:05.184 Primary screen: 0.
2010-06-13 12:16:05.185 Using screen 0, 1680x1050 at 0,0
2010-06-13 12:16:05.185 Using theme base resolution of 1280x720
2010-06-13 12:16:05.190 LIRC: Successfully initialized '/dev/lircd' using '/home/frsc/.mythtv/lircrc' config
2010-06-13 12:16:05.190 JoystickMenuThread Error: Joystick disabled - Failed to read /home/frsc/.mythtv/joystickmenurc
2010-06-13 12:16:05.220 Using Frameless Window
2010-06-13 12:16:05.221 Using Full Screen Window
2010-06-13 12:16:05.387 Using the Qt painter
2010-06-13 12:16:05.429 XMLParseBase: Loaded base theme from '/usr/share/mythtv/themes/Mythbuntu/base.xml'
2010-06-13 12:16:05.433 XMLParseBase: Loaded base theme from '/usr/share/mythtv/themes/default-wide/base.xml'
2010-06-13 12:16:05.437 XMLParseBase: Loaded base theme from '/usr/share/mythtv/themes/default/base.xml'
2010-06-13 12:16:05.437 XMLParseBase, Error: Unable to load window 'backgroundwindow' from base
2010-06-13 12:16:05.442 Current MythTV Schema Version (DBSchemaVer): 1254
2010-06-13 12:16:05.739 Registering Internal as a media playback plugin.
2010-06-13 12:16:05.758 Cannot load language en_us for module mytharchive
2010-06-13 12:16:05.775 MonitorRegisterExtensions(0x100, gif,jpg,png)
2010-06-13 12:16:05.775 Cannot load language en_us for module mythgallery
2010-06-13 12:16:05.777 Cannot load language en_us for module mythmovies
2010-06-13 12:16:05.787 Current MythMusic Schema Version (MusicDBSchemaVer): 1017
2010-06-13 12:16:05.819 MonitorRegisterExtensions(0x40, mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dt s,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2010-06-13 12:16:05.824 Cannot load language en_us for module mythmusic
2010-06-13 12:16:05.829 Current MythVideo Schema Version (mythvideo.DBSchemaVer): 1032
2010-06-13 12:16:05.850 Cannot load language en_us for module mythvideo
2010-06-13 12:16:05.855 Cannot load language en_us for module mythweather
2010-06-13 12:16:05.857 XMLParseBase: Loading window theme from /usr/share/mythtv/themes/Mythbuntu/menu-ui.xml
2010-06-13 12:16:05.886 Loading menu theme from /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
2010-06-13 12:16:05.887 Found mainmenu.xml for theme 'Mythbuntu'
2010-06-13 12:16:06.388 MythContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2010-06-13 12:16:06.389 Using protocol version 56
2010-06-13 12:16:12.744 TV: Attempting to change from None to WatchingLiveTV
2010-06-13 12:16:12.744 MythContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2010-06-13 12:16:12.745 Using protocol version 56
2010-06-13 12:16:12.769 Spawning LiveTV Recorder -- begin
2010-06-13 12:16:13.960 Spawning LiveTV Recorder -- end
2010-06-13 12:16:13.961 ProgramInfo(): Updated pathname '':'' -> '12120_20100613121613.mpg'
2010-06-13 12:16:13.963 We have a playbackURL(/var/lib/mythtv/livetv/12120_20100613121613.mpg) & cardtype(DUMMY)
2010-06-13 12:16:13.963 We have a RingBuffer
2010-06-13 12:16:14.034 NVP(0): Disabling Audio, params(-1,2,44100)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
2010-06-13 12:16:14.067 VDPAU Error: Error at mythrender_vdpau.cpp:1448 (#1, Unknown)
2010-06-13 12:16:14.067 VDPAU Error: Failed to create VDPAU device.
2010-06-13 12:16:14.067 VDPAU Error: No VDPAU device
2010-06-13 12:16:14.067 Failed to create VDPAU render device.
2010-06-13 12:16:14.067 VidOutVDPAU Error: Failed to initialise VDPAU
2010-06-13 12:16:14.071 VideoOutputXv: Desired video renderer 'xvmc-blit' not available.
codec 'None' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2010-06-13 12:16:14.073 VideoOutputXv: XVideo Adaptor Name: 'ATI Radeon AVIVO Video'
2010-06-13 12:16:14.085 ProgramInfo(): Updated pathname '':'' -> '12120_20100613121613.mpg'
2010-06-13 12:16:14.093 OSD Theme Dimensions W: 1280 H: 720
2010-06-13 12:16:14.137 ProgramInfo(): Updated pathname '':'' -> '12120_20100613121613.mpg'
2010-06-13 12:16:14.168 TV: Changing from None to WatchingLiveTV
2010-06-13 12:16:14.168 TV: State is LiveTV & mctx == ctx
2010-06-13 12:16:14.169 New DB connection, total: 3
2010-06-13 12:16:14.169 Connected to database 'mythconverg' at host: localhost
2010-06-13 12:16:14.169 Realtime priority would require SUID as root.
2010-06-13 12:16:14.170 TV: UpdateOSDInput done
2010-06-13 12:16:14.170 TV: UpdateLCD done
2010-06-13 12:16:14.170 TV: ITVRestart done
2010-06-13 12:16:14.172 Video timing method: USleep with busy wait
2010-06-13 12:16:14.945 ProgramInfo(): Updated pathname '':'' -> '12120_20100613121614.mpg'
2010-06-13 12:16:15.688 [h264 @ 0x7fc3b56eb360]mmco: unref short failure
2010-06-13 12:16:18.712 VideoOutputXv: Desired video renderer 'xvmc-blit' not available.
codec 'H.264' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2010-06-13 12:16:18.714 VideoOutputXv: XVideo Adaptor Name: 'ATI Radeon AVIVO Video'
2010-06-13 12:16:18.777 AFD: Opened codec 0x7fc3a00768e0, id(H264) type(Video)
2010-06-13 12:16:18.777 AFD: codec AC3 has 2 channels
2010-06-13 12:16:18.777 AFD: Opened codec 0x7fc3a00904b0, id(AC3) type(Audio)
2010-06-13 12:16:18.777 AFD: codec MP2 has 2 channels
2010-06-13 12:16:18.777 AFD: Opened codec 0x7fc3a00ae290, id(MP2) type(Audio)
2010-06-13 12:16:18.777 AFD: codec MP2 has 2 channels
2010-06-13 12:16:18.777 AFD: Opened codec 0x7fc3a0052df0, id(MP2) type(Audio)
2010-06-13 12:16:18.778 AFD Error: Could not find decoder for codec (DVB_TELETEXT), ignoring.
2010-06-13 12:16:18.778 AFD: Opened codec 0x7fc3a00ab960, id(DVB_SUBTITLE) type(Subtitle)
2010-06-13 12:16:18.909 Opening audio device 'default'. ch 2(2) sr 48000 (reenc 0)
2010-06-13 12:16:18.909 Opening ALSA audio device 'default'.
2010-06-13 12:16:18.933 NVP(0): Enabling Audio
2010-06-13 12:16:19.033 [h264 @ 0x7fc3b56eb360]mmco: unref short failure
2010-06-13 12:16:19.098 [h264 @ 0x7fc3b56eb360]mmco: unref short failure
2010-06-13 12:16:19.228 [h264 @ 0x7fc3b56eb360]number of reference frames exceeds max (probably corrupt input), discarding one
2010-06-13 12:16:24.192 TV: Attempting to change from WatchingLiveTV to None
2010-06-13 12:16:24.561 TV: Changing from WatchingLiveTV to None
2010-06-13 12:16:26.965 Deleting UPnP client...
Error in my_thread_global_end(): 2 threads didn't exit



The interesting part is this


Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
2010-06-13 12:16:14.067 VDPAU Error: Error at mythrender_vdpau.cpp:1448 (#1, Unknown)
2010-06-13 12:16:14.067 VDPAU Error: Failed to create VDPAU device.
2010-06-13 12:16:14.067 VDPAU Error: No VDPAU device
2010-06-13 12:16:14.067 Failed to create VDPAU render device.
2010-06-13 12:16:14.067 VidOutVDPAU Error: Failed to initialise VDPAU
2010-06-13 12:16:14.071 VideoOutputXv: Desired video renderer 'xvmc-blit' not available.
codec 'None' makes 'xv-blit,xshm,xlib,' available, using 'xv-blit' instead.
2010-06-13 12:16:14.073 VideoOutputXv: XVideo Adaptor Name: 'ATI Radeon AVIVO Video'
2010-06-13 12:16:14.085 ProgramInfo(): Updated pathname '':'' -> '12120_20100613121613.mpg'
2010-06-13 12:16:14.093 OSD Theme Dimensions W: 1280 H: 720
2010-06-13 12:16:14.137 ProgramInfo(): Updated pathname '':'' -> '12120_20100613121613.mpg'


vainfo returns:


libva: libva version 0.31.0-sds6
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA API - 0.6.11
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointIDCT
VAProfileMPEG2Main : VAEntrypointIDCT
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD


Anyone have an idea what i'm missing?

THANKS!