On Mittwoch, 22. August 2007, Grant wrote:
> > > > > > > > I'm running an amd64 athlon x2 2.6ghz with 2gb ram and video
> > > > > > > > playback stutters if I try to play a video after the system
> > > > > > > > has been running for awhile, even after closing all programs.
> > > > > > > > Restarting always fixes it. How would you track this down?
> > > > > > > >
> > > > > > > > - Grant
> > > > > > >
> > > > > > > Look at your RAM usage with "free -m" (the second line is
> > > > > > > interesting).
> > > > > > >
> > > > > > > Look at your log files (especially dmesg) for anything
> > > > > > > suspicious. Maybe your graphic card's driver fell back to a
> > > > > > > compatibility mode or something like that.
> > > > > >
> > > > > > or (in case of NVIDIA) it has thrown a 'Xid' error - after that
> > > > > > you can be called lucky if video works at all ...
> > >
> > > No Xid error. I did have this:
> > >
> > > warning: many lost ticks
> > > Your time source seems to be instable or some driver is hogging
> > > interrupts
> >
> > ok, do you have a working hpet? or do you have compiled pm-timer support
> > into your kernel (you should)? and set hdparm -u1 for your ide devices?
>
> There is no mention of hpet in dmesg or lspci, but I do have:
>
> CONFIG_HPET_TIMER=y
> CONFIG_HPET_EMULATE_RTC=y
> CONFIG_HZ_1000=y
> CONFIG_HZ=1000
>
I am using Hz 300... smooth video...
and voluntary preemption.
> Where can I find pm-timer support in the kernel? There doesn't seem
> to be a mention of it in .config. I'm using
> hardened-sources-2.6.20-r6.
Power management options --->
ACPI (Advanced Configuration and Power Interface) Support --->
[*] Power Management Timer Support
Help text:
CONFIG_X86_PM_TIMER:
│
│
│
│ The Power Management Timer is available on all ACPI-capable,
│
│ in most cases even if ACPI is unusable or blacklisted.
│
│
│
│ This timing source is not affected by power management features
│
│ like aggressive processor idling, throttling, frequency and/or
│
│ voltage scaling, unlike the commonly used Time Stamp Counter
│
│ (TSC) timing source.
│
│
│
│ You should nearly always say Y here because many modern
│
│ systems require this timer.
oh, and check that the hpet really works - dmesg is your friend.
>
> I just set up hdparm with:
>
> all_args="-d1 -u1"
>
> and added it to the default runlevel. Any other args I should add?
c1 ? but that does not make a big difference - but you should check, that the
stuff is really set with hdparm -iI
--
[EMAIL PROTECTED] mailing list