Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Choppy video in all apps... [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Thu Aug 03, 2006 5:51 am    Post subject: Choppy video in all apps... [SOLVED] Reply with quote

I'm noticing a system wide problem on my box with video. Initially all of my video will play fine whether it is saved to the hard disk or via DVD (after a/v problem was fixed), but after a certain amount of time, which varies, all video will become extremely choppy, with stutters and starts. It becomes unwatchable. It affects xine, mplayer, vlc, flash, you name it, regardless of video type.

I tried different output drivers, and they don't seem to make a difference. I can't see anything significant happening in CPU or memory use during playback, with the exception of tiny jumps when it is recovering from a stutter, but those are only jumps up to 1.5% CPU use. Since it was universal, I began to suspect some kind of problem in KDE or X so I've tried restarting the X server, but that doesn't actually fix the problem.

Just for kicks I tried stopping X, unloading and then reloading the nvidia module, and restarting X. Still choppy. The only thing that seems to restore the video is a full reboot. Very strange.

I'm running x86 Gentoo on an Athlon64 X2 4400+ CPU with a GeForce 6800XT (PCI-E). I'm using modular X 7.0, and latest ~x86 nvidia drivers. Any help would be very much appreciated! :D


Last edited by mointrigue on Thu Aug 17, 2006 9:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
belrpr
Guru
Guru


Joined: 22 May 2006
Posts: 440

PostPosted: Thu Aug 03, 2006 6:35 am    Post subject: Reply with quote

Check if your dma is running for your hard disk and dvd drive!
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Thu Aug 03, 2006 1:47 pm    Post subject: Reply with quote

belrpr wrote:
Check if your dma is running for your hard disk and dvd drive!


DMA is running on the DVD drive. The hard drive is a SATA, and hdparm doesn't list yea or nay for DMA. How do you check that for DMA? Thanks!
Back to top
View user's profile Send private message
Enverex
Guru
Guru


Joined: 02 Jul 2003
Posts: 501
Location: Worcester, UK

PostPosted: Thu Aug 03, 2006 2:23 pm    Post subject: Reply with quote

If it's SATA it will be on. To tweak SCSI and SATA use sdparm.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Thu Aug 03, 2006 2:34 pm    Post subject: Reply with quote

Enverex wrote:
If it's SATA it will be on. To tweak SCSI and SATA use sdparm.


I took a look as sdparm and I'm not sure which options would apply to this problem, or if the settings available in sdparm apply at all.

Does anyone have any suggestions regarding sdparm or any other general tactics I should use to try and solve the problem?

Thanks in advance for any help!
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Thu Aug 03, 2006 8:29 pm    Post subject: Reply with quote

I've noticed that during xine-check that MTRR is supported but disabled on my system. The script says it only really helps AGP cards.

Should this be an area of concern for me even though I use an AMD CPU with a PCI-E graphics card? If so, how do I enable MTRR? I'm kind of grasping at straws at this point.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Thu Aug 03, 2006 11:54 pm    Post subject: Reply with quote

Ha ha, I'm an idiot. I forgot to include the mtrr argument on the kernel line of my grub.conf.

I did some stress tests running by playing a bunch of video files at once, but so far it's been fine. I think my X is more responsive too.

The problem was rather unpredictable before, so I'll wait 24 hours and if there aren't any more issues I'll mark this one solved.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Fri Aug 04, 2006 11:53 pm    Post subject: Reply with quote

Hmm, the MTRR setting helped, but when I got home today video was extremely choppy again, causing CPU spikes. Also, when trying to navigate file system with Konquerer I ran into trouble where the little expanding box animation that accompanies opening a folder would slow to a crawl. As before, a reboot was the only way to fix the situation. Also video choppiness displayed itself in xine, mplayer, vlc, etc. The filebrowsing responsiveness was also an issue.

I'm not sure where the problem is coming from xorg's interaction with my video card or an issue with the hard-drive. My hard drives are both SATA, with the root sitting on a Raptor at 10000RPM and the addtional storage on a 7200RPM 3.0GB/s SATA. So I don't think that the hardware is lacking in speed.

I'm really lost as to where to look next, and help would be really great!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Aug 05, 2006 12:00 am    Post subject: Reply with quote

mointrigue,

If a reboot fies it for a while, it sounds like a memory leak.

Reboot, run top and play some videos, more and more memory being used is ok,
more and more swap being used is not. That indicates a program is requesting memory but not releasing it again, hen the term 'leak'
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Sat Aug 05, 2006 4:25 am    Post subject: Reply with quote

Hmm, the choppiness seems to start before top indicates that I've used any of my swap. I tried watching individual programs swap column in top but they seem to be consistently the same amount. Although I have noticed on this system that I get a lot of duplicate processes for some programs (e.g. kmail, firefox, xine, vlc, amarok). However, when I close the program all the processes disappear, so they don't seem to be hanging. Could that be part of the problem?

I've been curious if that is part of it. Since this is a fresh install on my first dual core system I'm not sure what to be expecting when I check out process lists.

Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Aug 05, 2006 12:02 pm    Post subject: Reply with quote

mointrigue,

what you are seeing there are the individual threads of the same program. They all use the same resources, so if firefox is running 10 threads and it reports 10Mb of memory used in each thread, it the same 10Mb of memory, not 100Mb total.
Its not your problem.

Is it an issue reading from CD/DVD or from your hard drive ?

Are you using DMS on the drive ?
hdparm /dev/hd... will show you. DMA is part of the SATA standard - it cannot be turned off.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Sat Aug 05, 2006 5:22 pm    Post subject: Reply with quote

NeddySeagoon,

DMA is enabled for both DVD drives, and the choppiness when it occurs will happen with both DVDs and local hard drive files. In fact, along with the aforementioned Konqueror issue, also mouseover popup displays in firefox and really all apps, although it is most notable in firefox.

Although there is one weird thing. There is a particular error message I get when playing DVDs. It doesn't appear during local file playback, but it might be related.

Quote:
No accelerated IMDCT transport found!


Now, mplayer does find an accelerated IMDCT transport (specifically it uses sse). However, once the choppiness begins, mplayer is also subject to it. So maybe that's inconsequential. The only reason I mention it is that I notice that playing DVDs seems to accelerate the system towards choppiness. I might get through a DVD but shortly after my video pain once again ensues. I will note that choppiness will occur without dvd playing, but it takes longer to get there.

Could this be Nvidia(~x86)/Modular X (x86) related? I only ask because on my old system I had xorg 6.9 and an old ATI PCI card. I never had any video problems or X reponsiveness issues, but just about every opengl game and some graphics intensive program would crash or segfault.

Now, I know you mentioned that increasing memory was okay, but I notice that after all the videos are done and system is just left idling over night memory used (according to top) is still up 1012744k out of 2075940k, which may mean nothing. No swap is being used at this point, but the choppiness is there.

Thanks with your help with this so far, by the way. This is an really irritating problem for me and I really appreciate you taking the time to offer suggestions.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sat Aug 05, 2006 9:47 pm    Post subject: Reply with quote

mointrigue,

Linux will use all of memory one way or another - unused memory is just wasted, so memory use alone is not a bad sign but swapping is.

Lets start from the beginning. Post your lspci ouput and the output from mplayer (in the xterm) when you don't ask it to play anything.
I'm not convinced that DMA is on for your DVD drives.
How are your DVDs and HDDs connected ?
IDE, SATA, SCSI ... ?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Sat Aug 05, 2006 11:12 pm    Post subject: Reply with quote

NeddySeagoon,

My DVD drives are both IDE connections. Both are masters on on two IDE connections because I was having difficulty enabling DMA on the slave drive, so I just connected it to my motherboard's secondary IDE connector. My hard drives are both SATA.

lspci wrote:
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV42 [Geforce 6800 XT] (rev a2)
05:06.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
05:06.1 Input device controller: Creative Labs SB Audigy Game Port (rev 04)
05:06.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (rev 04)
05:0b.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
05:0c.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)


mplayer wrote:
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


93 audio & 211 video codecs
Usage: mplayer [options] [url|path/]filename


I cut out all the rest of the help options.

Here's hdparm output as well:

hdparm /dev/hda wrote:
/dev/hda:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device


hdparm /dev/hdc wrote:
/dev/hdc:
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Inappropriate ioctl for device


I don't doubt though that there could still be DMA issue that hdparm is not picking up.

Also (another n00b question, sorry), why does the SWAP column in top indicate an amount of swapped out space, yet overall swap usage indicates 0?

Thanks again.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Sun Aug 06, 2006 10:36 am    Post subject: Reply with quote

mointrigue,

All that looks good.

The next step is to play a DVD with mplayer (from an xterm) and run top too.
When the choppyness sets in post the content of the mplayer window and the top window.
Do not stop either to make the 'snapshots'
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Tue Aug 08, 2006 12:13 am    Post subject: Reply with quote

Grr, now that I'm trying to capture data, the issue is taking its sweet time showing up again. I'm getting heavy dropped frames in some programs but nowhere near the magnitude of what was happening before and mplayer isn't really showing the issue yet, but it's getting closer to that point. I'm certain I haven't changed anything since the problem last showed up, so I'm just going to keep playing video until I can get it to reappear.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Wed Aug 09, 2006 12:46 am    Post subject: Reply with quote

This still isn't nearly as bad as it normally gets (typically the video stops and starts and barely plays at all once the problem manifests), it's still being stubborn, but I'm getting dropped frame warnings in xine, and it really shows there. Occasionally I can get something to play smoothly, but mplayer doesn't seem to be giving me warnings, but it starts dropping frames heavily if I so much as open a file browsing window. I have no idea why this problem hasn't fully manifested itself yet. In the past it usually surfaces in about 24 hours of the system booting (assuming I've been watching videos). However, I am getting dropped frames and chop in mplayer now, although it will recover for a bit before it starts dropping again, which I suppose is to be desired, although I even so much as open a filebrowser it will slow down noticably. Regardless, the hardware on this machine should smoke my old system, and I never had these kind of issues on that box. So I'm going to post that output now, with more to follow if I can finally duplicate the full effect of this problem.

top wrote:
top - 19:33:51 up 2 days, 19:36, 1 user, load average: 0.31, 0.22, 0.19
Tasks: 101 total, 2 running, 99 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.0% us, 0.3% sy, 0.0% ni, 98.2% id, 0.0% wa, 0.0% hi, 0.5% si
Mem: 2075940k total, 1223668k used, 852272k free, 801776k buffers
Swap: 3911816k total, 48k used, 3911768k free, 176696k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11613 root 15 0 96456 74m 6452 S 3 3.7 9:09.99 X
1 root 15 0 1456 492 432 S 0 0.0 0:00.99 init
2 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:00.17 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.08 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.01 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper
11 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread
14 root 10 -5 0 0 0 S 0 0.0 0:02.64 kblockd/0
15 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1
16 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid
142 root 10 -5 0 0 0 S 0 0.0 0:00.01 kseriod
185 root 20 0 0 0 0 S 0 0.0 0:00.00 pdflush


mplayer wrote:
mplayer -vo xv -ao alsa -dvd-device /dev/hdc dvd://1 -alang en
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


93 audio & 211 video codecs

Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
Reading disc structure, please wait...
There are 5 titles on this DVD.
There are 29 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001af
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00009c35
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
DVD successfully opened.
Selected DVD audio channel: 128 language: en
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 7500.0 kbps (937.5 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12
A: 0.5 V: 0.5 A-V: 0.013 ct: 0.026 15/ 12 ??% ??% ??,?% 0 0
demux_mpg: 24000/1001fps progressive NTSC content detected, switching framerate.
No bind found for key 'MOUSE_BTN0'. 521.4% 0 0
A:3128.1 V:3128.1 A-V: 0.007 ct: 0.163 60136/60133 5% 0% 509.7% 0 0
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Aug 09, 2006 10:31 am    Post subject: Reply with quote

mointrigue,

That all looks fairly normal. The CPU is lightly loaded and has been for some time, althogh the laod has increased in the last 15 min. Swap contains 48k of of stuff used only at startup/shutdown, so thats normal too.

Check dmesg for any signs that you have DMA timeouts associated with your DVD player. That would indicate that the kernel has reverted to PIO mode, which would also account for your CPU load increase.
In PIO mode, the maximum data rate is much lower and more CPU time is required, since the CPU needs to read every byte individually from the drive. (ok, it can read words, since the IDE link is 16 bit wide).
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Wed Aug 09, 2006 2:14 pm    Post subject: Reply with quote

Hmm, there isn't anything in dmesg, but in /var/log/messages I found some stuff.

There's actually a ton of these, but I'm only including the last three times the message appears. The final line is dated at about a half hour after my last reboot.

/var/log/messages wrote:
Aug 5 00:25:14 tardis ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Aug 5 18:23:52 tardis ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Aug 5 23:58:21 tardis ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx


Could that be what I'm looking for?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Aug 09, 2006 4:37 pm    Post subject: Reply with quote

mointrigue,

You should only see that once on startup - not 'tons'.
You are really looking for
Code:
DMA timeout error
associated with the DVD drive.
Afterwards hdparm /dev/... will show
Code:
 ...
using_dma = 0 (off)
...
which is a bad thing.
Try
Code:
dmesg | grep DMA
if that gives some hits
Code:
dmesg | grep -A3 -B4 DMA
will give some context
-After<lines> -Before<lines>
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Wed Aug 09, 2006 4:54 pm    Post subject: Reply with quote

Hmm, I'm not seeing any timeout errors. It looks like DMA is being enable correctly, but I could be missing something.

dmesg | grep -A3 -B4 DMA wrote:

1151MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f5980
On node 0 totalpages: 524272
DMA zone: 4096 pages, LIFO batch:0
Normal zone: 225280 pages, LIFO batch:31
HighMem zone: 294896 pages, LIFO batch:31
DMI 2.3 present.
--
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
NFORCE-CK804: chipset revision 242
NFORCE-CK804: not 100% native mode: will probe irqs later
NFORCE-CK804: 0000:00:06.0 (rev f2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
input: ImPS/2 Generic Wheel Mouse as /class/input/input0
hda: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SONY DVD-ROM DDU1615, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdc: ATAPI 63X DVD-ROM drive, 1725kB Cache
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
--
sata_nv 0000:00:07.0: version 0.8
ACPI: PCI Interrupt Link [APSI] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [APSI] -> GSI 21 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:07.0 to 64
ata1: SATA max UDMA/133 cmd 0x9F0 ctl 0xBF2 bmdma 0xD800 irq 20
ata2: SATA max UDMA/133 cmd 0x970 ctl 0xB72 bmdma 0xD808 irq 20
usb 2-3: configuration #1 chosen from 1 choice
ata1: SATA link down (SStatus 0)
scsi0 : sata_nv
--
scsi1 : sata_nv
ACPI: PCI Interrupt Link [APSJ] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [APSJ] -> GSI 20 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:00:08.0 to 64
ata3: SATA max UDMA/133 cmd 0x9E0 ctl 0xBE2 bmdma 0xC400 irq 21
ata4: SATA max UDMA/133 cmd 0x960 ctl 0xB62 bmdma 0xC408 irq 21
usb 2-4: configuration #1 chosen from 1 choice
ata3: SATA link up 1.5 Gbps (SStatus 113)
input: Key Tronic Keytronic USB Keyboard as /class/input/input1
input: USB HID v1.10 Keyboard [Key Tronic Keytronic USB Keyboard] on usb-0000:00:02.0-4
ata3: dev 0 cfg 49:2f00 82:746b 83:7f61 84:4023 85:7469 86:3e41 87:4023 88:407f
ata3: dev 0 ATA-7, max UDMA/133, 145226112 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata3: dev 0 configured for UDMA/133
scsi2 : sata_nv
ieee1394: Host added: ID:BUS[0-00:1023] GUID[00023c01511490d4]
ata4: SATA link up 3.0 Gbps (SStatus 123)
ata4: dev 0 cfg 49:2f00 82:746b 83:7f01 84:4023 85:7469 86:3c01 87:4023 88:407f
ata4: dev 0 ATA-7, max UDMA/133, 488397168 sectors: LBA48
nv_sata: Primary device added
nv_sata: Primary device removed
nv_sata: Secondary device added
nv_sata: Secondary device removed
ata4: dev 0 configured for UDMA/133
scsi3 : sata_nv
Vendor: ATA Model: WDC WD740ADFD-00 Rev: 20.0
Type: Direct-Access ANSI SCSI revision: 05
--
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.54.
ACPI: PCI Interrupt Link [APCH] enabled at IRQ 23
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [APCH] -> GSI 23 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:0a.0 to 64
forcedeth: using HIGHDMA
eth0: forcedeth.c: subsystem: 01043:8141 bound to 0000:00:0a.0
ACPI: PCI Interrupt 0000:05:06.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 19
Installing spdif_bug patch: Audigy 2 ZS [SB0350]


Could it be something unrelated to DMA? When the problem does start it affects all video regardless of type. It's frustrating that it just sort of teeters right now without duplicating the problem. I can't think of anything that's changed that should affect video performance since the last time it occurred a couple days ago considering how consistent it has been.

Once again, thanks for you help and patience with this one.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Aug 09, 2006 6:36 pm    Post subject: Reply with quote

mointrigue,

That all looks good - as you say, no timeout errors.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
djbeenie
Apprentice
Apprentice


Joined: 09 Nov 2005
Posts: 207

PostPosted: Thu Aug 10, 2006 12:20 pm    Post subject: Reply with quote

I had to put this in the tail end of my grub to get my cd/dvd rom to work without choppyness.

hdc=noprobe

Not sure it will help in your case.
_________________
Linux Newbie
Back to top
View user's profile Send private message
mointrigue
n00b
n00b


Joined: 07 Mar 2006
Posts: 57
Location: Madison, WI USA

PostPosted: Thu Aug 10, 2006 1:39 pm    Post subject: Reply with quote

Okay, the problem has manifested in force now, video stutters and stops alot and the aforementioned konqueror slowdown is also occuring. I grabbed some output from playing a hard disk file. Swap has been at 320k for about 24 hours. The problem manifested when I first sat down at the computer this morning. I don't know if this will help identify it or not.

top wrote:

top - 08:33:37 up 4 days, 8:36, 1 user, load average: 0.29, 0.10, 0.02
Tasks: 114 total, 2 running, 112 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.0% us, 2.3% sy, 0.0% ni, 95.7% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2075940k total, 1946604k used, 129336k free, 462860k buffers
Swap: 3911816k total, 320k used, 3911496k free, 961740k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11613 root 16 0 97348 75m 5676 S 7 3.7 15:18.12 X
15171 daniel 16 0 37488 16m 6140 S 2 0.8 0:00.22 mplayer
1 root 16 0 1456 492 432 S 0 0.0 0:01.00 init
2 root RT 0 0 0 0 S 0 0.0 0:00.10 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT 0 0 0 0 S 0 0.0 0:00.58 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.14 ksoftirqd/1
7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.15 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.04 khelper
11 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread
14 root 10 -5 0 0 0 S 0 0.0 0:04.20 kblockd/0
15 root 10 -5 0 0 0 S 0 0.0 0:00.01 kblockd/1
16 root 14 -5 0 0 0 S 0 0.0 0:00.00 kacpid
142 root 10 -5 0 0 0 S 0 0.0 0:00.01 kseriod


mplayer -vo xv -ao alsa wrote:
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2


93 audio & 211 video codecs

Playing Documents/video/tmnt-tlr1_h640w.mov.
ISO: File Type Major Brand: Original QuickTime
Quicktime/MOV file format detected.
VIDEO: [avc1] 640x272 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
comments: Encoded and delivered by apple.com/trailers/
copyright: 2005/6 Warner Bros. Pictures. All Rights Reserved
name: Teenage Mutant Ninja Turtles
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
alsa-init: using device default
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x272 => 640x272 Planar YV12
A: 45.2 V: 45.0 A-V: 0.284 ct: 0.017 1079/1079 4% 28645% 9549.0% 45 0


Hmm, it's tempting to reboot again, but I'll leave it like this and see if anyone has any advice or has a suggestion for checking particular data output.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Thu Aug 10, 2006 3:24 pm    Post subject: Reply with quote

mointrigue,

CPU load
Code:
load average: 0.29, 0.10, 0.02
is fine and
Code:
Swap: 3911816k total, 320k used,
shows you do not have a memory leak, thats good too.

Check your dmesg for DMA timeouts.

Has the CPU gone into a low power or low clock speed mode and got stuck ?
I'm afraid I don't know how to check for that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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
Goto page 1, 2  Next
Page 1 of 2

 
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