Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian 9 gnome crashes all the time

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Debian 9 gnome crashes all the time

#1 Post by DonTweaks »

Hi! I've finally installed (after many problems) debina 9 gnome. It crashes all the time though. 10 minutes ago I wanted to use it. In 5 minutes I had to restart my computer 2 times.
I tried to install cinammone, there were no problmes, but other then gnome looks just awful for me (I thought about kali, but it's too advanced for me I guess. I just want to programm and make server, aaaand maybe learn pentesting a bit, but first of all need to learn linux more).

How does crash look? Just a crash. I can do nothing (I can still see the desktop). Video stops, music stops, mouse - sometimes I can move it, sometime I cannot, either way I have to restart my computer.

CPU - i5 7600k OC 4,9 1,250V (maybe that's the problem, but windows works very well).
GPU - GTX 650Ti
Mother - tomahawk z270
RAM - 2x8GB 3000MHz CL15 corsair
SSD - adata 240GB
HDD - toshiba p300 1TB

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Debian 9 gnome crashes all the time

#2 Post by GarryRicketson »

---- snip---but first of all need to learn linux more).
The best way to learn about Linux, and anything else for that matter,
Read, read the documentation, read the other posts on the forum, there are 100s , with similar problems, especially related to Gnome, read documentation
on the history of Linux, read about how things worked well on some of the older versions, but mysteriously, now a days on the newest versions many people seem to have lot's of problems, but the biggest part of the problem is, now a days , wanna be hacker/cracker supeusers, jump in, with out reading or studying any documentation, or starting with the basics.
They just jump in and figure since they "wanna be", they can start using the newest most advanced and also most complex systems and DE's, .... it takes time.
Read about the history, and changes that Linux has gone through, start out
with a simple version of Linux, just a base system, no DE, at first,... learn how to install Xorg and a WindowManager, I would bet $1000 , if you were using a
Debian 9 base, without Gnome or any DE, it does not crash all the time.
I just want to programm and make server,
Also learn how to type/spell accurately, it is important when typing code,
any typo, misspelled/incorrect syntax , etc. will cause the code to fail, and not compile correctly, or even if it does compile , the program won't run as excepted, all to often the problem is 1 little typo.
Servers do not usually use a DE , (Desktop Environment), so why do you think
you need Gnome ? You will be better off learning how to use the command line, so when you set-up your server you can do the tasks needed, from the command line. Last but not least, learn how to use the search engines to find
the basic information you need to start learning about Linux, if that is what you want to learn about.
You do not need a desktop environment (DE) to write a program, neither Gnome nor Cinnamon are necessary. I wrote my first program from a FreeDos prompt, useing qbasic, but that is a whole other topic,... the point is, Gnome or some
other Fancy DE is not needed.
When the founder of Debian, for example, wrote the first code for Debian, no DE's existed yet, Gnome had not even been thought of yet,... and he wrote /programmed a entire operating system.
Linus, started creating Linux, using Minixas his learning OS, again no DE, nor Gnome had even been thought of yet.
from:https://www.wired.com/2012/11/linus-torvalds-isoc/In the summer of 1991, Linus Torvalds was a University of Helsinki student living with his mom. Months earlier, he'd bought a $3,500 generic gray block of a computer. It was a 33-megahertz Intel system with 4 megabytes of RAM. And after Torvalds had installed the 16 floppy disks that comprised the Minix operating system – an early version of Unix for Intel machines – onto this computer, the young hacker was certain that there was room for improvement.

He started poking around, reading obscure Unix documentation manuals, writing little pieces of software that gave Minix a boost. Then, on Aug. 25, he posted a now-legendary note to the internet's Minix newsgroup: "Hello everybody out there using minix – I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones," he wrote "I'd like any feedback on things people like/dislike in minix, as my OS resembles it somewhat."
Learn how to crawl before,trying to walk. So any way, this got much longer then I intended, I think it is great that you want to try to learn about Linux, and programming , there is plenty of good documentation available, the most important first step, learn how to effectively use the search engines to find
it. Or go to a Library, and learn how to find the books.
How does crash look? Just a crash. I can do nothing (I can still see the desktop). Video stops, music stops, mouse - sometimes I can move it, sometime I cannot, either way I have to restart my computer.
I have no idea what could be wrong, to get any kind of help , you need to learn
how to ask a question intelligently, and include details, look at your logs, post
the information they have.
What documentation on installing Debian have you read ? Most likely you do not have the firmware you need installed, or there is a driver problem, nobody
can guess at what is wrong with out a lot more details and info,

MALsPa
Posts: 678
Joined: 2007-12-07 19:20
Location: albuquerque
Been thanked: 2 times

Re: Debian 9 gnome crashes all the time

#3 Post by MALsPa »

DonTweaks wrote:How does crash look? Just a crash. I can do nothing (I can still see the desktop). Video stops, music stops, mouse - sometimes I can move it, sometime I cannot, either way I have to restart my computer.
I think I'd describe that as a "freeze" rather than a "crash." I wonder what apps are running when it happens. For what it's worth, I've been running Debian 9 GNOME here but I haven't been seeing any similar problems.

DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

#4 Post by DonTweaks »

Why not to idę gnome if I like it. Whats better behind awful graphics?
Propably while looking for a logs it'd freeze 5 times in 7 minutes. I'll try to find it though.

Only chromium or firefox.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Debian 9 gnome crashes all the time

#5 Post by pylkko »

To help solve your problem, you could provide the output of:

Code: Select all

apt-cache policy
When a computer "freezes" I always try to look at what the CPU usage is, RAM or disk I/O. In my experience there is often a process that is hogging up one of these. You type "system monitor" into GNOME or use the program "top".

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Debian 9 gnome crashes all the time

#6 Post by debiman »

^ definitely.

additionally, also:
DonTweaks wrote:CPU - i5 7600k OC 4,9 1,250V (maybe that's the problem, but windows works very well).
GPU - GTX 650Ti
several things here:
- some intel processor's gpus don't play so well with debian, i don't know if this is one of those
- overclocked???
- the other gpu is nvidia

how do your 2 gpus work together?
which drivers are active?
is this a laptop (probably not)?
are you using hybrid graphics or what?

post output of

Code: Select all

lspci -k | grep -iEA5 'vga|3d|display'

DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

#7 Post by DonTweaks »

After lspci -k | grep -iEA5 'vga|3d|display'

01:00.0 VGA compatible controller: NVIDIA Corporation GK106 [GeForce GTX 650 Ti] (rev a1)
Subsystem: ASUSTeK Computer Inc. GK106 [GeForce GTX 650 Ti]
Kernel driver in use: nouveau
Kernel modules: nouveau
01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. GK106 HDMI Audio Controller


After apt-cache policy

Plików pakietów :
100 /var/lib/dpkg/status
release a=now
500 http://ftp.man.poznan.pl/linux/debian stretch-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin ftp.man.poznan.pl
500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://ftp.man.poznan.pl/linux/debian stretch/main amd64 Packages
release v=9.2,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin ftp.man.poznan.pl
Przypięte pakiety:

Yes, CPU is overclocked to 4.9 GHz with 1,250V
It's not a laptop
Monitors are sticks only to nvidia GPU

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Debian 9 gnome crashes all the time

#8 Post by Head_on_a_Stick »

Try installing the Intel microcode and firmware-misc-nonfree.

Or go and buy better hardware that supports Debian OOTB :mrgreen:
deadbang

DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

#9 Post by DonTweaks »

Head_on_a_Stick wrote:Try installing the Intel microcode and firmware-misc-nonfree.

Or go and buy better hardware that supports Debian OOTB :mrgreen:
https://wiki.debian.org/Microcode#Debia ... 8stable.29 I tried to install like they say.

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

it's not working
bash: deb: couldn't find commend (or something like this, I havent got english version of debian).

root@michu:/home/michu# apt-get install intel-microcode
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
E: Nie udało się odnaleźć pakietu intel-microcode
E: Coudn't find intel-microcode packet
root@michu:/home/michu#

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Debian 9 gnome crashes all the time

#10 Post by Head_on_a_Stick »

Remember to update your package database after changing /etc/apt/sources.list (and before attempting to install any new packages):

Code: Select all

# apt update
DonTweaks wrote:I havent got english version of debian
Prepending LC_ALL=C will make your commands "speak" English, like this:

Code: Select all

# LC_ALL=C apt install intel-microcode
EDIT: or keep your sources "clean" and just install the .deb instead:

https://deb.debian.org/debian/pool/non- ... _amd64.deb
deadbang

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Debian 9 gnome crashes all the time

#11 Post by None1975 »

Hello. Package of intel-microcode is in non-free repo. You should enable it in your sources.list. Also, you should install firmware-linux-free.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

#12 Post by DonTweaks »

root@michu:~# LC_ALL=C dpkg --install /home/michu/Pobrane/intel-microcode_3.20171117.1_amd64.deb
(Reading database ... 142646 files and directories currently installed.)
Preparing to unpack .../intel-microcode_3.20171117.1_amd64.deb ...
Unpacking intel-microcode (3.20171117.1) over (3.20171117.1) ...
dpkg: dependency problems prevent configuration of intel-microcode:
intel-microcode depends on iucode-tool (>= 1.0); however:
Package iucode-tool is not installed.

dpkg: error processing package intel-microcode (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
intel-microcode

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Debian 9 gnome crashes all the time

#13 Post by debiman »

shouldn't we make sure what the freezes nature is?
during the freeze, can you switch toanother vt with e.g. ctrl-alt-F2?
have a look at Xorg.0.log (is that still in /var/log?), dmesg, journalctl around the time the crash occured.

also 'top' in a terminal before the freeze happens, to see if maybe something eats resources.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Debian 9 gnome crashes all the time

#14 Post by Head_on_a_Stick »

DonTweaks wrote:

Code: Select all

root@michu:~# LC_ALL=C dpkg --install /home/michu/Pobrane/intel-microcode_3.20171117.1_amd64.deb
(Reading database ... 142646 files and directories currently installed.)
Preparing to unpack .../intel-microcode_3.20171117.1_amd64.deb ...
Unpacking intel-microcode (3.20171117.1) over (3.20171117.1) ...
dpkg: dependency problems prevent configuration of intel-microcode:
 intel-microcode depends on iucode-tool (>= 1.0); however:
  Package iucode-tool is not installed.

dpkg: error processing package intel-microcode (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 intel-microcode

Code: Select all

# apt-get install -f
Please also note how much more readable your output is when using code tags and endeavour to add your own in future.
deadbang

DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

#15 Post by DonTweaks »

Code: Select all

root@michu:/home/michu# apt-get install -f
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.

root@michu:/home/michu# LC_ALL=C dpkg --install /home/michu/Pobrane/intel-microcode_3.20171117.1_amd64.deb
Selecting previously unselected package intel-microcode.
(Reading database ... 150766 files and directories currently installed.)
Preparing to unpack .../intel-microcode_3.20171117.1_amd64.deb ...
Unpacking intel-microcode (3.20171117.1) ...
dpkg: dependency problems prevent configuration of intel-microcode:
 intel-microcode depends on iucode-tool (>= 1.0); however:
  Package iucode-tool is not installed.

dpkg: error processing package intel-microcode (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 intel-microcode
root@michu:/home/michu#


I tried to install nvidia drivers from https://linuxconfig.org/how-to-install- ... etch-linux
and after restart a computer, only one monitor is running.
Last edited by DonTweaks on 2017-12-02 19:42, edited 2 times in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Debian 9 gnome crashes all the time

#16 Post by Head_on_a_Stick »

^ Rather than wait for me to spoon-feed you, perhaps you should try simply engaging your brain and using it a little bit:

Code: Select all

intel-microcode depends on iucode-tool (>= 1.0); however:
Package iucode-tool is not installed.
So perhaps you need that package, eh?

You can actually find that yourself but I'm going to help you:

https://www.debian.org/distrib/packages#search_packages

Use the above page to find the package, download the .deb and install it, it will be like a little adventure for you... :roll:

EDIT: if you make one more post without using code tags properly then I will ignore the rest of this thread.
deadbang

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Debian 9 gnome crashes all the time

#17 Post by sunrat »

DonTweaks wrote:...
Yes, CPU is overclocked to 4.9 GHz with 1,250V
This looks to me like the elephant in the room, perhaps your overclock is not stable. I searched and found overclockers running higher voltages at 4.6 to 4.8GHz.
I suggest you reduce your OC to ~4.6GHz.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

#18 Post by DonTweaks »

Code: Select all


root@michu:/home/michu/Pobrane# LC_ALL=C dpkg -i iucode-tool_2.1.1-1_amd64.deb
(Reading database ... 150843 files and directories currently installed.)
Preparing to unpack iucode-tool_2.1.1-1_amd64.deb ...
Unpacking iucode-tool (2.1.1-1) over (2.1.1-1) ...
Setting up iucode-tool (2.1.1-1) ...
Processing triggers for man-db (2.7.6.1-2) ...


root@michu:/home/michu/Pobrane# LC_ALL=C dpkg -i intel-microcode_3.20171117.1_amd64.deb
(Reading database ... 150843 files and directories currently installed.)
Preparing to unpack intel-microcode_3.20171117.1_amd64.deb ...
Unpacking intel-microcode (3.20171117.1) over (3.20171117.1) ...
Setting up intel-microcode (3.20171117.1) ...
update-initramfs: deferring update (trigger activated)
intel-microcode: microcode will be updated at next boot
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-4-amd64
root@michu:/home/michu/Pobrane# 
I guess everything went well!.
After installation I mentioned last post, I said that only one monitor were working at the moment. Still the same + I think that was the problem of freezes. How to fix it?

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Debian 9 gnome crashes all the time

#19 Post by pylkko »

CPU's are not equal, some can withstand more overclocking than others of the same make and model. The first thing you need to do is to disable overvlocking and see if this stops the freezes. If so, then you can try higher rates step by step until you find the maximum that your processor can stand. There are also programs and scripts that deliberately put massive load on the CPU and check the computations it makes that you can use to help.

DonTweaks
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

#20 Post by DonTweaks »

I think the problem was made by graphics drivers.
How to make rest of monitors work, though?

Post Reply