-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cinnamon Freezing Metabug #4072
Comments
I've been facing the problem for some time now (Lenovo Thinkpad T430s, Linux Mint 17.1 64-bit, Intel graphics controller driver=i915). I recently upgraded to 2.4.8 from the repos, and had the freeze occur today, so I still have the issue. I'm now installing your packages and will report if I get the freeze again. Freezing has occurred totally randomly while at work (typically when docked to an external monitor - I don't recall having freezes undocked). The frequency varies a lot. Originally I typically had 1-2 freezes per day, then it when up to a dozen or more per day for a couple of weeks, and for the past week or so it's been very rare - no idea why. I can fix a freeze either by switching to another terminal / desktop and back, or by undocking my laptop (which changes the resolution as well). Since I don't know how to reproduce the problem, I'll report back if I have a freeze with the new packages. If you don't hear anything from me, you can assume the new packages have fixed (or at least alleviated) the problem. (I use the laptop for my work, so I'm not comfortable switching to default settings - sorry.) Thanks for trying to resolve this issue! |
I'm unable to install the packages on Mint 17.1. cinnamon depends on libcjs0e (>= 2.5.0), however the latest version in the repos is 2.4.2. Any suggestions? |
Ack - I goofed. I've updated the packages at the links above - re-download and try again. Sorry! |
Thanks, I've now updated the packages and will shout if I still have freezes. |
Alt-tab. It does not occur on every alt-tab though.
Intel(R) Core(TM) i5-3317U CPU @ 1.70GHz on 64-bit linux
Not sure where to find this, is this the right information? VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller]) The issue seems to occur mainly (or only?) when I'm running Skype, so that might be related? This is before installing the packages above. I now installed the packages, and will report back if the issue reoccurs.
What do you mean exactly by that? Does it mean I should off updating through the Update Manager for now as it would overwrite the installation of the installed packages? |
GPU info is fine - as far as updates, the update manager will see these manually installed packages as of a lesser version than what it offers, so if you blindly update, it will replace these packages. If you find this patch works for you, you can add 'cinnamon' to ignored updates temporarily (right-click on the cinnamon entry, click ignore). When you want to upgrade it eventually (like if we release a new official version), you can then edit your ignored packages list and remove cinnamon. |
Linux Mint 17.1 Cinnamon 64-bit. Version 2.4.8. Kernel: 3.13.0-35-generic. Processor: Intel Core i7-4790K @ 4.00GHz x 4. RAM: 7.8GB. Nvidia GeForce GTX 650 (Driver: Nvidia 340.29). It seems that it can happen anytime. CPU/GPU working/idle. Playing a game, watching a movie, doing nothing. Freezes anywhere from 2 times a day to 1 time a week. The new information, that will surely help you, is that it freezes only on my second monitor! I have two monitors. Main = main, secondary for task-manager, temperature monitor, playing movies, copy/extract dialogs, some programs. So only action on the second monitor freezes - never on the main monitor. All the background programs are still working fine: for example I can still pause the video (audio) playing on the second monitor - by using both a keyboard and a mouse. I can see the mouse cursor, but not anything besides that. The funny thing is that cursor works 100% as normal, it even changes according to what action I attempt on the invisible windows on the background. So everything seems to work on the background, except for the video output on the second monitor (except the mouse cursor). I fix the problem by going to the "Display" settings, disabling the second monitor and then enabling it again. Not a big deal, except that all the windows go and stay on the first monitor, and I have to reorganize them again. Another funny thing is that the second monitor starts working even if I go to settings, disable the second monitor, but then say that I am not satisfied and want everything to be returned back. |
If I tell update manager to ignore the cinnamon package, it still tries to force the install of the official version along with any other package available to update like apt, compiz, or wpa. |
@mtwebster http://pkgs.fedoraproject.org/cgit/cinnamon.git/commit/?id=54083015a4d6491237a00620a508d7af1a5eb381 |
@nkoropoff Ah you probably should have brought your system up-to-date prior to installing (lvl 1, 2, 3) - you can update, let it do its thing, then just re-install those packages. |
// UPDATE: After replacing my power supply, the PC no longer freezes, so it looks like in my case it was a faulty power supply, sorry. In the past few weeks, my Mint 17 box has been freezing (screen, keyboard, mouse) with only option to hold power button to reset. To rule out HDD first, I took an image and restored it on a new disk (SSD). Now I can reproduce the feeze every boot - it happens right when the login screen is about to appear - i.e. when the video mode is changed. Sometimes I will see the UI with the login box (but everything is frozen), sometimes I'll just see blank screen with an unmovable mouse cursor. Previously, it would freeze on the login screen, or any amount of time thereafter, but now I can't even log in. I have also switched graphics cards to no effect.
Any suggestion as to what logs I can attach (e.g. via recovery shell) to help? my /var/log/Xorg.0.log is 0 bytes. |
I have been running the above 64-bit test packages for a week now and have not been able to experience a single freeze so far. The first day was running a default cinnamon environment and then my customized one. Will continue testing but so far it has been very stable for me. |
I've also been running the 64-bit packages for a week now (customized environment) and haven't experienced any freezes. |
I have not any freeze now(while running), but i have some freeze when i try to restart cinnamon. Apparently the cause is the gnome background manager, in this case. If i put a let on the variables not fix the freeze. So, this would not be related with this bugs, but as is a type of freezed, in charge here, to not create chaos. Cjs-Message: JS LOG: About to start Cinnamon Cjs-Message: JS WARNING: [/usr/share/cinnamon/js/ui/backgroundManager.js 38]: assignment to undeclared variable somethingChanged Edit: After some minutes (1-3) cinnamon appeared how is nothing occurs, and it never freeze if i not restart cinnamon. Also this not occurs all times and aparently is relate with the size of the .xsession-errors file. |
On Tue, May 05, 2015 at 05:10:05AM -0700, Lester Carballo Pérez wrote:
This is fixed in Cinnamon git |
@dalcde the let of the variables, is not the cause of the freeze, i also fixed this to test what happens. Is also fixed the froze on restart? I think is the gnome background manager, because when cinnamon froze this error appears, otherwise not. So, this is why i think is the gnome background manager the cause of this. I see all that you made, especially in center the panel (right panel behavior). Thanks. |
Correlation does not imply causation. In this case, I heavily doubt it The errors are due to broken code in backgroundManager.js, which is |
org.gnome.desktop.background is not who emit the signal? I'm not sure what caused the frozen, as i say: i THINK is... In all case will be a place to see. |
There is no gnome background manager afaik. It's just a gsettings schema. Gsettings is known to randomly fire changed:: signals when nothing has changed during startup etc.
can you try to log what specific keys are being changed? Gsetting passes the key to the function as an argument, and you should be able to global.log that.
|
Ok, thanks for the explanation... I will reported the key when i found it more that 3 times, could be different keys, so i will wait to get more than 3 time the same. Thanks. |
ok, i can not way for 3 times after see all this, there are a lot of keys: |
I think that the org.gnome.desktop.background is connected to the signal faster, where the stage is not ready and this is the cause, of the freeze https://github.com/linuxmint/Cinnamon/blob/d9e95ec37570b870dd22fa46e2e6629ee045e22a/js/ui/main.js#L294 Signals need to be connected to the last as possible. |
try deleting that line entirely and see if Cinnamon still freezes. |
@cmcx @acidicX Had the exact same behaviour here, micro freezes every few seconds on an i7-6600 (Intel HD 520). Downgrading to kernel 4.4 (4.4.0-93 at the time of writing) fixed the issue. I've seen the bug on 4.8, 4.10 and 4.11 kernels, iirc also on older 4.4 kernels.
|
@akaIDIOT I'm currently running |
@acidicX neat, got a 4.12.10 kernel from the mainline ppa, which does indeed also 'fix' the bug, haven't seen glitches yet. Alas, ndiswrapper doesn't play ball for that version, but that's a local issue now. Thanks for the headsup! |
I replaced my hp bluetooth keyboard with a plugged in usb one. Problems
have largely stopped, but still happen on occasion. Very seldom now though.
…On 2017-08-30 06:49 AM, Carsten wrote:
@akaIDIOT <https://github.com/akaidiot> I'm currently running
|4.12.8-2-ARCH| on Arch Linux and the stuttering has stopped while on
AC power. Still happens sometimes when on battery though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4072 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAt2ymTEMsUu9cVadHG0dWec5gccMKhsks5sdT49gaJpZM4EGLOs>.
|
The glitches disappeared for me about a year ago, but I still get "slow downs" after running cinnamon for a while. That is, once cinnamon has been running for about a week or so, all interface interaction gets somewhat unresponsive. It seems to get worse the longer I let it go, with delays between clicking on things and them responding getting longer the more time cinnamon has been running. I wonder if this issue is related to the freezing / glitches, or if I should file it as a separate issue. |
Hi ! Arch with Cinnamon, freezing problem too. It seems to be related to Network manager for me (as for example, when my Wifi shutdown for one reason or another, the screen and not the mouse, freeze during seconds) but I did not found any solution (more than a year now) |
Debian 9 64 bits with Cinnamon, |
It's seems that the update of Network-Manager (recently) fixed the problem for me. At least, it's far more uncommon. |
In fact, I'm not sure there's anything I do on this machine that doesn't temporarily freeze sometimes. I pretty much never use alt-tab, but I do have a hot corner for "show all workspaces" which I use often. I also have 25 workspaces most of the time.
I had the problem with Mint 18.2 a little, so I reinstalled with Mint 18.3. It was good for a while, but then it got more frequent than it was on 18.2. My Cinnamon version is 3.6.6. I reboot infrequently, and log out infrequently. I have a couple of other machines with Linux Mint on them. One is still 18.2, the other is 18.3. Neither of these 2 show the problem. I tried turning off all desktop effects, but it does not appear to have lead to a resolution. I did not try to install the deb's in the issue description, because I'm on a much later version of Mint and Cinnamon. Thanks! |
What are you doing when it manifests? Restarting network manager because, for some reason, and even though wifi shows as up, I can't connect. (DNS problem?) Result: 5-10 second freeze, then Cinnamon crash. How do you resolve it? Reboot, or switch to tty and back again, or... Your cpu type and whether you're running 32- or 64-bit Intel i7-8550U, 64-bit Mint. Your gpu type Intel Kabylake GT1.5 Cinnamon 3.6.7. |
I've seen this on a laptop with Intel graphics - I don't think it's Nvidia only. |
Similar problem here... What are you doing when it manifests? Freezes some random time after I undock from station, when doing tasks that imply opening new dialogs, like Open file/save dialog. My main screen is laptop, second screen is monitor. Both screens freeze, only mouse moves. Can switch to tty and back. How do you resolve it? Reboot, or switch to tty and back again, or... I switch to tty and run Your cpu type and whether you're running 32- or 64-bit Processor: Intel Core i5-3230M @ 2.60GHz 4-core Your gpu type Graphics Card: Intel Corporation 3rd Gen Core processor Graphics controller Thank you for any help. =======
|
Random freezes, only mouse pointer can move. What are you doing when it manifests? It happened again, this time there was no sshfs folder mounted, it happened when i was clicking on terminal opened tab. Here is the log from System Reports, it appears to be the same error!
|
I hope I'm in the right place here, even though I'm using Debian and not Linux Mint. https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=cinnamon-desktop-environment;dist=unstable only lists two bugs for Cinnamon, that can't be right. **Cinnamon freezes whenever I use Alt+Tab ("cycle through open windows") while a new window opens. Apparently it can't deal properly with adding new items to the list while it's open. Debian: 9.11
What resolves it: Usually I reboot, but This also happens with default settings. This does NOT happen in my Debian VM! It uses Debian 9.9 (but I'm pretty sure I also had this issue when I had Debian 9.9 as my main system) and its graphics card shows in the system settings as "VMware SVGA II Adapter (prog-if 00 [VGA controller])". Everything else should be identical. |
I have observed this intermittently. What are you doing when it manifests?
Your gpu type
(I can include I'm not able to follow the testing steps at this time, but I'll comment/if when I do. |
Hello! The freeze may happen randomly, just running the game of VirtualBox VM for a long time. It's luck because freeze happens randomly, at some moment it may don't occur, but at others, happen often. To "escape" it, I had to switch between TTY and graphical mode. However, when I run Cinnamon in software mode, freezes don't happen. Any ideas why that could happen? I use Linux Mint 20.3, using video card Nvidia RTX-2060, and the problem is the same with both 470 and 510 Nvidia drivers. I'll try to disable the compositor-side VSync and try some, will it freeze or not... P.S. Forgot to say, even without a freeze, Cinnamon gets a much more loaded CPU when running OpenGL game or VirtualBox VM. When running in software mode, Cinnamon doesn't load the CPU so much. |
I've been experiencing this freezing in the past few hours. It happened out of nowhere, I was simply listening to an online radio and writing a post on a forum. Suddenly the radio got cut off, the keyboard stopped working for the most part (only some keys worked) and the menu froze (it wouldn't minimize). |
I know that, this is how I set it in software rendering mode in the first place. I was talking about how to make it run in software mode automatically at every reboot, so that I don't have to do it manually. I talked to a friend of mine who's way more savvy than me in the matters of xorg and the nvidia driver and he said there's a chance this freeze was caused by something called "wakelock". So I'll downgrade the nvidia driver and see how it behaves. |
At me, if you toggle some at this menu, it will stay even after a reboot, does it resets at you? |
btw, at my side, I did some small experiments:
I did this, and seems, the thing no longer freezes because of running games or VirtualBox VM... And keeping run in default mode. Try this, I'm curious how it will work at your side... |
I couldn't get there. I think the video card is dying but it's doing it in a very strange way. In Windows it's working perfectly fine, whereas in linux freezes, crashes, I'm expecting a nuclear explosion at some point... Even software rendering mode froze, altough not as quick as the regular mode. |
It is dying, just not in the typical way with artifacts. My already installed distro (arch LTS) is no longer useable, the moment I run it and it freezes. Restarting X helps for a few seconds, then freezes again, the live DVD of any Linux distro also freezes and can't be installed or used for any operations. In Windows there are no artifacts (yet) but games that used to "fly" now have become sluggish - Forza 4 & 5, Mad Max, GTA 5, even Hard Truck Apocalypse. The frame rate is fine but when you move through the menus, you can see a huge lag between pressing the arrow key and the actual movement of the cursor through the menus. |
You can scratch my posts here, it turned out the freezing wasn't caused by the video card but because of one of the memories - it has defected. After I removed it, leaving the other 3 on the motherboard, Cinnamon stopped freezing. So now all I have to do is buy one more piece of 8GB RAM. |
Really, my mom recently had an even worse case because of a faulty memory module, in her case, known to be stable software glitched weirdly, and OS had failed once per hour. Then I ran memtest, and I confirmed that it was a faulty module. Once I ejected it, everything started to work fine. |
In an effort to solve issues many users are having, I'm creating this issue to try to keep everything together and easy to manage, and will be closing other reports. Please read through this entirely before actually doing anything.
Please keep this civil and to the point. I'm not interested in commentary, complaints, threats, FUD or anything else unhelpful. I will remove or edit such posts.
If you wish to paste logs - anything more than a line or two, please use a pastebin service. This stuff is much easier to read there, and keeps this issue from becoming enormous.
General
If you are affected by freezes in Cinnamon, I ask that you report the following:
Testing
Install the following packages - note, these are only if you're running stable cinnamon from the repos (2.4.8) - nightlies already include the fix I'm testing here. As data is collected, I may publish updated packages containing more fixes. Install all level 1, 2, and 3 updates before doing this.
32-bit:
https://dl.dropboxusercontent.com/u/8201170/cinnamon_2.4.8_i386.deb
https://dl.dropboxusercontent.com/u/8201170/cinnamon-dbg_2.4.8_i386.deb
https://dl.dropboxusercontent.com/u/8201170/cinnamon-common_2.4.8_all.deb
64 bit:
https://dl.dropboxusercontent.com/u/8201170/cinnamon_2.4.8_amd64.deb
https://dl.dropboxusercontent.com/u/8201170/cinnamon-dbg_2.4.8_amd64.deb
https://dl.dropboxusercontent.com/u/8201170/cinnamon-common_2.4.8_all.deb
Do not install these using the graphical installer. Instead, download all three packages to a folder, go to that folder in a terminal, and run:
Try to reproduce the problem in the default environment. This is to attempt to have everyone test under the same controlled conditions. I'm not condemning 3rd party applets, desklets and extensions, I'm merely trying to get to the core problems. If it turns out there are issues with 3rd party applets, we'll work with those developers if possible, and within Cinnamon, to mitigate them. For now, I'm looking for consistent data.
A fairly simple way to create a temporary test environment is to do the following:
open a terminal:
I recommend logging out and back in at this point, before continuing - depending on your system, it may freeze for a moment, or even require a reboot. Make sure you have nothing unsaved before doing this. This is nothing to be alarmed about.
Now, attempt to reproduce the issue.
Once you're done, to restore all your settings:
Again, you should log out and back in (Cinnamon may freeze at this point, just as mentioned above, as you're sending a fairly enormous jolt of changes to it at once - again, this is nothing to be concerned with)
Attempt to reproduce once more.
If there is a change in behavior (something in your settings apparently is the cause), I'd ask that you share your 'mysettings' file - please use a pastebin/dpaste service to do so, and share the link.
One last bit of data I'd like, if you've installed those test packages, is one line from your ~/.xsession-errors file:
or:
If you wish to revert back to stable packages afterward, you should be able to simply update through the Update Manager.
If you have any questions or issues don't hesitate to voice them, or I can be contacted on Spotchat irc in #linuxmint-dev channel (I'm always there, though not always available - just be patient)
Thank you in advance for all your patience, understanding, and effort.
The text was updated successfully, but these errors were encountered: