[mythtv-users] EXTREMELY choppy video

Paul Leppert phlepper at gmail.com
Fri Mar 18 02:17:28 UTC 2005


Jarod,

Here is the result of mythfrontend -v playback and playing back a
1080i stream with the XvMC checkbox checked:

2005-03-17 19:43:29.515 mythfrontend version: 0.17.20050130-1 www.mythtv.org
2005-03-17 19:43:29.515 Enabled verbose msgs : important general playback
2005-03-17 19:43:30.083 Switching to square mode (Titivillus)
2005-03-17 19:43:30.785 Registering Internal as a media playback plugin.
2005-03-17 19:43:30.792 Joystick disabled.
2005-03-17 19:43:30.810 Registering MythDVD DVD Media Handler as a media handler
2005-03-17 19:43:30.811 Registering MythDVD VCD Media Handler as a media handler
2005-03-17 19:43:30.885 Key I is already bound in context Gallery.
2005-03-17 19:43:31.037 Registering MythMusic Media Handler as a media handler
2005-03-17 19:43:31.310 Starting media monitor.
2005-03-17 19:43:38.203 All Programs
2005-03-17 19:43:39.908 Connecting to backend server:
192.168.18.90:6543 (try 1 of 5)
2005-03-17 19:43:39.914 Using protocol version 14
adding pes stream at pid 0x51 with type 2
adding pes stream at pid 0x54 with type 129
2005-03-17 19:43:41.009 AVFD
2005-03-17 19:43:41.010 AVFD: Opening Stream #0: codec id 2
2005-03-17 19:43:41.010 detectInterlace(Detect Scan, Detect Scan,
29.97, 1088) ->Interlaced Scan
2005-03-17 19:43:41.010 Interlaced: Interlaced Scan  video_height:
1088  fps: 29.97
2005-03-17 19:43:41.010 AVFD: Looking for decoder for 2
2005-03-17 19:43:41.010 AVFD
2005-03-17 19:43:41.010 AVFD: Opening Stream #1: codec id 86020
2005-03-17 19:43:41.010 AVFD: Looking for decoder for 86020
2005-03-17 19:43:41.012 Estimated bitrate = 19776
2005-03-17 19:43:41.346 Image size. dispxoff 0, dispyoff: 0, dispwoff:
0, disphoff: 0
2005-03-17 19:43:41.346 Image size. imgx 0, imgy: 0, imgw: 1920, imgh: 1080
2005-03-17 19:43:41.347 positionMap[ 0 ] == 3008.
adding pes stream at pid 0x51 with type 2
adding pes stream at pid 0x54 with type 129
2005-03-17 19:43:41.404 AVFD
2005-03-17 19:43:41.404 AVFD: Opening Stream #0: codec id 2
2005-03-17 19:43:41.405 detectInterlace(Detect Scan, Detect Scan,
29.97, 1088) ->Interlaced Scan
2005-03-17 19:43:41.405 Interlaced: Interlaced Scan  video_height:
1088  fps: 29.97
2005-03-17 19:43:41.405 AVFD: Looking for decoder for 3
2005-03-17 19:43:41.405 AVFD
2005-03-17 19:43:41.405 AVFD: Opening Stream #1: codec id 86020
2005-03-17 19:43:41.405 AVFD: Looking for decoder for 86020
2005-03-17 19:43:41.407 Estimated bitrate = 19776
2005-03-17 19:43:41.441 Position map filled from DB to: 53837
2005-03-17 19:43:41.442 SyncPositionMap prerecorded, from DB: 1995 entries
2005-03-17 19:43:41.442 Position map found
2005-03-17 19:43:41.448 Opening audio device 'spdif'.
2005-03-17 19:43:41.465 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
Using XvMC version: 1.0
2005-03-17 19:43:41.471 XvMCSurfaceTypes::find(w 1920, h 1, c 0, i 2,
m 0,sw 0, sh 139, disp, p<= 139, 10880 <=p, port, surfNum)
2005-03-17 19:43:41.471 Trying XvMC port 139
2005-03-17 19:43:41.471 XvMCSurfaceTypes::find(w 1920, h 1, c 1, i 2,
m 0,sw 0, sh 139, disp, p<= 139, 10880 <=p, port, surfNum)
2005-03-17 19:43:41.471 Trying XvMC port 139
2005-03-17 19:43:41.472 XvMCSurfaceTypes::find(w 1920, h 1, c 0, i 2,
m 0,sw 0, sh 139, disp, p<= 139, 10880 <=p, port, surfNum)
2005-03-17 19:43:41.472 Trying XvMC port 139
2005-03-17 19:43:41.472 Found a suitable XvMC surface 0
XvMC found and using MC surface
2005-03-17 19:43:41.472 Using XV port 139
2005-03-17 19:43:41.521 waiting for prebuffer...
2005-03-17 19:43:41.529 Image size. dispxoff 0, dispyoff: 0, dispwoff:
1376, disphoff: 768
2005-03-17 19:43:41.529 Image size. imgx 0, imgy: 0, imgw: 1920, imgh: 1080
2005-03-17 19:43:41.656 prebuffer wait timed out..
2005-03-17 19:43:43.759 Changing from None to WatchingPreRecorded
2005-03-17 19:43:43.759 Realtime priority would require SUID as root.
picture structure FRAME
2005-03-17 19:43:43.788 XvMC will use bob deinterlacing
2005-03-17 19:43:43.788 Using deinterlace method bobdeint
2005-03-17 19:43:43.889 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2005-03-17 19:43:43.889 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2005-03-17 19:43:43.889 RTCVideoSync: Could not set RTC frequency,
Permission denied.
2005-03-17 19:43:43.889 Set video sync frame interval to 33366
2005-03-17 19:43:43.890 Using audio as timebase
2005-03-17 19:43:43.890 Video timing method: USleep with busy wait
2005-03-17 19:43:43.890 Refresh rate: 17357, frame interval: 33366
2005-03-17 19:43:43.890 waiting for prebuffer...
2005-03-17 19:43:44.025 prebuffer wait timed out..
2005-03-17 19:43:44.025 waiting for prebuffer...
2005-03-17 19:43:44.160 prebuffer wait timed out..
2005-03-17 19:43:44.160 waiting for prebuffer...
2005-03-17 19:43:44.230 A/V diverged by -30 frames, dropping frame to
keep audio in sync
2005-03-17 19:43:44.233 dropping back audio_buffer_unused
2005-03-17 19:43:44.296 A/V diverged by 30 frames, extending frame to
keep audio in sync

I get a bunch of the last message in a row and performance with XvMC
is really poor (and CPU usage on an XP 2000+ is pegged at 100%).  I
don't know what is different, but today I do get the black and white
OSD, so XvMC is definitely working.  Additionally, non-XVMC is even
worse (just get a blue screen with audio, no picture).

I'm assuming the following messages are bad?

2005-03-17 19:43:43.889 nVidiaVideoSync: VBlank ioctl did not work,
unimplemented in this driver?
2005-03-17 19:43:43.889 DRMVideoSync: Could not open device
/dev/dri/card0, No such file or directory
2005-03-17 19:43:43.889 RTCVideoSync: Could not set RTC frequency,
Permission denied.

Any ideas?

Here is my lspci:

[root at mythtvbe mythtv]# /sbin/lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:09.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
00:09.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 07)
00:0a.0 Ethernet controller: Linksys NC100 Network Everywhere Fast
Ethernet 10/100 (rev 11)
00:0b.0 Multimedia video controller: Internext Compression Inc iTVC16
(CX23416) MPEG-2 Encoder (rev 01)
00:0c.0 Multimedia video controller: Conexant Winfast TV2000 XP (rev 05)
00:0c.2 Multimedia controller: Conexant: Unknown device 8802 (rev 05)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 1b)
01:00.0 VGA compatible controller: nVidia Corporation NV25 [GeForce4
Ti 4200] (rev a3)

And my modprobe.conf

[root at mythtvbe mythtv]# cat /etc/modprobe.conf
alias eth0 tulip
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
alias snd-card-1 snd-emu10k1
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
/usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
/sbin/modprobe -r --ignore-remove snd-emu10k1
alias usb-controller uhci-hcd
install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c
# nvidia kernel module
alias char-major-195 nvidia-1_0-6629
alias char-major-81 videodev
alias char-major-81-0 cx8800
alias char-major-81-1 ivtv
# lirc
alias char-major-61 lirc_i2c

Any ideas??

Thanks,
phlepper

-- 
I hear and I forget. I see and I remember. I do and I understand.  --  Confucius


More information about the mythtv-users mailing list