Peppermint OS

Support => New Users => Topic started by: asabatelli on November 24, 2019, 06:25:04 am

Title: Black screen upon opening laptop
Post by: asabatelli on November 24, 2019, 06:25:04 am
I've just installed peppermint on my old Lenovo T60, and I'm generally very pleased with how it runs, except for  sleep/wake issues.  After much experimenting, the only way I can get the system to not go to a black screen upon closing/reopening the lid is to do the following:  I set the power button to "suspend" and the close lid settings to "lock screen."  I then have to hit the power button, have it suspend, then close the lid, and when I reopen, it goes directly into the main screen (not the lock screen).  Any other combination and the lock screen comes up, I type in the password, and it goes to an all black screen, and I generally have to do a hard re-boot at this point to get back into the OS.  I do now have a work around in place, but something is clearly "not right."  Any help appreciated.  Thank you,
Title: Re: Black screen upon opening laptop
Post by: PCNetSpec on November 24, 2019, 07:59:13 am
First thing to try .. this probably won't work, but lets first rule out it being the light-locker screenlock by removing it
Code: [Select]
sudo apt-get remove --purge light-locker light-locker-settingsReboot.

At this point the screenlock should have changed to  i3-lock

Now test.



If that doesn't work, I'll post instructions to see if switching from xfce4-power-manager to mate-power-manager will help
Title: Re: Black screen upon opening laptop
Post by: asabatelli on November 24, 2019, 09:00:31 am
Thank you!  I tried that, and now with the laptop lid close settings at "lock screen," the computer does open to the lock screen ,though when the lid is closed, the hd is clearly still spinning.  I changed to "suspend" for when the lid is closed, and I get the black screen.  Additional information would be greatly appreciated, thanks!
Title: Re: Black screen upon opening laptop
Post by: PCNetSpec on November 24, 2019, 03:55:43 pm
Okay now let's see if installing pmutils makes any difference
Code: [Select]
sudo apt-get install pm-utilsthen reboot.

then test.



If it's still not working, let's try switching to the MATE power manager.

Run:
Code: [Select]
sudo apt-get remove --purge xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-pluginsthen
Code: [Select]
sudo apt-get install mate-power-managerthen go to:-

Menu > Settings > Default applications for LXSession

select the 'Core applications' tab

and change

Power Manager: xfce4-power-manager

to

Power Manager: mate-power-manager

close the LXSession configuration window

and lof off/on (or reboot)   <-- IMPORTANT

Now test.



If either of those work, feel free to reinstall light-locker if you want.
Code: [Select]
sudo apt-get install light-locker light-locker-settings
Title: Re: Black screen upon opening laptop
Post by: asabatelli on November 24, 2019, 07:47:21 pm
Did everything, and I now see the mate power manager.. However, unfortunately, it still is doing exactly what it did before.  The only way to "suspend" and to be able to then have it wake is to assign "suspend" to the power button, push it, then close the lid, and when I open it, the session opens.  Thanks for all your efforts, though!  If you have any other ideas, I'm all ears.  For what it's worth, this same laptop recently has had Ubuntu and Antix on it, and before that it had Elementary OS, and it's always been fine with suspend/wake on lid close/open.  Thanks again,
Title: Re: Black screen upon opening laptop
Post by: PCNetSpec on November 24, 2019, 08:17:17 pm
Which version of Ubuntu worked ?

and can we have the output from:
Code: [Select]
inxi -Fz


This link is here just for my (possible) future reference
https://askubuntu.com/questions/1034483/suspend-resume-problem-in-ubuntu-18-04
Title: Re: Black screen upon opening laptop
Post by: asabatelli on November 26, 2019, 05:02:10 am
I believe it was the first iteration of Ubuntu to use gnome and not unity (18?).  Here is the output:

 ~ $ inxi -Fz
System:    Host: arnie-ThinkPad-T60 Kernel: 5.0.0-36-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: laptop System: LENOVO product: 2008U38 v: ThinkPad T60 serial: N/A
           Mobo: LENOVO model: 2008U38 serial: N/A
           BIOS: LENOVO v: 79ETD2WW (2.12 ) date: 04/12/2007
Battery    BAT0: charge: 26.7 Wh 98.5% condition: 27.1/47.5 Wh (57%)
CPU:       Dual core Intel Core2 T7200 (-MCP-) cache: 4096 KB
           clock speeds: max: 2000 MHz 1: 1296 MHz 2: 1291 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV515/M52 [Mobility Radeon X1300]
           Display Server: x11 (X.Org 1.20.4 )
           drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1400x1050@60.02hz
           OpenGL: renderer: ATI RV515 version: 2.1 Mesa 19.0.8
Audio:     Card Intel NM10/ICH7 Family High Def. Audio Controller
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k5.0.0-36-generic
Network:   Card-1: Intel 82573L Gigabit Ethernet Controller driver: e1000e
           IF: ens2 state: down mac: <filter>
           Card-2: Intel PRO/Wireless 3945ABG [Golan] Network Connection
           driver: iwl3945
           IF: wls3 state: up mac: <filter>
Drives:    HDD Total Size: 60.0GB (16.2% used)
           ID-1: /dev/sda model: TOSHIBA_MK6034GS size: 60.0GB
Partition: ID-1: / size: 55G used: 9.1G (18%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 39.0C mobo: 24.0C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 203 Uptime: 1 day Memory: 930.0/2996.6MB
           Client: Shell (bash) inxi: 2.3.56
Title: Re: Black screen upon opening laptop
Post by: PCNetSpec on November 28, 2019, 11:38:03 am
Okay that would have been Ubuntu 18.04, and was likely using the 4.15 kernel.

How about trying Peppermint 9 which also uses that kernel ?

If that works, you can upgrade Peppermint 9 to Peppermint 10, but keeping the 4.15 kernel, by following the instructions (in the first posting) here:
https://forum.peppermintos.com/index.php/topic,8442.msg86655.html#msg86655