Page 14 of 27

Re: System freezing - Mint 13 Cinnamon

Posted: Wed Jun 20, 2012 3:38 pm
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.

Re: System freezing - Mint 13 Cinnamon

Posted: Wed Jun 20, 2012 3:44 pm
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. :)

Re: System freezing - Mint 13 Cinnamon

Posted: Wed Jun 20, 2012 3:47 pm
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.

Re: System freezing - Mint 13 Cinnamon

Posted: Wed Jun 20, 2012 3:56 pm
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:

Re: System freezing - Mint 13 Cinnamon

Posted: Wed Jun 20, 2012 6:20 pm
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.

Re: System freezing - Mint 13 Cinnamon

Posted: Wed Jun 20, 2012 7:19 pm
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.

Re: System freezing - Mint 13 Cinnamon

Posted: Thu Jun 21, 2012 3:52 am
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.

Re: System freezing - Mint 13 Cinnamon

Posted: Thu Jun 21, 2012 8:55 am
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.

Re: System freezing - Mint 13 Cinnamon

Posted: Thu Jun 21, 2012 2:03 pm
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

Re: System freezing - Mint 13 Cinnamon

Posted: Fri Jun 22, 2012 8:27 pm
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.

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Sat Jun 23, 2012 12:57 pm
by kinzeron
What kind of gtk engine r u using now ?

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Sat Jun 23, 2012 1:05 pm
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.

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Sat Jun 23, 2012 1:36 pm
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 !!!!

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Sat Jun 23, 2012 2:50 pm
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.

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Sat Jun 23, 2012 6:20 pm
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.

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Sat Jun 23, 2012 11:09 pm
by KBD47
FYI: the Maya/MATE freezing thread:
http://forums.linuxmint.com/viewtopic.p ... 15&start=0

Which version of java is Cinnamon using?

Posted: Sun Jun 24, 2012 9:10 am
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.

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Mon Jun 25, 2012 12:38 am
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.

Re: Which version of java is Cinnamon using?

Posted: Mon Jun 25, 2012 3:57 am
by MSeries
Garvan wrote:
So which version does Cinnamon now use?
java -version will tell you which version of Java is your default one

Re: [Solved] System freezing - Mint 13 Cinnamon

Posted: Mon Jun 25, 2012 7:46 am
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