Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Plasma install not consistently reviving from suspend?  (Read 5877 times)

este.el.paz

  • Guest
[EN] Plasma install not consistently reviving from suspend?
« on: 2019/05/30, 23:10:37 »
Folks:
Been running #siduction for a few months in a multi-boot environment on a '12 MacPro, and generally all is well, the system boots fast . . . shuts down fast . . . loads web pages fast . . . everything is fast . . . except it seems I've had intermittent response to "wake from suspend" . . . sometimes it's fast, and sometimes it's slow to revive . . . and sometimes it doesn't "wake up" at all, requiring reboot . . . ??  Kind of puts #siduction in a somewhat "back burner" status for a daily user . . . anything to try out to try to get "fast woke" on a consistent basis, rather than . . . sometimes yes, sometimes no??

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.842
Re: Plasma install not consistently reviving from suspend?
« Reply #1 on: 2019/05/31, 18:00:25 »
No idea what could be causing this as we have no other info than that it happens on a Mac Pro. All I can tell you that my Lenovo notebooks and a InfinityBook Pro 15 wake up instantly and always.
« Last Edit: 2019/05/31, 22:31:30 by devil »

este.el.paz

  • Guest
Re: Plasma install not consistently reviving from suspend?
« Reply #2 on: 2019/05/31, 20:40:27 »
No idea what could be causing this as we have no other info than that it happens on a Mac Pro. All I can tell you that my Lenovo notebooks and a InfinityBook Pro 15 wake up instantly and always.
@devil:
OK, thanks for the reply . . . yes, it's happening on a MacPro . . . as well as, "inconsistently" waking or not from suspend, i.e., each of the scenarios I described happened yesterday while trying to wake from suspend, first time, quickly, w/o hesitation of any kind; second time, slowly, with hesitation of half a minute; third time, did not wake at all.  Due to the inconsistent nature of it, it's hard to establish a "pattern" of dysfunction.  What other info would help out on a "diagnosis"??
e.e.p.
« Last Edit: 2019/05/31, 22:31:44 by devil »

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.842
Re: Plasma install not consistently reviving from suspend?
« Reply #3 on: 2019/05/31, 22:33:15 »
For starters you could show us the output of inxi -v3

este.el.paz

  • Guest
Re: Plasma install not consistently reviving from suspend?
« Reply #4 on: 2019/06/01, 03:22:14 »
For starters you could show us the output of inxi -v3
Code: [Select]
@-pc:~$  inxi -v3
System:
  Host: -pc Kernel: 5.1.5-towo.1-siduction-amd64 x86_64 bits: 64
  compiler: gcc v: 8.3.0 Desktop: KDE Plasma 5.14.5
  Distro: siduction 18.3.0 Patience - kde - (201904152016)
  base: Debian GNU/Linux 10 (buster)
Machine:
  Type: Desktop System: Apple product: MacPro5,1 v: 0.0 serial: <root required>
  Mobo: Apple model: Mac-F221BEC8 serial: <root required> UEFI: Apple v: 138.0.0.0.0
  date: 07/30/2018
CPU:
  Topology: Quad Core model: Intel Xeon W3565 bits: 64 type: MT MCP arch: Nehalem
  rev: 5 L2 cache: 8192 KiB
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 51068
  Speed: 1596 MHz min/max: 1596/3325 MHz Core speeds (MHz): 1: 1596 2: 1596 3: 1596
  4: 1596 5: 1596 6: 1596 7: 1596 8: 1596
Graphics:
  Device-1: NVIDIA GK110 [GeForce GTX 780] vendor: eVga.com. driver: nouveau
  v: kernel bus ID: 05:00.0
  Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa
  resolution: 1280x1024~60Hz
  OpenGL: renderer: NVF0 v: 4.3 Mesa 18.3.6 direct render: Yes
Network:
  Device-1: Intel 82574L Gigabit Network driver: e1000e v: 3.2.6-k port: 2000
  bus ID: 09:00.0
  IF: enp9s0 state: down mac: 00:3e:e1:b7:89:f2
  Device-2: Intel 82574L Gigabit Network driver: e1000e v: 3.2.6-k port: 1000
  bus ID: 0a:00.0
  Device-3: Broadcom and subsidiaries BCM4322 802.11a/b/g/n Wireless LAN
  vendor: Apple AirPort Extreme driver: b43-pci-bridge v: N/A port: 1000
  bus ID: 0d:00.0
  IF-ID-1: enp10s0 state: up speed: 1000 Mbps duplex: full mac: 00:3e:e1:b7:8a:de
  IF-ID-2: wlan0 state: down mac: 12:84:5c:4c:53:8c
Drives:
  Local Storage: total: 2.05 TiB used: 19.04 GiB (0.9%)
Info:
  Processes: 245 Uptime: 5m Memory: 15.66 GiB used: 1.90 GiB (12.1%) Init: systemd
  runlevel: 5 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.32
pc:~$


Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: Plasma install not consistently reviving from suspend?
« Reply #5 on: 2019/06/01, 21:14:16 »
If I'm reading it correctly, the Nvidia code name for your GPU is "NVF0", and the chart here rates the power management support in the Nouveau driver as "WIP" which means Work In Progress.

https://nouveau.freedesktop.org/wiki/FeatureMatrix/

 :(
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

este.el.paz

  • Guest
Re: Plasma install not consistently reviving from suspend?
« Reply #6 on: 2019/06/01, 22:08:14 »
If I'm reading it correctly, the Nvidia code name for your GPU is "NVF0", and the chart here rates the power management support in the Nouveau driver as "WIP" which means Work In Progress.

https://nouveau.freedesktop.org/wiki/FeatureMatrix/

 :(
@dibl:
Thanks for looking into that . . . the Nvidia GPU is not "original equipment" but was added to get the machine to qualify for "metal-friendly" status, so the machine could run OSX 10.14, which also has problems re-viving from "sleep."  None of my other three versions of OSX has issues "waking" up (possibly because I installed the Nvidia drivers?), but some of the various other linux options . . . possibly the OpenSUSE selections . . . have "issues" with waking from "suspend" . . . but, I'm pretty sure I kept all of the linux installs running "nouveau" . . . .  So, some of them wake quickly, and others don't . . . .
This sort of takes me back to my early forays into PPC linux, where getting "video" at all was a major ordeal . . . creating an xorg.conf file . . . in total blackness of the display, that kind of thing.  This problem isn't that dramatic, but it just means having to shut down when "suspend" might be handier, etc.
Possibly looking into any Nvidia oem drivers for linux, might be an "answer" to this thread???

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: Plasma install not consistently reviving from suspend?
« Reply #7 on: 2019/06/01, 22:40:51 »
Yes, I too crashed and burned on the early (~2004) Linux graphics implementations -- ATI Radeon vs. fglrx, and the loser was dibl.   ;D

I have the impression that I may be the last user of the proprietary Nvidia driver on this forum, as the ATI support seems to have vastly improved in recent years.  If I were you, and had your issue, I would first try booting with the nomodeset boot option, just to see whether it makes any difference.  If it does not, then I would blacklist the nouveau driver, and try installing the nvidia-driver from the debian repo.  It should pull in everything except nvidia-settings which you'll have to install separately.  Good luck with it.  Somewhere in the history of this forum there were instructions on how to change from nouveau to nvidia and back again -- maybe a search could find it.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

este.el.paz

  • Guest
Re: Plasma install not consistently reviving from suspend?
« Reply #8 on: 2019/06/01, 23:25:52 »
Yes, I too crashed and burned on the early (~2004) Linux graphics implementations -- ATI Radeon vs. fglrx, and the loser was dibl.   ;D

I have the impression that I may be the last user of the proprietary Nvidia driver on this forum, as the ATI support seems to have vastly improved in recent years.  If I were you, and had your issue, I would first try booting with the nomodeset boot option, just to see whether it makes any difference.  If it does not, then I would blacklist the nouveau driver, and try installing the nvidia-driver from the debian repo.  It should pull in everything except nvidia-settings which you'll have to install separately.  Good luck with it.  Somewhere in the history of this forum there were instructions on how to change from nouveau to nvidia and back again -- maybe a search could find it.

@dibl:
Thanks kindly for the suggestions . . . I may or may not "mess with it" . . . just depends on if I'm feeling "frisky" enough to deal with it . . . .  In that, as we both seem to know from experience, if something gets "dropped" in the "video xxxx - xxx" file . . . the result is . . . darkness or, possibly worse.  : - ))
One thing that is kind of nice about "ubuntu" products is that they have an "additional drivers" app . . . that looks for and installs the options available for your specific machine/install . . . makes it "easier" to switch video drivers . . . on the fly so to speak . . . .  I'll have to search around and see what shows up as per your "install/uninstall for nouveau to nvidia" and see what shows up . . . right now we have a 33 1/3% success rate on waking up from suspend . . . i.e., it's not 0% . . . it's just not higher than 75%.

Offline axt

  • User
  • Posts: 494
    • axebase.net
Re: Plasma install not consistently reviving from suspend?
« Reply #9 on: 2019/06/02, 11:12:28 »
It seems you're afraid of a black screen. With X, mind you. A tty also has a black screen, but white text. ;-)

You can install/uninstall, blacklist or otherwise configure on a virtual console at any time.

Well, on Ubuntu it's easier because there are never up-to-date kernel versions.

On siduction this is more difficult. nvidia 390.116 (sid) should be compatible with kernel 5.1. nvidia 430.14 (experimental) also and with Kernel 5.2-rc1 - exceptionally (current is rc2, this night rc3 should come).

But with newer kernels the issue will start again. You should monitor rglinuxtech.com.

Offline axt

  • User
  • Posts: 494
    • axebase.net
Re: Plasma install not consistently reviving from suspend?
« Reply #10 on: 2019/06/02, 11:28:04 »
If you want to disable suspend, you can do this with systemctl: https://wiki.debian.org/Suspend


este.el.paz

  • Guest
Re: Plasma install not consistently reviving from suspend?
« Reply #11 on: 2019/06/02, 17:35:52 »
@axt:
Thanks for the details on the various nividia driver options . . . but, yes, I have a deep seated fear of the black screen . . . the **empty** screen . . . .  Sometimes there have been times when the tty will work when the video won't, but over in PPC back in the day, there would be total dysfunction . . . unless a 1/3 green color hovering over 2/3 black screen was your cup of tea . . . .
But, I'm a more or less "lazy" linux operator . . . so it doesn't seem like getting into the various nvidia options for #siduction would be the "low maintenance" way to go . . . .  But, I also don't think I'd want to disable suspend either . . . I'll just keep my fingers crossed and "hope" that sometime soon the nouveau devs will finish with the WIP . . . and all will be right with the power management system.
Thanks though, who knows, if we get some unusual rainy days in SoCal I might have time to play with nvidia drivers . . . what's the worst that could happen . . . only the shadow knows . . . .

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.358
    • Land of the Buckeye
Re: Plasma install not consistently reviving from suspend?
« Reply #12 on: 2019/06/02, 23:51:53 »
Code: [Select]
root@dibl-patience:/# inxi -G
Graphics:  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 418.74
           Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 1920x1200~60Hz, 1920x1080~60Hz
           OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 418.74
root@dibl-patience:/# apt policy nvidia-driver
nvidia-driver:
  Installed: 418.74-1
  Candidate: 418.74-1
  Version table:
 *** 418.74-1 500
        500 http://httpredir.debian.org/debian unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status

You can't get in a lot of trouble trying the Nvidia driver -- you can always go back to Nouveau if it's not better.
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

este.el.paz

  • Guest
Re: Plasma install not consistently reviving from suspend?
« Reply #13 on: 2019/06/03, 02:33:42 »
Code: [Select]
root@dibl-patience:/# inxi -G
Graphics:  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 418.74
           Display: x11 server: X.Org 1.20.4 driver: nvidia resolution: 1920x1200~60Hz, 1920x1080~60Hz
           OpenGL: renderer: GeForce GTX 1060 6GB/PCIe/SSE2 v: 4.6.0 NVIDIA 418.74
root@dibl-patience:/# apt policy nvidia-driver
nvidia-driver:
  Installed: 418.74-1
  Candidate: 418.74-1
  Version table:
 *** 418.74-1 500
        500 http://httpredir.debian.org/debian unstable/non-free amd64 Packages
        100 /var/lib/dpkg/status

You can't get in a lot of trouble trying the Nvidia driver -- you can always go back to Nouveau if it's not better.
@dibl:
Thanks, looks pretty basic, once you know the command to run . . .  I might as well try it out.  But, I can't tell if I need to add something to the /sources.list . . . i.e., you are showing me something with the "500" and "100" lines . . . OR, all I would have to do is run  # apt policy nvidia-driver . . . and the rest is done??
I'll try that in a few minutes, if it went well I'll post back . . . if it didn't then I assume I'll be posting from, "the black" . . . .  : - ))
[edit: a few minutes later, I ran the code and got:
Code: [Select]
apt policy nvidia-driver
nvidia-driver:
  Installed: (none)
  Candidate: 418.74-1
  Version table:
     418.74-1 500
        500 http://deb.debian.org/debian unstable/non-free amd64 Packages
So, this is telling me that the package is the same one for your card, and it's in the "non-free Packages" ??  Is this something where I run "apt install nvidia-driver 418.74-1"  ???  Or, is this something that "synaptic" would find and install? ??? ?

[edit2:  Ran it through synaptic and rebooted--heard the GPU spin up, figured it went well . . .  got:

Code: [Select]
inxi -G
Graphics:
  Device-1: NVIDIA GK110 [GeForce GTX 780] driver: nvidia v: 418.74
  Display: x11 server: X.Org 1.20.4 driver: nvidia
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 1280x1024~60Hz
  OpenGL: renderer: GeForce GTX 780/PCIe/SSE2 v: 4.6.0 NVIDIA 418.74
I'll report back on the revive from suspend aspect, later . . . .  Thanks @dibl for the boost on it.
« Last Edit: 2019/06/03, 03:09:14 by este.el.paz »

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: Plasma install not consistently reviving from suspend?
« Reply #14 on: 2019/06/03, 03:25:04 »
I hereby suggest to spend some money for a new graphics card. If i read it right we talk about a card that is only some years younger than my beloved GT 7300. And before others write it: Nouveau and Plasma is a no go - you are fine if you can run the current nvidia-driver, not the legacy ones.

Edit: Please forget the recommendation to buy a new card - just install the `nvidia-driver` form unstable and be done with. It is worth a try.
« Last Edit: 2019/06/03, 03:36:48 by melmarker »
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)