[mythtv-users] AMD 3100+/NVIDIA GeForce4 MX 440 too slow for broadcast HD playback (from hdhomerun) even with XvMC?

Marc MERLIN marc_mtv at merlins.org
Tue Apr 8 14:55:48 UTC 2008


Howdy again,

I have video/audio studder problems with my AMD 3100+ and recorded/live
HD content.
It happens with deinterlace playback/bob2x or without deinterlace.
I have mpeg2 decoder set to Standard XvMC

On the video card side:
nvidia module is 1.0.9631, which is supposed to be the good one
(II) NVIDIA(0): NVIDIA GPU GeForce4 MX 440 with AGP8X at PCI:1:0:0
(GPU-0)
(--) NVIDIA(0): Memory: 65536 kBytes
(--) NVIDIA(0): VideoBIOS: 04.18.20.07.00
(II) NVIDIA(0): Detected AGP rate: 8X
(II) NVIDIA(0): Setting mode "ATSC-1080-60p"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(II) Loading extension NV-CONTROL

myth:~$ cat /proc/cpuinfo 
model name      : AMD Sempron(tm) Processor 3100+
cpu MHz         : 1800.000
cache size      : 256 KB
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext 3dnowext
3dnow ts fid vid ttp
bogomips        : 3618.72
clflush size    : 64

What surprises me is that I'm not at 100% CPU, so I'm not sure that
I'm overstressing my CPU, and yet I get some (slight) video and audio
studder.

KTVUHD
top - 07:51:10 up 21:14,  2 users,  load average: 3.80, 1.98, 1.68
Tasks: 111 total,   3 running, 108 sleeping,   0 stopped,   0 zombie
Cpu(s): 39.2% us, 39.5% sy,  0.0% ni, 15.0% id,  0.0% wa,  2.7% hi,
3.7% si
Mem:   1035076k total,   936816k used,    98260k free,    55780k buffers
Swap:   979956k total,       92k used,   979864k free,   307628k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 5135 root      16   0  180m 150m 4400 R 42.3 14.9  37:54.00 Xorg               
 8988 mythtv    15   0  359m 178m  29m S 36.6 17.7   1:44.11 mythfrontend.re    
 5791 mythtv    23   0  272m  35m  12m S  5.3  3.5  87:25.77 mythbackend        
    1 root      15   0  1652  560  484 S  0.0  0.1   0:00.68 init               
    2 root      11  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd   

KPIX DT:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 5784 mythtv    15   0  412m 189m  30m S 57.6 18.7 498:39.87 mythfrontend.re    
 5791 mythtv    18   0  271m  35m  12m S  9.7  3.5  86:24.15 mythbackend        
 5135 root      15   0  190m 158m 4364 S  4.3 15.7  34:24.88 Xorg  

KRON-HD:
 5784 mythtv    15   0  378m 182m  29m S 43.5 18.0 499:41.11 mythfrontend.re    
 5135 root      16   0  189m 158m 4364 S 37.9 15.7  34:31.36 Xorg               
 5791 mythtv    15   0  272m  35m  12m S  7.0  3.5  86:33.32 mythbackend        
 5319 root      15   0     0    0    0 S  0.3  0.0   1:09.36 lirc_dev           
 5846 mythtv    15   0 61200  25m  14m S  0.3  2.5   0:32.43 mythlcdserver


On the hdhomerun side:
<[mbm]> merlin_: check /tuner0/debug or /tuner1/debug
<[mbm]> look at the ts: line
<[mbm]> those numbers should remain nearly constant unless changing the
channel or reception issues

looks pretty constant, so the problem is likely with playback:
gandalf:~/misc/hdhomerun/libhdhomerun$ ./hdhomerun_config 10101ED8 get
/tuner1/debug 
tun: ch=qam256:555000000 lock=qam256 ss=93 snq=88 seq=100 dbg=22995-6976
dev: resync=0 overflow=0
ts:  bps=38809216 ut=83 te=0 miss=0 crc=0
flt: bps=11480032
net: pps=1091 buferr=0 neterr=0 stop=0

Any ideas?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/


More information about the mythtv-users mailing list