Cinnamon: [UPSTREAM ISSUE] After resuming from Suspend, most icons gone and barely any text is visible

Created on 28 Aug 2016  路  31Comments  路  Source: linuxmint/cinnamon

After suspending on Cinnamon 3.0.7 Unstable and then resuming, well, I'll let the screenshots speak for themselves:
screenshot from 2016-08-28 19-09-13
screenshot from 2016-08-28 19-09-34
Also, it isn't just custom applets affected:
screenshot from 2016-08-28 19-12-07

Though, any other apps (Nemo, etc) are not harmed by this bug in any way, shape or form...

  • Cinnamon version: cinnamon 3.0.7
  • Steps To Reproduce:
  • Suspend the PC
  • Leave it suspended for a while (or at least I did)
  • Resume it
  • Wait for the lock screen to show while Cinnamon functions normally despite the glitches in icon and text
  • Unlock the User

Restarting Cinnamon fixes it for that session, but still, it NEEDS to be fixed though

BUG

Most helpful comment

@Redsandro Ways of restarting Cinnamon:
Most Common: Ctrl + Alt + Esc
Simpler Way (Your way): Alt + F2, r, Enter
Good old Terminal way: Ctrl + Alt + T, cinnamon --replace, Enter

All 31 comments

Ok, so that you know which Cinnamon version is running, I checked in the Update Manager by enabling the 'Old Version' column and it says Cinnamon is currently '3.0.7-20160826040203-xenial' on my machine...

Should I update or leave it as it currently is at for this issue?

I have this problem also.
but it is not at ever wake up.
It has also at times effected the unlock screen date and time with missing text.
I do have the Intel Iris Pro, not sure if it is not recognizing it is the problem

Do you mean "ordinary" suspend (suspend-to-ram) or hibernation (suspend-to-disk)?

In my case its suspend-to-ram.
I don't use hibernation, it just doesn't work properly.
I had to install deconf editor to change when the battery is critically low to suspend instead of the default hibernate.
For some reason the option is not in the power management settings in mint 18.
Here is a screen shot of mint 17.3
screenshot from 2016-07-07 15-44-26

Ordinary suspend-to-ram

Also, just in, but one of the guys that's trying my OS is having a similar bug but with Nemo (feren OS is based off of Linux Mint 18.0 and uses Cinnamon Stable):
image

Got the same problem with other tools now: WEKA which is a JAVA application.

arbeitsflache 1_033

Big parts of the GUI are missing, when I move over them, they appear and stay again.

I'm also having this problem after upgrading to Linux mint 18. It doesn't happen after each suspend though. Sometimes its only the cinnamon, but I've also had the problem occur with other applications.

Cinnamon 3.0.7
Intel HD 4600 Graphics

brokencinnamon

Now I'm having this problem on Mint 17.3, cinnamon 2.8.8. This one is a laptop with Intel HD 4400 Graphics.

screenshot from 2016-10-18 21 41 35

@feren Have you reported this issue against the Intel driver? as I doubt it's cinnamon related.

I can confirm this bug using Cinnamon 3.0.7, Ubuntu 16.04, intel graphics (Lenovo Thinkpad x230). It is quite random (maybe 1 in 10 times?). It is often various applets that are all black, or Main Menu items (as in prior screenshots).

Also, sometimes active window will be transparent (can't see anything) with a black border.

Is the maybe muffin related? I do not see the problem in other desktops.

@JosephMcc Shall we have the 'Bug Reproduced' tag here? (Many people can confirm the bug)

Cofirmed.


@feren 9 out of 10 times I can successfully run r to restart Cinnamon as a workaround. E.g.:

Alt + F2, r, Enter

(Tremendously annoying, but better than nothing.)

@Redsandro Ways of restarting Cinnamon:
Most Common: Ctrl + Alt + Esc
Simpler Way (Your way): Alt + F2, r, Enter
Good old Terminal way: Ctrl + Alt + T, cinnamon --replace, Enter

I see this bug in Linux Mint 17.3 when using any of the 4.4 kernel series. Currently on 4.4.0-45 to avoid the nosy cow bug, but might have to roll back to the 3.13 kernel series if this bug continues.

Intel graphics on my laptop. scrambled or missing text after resuspend, sometimes after fast-user-switching between accounts. restarting cinnamon fixes the bug, but wife and kids aren't going to want to learn how to do this.

@chrisonhub Intel, interesting, I should point out I have intel graphics too, and kernel 4.4.0-45 too. But I did have this issue for a long time, possibly as long as the first kernel that came out with Mint 18. I did _not_ have this problem with Mint 17.x.

@feren thanks, I didn't know about Ctrl + Alt + Esc

I think I just found the equivalent bug in the Ubuntu tracker:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1573959

Interestingly, that bug refers to 4.4.0-21-generic kernel....

In the thread, people have suggested to remove xserver-xorg-video-intel,
and instead use the built in modesetting driver - does anyone know how to do this?

When I looked at Synaptic, the version I have installed is the:
xserver-xorg-video-intel-lts-vivid - 2:2.99.917-1~exp1ubuntu2.2~trusty1

in the description of the "xenial" version (same version number) says:

The use of this driver is discouraged if your hw is new enough (ca. 2007 and newer). You can try uninstalling this driver and let the server use it's builtin modesetting driver instead.

Is anyone brave enough to try removing the driver?
Is there an easier way to tell Mint to use the 'modesetting' driver instead?

Good find @chrisonhub

This won't look good on my cv, but I'm too dependent on my work laptop to dare to try this right now. :angel:

This bug is annoying but at least the workaround (restarting cinnamon) is reliable and doesn't even shut down any running apps.

@Redsandro you wouldnt have had this issue with LM 17.x as they shipped with 3.13 or 3.19 kernels. Unless you specifically updated to the 4.4 series, that is.

3.13 is ancient, but still supported for a while yet and doesnt have this bug. I wont be upgrading to LM 18 until this bug gets fixed - oh, and also the one where your mouse cursor is invisible after user switch (again an Intel driver bug). I saw similar graphical issues when i tested Ubuntu MATE 16.04 and the Ubuntu bug has people commenting from elementaryOS too, so it appears that the whole 16.04 and derivatives are affected.

We might have a long wait - it needs fixing upstream in Ubuntu, then backporting to Ubuntu16.04.x and then Clem and the team need to incorporate it into a LM 18.x

I might have to stick with LM17.3 for a while yet!!

I found a suggestion on askubuntu on this topic (there are lots of open bugs for this problem - this has been a "known" but not fixed issue for a long time....)
http://askubuntu.com/questions/764361/some-icons-and-text-randomly-become-invisible-after-waking-up-from-sleep-ubuntu?noredirect=1&lq=1

this suggests to add the following line to /etc/environment
COGL_ATLAS_DEFAULT_BLIT_MODE=framebuffer

https://wiki.archlinux.org/index.php/intel_graphics#Font_and_screen_corruption_in_GTK.2B_applications_.28missing_glyphs_after_suspend.2Fresume.29

I am testing it now, with kernel 4.4.0-45 and LM17.3

something else for people to try when using LM 18 is to update the graphics drivers with this PPA. Supposedly helps people on Ubuntu 16.04 and 16.10:

https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

sudo add-apt-repository ppa:oibaf/graphics-drivers sudo apt-get update

Not sure its an improvement. wake from suspend worked a few times, user switching was ok too, but then a wake from suspend showed me my desktop picture, dimmed with gray (ie the lock screen) but didnt provide a password prompt. I couldnt switch to another TTY so had to hard-reset.

I am back on 3.19 without the BLIT_MODE change.

For people on 16.04 or LM18, they might want to try updated graphic drivers:
https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers

sudo add-apt-repository ppa:oibaf/graphics-drivers sudo apt-get update

Please report back if this helps.

This is what happens to my setup every few wake ups later. I do not have a nvidia card, so hardware drivers issue seemed unlikely. I first thought it happened every time I started a music player (clementine, mostly), but now I am not very sure. Sometimes restarting cinnamon helps (alt+f2, type r and hit enter) sometimes even that does not work and a full reboot is required.

Same here with ElementaryOS running Pantheon ... Seems to be something more fundamental ...

Just amping up the title to UPSTREAM ISSUE to reflect the confirmation about this bug upstream...

Cinnamon 3.2.7
18.1 serena
CPU: Intel Core i5-3320M CPU @ 3.3GHz
GPU: Mesa DRI Intel(R) Ivybridge Mobile

Similar problems to above, icons are fine yet glyphs just don't render for some reason. Resetting cinnamon alone doesn't fix it, only rebooting has helped so far

press Alt+F2 and enter r
cinnamon refreshes, I have the same issue specially when I suspend at high ram usage (like too many chrome tabs are running)

This worked for me @PaymaanJ. I just noticed this issue after a long time after doing updates and upgrading to Linux kernel v4.4.0-98.

This seem to be related to specific kernel versions or updated kernel dependencies.

@GiantCrocodile I am glad it worked for you. I am stuck at mint 17 and kernel 4.4.060 I suppose.

Was this page helpful?
0 / 5 - 0 ratings