16

I'm running Ubuntu 15.04 on my UX32A Zenbook Prime with Intel® Core™ i5-3317U CPU @ 1.70GHz × 4 processor and Intel® Ivybridge Mobile Graphics.

When I wake up my computer from sleep mode, I find it becomes quite laggy. Slow response times and lots of freezing existing pages already open. Opening new pages becomes a nightmare and I just restart my computer thereafter. Does anybody know what I can do to solve this?

Sonney Patel
  • 301
  • 2
  • 6
  • Run dmesg after the comp is awakened and see if there's any useful information there. – mr2k May 13 '15 at 12:10
  • I haven't run it yet, because im preparing for an interview and need my laptop desperately atm, but running dmesg returns a lot of information, what are we looking for? – Sonney Patel May 13 '15 at 12:47
  • I don't know exactly since I don't know what applications are installed on your laptop but if you run it right after waking the PC there might be some information about some apps trying to do some funky stuff.

    I helped my friend with his mac taking too long to wake up, dmesg showed us that google chrome did a lot of things (can't remember exactly what) just before the mac woke up.

    – mr2k May 13 '15 at 12:57
  • There's all sorts of information, would you like me to copy paste it all? Sorry I've been away from this question – Sonney Patel May 14 '15 at 12:13
  • I suppose I can take a look. Why don't you copy/paste the last 100 lines into a pastebin and paste the link to it here? – mr2k May 18 '15 at 06:25

1 Answers1

6

It could be the msr register 0x19a is not set back to 0 after resume. Try to set it to 0 by installing msr-tools and run wrmsr 0x19a 0x0.

It fixes for me.

Alireza
  • 115
SteveK
  • 61
  • 1
    I am looking for examples such as yours, where Clock Modulation is enabled after resume from suspend. Does it always happen for you, or just when resuming on battery? What Computer type and model number? When you read register 0x19a what do you get? And does that make sense for what frequency your CPUs run at? Does the register still have bit 4 set upon resume from suspend when you are running the acpi-cpufreq frequency scaling driver? – Doug Smythies Sep 25 '15 at 04:10
  • Would vote you up twice for an explanation of why this fixes it. Also fixed it for me. – chris Oct 04 '16 at 19:57
  • To be clear, I should run this after resume when I am having the problem? – khatchad Jan 25 '17 at 19:30
  • If you get an error about an open operation, run sudo modprobe msr. – khatchad Jan 25 '17 at 19:37
  • I get: wrmsr: pwrite: Operation not permitted – Alireza Jul 15 '19 at 08:53
  • I tried the same thing. I get wrmsr: CPU 0 cannot set MSR 0x0000019a to 0x0000000000000000

    Any ideas?

    – Ekanshdeep Gupta Dec 20 '21 at 12:04