Desktop background corrupted after resuming from Suspend

Bug #1419729 reported by Alessandro
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

Whenever I resume from Suspend I am greeted by this corrupted wallpaper: see image attached.

When I log out the background image shows again for a second before the process (of logging out) complete.

--

Mint 17.1 Cinnamon (x64) + AMD Radeon 270X running on proprietary drivers (the ones included in the distribution).

Revision history for this message
Alessandro (alessandro-pedarra-z) wrote :
Revision history for this message
Facundo (facu-emiliano) wrote :

Same symptoms here. Running 17.2 (x64) + Radeon HD 5870

Revision history for this message
Steve (scramm) wrote :

Same issue on 18.1. I'm using a laptop with a 940mx gpu on proprietary nvidia driver. The issue only occurs when using an external monitor.

Revision history for this message
Ruan (ruru84) wrote :

Also having this issue on 18.1 . My laptop is running the Nvidia 375.39 proprietary driver (Graphics card - GM108M ). Issue occurring on primary monitor after resuming from "Suspend".

Revision history for this message
luke (jlw) wrote :

I'm also having this issue on 18.1 with nvidia 375.39-0ubuntu0.16.04.1

i have to go to system settings, backgrounds, set another background, then set the initial background to get my normal desktop background back.

alt f2 + r doesn't work

cinnamon --replace doesn't work

as a workaround we can switch back and forth between the original and another wallpaper on resume with

don't ask me what the best / save way to do this is but based on this (which doesn't quite work as the background isn't reloaded)

https://nograbass.blogspot.de/2015/03/run-script-on-resume-with-systemd-in.html

i've found a workaround:

create a file /<email address hidden> with:

[Unit]
Description=User resume actions
After=suspend.target

[Service]
User=%I
Environment=DISPLAY=:0
ExecStart=/bin/sh -c 'old=$(GSETTINGS_BACKEND=dconf gsettings get org.cinnamon.desktop.background picture-uri); GSETTINGS_BACKEND=dconf gsettings set org.cinnamon.desktop.background picture-uri ""; GSETTINGS_BACKEND=dconf gsettings set org.cinnamon.desktop.background picture-uri "$old"'

[Install]
WantedBy=suspend.target

then run

sudo systemctl enable <email address hidden>
sudo systemctl daemon-reload

on resume it unsets the background and sets it new based on what the initial value was.
initially i wanted it to read the current background settings say file://path/test.png, copy the file to a duplicate file file://path/test.dup.png then switch to test.dup.png and switch back to test.png

but i think this is good enough now.

still this only fights the symptom. there's an issue that needs to be fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.