[SOLVED] Unexpected screen blanking after upgrade to Mint 18

Forum rules
Before you post please read how to get help
Post Reply
jerkins
Level 1
Level 1
Posts: 44
Joined: Mon Jun 01, 2009 3:55 pm

[SOLVED] Unexpected screen blanking after upgrade to Mint 18

Post by jerkins » Mon Jul 25, 2016 5:13 am

Operating system details:
Linux Mint 18 64-bit
Mate 1.14.1

Problem:
After 20 or 30 minutes of idle time the screen goes black - but I haven't set it to do that. This did not happen under Mint 17.3, before I upgraded.
Note that I have a screensaver selected, but that doesn't come up - I only get a blank, black screen.

What I've done so far:
This was a new installation of Mint 18, not an upgrade.
In 'Power Management Preferences', on the 'On AC Power' tab, both options (put computer to sleep and put display to sleep) are set to 'Never'.
In 'Screensaver Preferences' the option 'Activate screensaver when computer is idle' is unchecked.

I have looked for any other options for blanking the screen, but I can't find any. I don't want to kill or remove the standard screensaver, but I would like to get rid of this blanking problem.
Last edited by jerkins on Wed Jul 27, 2016 12:59 pm, edited 1 time in total.

deepakdeshp
Level 15
Level 15
Posts: 5841
Joined: Sun Aug 09, 2015 10:00 am

Re: Unexpected screen blanking after upgrade to Mint 18

Post by deepakdeshp » Mon Jul 25, 2016 2:39 pm

inxi -Fxz will tell you if the graphics card driver has been installed.Please post the output here.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

jerkins
Level 1
Level 1
Posts: 44
Joined: Mon Jun 01, 2009 3:55 pm

Re: Unexpected screen blanking after upgrade to Mint 18

Post by jerkins » Mon Jul 25, 2016 3:58 pm

Here's the output from that command:
david@desktop ~ $ inxi -Fxz
System: Host: desktop Kernel: 4.4.0-31-generic x86_64 (64 bit gcc: 5.3.1)
Desktop: MATE 1.14.1 (Gtk 3.18.9-1ubuntu3.1) Distro: Linux Mint 18 Sarah
Machine: Mobo: ASUSTeK model: M5A78L-M/USB3 v: Rev X.0x Bios: American Megatrends v: 1503 date: 11/14/2012
CPU: Octa core AMD FX-8350 Eight-Core (-MCP-) cache: 16384 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 64290
clock speeds: max: 4000 MHz 1: 1400 MHz 2: 1400 MHz 3: 2100 MHz 4: 1400 MHz 5: 1400 MHz 6: 1400 MHz
7: 2100 MHz 8: 2100 MHz
Graphics: Card: NVIDIA GK107 [GeForce GT 640] bus-ID: 01:00.0
Display Server: X.Org 1.18.3 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
Resolution: 1920x1080@60.00hz
GLX Renderer: GeForce GT 640/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 361.42 Direct Rendering: Yes
Audio: Card-1 NVIDIA GK107 HDMI Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.4.0-31-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e800 bus-ID: 03:00.0
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 1060.2GB (12.4% used) ID-1: /dev/sda model: KINGSTON_SV300S3 size: 60.0GB
ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB
Partition: ID-1: / size: 40G used: 9.2G (25%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 917G used: 98G (12%) fs: ext4 dev: /dev/sdb3
ID-3: swap-1 size: 0.01GB used: 0.00GB (0%) fs: swap dev: /dev/sdb5
ID-4: swap-2 size: 0.01GB used: 0.00GB (0%) fs: swap dev: /dev/sdb1
ID-5: swap-3 size: 17.16GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 39.0C mobo: 34.0C gpu: 0.0:41C
Fan Speeds (in rpm): cpu: 2014 sys-1: 0
Info: Processes: 219 Uptime: 2:16 Memory: 1127.1/16030.0MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.421) inxi: 2.2.35
I have also run the Driver Manager, which shows me that I have loaded the recommended driver (nvidia-361).

I'm unsure that is relevant though, as I can select a screensaver in xscreensaver, and it will display properly (as does everything else graphical). This unexpected blanking seems to be running independently from xscreensaver. However, I may be totally wrong in this assumption!

jerkins
Level 1
Level 1
Posts: 44
Joined: Mon Jun 01, 2009 3:55 pm

Re: Unexpected screen blanking after upgrade to Mint 18

Post by jerkins » Tue Jul 26, 2016 5:05 am

Well, I think I've localised the problem - I disabled the Power Manager in Startup Applications and re-started the machine - now it doesn't blank out.

I have a half-baked theory; in Power Manager on my laptop there are 2 options - one for what to do if running on the battery, and the other is what to do when running on mains power. On my desktop PC I can only see the mains power options. I'm wondering if the battery options are still in effect, even though I can't see them.

Does the Power Manager have a config file somewhere I can check?

deepakdeshp
Level 15
Level 15
Posts: 5841
Joined: Sun Aug 09, 2015 10:00 am

Re: Unexpected screen blanking after upgrade to Mint 18

Post by deepakdeshp » Tue Jul 26, 2016 6:38 am

jerkins wrote:Well, I think I've localised the problem - I disabled the Power Manager in Startup Applications and re-started the machine - now it doesn't blank out.

I have a half-baked theory; in Power Manager on my laptop there are 2 options - one for what to do if running on the battery, and the other is what to do when running on mains power. On my desktop PC I can only see the mains power options. I'm wondering if the battery options are still in effect, even though I can't see them.

Does the Power Manager have a config file somewhere I can check?
The desktop will not run on battery hence the power management does not have on battery option in your desktop. All config files are under .config folder in your home directory
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

jerkins
Level 1
Level 1
Posts: 44
Joined: Mon Jun 01, 2009 3:55 pm

Re: Unexpected screen blanking after upgrade to Mint 18

Post by jerkins » Tue Jul 26, 2016 1:21 pm

deepakdeshp wrote: The desktop will not run on battery hence the power management does not have on battery option in your desktop. All config files are under .config folder in your home directory
I knew that I shouldn't see the battery option - I was just wondering whether the battery power management is still running behind the scenes.

I had a look in .config - couldn't see anything relating to power management.

jerkins
Level 1
Level 1
Posts: 44
Joined: Mon Jun 01, 2009 3:55 pm

Re: Unexpected screen blanking after upgrade to Mint 18

Post by jerkins » Wed Jul 27, 2016 12:59 pm

Well, I've sorted it for myself. Not in a pretty way - more brute force, really - but at least it works. I applied the following command:

Code: Select all

sudo xset -dpms
As this is a mains-powered PC I have no need for power management, so I blocked dpms completely. I know I could have played with xset parameters, but I didn't feel the need.

jerkins
Level 1
Level 1
Posts: 44
Joined: Mon Jun 01, 2009 3:55 pm

Re: [SOLVED] Unexpected screen blanking after upgrade to Mint 18

Post by jerkins » Thu Jul 28, 2016 10:06 am

I was nearly right - after messing around with xset I found the key parameter:

Code: Select all

xset s off
This turns the screen blacking delay to 0, which means that it never happens. I had experimented with various values for this parameter (you can enter an integer value for the number of seconds delay before blanking) to prove that it was the culprit for the unwanted screen blanking on my machine.

So in the end my script contains:

Code: Select all

xset s off
xset -dpms
The second line is a 'belt and braces' option to make doubly sure.

Post Reply

Return to “MATE”