And on top of it all …

I think I finally, truly have a solution to my mouse lag issue. It didn’t seem to matter what distro I was using; a few hours of surfing on my No. 2 laptop left me with awful mouse lag and stutter. It was hideous.

And when I installed Xubuntu for the GAG sessions, it was even worse. Immediately after booting, I was getting vicious half-second lags at intervals of two or three seconds apart. I’m thinking the reduced system loads on FVWM-Crystal or Openbox setups made things better with those WMs. Installing Xubuntu put too much weight on it, and that made it all the worse.

But what was weird was an error message that would pop up when Xubuntu shut down.

cpufreq: change failed with new_state 0 and result 0

Bizarre stuff. I never saw that with any other WM. Regardless, I fired up Google and did a little poking around. Most of the stuff was too deeply mired in kernel issues, but I found one post that mentioned the same error message, and the suggestion that disabling cpufreq could help.

So i started looking into cpufreq, and found the cpufrequtils package in the repositories. I installed it, thinking it might pull in some sort of library for cpufreq that would erase the lag. No luck. So I started digging around with cpufreq-set and cpufreq-info commands.

The man pages suggested using “governors” to control speed settings, and when I did this

sudo cpufreq-set -g performance

The lag was instantly gone. I’ve left the laptop running for about eight hours now, with screensavers, XChat, browsers and everything running, and the lag hasn’t come back. And this is after a cold boot that left me with rampant, vicious lag.

Now I know what you’re thinking: This is your fifth post about mouse lag, and the last four posts all claimed to have fixed it.

I agree. So I tell you what I’ll do: I’m not going to call this the cure yet, until I can get an entirely new Ubuntu setup in place, with FVWM-Crystal (or maybe Openbox; I haven’t decided), and wait for that $&@#! lag to reappear.

And then we’ll see what happens when I set the governor. I can hardly wait. :twisted:

About these ads

2 Responses to “And on top of it all …”


  1. 1 frenchninja 2007/01/21 at 3:16 AM

    Ah yes, I remember that error on a laptop. Ages back.

    Fixed it after reading this, in particular mjwood0′s post:

    ‘The incorrect speedstep module is being loaded.

    To fix this, edit /usr/share/powernowd/cpufreq-detect.sh so it reads like this:

    # Two modules for PIII-M depending the chipset.
    # modprobe speedstep-ich$EXT || modprobe speestep-smi$EXT would be another way
    if [ -f $IOPORTS ] && grep -q ‘Intel .*ICH’ $IOPORTS ; then
    PIII_MODULE=speedstep-ich
    else
    # PIII_MODULE=speedstep-smi
    PIII_MODULE=speedstep_ich
    fi’

  2. 2 kmandla 2007/01/21 at 9:04 AM

    Hmmm. Didn’t work on this one. I still get lag (although it’s not as bad as before), and when I apply the performance governor, I get an error message now:

    wrong, unkown or unhandled CPU?

    Just as a note, this is a Pentium III Coppermine 750Mhz (well, /proc/cpuinfo says 746Mhz) chip in a Latitude CPx J750GT.

    Thanks for the link, though. For now I’ll just write a little startup script that sets the governor on boot. But first, it’s time to scrape the drive clean. :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,477 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: