Xorg coredump on every wake from suspend, black screen at times

Every time I wake my laptop (and I think even on occasion when I don’t), I get an Xorg coredump (see below). What generally also has happened is that, with an external screen attached to the laptop, the screen shows black (actually more dark grays) after suspend until I’ve opened the laptop lid. In addition, after a number of suspend / resumes, neither the laptop nor the external screen show anything, ctrl-alt F2 doesn’t work, and I have to do a hard shutdown.

I’ve tried moving back from kernel 5.7.9-1 to the LTS kernel 5.4.52-1. All of the above still happens, though it takes longer to get to “both screens black” (longer before I have to hard reboot). I’m now trying kernel 4.19, but don’t have high hopes. In general, I can find few clues on the internet for this problem, though perhaps I don’t quite know where to look.

Out of curiosity, when I hard reboot, I sometimes would like to get to a root / rescue terminal at startup? Is there a Manjaro way of getting to a root terminal at startup? Live USB?

From:
sudo journalctl -p 3 -xb :

    Aug 11 14:34:35 pm-lap kernel: i2400m_usb 3-1.5:1.0: device reset on resume: reinitializing driver
    Aug 11 14:35:05 pm-lap systemd-coredump[52053]: Process 52037 (Xorg) of user 0 dumped core.



    Stack trace of thread 52037:
                                                #0  0x00007f58b4dca355 raise (libc.so.6 + 0x3c355)
                                                #1  0x00007f58b4db3853 abort (libc.so.6 + 0x25853)
                                                #2  0x000055c007c7124a OsAbort (Xorg + 0x14a24a)
                                                #3  0x000055c007c72d11 FatalError (Xorg + 0x14bd11)
                                                #4  0x000055c007c78969 n/a (Xorg + 0x151969)
                                                #5  0x00007f58b4dca3e0 __restore_rt (libc.so.6 + 0x3c3e0)
                                                #6  0x00007f58b4dca355 raise (libc.so.6 + 0x3c355)
                                                #7  0x00007f58b4db3853 abort (libc.so.6 + 0x25853)
                                                #8  0x00007f58b4db3727 __assert_fail_base.cold (libc.so.6 + 0x25727)
                                                #9  0x00007f58b4dc2936 __assert_fail (libc.so.6 + 0x34936)
                                                #10 0x000055c007bbc960 n/a (Xorg + 0x95960)
                                                #11 0x00007f58aa793fb9 glamor_init (libglamoregl.so + 0xcfb9)
                                                #12 0x00007f58b00d603d n/a (modesetting_drv.so + 0x1403d)
                                                #13 0x000055c007ba043e AddGPUScreen (Xorg + 0x7943e)
                                                #14 0x000055c007cac749 n/a (Xorg + 0x185749)
                                                #15 0x000055c007ce1a68 n/a (Xorg + 0x1baa68)
                                                #16 0x000055c007ce1d0b n/a (Xorg + 0x1bad0b)
                                                #17 0x000055c007c91f75 InitInput (Xorg + 0x16af75)
                                                #18 0x000055c007b60798 n/a (Xorg + 0x39798)
                                                #19 0x00007f58b4db5002 __libc_start_main (libc.so.6 + 0x27002)
                                                #20 0x000055c007b615de _start (Xorg + 0x3a5de)
                                                
                                                Stack trace of thread 52042:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58b1aaa50c n/a (i965_dri.so + 0x51e50c)
                                                #2  0x00007f58b1aa9828 n/a (i965_dri.so + 0x51d828)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52043:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58b1aaa50c n/a (i965_dri.so + 0x51e50c)
                                                #2  0x00007f58b1aa9828 n/a (i965_dri.so + 0x51d828)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52040:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58b3de0e60 n/a (intel_drv.so + 0xb4e60)
                                                #2  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #3  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52041:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58b3de0e60 n/a (intel_drv.so + 0xb4e60)
                                                #2  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #3  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52039:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58b3de0e60 n/a (intel_drv.so + 0xb4e60)
                                                #2  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #3  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52047:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58a935276c n/a (r600_dri.so + 0x4ae76c)
                                                #2  0x00007f58a9351168 n/a (r600_dri.so + 0x4ad168)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52049:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58a935276c n/a (r600_dri.so + 0x4ae76c)
                                                #2  0x00007f58a9351168 n/a (r600_dri.so + 0x4ad168)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52044:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58b1aaa50c n/a (i965_dri.so + 0x51e50c)
                                                #2  0x00007f58b1aa9828 n/a (i965_dri.so + 0x51d828)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52045:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58b1aaa50c n/a (i965_dri.so + 0x51e50c)
                                                #2  0x00007f58b1aa9828 n/a (i965_dri.so + 0x51d828)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52048:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58a935276c n/a (r600_dri.so + 0x4ae76c)
                                                #2  0x00007f58a9351168 n/a (r600_dri.so + 0x4ad168)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52050:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58a935276c n/a (r600_dri.so + 0x4ae76c)
                                                #2  0x00007f58a9351168 n/a (r600_dri.so + 0x4ad168)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
                                                
                                                Stack trace of thread 52051:
                                                #0  0x00007f58b4940e32 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + >
                                                #1  0x00007f58a935276c n/a (r600_dri.so + 0x4ae76c)
                                                #2  0x00007f58a9351168 n/a (r600_dri.so + 0x4ad168)
                                                #3  0x00007f58b493a422 start_thread (libpthread.so.0 + 0x9422)
                                                #4  0x00007f58b4e8dbf3 __clone (libc.so.6 + 0xffbf3)
    -- Subject: Process 52037 (Xorg) dumped core
    -- Defined-By: systemd
    -- Support: https://forum.manjaro.org/c/technical-issues-and-assistance
    -- Documentation: man:core(5)
    -- 
    -- Process 52037 (Xorg) crashed and dumped core.
    -- 
    -- This usually indicates a programming error in the crashing program and
    -- should be reported to its vendor as a bug.
    Aug 11 14:35:13 lap lightdm[52123]: gkr-pam: unable to locate daemon control file

Some additional system info:
$ sudo inxi -Fxzc0

    System:    Host: lap Kernel: 5.4.52-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: Xfce 4.14.2 
               Distro: Manjaro Linux 
    Machine:   Type: Laptop System: Hewlett-Packard product: HP Pavilion dv6 Notebook PC v: 058D110002204720000622100 
               serial: <filter> 
               Mobo: Hewlett-Packard model: 17FB v: 10.5A serial: <filter> BIOS: Hewlett-Packard v: F.1C date: 01/23/2013 
    CPU:       Topology: Quad Core model: Intel Core i7-2720QM bits: 64 type: MT MCP arch: Sandy Bridge rev: 7 
               L2 cache: 6144 KiB 
               flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 35134 
               Speed: 798 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 797 5: 798 6: 799 7: 798 
               8: 810 
    Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics vendor: Hewlett-Packard 
               driver: i915 v: kernel bus ID: 00:02.0 
               Device-2: Advanced Micro Devices [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] 
               vendor: Hewlett-Packard driver: radeon v: kernel bus ID: 01:00.0 
               Display: server: X.Org 1.20.8 driver: ati,intel,radeon unloaded: modesetting resolution: 1920x1080~60Hz 
               OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 20.1.3 direct render: Yes 
    Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Hewlett-Packard 
               driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
               Sound Server: ALSA v: k5.4.52-1-MANJARO 
    Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 
               v: kernel port: 4000 bus ID: 07:00.0 
               IF: eno1 state: down mac: <filter> 
               Device-2: Intel Centrino Wireless-N + WiMAX 6150 driver: iwlwifi v: kernel port: 4000 bus ID: 0d:00.0 
               IF: wlo1 state: up mac: <filter> 
               Device-3: Intel type: USB driver: i2400m_usb bus ID: 3-1.5:4 
               IF: enp0s29u1u5 state: down mac: <filter> 
               IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
    Drives:    Local Storage: total: 698.64 GiB used: 267.29 GiB (38.3%) 
               ID-1: /dev/sda vendor: Hitachi model: HTS727575A9E364 size: 698.64 GiB 
    Partition: ID-1: / size: 57.42 GiB used: 13.87 GiB (24.1%) fs: ext4 dev: /dev/sda1 
               ID-2: /home size: 423.73 GiB used: 253.42 GiB (59.8%) fs: ext4 dev: /dev/sda6 
    Sensors:   System Temperatures: cpu: 56.0 C mobo: N/A gpu: radeon temp: 56 C 
               Fan Speeds (RPM): N/A 
    Info:      Processes: 283 Uptime: 1d 5h 59m Memory: 11.65 GiB used: 4.29 GiB (36.8%) Init: systemd Compilers: 
               gcc: 10.1.0 Shell: bash v: 5.0.18 inxi: 3.0.37

If this helps any, here is (from another instance of this Xorg coredump), all the apparently relevant lines from the journald log from before the coredump. Again, I’m not seeing much that explains why there is a coredump in the first place:

8/15/20 9:17 AM	kernel	radeon 0000:01:00.0: WB enabled
8/15/20 9:17 AM	kernel	radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x00000000cc0912ac
8/15/20 9:17 AM	kernel	radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x00000000637078d0
8/15/20 9:17 AM	kernel	radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0x00000000cc4eb472
8/15/20 9:17 AM	kernel	[drm] ring test on 0 succeeded in 2 usecs
8/15/20 9:17 AM	kernel	[drm] ring test on 3 succeeded in 7 usecs
8/15/20 9:17 AM	kernel	[drm] ring test on 5 succeeded in 2 usecs
8/15/20 9:17 AM	kernel	[drm] UVD initialized successfully.
8/15/20 9:17 AM	kernel	[drm] ib test on ring 0 succeeded in 0 usecs
8/15/20 9:17 AM	kernel	[drm] ib test on ring 3 succeeded in 0 usecs
8/15/20 9:17 AM	kernel	[drm] ib test on ring 5 succeeded
8/15/20 9:17 AM	audit	ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 subj==unconfined pid=138765 comm="Xorg" exe="/usr/lib/Xorg" sig=6 res=1
8/15/20 9:17 AM	kernel	audit: type=1701 audit(1597501025.292:1100): auid=4294967295 uid=0 gid=0 ses=4294967295 subj==unconfined pid=138765 comm="Xorg" exe="/usr/lib/Xorg" sig=6 res=1
8/15/20 9:17 AM	systemd	Started Process Core Dump (PID 138780/UID 0).
8/15/20 9:17 AM	kernel	audit: type=1130 audit(1597501025.312:1101): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-coredump@16-138780-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
8/15/20 9:17 AM	audit	SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-coredump@16-138780-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
8/15/20 9:17 AM	systemd-coredump	Process 138765 (Xorg) of user 0 dumped core.

Stack trace of thread 138765:

And this just in: Kernel 4.19 also does an Xorg coredump on resume from suspend. Lots of other software goes haywire with this kernel, so I don’t think I’m in a position to continue using it till all my monitors go black. The best I’m able to do is kernel 5.4, which takes longer for monitors to go black.

Hello,

That is not a specific Manjaro hardware. Moved from #support:manjaro-hardware to #support

Please make sure you go trough this


and then check this part

Thanks bogdancovaciu! This gives me some places to start. My laptop has a Radeon graphics card and presumably can switch between it and Intel graphics. I suspected this might be a problem, so I switched a BIOS setting that presumably forces use only of Intel graphics. I also, once booted, ran acpi-call to turn off the gpu. None of this made a difference–screen still goes black. Also, the laptop doesn’t hang on either start or shutdown, that I can see. But I’ll go through the recommendations in the tutorials and see if I can fix things.

I seem to have iucode-tool installed, but I gather that doesn’t download the microcode. There are two AUR packages with Intel microcode, updated about the same time. Not sure which to get. One seems to have microcode for a variety of processors, the other is just for Intel but says it is for ‘clear linux.’ Am guessing option two is ok.

Also, sorry for posting in the wrong place. I guess “Manjaro Hardware” is hardware designed specifically for Manjaro.