Results 1 to 10 of 10

Thread: Crazy slow graphics

  1. #1
    Join Date
    Jun 2007
    Location
    San Angelo, Texas, USA
    Beans
    187
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Crazy slow graphics

    For awhile now I've been having problems with the graphics being RIDICULOUSLY slow on my laptop. Compiz only manages about 10FPS with rotate cube if I'm lucky, and I know it should be doing a lot higher framerates than that. Disabling lighting and changing texture quality doesn't help. I mean I've seen compiz running faster on a pentium 3 with an geforce 5 card with the same plugins enabled. I'm running a geforce 7150M and a turion 64 x2 1.9 GHz with 2GB of ram. I mean honestly, vista ultimate runs aero very fast on this laptop, so there's no good reason why compiz shouldn't run fast.

    I think this probably has a lot to do with drivers, does anyone have any ideas? I'm currently running the restricted driver, and I've been contemplating trying envy.

    Currently I'm running hardy.
    OMG!?!? a n00b that uses search!? unheard of!

  2. #2
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Crazy slow graphics

    This is just a guess -- please post output to:
    Code:
    cat /proc/mtrr

  3. #3
    Join Date
    Jun 2007
    Location
    San Angelo, Texas, USA
    Beans
    187
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Crazy slow graphics

    reg00: base=0x00000000 ( 0MB), size=2048MB: write-back, count=1
    OMG!?!? a n00b that uses search!? unheard of!

  4. #4
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Crazy slow graphics

    Your mtrr looks fine. Sorry, that's not the problem.

  5. #5
    Join Date
    Jun 2007
    Location
    San Angelo, Texas, USA
    Beans
    187
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Crazy slow graphics

    Hooray! Wait... damn, that means it's somewhere else that most likely won't be found immediately. Do you think switching to envy drivers would help?
    OMG!?!? a n00b that uses search!? unheard of!

  6. #6
    Join Date
    Jun 2007
    Location
    San Angelo, Texas, USA
    Beans
    187
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Crazy slow graphics

    *bump*

    I hadn't thought about this before, but, might it be possible that this is being caused by my processor being clocked down by power management? Is is possible to turn off processor stepping when the power is plugged in?
    OMG!?!? a n00b that uses search!? unheard of!

  7. #7
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Crazy slow graphics

    To see what cpu scaling governor you are currently using, run:
    Code:
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
    To change the scaling governor to "performance":
    Code:
    echo performance | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    To watch your cpu clock speed:
    Code:
    watch -n 1 cat /sys/devices/system/cpu/*/cpufreq/scaling_cur_freq
    After changing the scaling governor to performance, does compiz run any faster?

    The change to the scaling governer can be reverted -- just change performance to whatever it was before. Also, rebooting will reset the scaling governor to whatever it was before.

  8. #8
    Join Date
    Jun 2007
    Location
    San Angelo, Texas, USA
    Beans
    187
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Crazy slow graphics

    oh. my. god. that helped SO much. thanks! so is this permanant? or should i create a script to run every time i plug in?
    Last edited by airbornemist6; June 29th, 2008 at 12:36 AM.
    OMG!?!? a n00b that uses search!? unheard of!

  9. #9
    Join Date
    Jan 2007
    Location
    Location: Location:
    Beans
    1,246
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Crazy slow graphics

    beautiful, seems to ave increased my graphics responsiveness in 3d games too.
    clear && echo paste url and press enter; read paste; (youtube-dl $paste) | zenity --progress --title="" --text "Downloading, please wait" --auto-close --pulsate && ans=$(zenity --file-selection); gnome-terminal -x mplayer "$ans"

  10. #10
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Crazy slow graphics

    To make the change permanent, edit /etc/rc.local:

    Code:
    gksudo gedit /etc/rc.local
    Add this to the end, above "exit 0":
    Code:
    echo performance | tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    exit 0
    Reboot, and then check that it worked.

    You might want to experiment with other governors, like "ondemand". "performance" makes your cpu run at full speed even when it should be idle. "ondemand" will ramp up the cpu speed only when needed. I think that would be better if it works for you.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •