Screen freezes frequently

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jupiter24

Screen freezes frequently

Post by jupiter24 »

Hi!
First of all, I'm not completely sure if this is the right section because I don't know if my problem is caused by Cinnamon, a driver or something else.

I installed Linux Mint 17 64-bit Cinnamon a few days ago and I have the following problem: About every 15 - 30 minutes the screen freezes completely. If I switch to a terminal with Ctrl + Alt + F1 and then switch back with Ctrl + Alt + F7, everything works again.
I noticed that only the screen freezes, I can still move the mouse, enter text or click on things, but I only see it after switching to the terminal and back.
I'm using the nvidia-331 driver, using nouveau instead didn't help.

I don't think that the freeze is caused by an application because it occurs randomly, no matter what I'm doing.

What should I do now to solve this problem?

Thanks
jupiter24
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jupiter24

Re: Screen freezes frequently

Post by jupiter24 »

I've just taken a look into the log files and noticed the following:

Xorg.0.log:

Code: Select all

[ 20098.017] (II) NVIDIA(0): Setting mode "NULL"
[ 20098.120] (II) modesetting(G0): EDID vendor "AUO", prod id 8940
[ 20098.120] (II) modesetting(G0): Printing DDC gathered Modelines:
[ 20098.120] (II) modesetting(G0): Modeline "1366x768"x0.0   69.30  1366 1398 1422 1432  768 771 775 806 -hsync -vsync (48.4 kHz eP)
[ 20098.146] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 20098.258] (II) XKB: reuse xkmfile /var/lib/xkb/server-935791BB8D314AF76E0BAA786B66BB82FD866F95.xkm
This appears always when I switch back with Ctrl + Alt + F7. Basically it's nearly the only thing which is in this log file.

syslog:

Code: Select all

Jun 23 20:05:30 DeepThought kernel: [20027.380690] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:a0:f3:c1:5f:ad:b4:08:00 SRC=192.168.0.1 DST=224.0.0.1 LEN=32 TOS=0x0E PREC=0xE0 TTL=1 ID=0 PROTO=2 
Jun 23 20:06:19 DeepThought acpid: client 1701[0:0] has disconnected
Jun 23 20:06:19 DeepThought acpid: client connected from 1701[0:0]
Jun 23 20:06:19 DeepThought acpid: 1 client rule loaded
I guess that the "client has disconnected/connected" is from switching to the terminal and back.
I noticed that before this, so before the freeze, there's almost always a line like the one in this excerpt. Only the number at the front (20027.380690) is different every time.
It looks like this is from the Firewall (ufw). 192.168.0.1 is my router.

I will deactivate ufw now and see if it solves the problem.
jupiter24

Re: Screen freezes frequently

Post by jupiter24 »

I'm sorry, I had a complete blackout and did not pay attention to the timestamps of the events in the log file. The time between the UFW message and the freeze is clearly to big.
Also the screene just froze again with ufw being diabled. So this wasn't the problem.

Has anyone got an idea what else it could be or what I could try?

By the way: The fact that the freeze was almost always after the same message was just because most of the messages in my syslog are those UFW messages.
syomik

Re: Screen freezes frequently

Post by syomik »

Hello,
I am having the same problem and i think its a drivers issue. As i am having no application open at all and after loggin into mint it freezes without me opening anything.
I have a NVIDIA GT 630M : tryed both nvidia-331, 304 both with the same results.

The difference i cant even move the mouse, the whole display freezes like a "screenshot", but music still plays on and after switching the tty, everything works well again, but doing this every 2 minutes is making me go nuts.

jupiter did you manage to solve the problem ?

This is the Xorg.log file last events when crashing :

Code: Select all

[ 28697.263] (II) NVIDIA(0): Setting mode "NULL"
[ 28697.496] (II) modesetting(G0): EDID vendor "AUO", prod id 9964
[ 28697.496] (II) modesetting(G0): Printing DDC gathered Modelines:
[ 28697.496] (II) modesetting(G0): Modeline "1366x768"x0.0   71.80  1366 1414 1446 1526  768 771 777 784 -hsync -vsync (47.1 kHz eP)
[ 28697.529] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[ 28697.767] (II) XKB: reuse xkmfile /var/lib/xkb/server-45BE51FE78D9FA6C1B8675FB3BE6B0A938FC14FC.xkm
[ 28718.880] (II) NVIDIA(0): Setting mode "NULL"
[ 28719.120] (II) modesetting(G0): EDID vendor "AUO", prod id 9964
[ 28719.120] (II) modesetting(G0): Printing DDC gathered Modelines:
[ 28719.120] (II) modesetting(G0): Modeline "1366x768"x0.0   71.80  1366 1414 1446 1526  768 771 777 784 -hsync -vsync (47.1 kHz eP)
[ 28719.157] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[ 28719.512] (II) XKB: reuse xkmfile /var/lib/xkb/server-45BE51FE78D9FA6C1B8675FB3BE6B0A938FC14FC.xkm
[ 28725.099] reporting 4 6 28 201
[ 28728.015] reporting 4 6 28 201
[ 28776.146] (II) NVIDIA(0): Setting mode "NULL"
[ 28776.380] (II) modesetting(G0): EDID vendor "AUO", prod id 9964
[ 28776.380] (II) modesetting(G0): Printing DDC gathered Modelines:
[ 28776.380] (II) modesetting(G0): Modeline "1366x768"x0.0   71.80  1366 1414 1446 1526  768 771 777 784 -hsync -vsync (47.1 kHz eP)
[ 28776.425] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[ 28776.645] (II) XKB: reuse xkmfile /var/lib/xkb/server-45BE51FE78D9FA6C1B8675FB3BE6B0A938FC14FC.xkm
jupiter24

Re: Screen freezes frequently

Post by jupiter24 »

No, I didn't solve it yet. I also tried Mate but the problem remianed.
PatH57

Re: Screen freezes frequently

Post by PatH57 »

just a suggestion.
install htop and run it in a terminal

Code: Select all

htop
then check it when it freezes, this could give an idea on what is using resources at the time it happens.

o
Locked

Return to “Cinnamon”