[Solved] System freezing - Mint 13 Cinnamon

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
esteban1uy

Re: System freezing - Mint 13 Cinnamon

Post by esteban1uy »

I've been trying really hard to reproduce the Cinnamon freeze in my machines but I had no luck, so I feel a little frustrated of not being able to help.
But using a little logic I came up a little experiment that might be worth of trying:

Please, execute the following code:

Code: Select all

gksu gedit /etc/environment
At that text file add the following line:

Code: Select all

CLUTTER_PAINT:disable-clipped-redraws:disable-culling
Save it, restart your system and log in Cinnamon. Then do the usual stuff that induce a freeze.
Any changes?

The logic behind the code:
Than environment variable forces Cinnamon to redraw the full stage every time some part of a what is visible changes. That's not the default behaviour. Normally, only the part that changes is redrawn (in Clutter terminologý, that part is "damaged") and the redrawing is done by sending a "signal" to the 3D driver to manage it. And it seems that some proprietary drivers have problems with that scheme of operation. Let's say that some drivers don't know what to do when they find a lot of redraws of some seccion of the desktop and they enter an unstable state. More simply: they get confused and stuck. On the other hand, the signal to redraw the full stage (all that's visible at the desktop) is managed primarily by the kernel, not directly by the driver.

If you notice some change in the freeze bug using that workaround, please report it.
Last edited by esteban1uy on Wed Jun 20, 2012 3:55 pm, edited 1 time in total.
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: System freezing - Mint 13 Cinnamon

Post by kmb42vt »

I've loaded Maya/Mate with the default MDM on my Thinkpad R61 that exhibited the Cinnamon freezing problem and so far no freezes at all. I'm not too sure then what the problem is for those who also use Maya/Mate who are also experiencing freezes. Everything is pointing towards a separate issue than what is affecting Cinnamon. The next step when I have time is to reinstall Maya/Cinnamon and compile Cinnamon from Git as others have done and see if that solves the problem for me. I seem to have the right laptop for testing this problem out. :)
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: System freezing - Mint 13 Cinnamon

Post by kmb42vt »

esteban1uy wrote:I've been trying really hard to reproduce the Cinnamon freeze in my machines but I had no luck, so I feel a little frustrated of not being able to help.
But using a little logic I came up a little experiment that might be worth of trying:

Please, execute the following code:

Code: Select all

gksu gedit /etc/environment
At that text file add the following line:

Code: Select all

CLUTTER_PAINT:disable-clipped-redraws:disable-culling
Save it, restart your system and log in Cinnamon. Then do the usual stuff that induce a freeze.
Any changes?

The logic behind the code:
Than environment variable forces Cinnamon to redraw the full stage every time some part of a what is visible changes. That's not the default behaviour. Normally, only the part that changes is redrawn (in Clutter terminologý, that part is "damaged") and the redrawing is done by sending a "signal" to the 3D driver to manage it. And it seems that some proprietary drivers have problems with that scheme of operation. On the other hand, the signal to redraw the full stage (all that's visible at the desktop) is managed primarily by the kernel, not directly by the driver.

If you notice some change in the freeze bug using that workaround, please report it.
Good suggestion! As soon as I have Maya/Cinnamon reloaded on my Thinkpad I'll give it a try.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: System freezing - Mint 13 Cinnamon

Post by kmb42vt »

Penurious Penguin wrote:
Not I; but 'tis an unpredictable and inconsistent bug for me.

Though I have suggested the same and use Mate myself, it seems this thread is hellbent on ignoring anything but Cinnamon. I also agree that it is graphics related and predict many of those who've reported success, to return eventually with complaints of the same bug. I can only hope enough un-spiced penguins will stray hither and receive due attention, some day.
be
The thread is not actually hell bent on ignoring anything but Cinnamon, this thread is about freezing problems in Cinnamon only as the title suggests. Meaning that this particular freezing problem some users are experiencing is related to Cinnamon 1.4 in Maya. Testing has just about proven this is a Cinnamon problem. For myself, Maya/Mate runs fine with no freezes on a laptop that experiences freezes using Cinnamon so my suggestion is to start another thread about freezes in Mate and then we can keep a close eye on how both threads are progressing. If we should find a common element then great otherwise we really shouldn't mix up both DEs in one thread since we might end up pursuing two different problems and that can get confusing. :shock:
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
Penurious Penguin

Re: System freezing - Mint 13 Cinnamon

Post by Penurious Penguin »

@kmb42vt

Point well taken, but I am tired of it all for now and will let someone else open the thread. I shan't post here again.
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: System freezing - Mint 13 Cinnamon

Post by kmb42vt »

Penurious Penguin wrote:@kmb42vt

Point well taken, but I am tired of it all for now and will let someone else open the thread. I shan't post here again.
I've started a thread just for those experiencing freezes in Maya/Mate. Here's the link:

http://forums.linuxmint.com/viewtopic.php?f=90&t=105715

I hope I didn't put you off any. That was not my intention.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
Sieva

Re: System freezing - Mint 13 Cinnamon

Post by Sieva »

having similar issues. Have had quite a bit of the ol' cinnamon session glitching up, mouse works, no other input. Now, I wanted to clean up my disk, so used bleachbit. I didn't tell it to kill my firefox bookmarks, but they're now corrupted/gone, and when I open up Chromium-browser, my entire user session crashes and logs me out!

from syslog:
Jun 21 02:27:06 Toshiva mdm[3625]: WARNING: mdm_slave_xioerror_handler: Fatal X error - Restarting :0
Jun 21 02:27:07 Toshiva acpid: client 3645[0:0] has disconnected

Not much else to go on as far as I can see with the /var/logs. I wish I had some more suggestions or diagnostical data for everyone, but at least I'll +1 for yet another person having the issue at hand.
kinzeron

Re: System freezing - Mint 13 Cinnamon

Post by kinzeron »

esteban1uy wrote:I've been trying really hard to reproduce the Cinnamon freeze in my machines but I had no luck, so I feel a little frustrated of not being able to help.
But using a little logic I came up a little experiment that might be worth of trying:

Please, execute the following code:

Code: Select all

gksu gedit /etc/environment
At that text file add the following line:

Code: Select all

CLUTTER_PAINT:disable-clipped-redraws:disable-culling
Save it, restart your system and log in Cinnamon. Then do the usual stuff that induce a freeze.
Any changes?

....
If you notice some change in the freeze bug using that workaround, please report it.
NO changes! still freezing, for now all we can do is suspect. I have the bug as soon as I start firefox (predicatble), and as soon as I open a link from outside firefox (i.e. the firefox browser is in not the current active app). I only have it on this old machine. 8400MG laptop, 2GHz intel centrino duo T7300 with 4G of ram.
EddieW

Re: System freezing - Mint 13 Cinnamon

Post by EddieW »

OK, my case is even a little different. I'm running Mint 9 on a Gateway laptop and it's more or less rock solid as long as I don't tinker with it. Mint 10 Live, Mint 11 Live and Mint 12 Live works fine from the DVD without any lockups at all. Mint 13 ... both Maya and Cinnamon will occasionally lock the system up so that I have to do a hard reboot. There doesn't seem to be any reason for it. I'm offline when running the Live versions of Mint 13 from the DVD so Firefox doesn't have anything to do with it. It has happened when I run Libre Office, OpenShot and other similar programs. In each case, I lost the work I was doing. I do almost always have music playing in the background, either through VLC or Gnome MPlayer.

Does this ring a bell with anybody?

I want to do a new install of Mint 13 when I replace the HD in the Gateway but there's no way I'm going to do that with this problem running wild. Until it gets solved, I'm stuck.

Eddie Warren
Wallace, NC
thearc77

Re: System freezing - Mint 13 Cinnamon

Post by thearc77 »

I'm successfully fix this freeze in Cinnamon for couple of week with another java engine, using Oracle 1.6.0_31/32/33 (Ggl for "Flexion Java Git" and then tottally uninstalling OpenJDK) and found the bug return when trying different Gtk engines/themes are installed (like Equinox) and go away uninstalling them.

Pls if someone can confirm this we can mark the rigth way for developers.
kinzeron

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by kinzeron »

What kind of gtk engine r u using now ?
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by kmb42vt »

Why is this thread marked [solved] when it isn't? Yes, most things point to Cinnamon 1.4 as the problem but that isn't firm yet and no real fix has been offered via a package download or an update. Compiling Cinnamon from Git solved the problem for some, changing Java solved it for others, replacing MDM with another display manager still solved it for another set of users. Nothing is firm and this thread should not be marked solved.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
juliobm

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by juliobm »

kmb42vt wrote:Why is this thread marked [solved] when it isn't? Yes, most things point to Cinnamon 1.4 as the problem but that isn't firm yet and no real fix has been offered via a package download or an update. Compiling Cinnamon from Git solved the problem for some, changing Java solved it for others, replacing MDM with another display manager still solved it for another set of users. Nothing is firm and this thread should not be marked solved.
i'm completely agree. NOT SOLVED !!!!
User avatar
xenopeek
Level 25
Level 25
Posts: 29504
Joined: Wed Jul 06, 2011 3:58 am

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by xenopeek »

OP marked the topic solved, so apparently it is solved for OP. As this topic has a lot of history of things tried and investigated, and the solutions provided have worked for some but not for all (clouding the analysis of the remaining issues), I suggest one user still having problems creates a new topic. I'll lock this topic and link to the new topic, where analysis of the issue can continue.

I suggest the first posters on the new topic include a summary of the steps from this topic tried, that failed to resolve the system freezing issue.
Image
User avatar
kmb42vt
Level 5
Level 5
Posts: 974
Joined: Sun Dec 06, 2009 11:15 am
Location: Vermont
Contact:

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by kmb42vt »

xenopeek wrote:OP marked the topic solved, so apparently it is solved for OP. As this topic has a lot of history of things tried and investigated, and the solutions provided have worked for some but not for all (clouding the analysis of the remaining issues), I suggest one user still having problems creates a new topic. I'll lock this topic and link to the new topic, where analysis of the issue can continue.

I suggest the first posters on the new topic include a summary of the steps from this topic tried, that failed to resolve the system freezing issue.
Works for me.
"Humph. Choice, it is the quintessential Linux delusion, simultaneously the source of it's greatest strength, and it's greatest weakness." (All apologies to The Architect)
KBD47
Level 7
Level 7
Posts: 1836
Joined: Fri Jul 29, 2011 12:03 am

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by KBD47 »

FYI: the Maya/MATE freezing thread:
http://forums.linuxmint.com/viewtopic.p ... 15&start=0
User avatar
Garvan
Level 4
Level 4
Posts: 300
Joined: Sun May 29, 2011 3:26 am
Location: Thailand
Contact:

Which version of java is Cinnamon using?

Post by Garvan »

I have installed a second version of Java (Oracle Java) and I want to know how I determine which version Cinnamon is using.

This is the output of
sudo update-alternatives --config java

Code: Select all

sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                           Priority   Status
------------------------------------------------------------
* 0            /opt/java/32/jre1.7.0_05/bin/java               2000      auto mode
  1            /opt/java/32/jre1.7.0_05/bin/java               2000      manual mode
  2            /usr/lib/jvm/java-6-openjdk-i386/jre/bin/java   1061      manual mode

Press enter to keep the current choice[*], or type selection number: 
And in LibreOffice I have selected to use 1.7.0
Image

So which version does Cinnamon now use?

Garvan

PS. I can stop the crashes of Cinnamon by disabling Java in LibreOffice, but this leaves me without a working toolbar.
Notebook: DELL Latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Linux Mint 17.2 (2011)
Notebook: DELL Latitude 5280, i5-73000 @ 2.7 GHz., 16 GB RAM, Linux Mint 19.2 (2019)
thearc77

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by thearc77 »

I'm using default Gtk engine, i try for ie Equinox and the freeze back, so uninstalled and using the defaults.

About having 2 java engine, simply remove all about OpenJDK and IcedTea plugin, thats its all (easy from Synaptics). For a long time testing I've to install Linux in a new one work box (I3 3gz 2GB MSI board all in one) and installed Mint, is running non stop since friday 6pm (Argentina) without freeze with Cinnamon.

To trigger the freeze I've used JDownloader, when run this app all systems I've Mint installed get frozen but when I install Oracle Java (always 1.6.0_x versions) the issue go away and JDownloader run fine.

Sorry for my humble english.
MSeries

Re: Which version of java is Cinnamon using?

Post by MSeries »

Garvan wrote:
So which version does Cinnamon now use?
java -version will tell you which version of Java is your default one
User avatar
Garvan
Level 4
Level 4
Posts: 300
Joined: Sun May 29, 2011 3:26 am
Location: Thailand
Contact:

Re: [Solved] System freezing - Mint 13 Cinnamon

Post by Garvan »

I know the default version of java, but I saw that LibreOffice can be configured to use any of the installed java versions, so I wondered if cinnamon was the same. Deleting the old version would be an option, but I wanted to be able to switch back and forth in case the problem returns.

I have had no crashes since installing Oracle Java, which I know is being used by LibreOffice and I think is being used by cinnamon.

Garvan
Notebook: DELL Latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Linux Mint 17.2 (2011)
Notebook: DELL Latitude 5280, i5-73000 @ 2.7 GHz., 16 GB RAM, Linux Mint 19.2 (2019)
Locked

Return to “Beginner Questions”