You are not logged in.

#1 2020-08-04 12:37:49

mizipzor
Member
Registered: 2008-09-28
Posts: 11

X crashes since most recet update

After updating this morning X has crashed a few times. This is the relevant update from /var/log/pacman.log.

[2020-08-04T11:14:01+0200] [PACMAN] Running 'pacman -Syu'
[2020-08-04T11:14:01+0200] [PACMAN] synchronizing package lists
[2020-08-04T11:14:02+0200] [PACMAN] starting full system upgrade
[2020-08-04T11:14:23+0200] [ALPM] running '60-mkinitcpio-remove.hook'...
[2020-08-04T11:14:23+0200] [ALPM] transaction started
[2020-08-04T11:14:23+0200] [ALPM] upgraded libmfx (20.2.0-1 -> 20.2.1-1)
[2020-08-04T11:14:24+0200] [ALPM] upgraded libx11 (1.6.10-1 -> 1.6.10-2)
[2020-08-04T11:14:24+0200] [ALPM] upgraded linux (5.7.11.arch1-1 -> 5.7.12.arch1-1)
[2020-08-04T11:14:25+0200] [ALPM] upgraded rust (1:1.45.1-1 -> 1:1.45.2-1)
[2020-08-04T11:14:26+0200] [ALPM] transaction completed
[2020-08-04T11:14:26+0200] [ALPM] running '30-systemd-update.hook'...
[2020-08-04T11:14:26+0200] [ALPM] running '60-depmod.hook'...
[2020-08-04T11:14:33+0200] [ALPM] running '90-mkinitcpio-install.hook'...
[2020-08-04T11:14:34+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2020-08-04T11:14:34+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2020-08-04T11:14:34+0200] [ALPM-SCRIPTLET] ==> Starting build: 5.7.12-arch1-1
[2020-08-04T11:14:34+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-08-04T11:14:34+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-08-04T11:14:35+0200] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2020-08-04T11:14:35+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-08-04T11:14:35+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-08-04T11:14:35+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-08-04T11:14:35+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-08-04T11:14:36+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-08-04T11:14:36+0200] [ALPM-SCRIPTLET] ==> ERROR: module not found: `nvidia'
[2020-08-04T11:14:36+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-08-04T11:14:36+0200] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET] ==> Starting build: 5.7.12-arch1-1
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2020-08-04T11:14:37+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2020-08-04T11:14:38+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2020-08-04T11:14:39+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2020-08-04T11:14:41+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2020-08-04T11:14:42+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2020-08-04T11:14:44+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2020-08-04T11:14:44+0200] [ALPM-SCRIPTLET] ==> ERROR: module not found: `nvidia'
[2020-08-04T11:14:45+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2020-08-04T11:14:45+0200] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2020-08-04T11:14:49+0200] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.

Of note is the complaints regarding nvidia. I never got those drivers to work after install, had to boot with nomodeset and change to using nouveau.

Though it seems nouveau is the thing that actually crashes. I dont know how relevant the error above is. Below is "grep EE /var/log/Xorg.0.log"

[  1347.080] (EE) Failed to load module "nv" (module does not exist, 0)
[  1347.080] (EE) Failed to load module "intel" (module does not exist, 0)
[  1347.081] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1347.081] (EE) Failed to load module "vesa" (module does not exist, 0)
[  3117.104] (EE)
[  3117.105] (EE) Backtrace:
[  3117.105] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x55afebb72a53]
[  3117.105] (EE) 1: /usr/lib/Xorg (0x55afeba2c000+0x151895) [0x55afebb7d895]
[  3117.105] (EE) 2: /usr/lib/libc.so.6 (0x7f90f29f6000+0x3c3e0) [0x7f90f2a323e0]
[  3117.105] (EE) 3: /usr/lib/libc.so.6 (gsignal+0x145) [0x7f90f2a32355]
[  3117.105] (EE) 4: /usr/lib/libc.so.6 (abort+0x127) [0x7f90f2a1b853]
[  3117.105] (EE) 5: /usr/lib/libc.so.6 (0x7f90f29f6000+0x25727) [0x7f90f2a1b727]
[  3117.105] (EE) 6: /usr/lib/libc.so.6 (0x7f90f29f6000+0x34936) [0x7f90f2a2a936]
[  3117.105] (EE) 7: /usr/lib/libdrm_nouveau.so.2 (0x7f90f1af2000+0x47a0) [0x7f90f1af67a0]
[  3117.105] (EE) 8: /usr/lib/libdrm_nouveau.so.2 (nouveau_pushbuf_data+0x63) [0x7f90f1af6703]
[  3117.105] (EE) 9: /usr/lib/libdrm_nouveau.so.2 (0x7f90f1af2000+0x4820) [0x7f90f1af6820]
[  3117.105] (EE) 10: /usr/lib/libdrm_nouveau.so.2 (0x7f90f1af2000+0x4c47) [0x7f90f1af6c47]
[  3117.105] (EE) 11: /usr/lib/libdrm_nouveau.so.2 (0x7f90f1af2000+0x599a) [0x7f90f1af799a]
[  3117.105] (EE) 12: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x7f90f1afc000+0x24787) [0x7f90f1b20787]
[  3117.105] (EE) 13: /usr/lib/xorg/modules/libexa.so (0x7f90f0604000+0x641c) [0x7f90f060a41c]
[  3117.105] (EE) 14: /usr/lib/xorg/modules/libexa.so (0x7f90f0604000+0xeebf) [0x7f90f0612ebf]
[  3117.105] (EE) 15: /usr/lib/Xorg (0x55afeba2c000+0xc765c) [0x55afebaf365c]
[  3117.106] (EE) 16: /usr/lib/Xorg (0x55afeba2c000+0xcd4ac) [0x55afebaf94ac]
[  3117.106] (EE) 17: /usr/lib/Xorg (miCompositeRects+0x67) [0x55afebafd5e7]
[  3117.106] (EE) 18: /usr/lib/Xorg (0x55afeba2c000+0xd64c6) [0x55afebb024c6]
[  3117.106] (EE) 19: /usr/lib/Xorg (0x55afeba2c000+0x3a195) [0x55afeba66195]
[  3117.106] (EE) 20: /usr/lib/libc.so.6 (__libc_start_main+0xf2) [0x7f90f2a1d002]
[  3117.106] (EE) 21: /usr/lib/Xorg (_start+0x2e) [0x55afeba665de]
[  3117.106] (EE)
[  3117.106] (EE)
[  3117.106] (EE) Caught signal 6 (Aborted). Server aborting
[  3117.106] (EE)
[  3117.106] (EE)
[  3117.106] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3117.106] (EE)
[  3117.113] (EE) Server terminated with error (1). Closing log file.

Output of "dmesg | grep nouveau":

dmesg | grep nouveau
[    3.015558] fb0: switching to nouveaufb from EFI VGA
[    3.015772] nouveau 0000:01:00.0: NVIDIA GK106 (0e6000a1)
[    3.103974] nouveau 0000:01:00.0: bios: version 80.06.58.00.16
[    3.104858] nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
[    3.178419] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
[    3.178420] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[    3.178423] nouveau 0000:01:00.0: DRM: TMDS table version 2.0
[    3.178425] nouveau 0000:01:00.0: DRM: DCB version 4.0
[    3.178427] nouveau 0000:01:00.0: DRM: DCB outp 00: 02000f00 00000000
[    3.178428] nouveau 0000:01:00.0: DRM: DCB outp 01: 01000f02 00020030
[    3.178429] nouveau 0000:01:00.0: DRM: DCB outp 03: 02011f62 00020010
[    3.178430] nouveau 0000:01:00.0: DRM: DCB outp 04: 04822fb6 0f420010
[    3.178431] nouveau 0000:01:00.0: DRM: DCB outp 05: 04022f72 00020010
[    3.178433] nouveau 0000:01:00.0: DRM: DCB outp 06: 08033f82 00020030
[    3.178434] nouveau 0000:01:00.0: DRM: DCB conn 00: 00001030
[    3.178435] nouveau 0000:01:00.0: DRM: DCB conn 01: 00010161
[    3.178436] nouveau 0000:01:00.0: DRM: DCB conn 02: 00020246
[    3.178437] nouveau 0000:01:00.0: DRM: DCB conn 03: 01000331
[    3.181056] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[    3.202489] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[    3.385765] nouveau 0000:01:00.0: DRM: allocated 1920x1080 fb: 0xa0000, bo (____ptrval____)
[    3.387130] fbcon: nouveaudrmfb (fb0) is primary device
[    3.699080] nouveau 0000:01:00.0: fb0: nouveaudrmfb frame buffer device
[    3.723604] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
[ 1281.462248] nouveau 0000:01:00.0: fifo: fault 01 [WRITE] at 00000000002a5000 engine 00 [GR] client 0f [GPC0/PROP_0] reason 02 [PTE] on channel 2 [023fad3000 systemd-logind[385]]
[ 1281.462262] nouveau 0000:01:00.0: fifo: channel 2: killed
[ 1281.462266] nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
[ 1281.462271] nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
[ 1281.462294] nouveau 0000:01:00.0: systemd-logind[385]: channel 2 killed!
[ 3116.997384] nouveau 0000:01:00.0: fifo: fault 01 [WRITE] at 00000000002ba000 engine 00 [GR] client 0e [GPC2/GPCCS] reason 02 [PTE] on channel 2 [023fad3000 systemd-logind[385]]
[ 3116.997401] nouveau 0000:01:00.0: fifo: channel 2: killed
[ 3116.997403] nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
[ 3116.997414] nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
[ 3116.997439] nouveau 0000:01:00.0: systemd-logind[385]: channel 2 killed!

Not sure what the next step is here. Is the nvidia error a red herring? Are there a more commands I need to run when the driver packages update, mkinitcpio?

Offline

#2 2020-08-04 12:53:22

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: X crashes since most recet update

I 'd say rerun mkinitcpio -p linux as root.

Offline

#3 2020-08-04 13:01:51

mizipzor
Member
Registered: 2008-09-28
Posts: 11

Re: X crashes since most recet update

Did that now, from the looks of it it's the same output as pacman got:

➜  ~ sudo mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.7.12-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> ERROR: module not found: `nvidia'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.7.12-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> ERROR: module not found: `nvidia'
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.

Is that nvidia error safe to ignore? I have a gut feeling the cleanup is incomplete after the swap from nvidia to nouveau. Anything more I should uninstall or remove?

Offline

#4 2020-08-04 13:09:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,206

Re: X crashes since most recet update

The error only happens because you actively added the nvidia module to your config, you can remove it, but it is technically safe to ignore as it isn't present.

Indeed it looks like nouveau crashes, if it only happened with the update, downgrade the kernel and check whether you've found a regression here.

FWIW are you actually sure that you switched to nouveau? If you've indeed changed your mkinitcpio.conf to include nvidia and you didn't update the kernel since, at least the kernel module will still have been present and you did either boot with no hardware acceleration at all, or your nvidia drivers actually worked correctly (... and you forgot to uninstall nvidia-utils)

In what way did the nvidia drivers "never work" ?

Last edited by V1del (2020-08-04 13:10:15)

Offline

#5 2020-08-04 13:31:20

mizipzor
Member
Registered: 2008-09-28
Posts: 11

Re: X crashes since most recet update

Indeed, /etc/mkinitcpio.conf still had MODULES=(nvidia), removed that word and now mkinitcpio runs without errors. I had forgot about that file. Did a reboot after.

So regarding nvidia never working, after initial install i booted to a completely black screen. Rebooted and added the "nomodeset" parameter, since this worked, I assumed it was graphics related and swapped from nvidia to nouveau by uninstalling and installing relevant packages. Though apparently the swap wasnt as clean as I thought. After this though, I could boot fine and went on with the rest of the setup. Didnt think more of it until today. Checked just now with "sudo pacman -R nvidia-utils", getting target not found. 

Here's lsmod output:

➜  ~ lsmod | grep nvidia
➜  ~ lsmod | grep nouveau
nouveau              2375680  5
mxm_wmi                16384  1 nouveau
ttm                   118784  1 nouveau
i2c_algo_bit           16384  2 i915,nouveau
drm_kms_helper        253952  2 i915,nouveau
wmi                    36864  5 alienware_wmi,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
drm                   581632  10 drm_kms_helper,i915,ttm,nouveau
agpgart                53248  4 intel_gtt,ttm,nouveau,drm

So I'm fairly certain I have indeed switched. Any way to make extra sure?

As for downgrading, it doesnt crash often so right now Im more interested in figuring out whats wrong and potentially help fixing. Though I guess I should start by running a day or two on yesterdays version and see if the crashes go away.

Offline

Board footer

Powered by FluxBB