[SOLVED] Random Full System Crashes on Arch Installation :(

Puffer Man

New Member
Credits
196
Good afternoon everyone!

SUMMARY:
I've been sadly suffering random full system crashes in my Arch installation since I've first installed it, circa December 2020. Yes its been a very long time... also lots of progress abruptly interrupted... I have a thread in the Arch Linux official forums, but I'm here to create another one in order to wider my range (yes I'm that desperate). The reason is because my vacation is ending and I going to use this laptop for work, and can't simply rely on something that isn't stable at all. And, apparently, I have this masochist love with this distribution (do not judge me).

HARDWARE:
  • Laptop Model: A62 LIV Standard;
  • CPU: Intel i7-10750H (12) @ 5.000GHz;
  • GPU: NVIDIA GeForce RTX 2060 Mobile;
  • 32 GB of RAM;
  • 1 500GB SSD;
  • 1 2T HDD;


SYSTEM CHARACTERISTICS:
  • Arch Linux 64 bits;
  • Kernel: 5.9.14-arch2-1;
  • No DM;
  • I3WM (recently removed KDE as a suggestion to help in my issue);
  • Currently just using the dedicated GPU, changed it from a BIOS level (I have no problem in using both, but again, by using just one the crashes are less frequent);
  • Xorg;
  • Grub;

THE ISSUE:
I suffer, randomly, crashes in my system that make me unable to do anything. The screen freezes, I have no access to my mouse nor keyboard, it is impossible to TTY, and it is also impossible to use the magic keys. In other words, all that I can do is use the ignorance ~ hold the power button for 10s~

WHAT I HAVE TRIED UNTIL NOW:
  1. The Display Manager was removed;
  2. The following parameters were added to the boot loader: systemd.unit=multi-user.target nvidia-drm.modeset=1;
  3. "RNG tools" was installed;
  4. The GPU is now starting as soon as possible (Grub parameters);
  5. IWD was disabled (now called by the Network Manager);
  6. Standard X file configuration removed (now using only tweaking specific configurations, such as the DPI);
  7. Minor fixes (simple fixes);
  8. Removed KDE plasma, now using I3WM.
  9. The ram memory was tested with memtester;

Here are some outputs from my last recent crash, yesterday:
.xorg.log
Code:
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux lucas 5.10.6-arch1-1 #1 SMP PREEMPT Sat, 09 Jan 2021 18:22:35 +0000 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c4f0fa32-1e78-4878-a948-016bb41169ed rw loglevel=3 quiet nvidia-drm.modeset=1 acpi_backlight=vendor
Build Date: 14 December 2020  12:10:29PM

Current version of pixman: 0.40.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/lucas/.local/share/xorg/Xorg.0.log", Time: Sun Jan 10 16:30:52 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
kdeinit5: preparing to launch '/usr/lib/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 611, result = 0
kdeinit5: opened connection to :0
kdeinit5: Got SETENV 'GTK_RC_FILES=/etc/gtk/gtkrc:/home/lucas/.gtkrc:/home/lucas/.config/gtkrc' from launcher.
kdeinit5: Got SETENV 'GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/lucas/.gtkrc-2.0:/home/lucas/.config/gtkrc-2.0' from launcher.
kdeinit5: Got SETENV 'XCURSOR_THEME=breeze_cursors' from launcher.
kdeinit5: Got SETENV 'XCURSOR_SIZE=24' from launcher.
org.kde.plasma.session: process job  "kcminit_startup" finished with exit code  0
kdeinit5: Got SETENV 'SESSION_MANAGER=local/lucas:@/tmp/.ICE-unix/683,unix/lucas:/tmp/.ICE-unix/683' from launcher.
kdeinit5: Got SETENV 'SESSION_MANAGER=local/lucas:@/tmp/.ICE-unix/683,unix/lucas:/tmp/.ICE-unix/683' from launcher.
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xembedsniproxy.desktop" ("/usr/bin/xembedsniproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pam_kwallet_init.desktop" ("/usr/lib/pam_kwallet_init")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/kaccess.desktop" ("/usr/bin/kaccess")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.plasmashell.desktop" ("/usr/bin/plasmashell")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/baloo_file.desktop" ("/usr/bin/baloo_file")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop" ("/usr/lib/polkit-kde-authentication-agent-1")
OpenGL vendor string:                   NVIDIA Corporation
OpenGL renderer string:                 GeForce RTX 2060/PCIe/SSE2
OpenGL version string:                  4.6.0 NVIDIA 460.32.03
OpenGL shading language version string: 4.60 NVIDIA
Driver:                                 NVIDIA
Driver version:                         460.32.3
GPU class:                              Unknown
OpenGL version:                         4.6
GLSL version:                           4.60
X server version:                       1.20.10
Linux kernel version:                   5.10.6
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/pulseaudio.desktop" ("/usr/bin/start-pulseaudio-x11")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/gmenudbusmenuproxy.desktop" ("/usr/bin/gmenudbusmenuproxy")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/org.kde.discover.notifier.desktop" ("/usr/lib/DiscoverNotifier")
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple definitions of the FOUR_LEVEL_KEYPAD key type
>                   Earlier definition ignored
Errors from xkbcomp are not fatal to the X server
the option -session has a wrong format. See flameshot --help.
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/http.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/http.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/http.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/http.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/desktop.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/desktop.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/desktop.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/desktop.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/thumbnail.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/thumbnail.so'
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/powerdevil.desktop" ("/usr/lib/org_kde_powerdevil")
org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/xapp-sn-watcher.desktop" ("/usr/lib/xapps/sn-watcher/xapp-sn-watcher")
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/tags.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/tags.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
(EE) event20 - USB Gaming Mouse: client bug: event processing lagging behind by 14ms, your system is too slow
kdeinit5: PID 828 terminated.
kdeinit5: PID 823 terminated.
(EE) event20 - USB Gaming Mouse: client bug: event processing lagging behind by 12ms, your system is too slow
kdeinit5: PID 867 terminated.
kdeinit5: PID 864 terminated.
kdeinit5: PID 851 terminated.
kdeinit5: PID 865 terminated.
kdeinit5: PID 859 terminated.
kdeinit5: PID 868 terminated.
kdeinit5: PID 869 terminated.
kdeinit5: PID 940 terminated.
(EE) event15 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 29ms, your system is too slow
(EE) event20 - USB Gaming Mouse: client bug: event processing lagging behind by 16ms, your system is too slow
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/tags.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/tags.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/trash.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/trash.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/trash.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/trash.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/file.so'
kdeinit5: Got EXEC_NEW '/usr/lib/qt/plugins/kf5/kio/thumbnail.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/qt/plugins/kf5/kio/thumbnail.so'
kdeinit5: PID 2469 terminated.
kdeinit5: PID 2460 terminated.
kdeinit5: PID 2467 terminated.
kdeinit5: PID 2464 terminated.
kdeinit5: PID 2468 terminated.
kdeinit5: PID 2458 terminated.
kdeinit5: PID 2597 terminated.
kdeinit5: PID 2463 terminated.
kdeinit5: PID 2459 terminated.
(EE) event20 - USB Gaming Mouse: client bug: event processing lagging behind by 15ms, your system is too slow
(EE) event15 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 18ms, your system is too slow
(EE) event20 - USB Gaming Mouse: client bug: event processing lagging behind by 12ms, your system is too slow
(EE) event20 - USB Gaming Mouse: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
(EE) event15 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 32ms, your system is too slow
klauncher: Exiting on signal 15
xinit: connection to X server lost

waiting for X server to shut down XIO:  fatal IO error 4 (Chamada de sistema interrompida) on X server ":0"
      after 170495 requests (170495 known processed) with 0 events remaining.
X connection to :0 broken (explicit kill or server shutdown).
Application::crashHandler() called with signal 11; recent crashes: 1
corrupted double-linked list
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = Wx=V path = (xx=V pid = 631
KCrash: Arguments: .(II) Server terminated successfully (0). Closing log file.

xinit: unexpected signal 15
Não foi possível obter um descritor de arquivo de referindo ao console.
Xorg.0.log output link (too big for the thread): https://drive.google.com/file/d/1xSnYninImT9xFhe3rCjQ2So3fU7F0-XP/view?usp=sharing

sudo journalctl -b-1
output link (too big for the thread): https://drive.google.com/file/d/1HRVRsfWZs9dCfWxcMNJYsiBRepaYX2Ym/view?usp=sharing

I've been researching more and more every day, but had no luck yet :(
If you need any output, or additional information, please ask and I'll post it right away. Thanks for everything in advance!
 


f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
Good afternoon everyone!

SUMMARY:
I've been sadly suffering random full system crashes in my Arch installation since I've first installed it, circa December 2020. Yes its been a very long time... also lots of progress abruptly interrupted... I have a thread in the Arch Linux official forums, but I'm here to create another one in order to wider my range (yes I'm that desperate). The reason is because my vacation is ending and I going to use this laptop for work, and can't simply rely on something that isn't stable at all. And, apparently, I have this masochist love with this distribution (do not judge me).
Since I switched over to Arch I love the distribution too so I know how you feel, I'm sure on the Arch forums there are plenty of knowledgeable people who can help you. Are those journal logs from right after the crash, I don't see any crashes? Have you tried running the linux-lts kernel or the linux-zen kernel instead of the vanilla kernel, just install them along side the one you currently are using and see what happens?
 
Last edited:

Puffer Man

New Member
Credits
196
Since I switched over to Arch I love the distribution too so I know how you feel, I'm sure on the Arch forums there are plenty of knowledgeable people who can help you. Are those journal logs from right after the crash, I don't see any crashes? Have you tried running the linux-lts kernel or the linux-zen kernel instead of the vanilla kernel, just install them along side the one you currently are using and see what happens?
Hello!

Yes, the logs are indeed from right after the crash. Odd isn't it? By the symptoms presented by the issue it makes me thinks that X may be involved as well, that's why I also posted that logs. If you looked over them, you can tell that the crash counter is in 2 (only 2 for some reason). I've been thinking about using Wayland...

No, I'm not using the LTS kernel, the reason is because the hardware is pretty recently, so I'm not sure if it would be an advantage. But I'll give it a try, anything to make it stop.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
I've been thinking about using Wayland...

No, I'm not using the LTS kernel, the reason is because the hardware is pretty recently, so I'm not sure if it would be an advantage. But I'll give it a try, anything to make it stop.
I'll have another look at your Xorg.log tomorrow. I did see you use nvidia drivers, last time I checked the support for Wayland with nvidia drivers was still very limited to put it nicely. It's worth a try to see if you notice any changes when booted in the lts kernel, if the problem remains than its probably something to do with Xorg since your journal shows no sign of crashes but it's worth a try I would say.
 

KGIII

Super Moderator
Staff member
Gold Supporter
Credits
27,966
I don't have any help for the OP, but I did want to comment to point out that this is a good example of how to ask a good question. A ton of well-formatted info, describing the symptoms, describing what they've already tried, great follow-up, etc...

Folks should take a lesson from OP.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
The only thing that stands out in your Xorg.0.log is this
Code:
[  6206.663] (EE) libinput: HDA NVidia HDMI/DP,pcm=7: Failed to create a device for /dev/input/event10
[  6206.663] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=7"
[  6206.762] (EE) libinput: HDA NVidia HDMI/DP,pcm=8: Failed to create a device for /dev/input/event11
[  6206.762] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=8"
[  6206.832] (EE) libinput: HDA NVidia HDMI/DP,pcm=9: Failed to create a device for /dev/input/event12
[  6206.832] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=9"
[  6206.912] (EE) libinput: HDA NVidia HDMI/DP,pcm=10: Failed to create a device for /dev/input/event13
[  6206.912] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=10"
[  6206.959] (EE) libinput: HDA NVidia HDMI/DP,pcm=11: Failed to create a device for /dev/input/event14
[  6206.959] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=11"
[  6207.002] (EE) libinput: HDA NVidia HDMI/DP,pcm=3: Failed to create a device for /dev/input/event9
[  6207.002] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=3"
I also have an nvidia card, I checked my own Xorg.log against these nvidia error messages there are no mention of those errors in my logs. Which make me think it might be a driver problem, try removing the nvidia drivers and installing xf86-video-nouveau and see if the crashes remain or disappear. After you get the results of that I would also try enabling your onboard video card and disabling the nvidia card(if that is possible with your setup) and then see if the crashes remain or not. You probably want the nvidia drivers for gaming but I think it's worth just trying this to see if the crashes/freezes disappears by using a different driver or gpu you, you will then at least know where the problem is and can work towards thinking a solution from there.
 
Last edited:

Puffer Man

New Member
Credits
196
I also have an nvidia card, I checked my own Xorg.log against these nvidia error messages there are no mention of those errors in my logs. Which make me think it might be a driver problem, try removing the nvidia drivers and installing xf86-video-nouveau and see if the crashes remain or disappear. After you get the results of that I would also try enabling your onboard video card and disabling the nvidia card(if that is possible with your setup) and then see if the crashes remain or not. You probably want the nvidia drivers for gaming but I think it's worth just trying this to see if the crashes/freezes disappears by using a different driver or gpu you, you will then at least know where the problem is and can work towards thinking a solution from there.
Hello.

I'm running the long term support Kernel as you said, no much of a difference until the moment. I also enabled the iGPU from a BIOS level, and installed its packages.
Code:
$ pacman -Qs intel
local/intel-ucode 20201118-1
    Microcode update files for Intel CPUs
local/libmfx 20.5.1-1
    Intel Media SDK dispatcher library
local/tbb 2020.3-1
    High level abstract threading library
local/vulkan-intel 20.3.3-1
    Intel's Vulkan mesa driver
And since we are here, take a look at the nvidia packages:
Code:
$ pacman -Qs nvidia
local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 460.39-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia-lts 1:460.39-3
    NVIDIA drivers for linux-lts
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-utils 460.39-1
    NVIDIA drivers utilities
local/nvtop 1.1.0-1
    An htop like monitoring tool for NVIDIA GPUs
local/opencl-nvidia 460.39-1
    OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.17-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
** Had to add nvidia-prime since now I'm using both gpu's.

Regarding the X logs, more of those lines can be found, now including the new GPU:
Link.

It has been a whole day without any crashes, but I had this behavior before, so I'm still considering that the issue is around. I will report again once I gather useful info, thanks so far.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
If your other GPU is intel you will probably also need: xf86-video-intel. Your new xorg.log als mentions it:
Code:
[   158.297] (EE) Failed to load module "intel" (module does not exist, 0)
Two questions, what's the point of having both the nvidia driver and the nouveau driver installed? And are you planning to test out what I mentioned before about only using the nouveau driver with your nvidia GPU and only your other intel GPU? Will be looking forward to hearing your progress :)
 
Last edited:

Puffer Man

New Member
Credits
196
If your other GPU is intel you will probably also need: xf86-video-intel. Your new xorg.log als mentions it:
Forgot about this one :p
Already installed it. And I did removed the nvidia-lts driver in order to test the Nouveau one.

I did as you said and tested the Nouveau Drivers. Didn't work well with me mate. For some reason, whenever I tried to any task, any task, the fans sounded like a rocket at launch. And I also noticed that my RAM indicator, available in my I3status, was bugging real hard. It would show stuff like 1000Gib of 27Gib in use... real odd.

I tried the same tasks with the nvidia-lts, and they worked fine. I believe that the nvidia driver is ok. Initially I had removed the iGPU from a BIOS level because it was causing me some hard time with X, now it seems to be gone, somehow... maybe it was because of Plasma.

Regarding the X log:
Code:
cat ~/.local/share/xorg/Xorg.0.log | grep '(EE)'
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    33.220] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    33.220] (EE) Failed to load module "nv" (module does not exist, 0)
[    33.253] (EE) open /dev/fb0: Permission denied
[    33.416] (EE) libinput: HDA NVidia HDMI/DP,pcm=3: Failed to create a device for /dev/input/event8
[    33.416] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=3"
[    33.474] (EE) libinput: HDA NVidia HDMI/DP,pcm=7: Failed to create a device for /dev/input/event9
[    33.474] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=7"
[    33.556] (EE) libinput: HDA NVidia HDMI/DP,pcm=8: Failed to create a device for /dev/input/event10
[    33.556] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=8"
[    33.681] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse1
[    33.681] (EE) libinput: USB Gaming Mouse: Failed to create a device for /dev/input/mouse1
[    33.681] (EE) PreInit returned 2 for "USB Gaming Mouse"
[    33.707] (EE) libinput: USB Gaming Mouse: Failed to create a device for /dev/input/event24
[    33.707] (EE) PreInit returned 2 for "USB Gaming Mouse"
[    33.858] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse0
[    33.858] (EE) libinput: UNIW0001:00 093A:0255 Mouse: Failed to create a device for /dev/input/mouse0
[    33.858] (EE) PreInit returned 2 for "UNIW0001:00 093A:0255 Mouse"
[    33.865] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse2
[    33.865] (EE) libinput: UNIW0001:00 093A:0255 Touchpad: Failed to create a device for /dev/input/mouse2
[    33.865] (EE) PreInit returned 2 for "UNIW0001:00 093A:0255 Touchpad"
[    33.867] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=3: Failed to create a device for /dev/input/event13
[    33.867] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=3"
[    33.966] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=7: Failed to create a device for /dev/input/event14
[    33.966] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=7"
[    34.006] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=8: Failed to create a device for /dev/input/event15
[    34.006] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=8"
[    34.066] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=9: Failed to create a device for /dev/input/event16
[    34.066] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=9"
[    34.106] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=10: Failed to create a device for /dev/input/event17
[    34.106] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=10"
[    34.146] (EE) libinput: HDA Intel PCH Mic: Failed to create a device for /dev/input/event11
[    34.146] (EE) PreInit returned 2 for "HDA Intel PCH Mic"
[    34.186] (EE) libinput: HDA Intel PCH Front Headphone: Failed to create a device for /dev/input/event12
[    34.186] (EE) PreInit returned 2 for "HDA Intel PCH Front Headphone"
[    34.238] (EE) libinput: PC Speaker: Failed to create a device for /dev/input/event7
[    34.238] (EE) PreInit returned 2 for "PC Speaker"
[   147.429] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 27ms, your system is too slow
[   461.367] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 45ms, your system is too slow
[   731.367] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 25ms, your system is too slow
[   811.496] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 55ms, your system is too slow
[   881.586] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 25ms, your system is too slow
[   881.586] (EE) event25 - Gaming KB  Gaming KB : WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
[  3781.897] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 35ms, your system is too slow
[  3893.756] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 24ms, your system is too slow
[  3936.581] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 29ms, your system is too slow
[  4021.160] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 48ms, your system is too slow
[  4076.345] (EE) event25 - Gaming KB  Gaming KB : client bug: event processing lagging behind by 24ms, your system is too slow
[  4076.345] (EE) event25 - Gaming KB  Gaming KB : WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
A lot of errors from my USB keyboard + USB mouse. Looking around I saw other people with this issue, and apparently it is not related to a lag as the log suggest. Still no fix apparently.

So far no crashes in two days, my hope is beginning to shine once again. Let's hope it keeps in the way it is.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
It was just a test, that's what it's always useful to try different things and see what results you get to come to a conclusion, although it would have been more helpful if the logs/journal show an actual crash.
Forgot about this one :p
Already installed it. And I did removed the nvidia-lts driver in order to test the Nouveau one.
I did as you said and tested the Nouveau Drivers. Didn't work well with me mate. For some reason, whenever I tried to any task, any task, the fans sounded like a rocket at launch. And I also noticed that my RAM indicator, available in my I3status, was bugging real hard. It would show stuff like 1000Gib of 27Gib in use... real odd.
So am I understanding correctly that you are running the linux-lts kernel and the normal nvidia(or the nvidia lts?) driver and have your other GPU(intel) disabled in the BIOS and your system is running stable now?

Although I find these errors strange:
Code:
[    33.416] (EE) libinput: HDA NVidia HDMI/DP,pcm=3: Failed to create a device for /dev/input/event8
They must be caused by something different than I thought because now that your system seems to be running stable I would have thought them to disappear.
 
Last edited:

Puffer Man

New Member
Credits
196
So am I understanding correctly that you are running the linux-lts kernel and the normal nvidia(or the nvidia lts?) driver and have your other GPU(intel) disabled in the BIOS and your system is running stable now?
I'm running the linux-tls + nvidia-lts and I'm now using both GPU's. I was using only the dGPU before. I was only using the dGPU because when I was running both of them X would give some headache, however now it appears to be gone... somehow.

I had this behavior before, some days of stability and them out of nowhere a bunch of crashes on the same day. For now I will focus in the errors found in the X log. From what I could gather until now, this logs are related to black screens issues. I haven't experiencecd any black screens until now.
 

Puffer Man

New Member
Credits
196
So... I was just playing fallout when my screen decided to bug me. The picture describes the situation better than me:
Glitchy screen.jpg


I still could use my mouse + keyboard. Looking on the X logs, the number of the events seem to be increasing...
Code:
cat ~/.local/share/xorg/Xorg.0.log | grep '(EE)'
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.903] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    16.904] (EE) Failed to load module "nv" (module does not exist, 0)
[    16.934] (EE) open /dev/fb0: Permission denied
[    17.107] (EE) libinput: HDA NVidia HDMI/DP,pcm=3: Failed to create a device for /dev/input/event16
[    17.107] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=3"
[    17.153] (EE) libinput: HDA NVidia HDMI/DP,pcm=7: Failed to create a device for /dev/input/event18
[    17.153] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=7"
[    17.226] (EE) libinput: HDA NVidia HDMI/DP,pcm=8: Failed to create a device for /dev/input/event17
[    17.226] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=8"
[    17.401] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse0
[    17.401] (EE) libinput: USB Gaming Mouse: Failed to create a device for /dev/input/mouse0
[    17.401] (EE) PreInit returned 2 for "USB Gaming Mouse"
[    17.428] (EE) libinput: USB Gaming Mouse: Failed to create a device for /dev/input/event14
[    17.428] (EE) PreInit returned 2 for "USB Gaming Mouse"
[    17.538] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse1
[    17.538] (EE) libinput: UNIW0001:00 093A:0255 Mouse: Failed to create a device for /dev/input/mouse1
[    17.538] (EE) PreInit returned 2 for "UNIW0001:00 093A:0255 Mouse"
[    17.558] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse2
[    17.558] (EE) libinput: UNIW0001:00 093A:0255 Touchpad: Failed to create a device for /dev/input/mouse2
[    17.558] (EE) PreInit returned 2 for "UNIW0001:00 093A:0255 Touchpad"
[    17.561] (EE) libinput: HDA Intel PCH Mic: Failed to create a device for /dev/input/event19
[    17.561] (EE) PreInit returned 2 for "HDA Intel PCH Mic"
[    17.676] (EE) libinput: HDA Intel PCH Front Headphone: Failed to create a device for /dev/input/event20
[    17.676] (EE) PreInit returned 2 for "HDA Intel PCH Front Headphone"
[    17.726] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=3: Failed to create a device for /dev/input/event22
[    17.726] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=3"
[    17.766] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=7: Failed to create a device for /dev/input/event23
[    17.766] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=7"
[    17.836] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=8: Failed to create a device for /dev/input/event24
[    17.836] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=8"
[    17.896] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=9: Failed to create a device for /dev/input/event25
[    17.896] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=9"
[    17.966] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=10: Failed to create a device for /dev/input/event26
[    17.966] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=10"
[    18.018] (EE) libinput: PC Speaker: Failed to create a device for /dev/input/event15
[    18.018] (EE) PreInit returned 2 for "PC Speaker"
[   230.671] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 19ms, your system is too slow

Code:
cat ~/.local/share/xorg/Xorg.0.log.old | grep '(EE)'
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.177] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    10.177] (EE) Failed to load module "nv" (module does not exist, 0)
[    10.204] (EE) open /dev/fb0: Permission denied
[    10.354] (EE) libinput: HDA NVidia HDMI/DP,pcm=3: Failed to create a device for /dev/input/event18
[    10.354] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=3"
[    10.403] (EE) libinput: HDA NVidia HDMI/DP,pcm=7: Failed to create a device for /dev/input/event19
[    10.403] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=7"
[    10.446] (EE) libinput: HDA NVidia HDMI/DP,pcm=8: Failed to create a device for /dev/input/event16
[    10.446] (EE) PreInit returned 2 for "HDA NVidia HDMI/DP,pcm=8"
[    10.611] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse0
[    10.611] (EE) libinput: USB Gaming Mouse: Failed to create a device for /dev/input/mouse0
[    10.611] (EE) PreInit returned 2 for "USB Gaming Mouse"
[    10.637] (EE) libinput: USB Gaming Mouse: Failed to create a device for /dev/input/event17
[    10.637] (EE) PreInit returned 2 for "USB Gaming Mouse"
[    10.757] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse1
[    10.758] (EE) libinput: UNIW0001:00 093A:0255 Mouse: Failed to create a device for /dev/input/mouse1
[    10.758] (EE) PreInit returned 2 for "UNIW0001:00 093A:0255 Mouse"
[    10.777] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse2
[    10.777] (EE) libinput: UNIW0001:00 093A:0255 Touchpad: Failed to create a device for /dev/input/mouse2
[    10.777] (EE) PreInit returned 2 for "UNIW0001:00 093A:0255 Touchpad"
[    10.781] (EE) libinput: HDA Intel PCH Mic: Failed to create a device for /dev/input/event20
[    10.781] (EE) PreInit returned 2 for "HDA Intel PCH Mic"
[    10.856] (EE) libinput: HDA Intel PCH Front Headphone: Failed to create a device for /dev/input/event21
[    10.856] (EE) PreInit returned 2 for "HDA Intel PCH Front Headphone"
[    10.896] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=3: Failed to create a device for /dev/input/event22
[    10.896] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=3"
[    10.956] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=7: Failed to create a device for /dev/input/event23
[    10.956] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=7"
[    10.996] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=8: Failed to create a device for /dev/input/event24
[    10.996] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=8"
[    11.036] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=9: Failed to create a device for /dev/input/event25
[    11.036] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=9"
[    11.076] (EE) libinput: HDA Intel PCH HDMI/DP,pcm=10: Failed to create a device for /dev/input/event26
[    11.076] (EE) PreInit returned 2 for "HDA Intel PCH HDMI/DP,pcm=10"
[    11.128] (EE) libinput: PC Speaker: Failed to create a device for /dev/input/event10
[    11.128] (EE) PreInit returned 2 for "PC Speaker"
[    30.431] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 49ms, your system is too slow
[   224.485] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 43ms, your system is too slow
[  3626.947] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 15ms, your system is too slow
[  3888.218] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 36ms, your system is too slow
[  3921.067] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 35ms, your system is too slow
[  3938.692] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 50ms, your system is too slow
[  3964.516] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 35ms, your system is too slow
[  3973.828] (EE) event7  - Gaming KB  Gaming KB : client bug: event processing lagging behind by 47ms, your system is too slow
[  3973.829] (EE) event7  - Gaming KB  Gaming KB : WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
 

Puffer Man

New Member
Credits
196
Just had another crash. Just like the other times, the journal log does not show anything special. However, look a the amount of activity captured by the X log regarding the nvidia:
X log
Code:
...
[    16.996] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    16.996] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    16.996] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
...
A lot of the messages above popped up.

UPDATE:
Found someone who had a similar issue here.

Added i915.enable_psr=0 to grub.
 
Last edited:

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
Now that I see your screenshot it must really be annoying to have that keep happening! When this happens are you able to switch to a virtual console(ctrl+alt-f3), as in when you are in the virtual console the screen crash/freeze isn't effecting the virtual console? If so can you then try to log in and run dmesg and see if you come across any crashes there or messages about nvidia? When you run dmesg send the output to text file, that way you can view the file after you have restarted your system again.
Code:
sudo dmesg > dmesg.txt
What I would also do is create a live usb with another distribution, boot into the live environment of that other distribution and leave your system on and see if the crashes happen then. If they still happen then the only thing I could then expect that it could be a hardware issue. You could then either still try updating your BIOS/UEFI to see if that helps or go to the store where you bought the laptop, I would do the latter if that is the case so that you don't have chance of screwing up the laptop and they blame it on you and so that they get the laptop in the exact state it is currently causing problems.
 
Last edited:

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
Managed to get in touch with the support. They are going to send me another SSD with Windows Installed to see if the issue still occurs. I will report again once I have some results.
So you weren't even able to access a virtual console when the screen crash happens?
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
How about live booting into a different distribution from a usb drive to see what happens then? I'm actually out of ideas and seems like everyone else on the Arch forums is too since you haven't gotten anymore replies there.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
25,474
I’ll try it.
Another idea might be to create a simple script that creates a new output file of dmesg every minute or so and for every minute create a different file with a timestamp, so that when you reboot after your screen crashes you can checkout the output of one of the dmesg files. You could either run it from your shell or create a cronjob for it to start from a certain time.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top