Debian 9 gnome crashes all the time

If none of the more specific forums is the right place to ask

Debian 9 gnome crashes all the time

Postby DonTweaks » 2017-12-01 22:20

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
DonTweaks
 
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

Postby GarryRicketson » 2017-12-02 00:04

---- 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,
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4475
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Debian 9 gnome crashes all the time

Postby MALsPa » 2017-12-02 05:56

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.
MALsPa
 
Posts: 621
Joined: 2007-12-07 19:20
Location: albuquerque

Re: Debian 9 gnome crashes all the time

Postby DonTweaks » 2017-12-02 06:21

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.
DonTweaks
 
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

Postby pylkko » 2017-12-02 06:26

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
pylkko
 
Posts: 1213
Joined: 2014-11-06 19:02

Re: Debian 9 gnome crashes all the time

Postby debiman » 2017-12-02 08:03

^ 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'
User avatar
debiman
 
Posts: 1626
Joined: 2013-03-12 07:18

Re: Debian 9 gnome crashes all the time

Postby DonTweaks » 2017-12-02 11:23

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
DonTweaks
 
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

Postby Head_on_a_Stick » 2017-12-02 11:29

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

Or go and buy better hardware that supports Debian OOTB :mrgreen:
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6810
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 9 gnome crashes all the time

Postby DonTweaks » 2017-12-02 11:42

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#
DonTweaks
 
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

Postby Head_on_a_Stick » 2017-12-02 11:54

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
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6810
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 9 gnome crashes all the time

Postby None1975 » 2017-12-02 12:03

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 9.3 / WM: i3wm
Debian Wiki | DontBreakDebian, i3wm
User avatar
None1975
 
Posts: 230
Joined: 2015-11-29 18:23
Location: Lithuania

Re: Debian 9 gnome crashes all the time

Postby DonTweaks » 2017-12-02 18:53

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
DonTweaks
 
Posts: 8
Joined: 2017-12-01 22:09

Re: Debian 9 gnome crashes all the time

Postby debiman » 2017-12-02 18:55

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
debiman
 
Posts: 1626
Joined: 2013-03-12 07:18

Re: Debian 9 gnome crashes all the time

Postby Head_on_a_Stick » 2017-12-02 19:09

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.
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 6810
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian 9 gnome crashes all the time

Postby DonTweaks » 2017-12-02 19:13

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.
DonTweaks
 
Posts: 8
Joined: 2017-12-01 22:09

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable