You are not logged in.
Pages: 1
Hi everyone,
I'm new to archlinux and this forum. I choosed this distro because with it, "I know what happens and why", but not this time...
The problem:
the computer (a laptop) freezes randomly when running any application like okular or chromium for example. I can't use the keyboard, move the mouse or go to another tty, the screen is on and freezes.
After the last crash, I copied the folder /var/log and the output of dmesg
The question:
Which file should I read or which command should I execute to know what is wrong ? PEBKAC is an acceptable answer but I would like to have some comments
Google is not very verbose about my specific issue "arch freeze" and the kernel version specified below
The configuration:
processor: intel 4200H
graphic card: nvidia GTX 860M
no overclocking
linux 3.16.3-1
bumblebee 3.2.1-3
kde-l10n-fr 4.14.0-1 (but the problem may already be present when KDE was not installed, I can't remember if it happend when running awesome)
xorg.conf does not exist and xorg.conf.d is empty
content of the /var/log dump :
appset.log
httpd
journal
lastlog
log
old
pacman.log
speech-dispatcher
wtmp Xorg.0.log
Xorg.0.log.old
Xorg.1.log
Xorg.8.log
Xorg.8.log.old
Last edited by mikaFR (2014-10-02 19:35:54)
Offline
are you able to ping the machine from another source? Just trying to narrow it down to an Xorg problem or not.
Offline
Very cool idea. I will try this the next time this issue happens, I hope my computer will crash again soon...
Offline
Also check the journal: https://wiki.archlinux.org/index.php/systemd#Journal
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
I hope this isn't a silly question (the GNU operating system doesn't generally demand much from hardware), but... How much RAM do you have?
What is the output of
free -mOffline
You'll most likely need a nvidia------ package to work with. Look up the nvidia wiki to see which one you most likely need. lspci | grep VGA will tell you which one to look for.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I could not reproduce the crash yet so I can not answer to some suggestions.
`--> free -m
total used free shared buffers cached
Mem: 3877 3306 571 374 65 1194
-/+ buffers/cache: 2046 1831
Swap: 0 0 0Right now, a lot of memory is used but I guess the cache decreases if the system needs more memory space, no ? No swap is installed.
About nvidia:
`--> pacman -Qi nvidia
Nom : nvidia
Version : 340.32-2
Description : NVIDIA drivers for linux
Architecture : x86_64
URL : http://www.nvidia.com/
Licences : custom
Groupes : --
Fournit : --
Dépend de : linux>=3.16 linux<3.17 nvidia-libgl nvidia-utils=340.32
Dépendances opt. : --
Requis par : --
Optionnel pour : bumblebee
Est en conflit avec : nvidia-96xx nvidia-173xx
Remplace : --
Taille installé : 4796,00 KiB
Paqueteur : Tobias Powalowski <tpowa@archlinux.org>
Compilé le : mer. 17 sept. 2014 22:22:27 CEST
Installé le : mar. 23 sept. 2014 19:41:07 CEST
Motif d’installation : Explicitement installé
Script d’installation : Oui
Validé par : SignatureSorry for the french labels, I hope you will understand what you need.
About the journal, I guess it retrieves the relevant information from what I dumped, no ? I will dig deeper in the link you provided, thank you.
Offline
A little under 4GB, that's a decent amount of RAM you have. Your programs at the time you ran this command were using 2GB. So IF your computer was slow at that time, it's something else. I'll echo nomorewindows and suggest you look at the graphics card then.
Just in case you want to learn more about how to analyze your RAM usage: https://wiki.archlinux.org/index.php/FA … _my_RAM.3F
For what it's worth, the nvidia drivers are closed source, and closed source drivers tend to be buggy. I use the free and open source version instead -- nouveau. I don't provide support for proprietary software, so good luck and I'll watch your thread.
Of course I figure it could also be a buggy application (or Xorg) but I'm not experienced with that.
Last edited by ingegnue (2014-10-01 18:15:42)
Offline
I'm not sure I understand what you're trying to achieve with your dump.
You can use journalctl to read the system log as explained on the wiki I linked.
For example, if you rebooted after a freeze, you could use:
$ journalctl -b -1to get the log from the previous boot. You get a date and time information in there as well.
Xorg usually logs to separate files, where Xorg.0.log is from the current/last start and Xorg.0.log.old the second to last.
I think it should be possible to check the dates of the files to make sure you get the right ones. However a freeze may not generate log output in there...
If you can ssh into the freezed box, this may indeed be useful for debugging.
Here, I don't experience the nvidia drivers as buggy. However you may of course try nouveau as alternative. But I wouldn't recommend having nvidia and nouveau installed at the same time, unless you know what you're doing.
Do you maybe have other xf86-video-... drivers installed ?
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
I can't find the GTX 860M on the nvidia list, so I'm having trouble matching up the driver. Did you use nouveau before?
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I think the culprit is the memory:
-When running "free -m" when the computer was slow, the output was the following:
total used free shared buffers cached
Mem: 3877 3769 107 512 0 526
-/+ buffers/cache: 3242 635
Swap: 0 0 0-When running the same command when the computer was very slow, it simply does not output anything (and give back the prompt) !
The following is only here to answer all your suggestions:
Using nouveau:
The concerned computer is my girldfriend's one. She will need CUDA soon and according to this thread, nouveau is sadly not a option.
about the journal:
Thank for the documentation and the tips. My idea when dumping the logs was to keep a trace of what happened if I had to use it 30 days later.
journalctl -b -1output information on the desired date and time. The red highlighted lines was about pulseaudio or the mouse wireless receiver, I think it is not a big deal.
about the xf86-video-* installed packages, the two following are installed:
extra/xf86-video-intel 2.99.916-2 (xorg-drivers xorg)
extra/xf86-video-vesa 2.3.2-5 (xorg-drivers xorg) Offline
Memory? You have 3G or ram, what you need is an active swap partition. And it should be xf86-video-nv and xf86-video-nouveau.
Last edited by nomorewindows (2014-10-02 19:21:02)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Memory? You have 3G or ram, what you need is an active swap partition. And it should be xf86-video-nv and xf86-video-nouveau.
Indeed, or add RAM (I already experienced a system continuously using the swap, I didn't like it). I already planned to do so for some other reasons. I will take a look at the proper video drivers. I also planned to tell my girlfriend to not open 3 IDE and several (I mean it) other programs at the same time.
Thanks everyone, this forum is very efficient. The problem is solved for me.
Offline
Pages: 1