[mythtv-users] My Perennial Problems with XvMC

damiendusha at netspace.net.au damiendusha at netspace.net.au
Fri Sep 15 11:15:53 UTC 2006


Hello all on this thread,

I am having similar problems to Dylan with sub-optimal XvMXC usage.  This is my
system:

OS: FC5, running vanilla 2.6.17.13
Processor: P4-2.4Ghz
Graphics Card: NVIDIA 6200, (I think, my AGP is 4x, if that will matter here)
NVIDIA Drivers: 8774 Binary Drivers.
MythTV: 0.20 
Compiled with: --enable-proc-opt --enable-xvmc --enable-dvb --enable-lirc  (I
thinks that's all the flags I used).
Monitor: Sony flat panel LCD 1280x1024, using the analogue in (no twin-view)


Following over in the thread, I can confirm:
  * XvMC is enabled in Mythtv (actually, using the standard MPEG decoder gives
fairly smooth HDTV at around 60% CPU usage)
  * [root at localhost ~]# cat /etc/X11/XvMCConfig
libXvMCNVIDIA_dynamic.so
  * [root at localhost ~]# ls -l /usr/lib/libXv*
-r--r--r-- 1 root root 185050 Sep  9 21:52 /usr/lib/libXvMCNVIDIA.a
lrwxrwxrwx 1 root root     25 Sep  9 21:52 /usr/lib/libXvMCNVIDIA_dynamic.so.1
-> libXvMCNVIDIA.so.1.0.8774
-rwxr-xr-x 1 root root 170732 Sep  9 21:52 /usr/lib/libXvMCNVIDIA.so.1.0.8774
lrwxrwxrwx 1 root root     16 Aug 12 21:26 /usr/lib/libXvMC.so -> libXvMC.so.1.0.0
lrwxrwxrwx 1 root root     16 Aug 12 21:19 /usr/lib/libXvMC.so.1 -> libXvMC.so.1.0.0
-rwxr-xr-x 1 root root  10572 Feb 22  2006 /usr/lib/libXvMC.so.1.0.0
lrwxrwxrwx 1 root root     17 Aug 12 21:26 /usr/lib/libXvMCW.so -> libXvMCW.so.1.0.0
lrwxrwxrwx 1 root root     17 Aug 12 21:19 /usr/lib/libXvMCW.so.1 ->
libXvMCW.so.1.0.0
-rwxr-xr-x 1 root root  16260 Feb 22  2006 /usr/lib/libXvMCW.so.1.0.0
lrwxrwxrwx 1 root root     14 Aug 12 21:19 /usr/lib/libXv.so -> libXv.so.1.0.0
lrwxrwxrwx 1 root root     14 Aug 12 21:18 /usr/lib/libXv.so.1 ->
libXv.so.1.0.0-rwxr-xr-x 1 root root  17268 Feb 12  2006 /usr/lib/libXv.so.1.0.0

  * Checking with xdpyinfo has XVideo-MotionCompensation
  * Checking the xorg.conf file: it uses the "nvidia" driver
  * There are no errors in the X11 log file

The mythtv frontend output is (switching to and from XvMC):
http://pastebin.ca/171406  (For the full output)

The important bits (well, I think they are,anyway):
#
006-09-15 20:32:25.021 DPMS Deactivated
#
2006-09-15 20:32:25.230 NVP: Disabling Audio, params(-1,2,44100)
#
2006-09-15 20:32:25.284 VideoOutputXv: XvMCTex: Init failed
#
2006-09-15 20:32:25.307 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
Texture'X Error: BadMatch (invalid parameter attributes) 8
#
  Major opcode:  141
#
  Minor opcode:  14
#
  Resource id:  0x1d5
#
2006-09-15 20:32:26.865 TV: Changing from None to WatchingLiveTV
#
2006-09-15 20:32:26.869 Using realtime priority.
#
[mpegts @ 0xb73a02d0]Parser not found for Codec Id: 94211 !
#
2006-09-15 20:32:26.965 Video timing method: RTC
#
2006-09-15 20:32:29.048 NVP: Prebuffer wait timed out 10 times.
#
2006-09-15 20:32:30.504 VideoOutputXv: XvMCTex: Init failed
#
2006-09-15 20:32:30.505 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video Texture'
#
X Error: BadMatch (invalid parameter attributes) 8
#
  Major opcode:  141
#
  Minor opcode:  14
#
  Resource id:  0x1d5
#
2006-09-15 20:32:31.297 VideoOutputXv: ProcessFrameXvMC: Tried to reuse frame
but failed
#
2006-09-15 20:32:31.298 VideoOutputXv: ProcessFrameXvMC: Called without frame
#
2006-09-15 20:32:31.316 AFD: Opened codec 0x91f9db0, id(MPEG2VIDEO_XVMC) type(Video)
#
2006-09-15 20:32:31.317 AFD: Opened codec 0x91f8b10, id(MP3) type(Audio)
#
2006-09-15 20:32:31.318 AFD: Opened codec 0x91f9110, id(AC3) type(Audio)
#
2006-09-15 20:32:32.052 VideoOutputXv: ProcessFrameXvMC: Tried to reuse frame
but failed
#
2006-09-15 20:32:32.052 VideoOutputXv: ProcessFrameXvMC: Called without frame
#
2006-09-15 20:32:32.053 AFD: Opened codec 0x920db30, id(MPEG2VIDEO_XVMC) type(Video)
#
2006-09-15 20:32:32.224 VideoOutputXv: ProcessFrameXvMC: Tried to reuse frame
but failed
#
2006-09-15 20:32:32.225 VideoOutputXv: ProcessFrameXvMC: Called without frame
#
2006-09-15 20:32:32.264 Opening OSS audio device '/dev/dsp'.
#
2006-09-15 20:32:32.270 NVP: Enabling Audio
#
2006-09-15 20:32:32.364 NVP: Prebuffer wait timed out 10 times.
#
XvMC: picture structure FRAME
#
2006-09-15 20:32:35.513 NVP: prebuffering pause
#
2006-09-15 20:32:35.541 NVP: prebuffering pause
#
2006-09-15 20:32:35.569 NVP: prebuffering pause
#
2006-09-15 20:32:35.594 NVP: prebuffering pause
#
2006-09-15 20:32:35.634 NVP: prebuffering pause
#
2006-09-15 20:32:35.662 NVP: prebuffering pause
#
2006-09-15 20:32:44.092 NVP: prebuffering pause
#
2006-09-15 20:32:44.413 msg: On same multiplex...
#
[mpegts @ 0xb73a02d0]Parser not found for Codec Id: 94211 !
#
[mpegts @ 0xb73a02d0]Parser not found for Codec Id: 94212 !
#
2006-09-15 20:32:44.857 AFD: Opened codec 0x85590c0, id(MPEG2VIDEO_XVMC) type(Video)
#
2006-09-15 20:32:44.857 AFD: Opened codec 0x870daf0, id(MP3) type(Audio)
#
2006-09-15 20:32:45.894 NVP: prebuffering pause
#
2006-09-15 20:32:46.899 NVP: prebuffering pause
#
2006-09-15 20:32:46.926 NVP: prebuffering pause
#
2006-09-15 20:32:47.210 NVP: prebuffering pause
#
2006-09-15 20:32:47.270 NVP: prebuffering pause

So yep, I'm stumped too....
This also happened for Mythtv 0.19, but I thought 0.20 may have fixed it....

Cheers
Damien.







------------------------------------------------------------
This email was sent from Netspace Webmail: http://www.netspace.net.au



More information about the mythtv-users mailing list