You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Major lag after wake up from suspend

Author (Read 16449 times)

0 Members and 4 Guests are viewing this topic.

Re: Major lag after wake up from suspend
« Reply #22 on: April 22, 2019, 07:58:49 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
So I tried Xubuntu for a couple of days and it suffered from more or less the same problem...

I'm thinking it might be something to do with my dual graphics, and Nvidia driver support for Linux is subpar when compared to AMD, at least for open source. My first PC build will be full team red.

As of right now, I'll refrain from suspending my computer for now and just lock the screen when I need to leave my desk.

 

Re: Major lag after wake up from suspend
« Reply #21 on: April 18, 2019, 09:02:55 PM »
 

TheDead

  • Gold Level Poster
  • *******
  • 936
    Posts
  • Reputation: 92
  • Linux Lite Worshipper
    • View Profile
    • My OpenDesktop Projects

  • CPU: HAL9000

  • MEMORY: 2Gb

  • VIDEO CARD: Quantum State VR v.3

  • Kernel: 4.x
Heya,

1. I read a similar related post today.
When you wake up the computer. Try and Disable the nVidia card and re-enable it after wards.
This solved the "lag" in this case.

2. If it was not mentioned, Have you tried the same on the live USB Linux Lite 4.x and maybe 3.8?

3. If you go the Xubuntu way, please reply back here with your results.

- TheDead (TheUxNo0b)

If my blabbering was helpful, please click my [Thank] link.
 

Re: Major lag after wake up from suspend
« Reply #20 on: April 18, 2019, 07:36:17 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
It is unfortunate I was unable to locate a link having a solution for the particular computer.
Other members may yet find it.
Or some advanced /experienced members may actually know the answer themselves, but they may be busy and not on the forums at the current timeframe.

Whilst taking your break I hope you find a solution for using a Linux OS on this particular computer you write of.



 

Re: Major lag after wake up from suspend
« Reply #19 on: April 18, 2019, 06:27:37 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
That didn't work either.  I'm going to take a break from Linux Lite and switch to Xubuntu, as they are very similar.  Xubuntu also has updated Nvidia drivers and other updated software in general.  Again, thank you for all the help!
 

Re: Major lag after wake up from suspend
« Reply #18 on: April 18, 2019, 06:25:37 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
no it doesn't work
« Last Edit: April 18, 2019, 06:28:39 PM by scottlovejoy3687 »
 

Re: Major lag after wake up from suspend
« Reply #17 on: April 17, 2019, 07:56:55 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
I am out of ideas of what to search about for potential things to try. I will think about it a bit and search some more tomorrow.

Does this work ?

https://www.perl.com/article/fixing-a-sluggish-linux-after-suspend-resume/
« Last Edit: April 17, 2019, 08:01:01 PM by bitsnpcs »
 

Re: Major lag after wake up from suspend
« Reply #16 on: April 17, 2019, 07:54:09 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
That doesn’t work either :(
 

Re: Major lag after wake up from suspend
« Reply #15 on: April 17, 2019, 07:38:09 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
Have you tried -

Menu > System > Lite Tweaks
select "zRam", and "Preload Apps", try this individually then at the same time.
 

Re: Major lag after wake up from suspend
« Reply #14 on: April 17, 2019, 07:33:24 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
@bitsnpcs It does not improve it unfortunately.  When I try to use firefox after waking up from suspend, it starts to use up to 50% cpu as well.  It's happening as i type this.  I also tried using a slightly older kernel to see if that fixed the problem...no difference at all.
 

Re: Major lag after wake up from suspend
« Reply #13 on: April 17, 2019, 06:57:36 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
There was this bug - https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/838208

There are some discussions (other links/searches) about Compiz, and separately discussions about compositing, that in either when they were disabled it was solving it.
It was saying how where "fancy effects" were being used by desktop environment, or apps (only Firefox was specified in one post, but in others no apps were specified), then this was causing the spike in CPU useage from 60 til 100% and slowness/lag after suspend/sleep, not improving unless reboot was done. After which still being higher than usual until the feature was disabled. (summary info from a multiple links)

Have you tried -

Menu > ALL > Window Manager Tweaks

In the GUI select the Tab named "Compositor" untick the first item named "Enable display compositing" 
Click close.
Does this help it improve or not ?
« Last Edit: April 17, 2019, 07:29:46 PM by bitsnpcs »
 

Re: Major lag after wake up from suspend
« Reply #12 on: April 17, 2019, 06:28:18 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
I don’t know if his helps, but it seems that the only parts that are lagging are parts of the xfce desktop ( the window manager, panel, menu, etc. ).  Navigating within applications seems to work fine.

When I open htop, the processes that seem to take up the most cpu % are:  "/usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch" and the second process is "/usr/lib/firefox/firefox -contentproc -childID 8 -isForBrowser -prefsLen 8301 -prefMapSize 182175 -parentBuildID 20190410105841".   The xorg is the process that can take up to 60% of my cpu.  It sporadically jumps all over the place.
« Last Edit: April 17, 2019, 06:46:30 PM by scottlovejoy3687 »
 

Re: Major lag after wake up from suspend
« Reply #11 on: April 17, 2019, 06:17:39 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
So I don’t know if this is a fix or not, but checking the box “save session for future logins” before suspending  seems to fix the problem.  I don’t know if this is a solution but it seems to work.

Edit: This improved it a little, by the lag is still there.
« Last Edit: April 17, 2019, 06:23:49 PM by scottlovejoy3687 »
 

Re: Major lag after wake up from suspend
« Reply #10 on: April 17, 2019, 06:04:48 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
@scottlovejoy3687 I have not managed to find any other info that may be about this yet, there were just some other links but they about overclocking and temperatures causing issues, they were to do with going in to suspend or shutdown, not waking from it though.
 

Re: Major lag after wake up from suspend
« Reply #9 on: April 17, 2019, 05:45:18 PM »
 

scottlovejoy3687

  • New to Forums
  • *
  • 11
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: Intel i7-4710HQ

  • MEMORY: 12Gb

  • VIDEO CARD: Intel integrated graphics/Nvidia GTX 860M
@bitsnpcs My laptop has a 7200 rpm hard drive, but no sad ( I wish ).  As for the dual GPUs, it does let me switch between the intel and Nvidia graphics. I’ll see if using the intel graphics makes any difference.  As I said before, the sad fix won’t work for me.
 

Re: Major lag after wake up from suspend
« Reply #8 on: April 17, 2019, 02:04:16 PM »
 

bitsnpcs

  • Platinum Level Poster
  • **********
  • 3237
    Posts
  • Reputation: 305
    • View Profile
    • Try to Grow

  • Kernel: 4.x
In the machine are you using an SSD ?

This link discusses how SSD are different speeds if booted from battery or AC power, and the percentage difference varies by the manufacturer of the SSD, there can be some work arounds possibly if it is after suspend or speed decreasing by #'s of read/writes re; (Trim ?) - https://askubuntu.com/questions/844459/ubuntu-ssd-was-fast-is-now-extremely-slow
« Last Edit: April 17, 2019, 02:13:40 PM by bitsnpcs »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section