Laptop with hybrid graphics boots to black screen without cursor

Laptop had battery completely drained, and now it boots to black screen with no cursor. Grub menu shows up, and seems to react to input. Won’t boot to run level 3 however, and no tty shows up when alt + ctrl + F2 to F6 is pressed.
Chrooted into my btrfs boot drive, but haven’t managed to mount my second harddrive containing the btrfs home filesystem to the chroot.

export LANG=C; inxi -Fazy

12System:
12Kernel 5.4.148-1-MANJARO x86_64 12bits 64 12compiler gcc 12v 11.1.0
12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=no tz=UTC
misobasedir=manjaro misolabel=MANJARO_XFCEM_2114 quiet systemd.show_status=1
apparmor=1 security=apparmor driver=free nouveau.modeset=1 i915.modeset=1
radeon.modeset=1
12Desktop Xfce 12info xfce4-panel 12wm xfwm 12vt 7 12dm N/A 12Distro Manjaro Linux
12base Arch Linux
12Machine:
12Type Laptop 12System Notebook 12product P95xER 12v N/A 12serial N/A
12Chassis No Enclosure 12type 10 12serial N/A
12Mobo Notebook 12model P95xER 12serial N/A 12UEFI American Megatrends 12v 1.07.15
12date 11/16/2018
12Battery:
12ID-1 BAT0 12charge 32.5 Wh (63.2%) 12condition 51.4/53.2 Wh (96.6%) 12volts 16.8
12min 15.2 12model Notebook BAT 12type Li-ion 12serial 12status Charging
12CPU:
12Info 6-Core 12model Intel Core i7-8750H 12socket BGA1440 (U3E1) 12note check
12bits 64 12type MT MCP 12arch Kaby Lake 12note check 12family 6 12model-id 9E (158)
12stepping A (10) 12microcode EA 12cache 12L1 384 KiB 12L2 9 MiB 12L3 9 MiB
12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
12bogomips 52815
12Speed 900 MHz 12min/max 800/4100 MHz 12base/boost 2079/8300 12volts 0.8 V
12ext-clock 100 MHz 12Core speeds (MHz) 121 900 122 901 123 901 124 901 125 901 126 900
127 900 128 900 129 900 1210 900 1211 900 1212 900
12Vulnerabilities 12Type itlb_multihit 12status KVM: Split huge pages
12Type l1tf
12mitigation PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
12Type mds 12mitigation Clear CPU buffers; SMT vulnerable
12Type meltdown 12mitigation PTI
12Type spec_store_bypass
12mitigation Speculative Store Bypass disabled via prctl and seccomp
12Type spectre_v1
12mitigation usercopy/swapgs barriers and __user pointer sanitization
12Type spectre_v2 12mitigation Full generic retpoline, IBPB: conditional,
IBRS_FW, STIBP: conditional, RSB filling
12Type srbds 12mitigation Microcode
12Type tsx_async_abort 12status Not affected
12Graphics:
12Device-1 Intel CoffeeLake-H GT2 [UHD Graphics 630] 12vendor CLEVO/KAPOK
12driver i915 12v kernel 12bus-ID 00:02.0 12chip-ID 8086:3e9b 12class-ID 0300
12Device-2 NVIDIA GP104M [GeForce GTX 1070 Mobile] 12vendor CLEVO/KAPOK
12driver nouveau 12v kernel 12bus-ID 01:00.0 12chip-ID 10de:1ba1 12class-ID 0300
12Device-3 Chicony Chicony USB 2.0 Camera 12type USB 12driver uvcvideo
12bus-ID 1-8:4 12chip-ID 04f2:b5a7 12class-ID 0e02
12Display x11 12server X.Org 1.20.13 12compositor xfwm4 12driver 12loaded nouveau
12note n/a (using device driver) 12display-ID :0.0 12screens 1
12Screen-1 0 12s-res 1920x1080 12s-dpi 96 12s-size 508x286mm (20.0x11.3")
12s-diag 583mm (23")
12Monitor-1 eDP-1 12res 1920x1080 12hz 60 12dpi 141 12size 345x194mm (13.6x7.6")
12diag 396mm (15.6")
12OpenGL 12renderer Mesa Intel UHD Graphics 630 (CFL GT2) 12v 4.6 Mesa 21.2.3
12direct render Yes
12Audio:
12Device-1 Intel Cannon Lake PCH cAVS 12vendor CLEVO/KAPOK 12driver snd_hda_intel
12v kernel 12bus-ID 00:1f.3 12chip-ID 8086:a348 12class-ID 0403
12Device-2 NVIDIA GP104 High Definition Audio 12driver snd_hda_intel 12v kernel
12bus-ID 01:00.1 12chip-ID 10de:10f0 12class-ID 0403
12Sound Server-1 ALSA 12v k5.4.148-1-MANJARO 12running yes
12Sound Server-2 sndio 12v N/A 12running no
12Sound Server-3 JACK 12v 1.9.19 12running no
12Sound Server-4 PulseAudio 12v 15.0 12running yes
12Sound Server-5 PipeWire 12v 0.3.38 12running no
12Network:
12Device-1 Intel Wireless-AC 9260 12vendor Rivet Networks 12driver iwlwifi
12v kernel 12bus-ID 03:00.0 12chip-ID 8086:2526 12class-ID 0280
12IF wlp3s0 12state up 12mac
12Device-2 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
12vendor CLEVO/KAPOK 12driver r8169 12v kernel 12port 3000 12bus-ID 04:00.0
12chip-ID 10ec:8168 12class-ID 0200
12IF enp4s0 12state down 12mac
12Bluetooth:
12Device-1 Intel Wireless-AC 9260 Bluetooth Adapter 12type USB 12driver btusb
12v 0.8 12bus-ID 1-14:6 12chip-ID 8087:0025 12class-ID e001
12Report rfkill 12ID hci0 12rfk-id 2 12state down 12bt-service N/A 12rfk-block
12hardware no 12software yes 12address see --recommends
12Drives:
12Local Storage 12total 2.07 TiB 12used 109.07 GiB (5.1%)
12ID-1 /dev/nvme0n1 12maj-min 259:0 12vendor Samsung 12model SSD 960 EVO 250GB
12size 232.89 GiB 12block-size 12physical 512 B 12logical 512 B 12speed 31.6 Gb/s
12lanes 4 12type SSD 12serial 12rev 3B7QCXE7 12temp 39 Celsius C
12SMART yes 12health PASSED 12on 170d 2h 12cycles 2,150
12read-units 23,491,132 [12.0 TB] 12written-units 32,863,471 [16.8 TB]
12ID-2 /dev/sda 12maj-min 8:0 12vendor Seagate 12model ST2000LX001-1RG174
12family FireCuda 2.5 12size 1.82 TiB 12block-size 12physical 4096 B 12logical 512 B
12sata 3.1 12speed 6.0 Gb/s 12type HDD 12rpm 5400 12serial 12rev SDM1 12temp 35 C
12SMART yes 12state enabled 12health PASSED 12on 279d 19h 12cycles 2149 12read 27.41 TiB
12written 7.85 TiB 12Pre-Fail 12reallocated sector 100 12threshold 36
12attribute Spin_Retry_Count 12value 100 12worst 100 12threshold 97
12ID-3 /dev/sdb 12maj-min 8:16 12type USB 12vendor SanDisk 12model USB 3.2Gen1
12size 28.65 GiB 12block-size 12physical 512 B 12logical 512 B 12type N/A
12serial 12rev 1.00
12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
12Partition:
12ID-1 / 12raw-size 232.59 GiB 12size 232.59 GiB (100.00%) 12used 109.07 GiB (46.9%)
12fs btrfs 12block-size 4096 B 12dev /dev/nvme0n1p2 12maj-min 259:2
12Swap:
12Alert No swap data was found.
12Sensors:
12System Temperatures 12cpu 69.0 C 12mobo N/A 12gpu nouveau 12temp 49.0 C
12Fan Speeds (RPM) N/A
12Info:
12Processes 364 12Uptime 5h 49m 12wakeups 3 12Memory 31.22 GiB 12used 2.72 GiB (8.7%)
12Init systemd 12v 249 12tool systemctl 12Compilers 12gcc 11.1.0 12alt 10 12clang 12.0.1
12Packages 1915 12pacman 1905 12lib 458 12flatpak 10 12Client shell wrapper
12v 5.1.8-release 12inxi 3.3.08

For some reason the number 12 shows up a lot on this inxi output.

fdisk -l

Disk /dev/nvme0n1: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: Samsung SSD 960 EVO 250GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A53DF6D8-3680-B74A-86EE-79FBB912A0BE

Device Start End Sectors Size Type
/dev/nvme0n1p1 4096 618495 614400 300M EFI System
/dev/nvme0n1p2 618496 488392064 487773569 232.6G Linux filesystem

Disk /dev/loop0: 127.91 MiB, 134123520 bytes, 261960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 646.77 MiB, 678191104 bytes, 1324592 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 752.61 MiB, 789168128 bytes, 1541344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 671 MiB, 703590400 bytes, 1374200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000LX001-1RG1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/sdb: 28.65 GiB, 30765219840 bytes, 60088320 sectors
Disk model: SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 4635183 4635120 2.2G 0 Empty
/dev/sdb2 4635184 4643375 8192 4M ef EFI (FAT-12/16/32)

journalctl -b -1 --no-pager shows among other things:

coredump from gssproxy

Oct 24 21:33:18 jacob-p950er systemd-coredump[764]: Process 606 (gssproxy) of user 0 dumped core.

                                                Found module linux-vdso.so.1 with build-id: e816248c0af862094290c3aba368ce81d17fed89
                                                Found module libgcc_s.so.1 with build-id: 7f8508bb914546ada778809b64b99d234337d835
                                                Found module libnss_files.so.2 with build-id: 1a36dfc01d3a1010b2ee79766a24a8090a3266d5
                                                Found module ld-linux-x86-64.so.2 with build-id: 040cc3dd10461562f177df39e3be2f3704258c3c
                                                Found module libdl.so.2 with build-id: 5abc547e7b0949f89f3c0e21ab0c8331a7440a8a
                                                Found module libbasicobjects.so.0 with build-id: 653f6da9bd9af3cb02c56add746e9b6cdddbfcde
                                                Found module libpath_utils.so.1 with build-id: 8d4a6d645ba30e39128e703666dd4b9d6a882d79
                                                Found module libcollection.so.4 with build-id: 22014c6a20938a774b8baaecc169b4ce463c4b40
                                                Found module libm.so.6 with build-id: 2b8fd1f869ecab4e0b55e92f2f151897f6818acf
                                                Found module libresolv.so.2 with build-id: c915c72668282861a813f7ea3c0780f37b681dc0
                                                Found module libkeyutils.so.1 with build-id: ac405ddd17be10ce538da3211415ee50c8f8df79
                                                Found module libkrb5support.so.0 with build-id: adf65240a4d2aba772d7a0772b4d015469934113
                                                Found module libcom_err.so.2 with build-id: eb61ef71c8b97846db759fb89a115405cff6dd30
                                                Found module libc.so.6 with build-id: 4b406737057708c0e4c642345a703c47a61c73dc
                                                Found module libpthread.so.0 with build-id: 07c8f95b4f3251d08550217ad8a1f31066229996
                                                Found module libgssapi_krb5.so.2 with build-id: e6e098ad51ce7bdd3dbe902d7b0f69a90f8a9e08
                                                Found module libgssrpc.so.4 with build-id: dec072f9edf6de2330ff75f4366f64e185113dad
                                                Found module libref_array.so.1 with build-id: f4f234bdb68cd1198b7a1e08e3199e79375b7868
                                                Found module libini_config.so.5 with build-id: 04df90ebe80e30cc4d623645708491f4662f3dba
                                                Found module libverto.so.0 with build-id: dcecd9c1fd2d703e36d2979f759fb1c057734d0e
                                                Found module libk5crypto.so.3 with build-id: eb8220b8f36675aac769450be4cb6bb7f97ec38a
                                                Found module libkrb5.so.3 with build-id: 72d26767c5cb1097db75a5f5bff88860233c902b
                                                Found module libpopt.so.0 with build-id: feb6eba8f7d85e13ad710836f0a3ae145774a80b
                                                Found module gssproxy with build-id: fdf824bba045ff63fc868f68b95dde66091ac8a4
                                                Stack trace of thread 606:
                                                #0  0x00007f01387c9d22 raise (libc.so.6 + 0x3cd22)
                                                #1  0x00007f01387b3862 abort (libc.so.6 + 0x26862)
                                                #2  0x00007f013880bd28 __libc_message (libc.so.6 + 0x7ed28)
                                                #3  0x00007f013881392a malloc_printerr (libc.so.6 + 0x8692a)
                                                #4  0x00007f0138814cfc _int_free (libc.so.6 + 0x87cfc)
                                                #5  0x00007f01388189e8 __libc_free (libc.so.6 + 0x8b9e8)
                                                #6  0x00007f0138a16fbc verto_cleanup (libverto.so.0 + 0x2fbc)
                                                #7  0x0000562550912783 n/a (gssproxy + 0x5783)
                                                #8  0x00007f01387b4b25 __libc_start_main (libc.so.6 + 0x27b25)
                                                #9  0x000056255091292e n/a (gssproxy + 0x592e)
Nvidia persistence daemon error

Oct 24 21:14:28 jacob-p950er systemd-modules-load[323]: Module ‘nvidia’ is deny-listed
Oct 24 21:14:28 jacob-p950er kernel: nvidia: loading out-of-tree module taints kernel.
Oct 24 21:14:28 jacob-p950er kernel: nvidia: module license ‘NVIDIA’ taints kernel.
Oct 24 21:14:28 jacob-p950er kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Oct 24 21:14:28 jacob-p950er kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 510
NVRM: nouveau, rivafb, nvidiafb or rivatv
Oct 24 21:14:28 jacob-p950er kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 510
Oct 24 21:14:28 jacob-p950er systemd-modules-load[323]: Failed to insert module ‘nvidia_drm’: No such device
Oct 24 21:14:28 jacob-p950er kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
NVRM: nouveau, rivafb, nvidiafb or rivatv
Oct 24 21:14:28 jacob-p950er kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 509
Oct 24 21:14:32 jacob-p950er nvidia-persistenced[557]: Started (557)

Oct 24 21:14:32 jacob-p950er kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 508
Oct 24 21:14:32 jacob-p950er kernel: NVRM: The NVIDIA probe routine was not called for 1 device(s).
Oct 24 21:14:32 jacob-p950er kernel: NVRM: This can occur when a driver such as:
NVRM: nouveau, rivafb, nvidiafb or rivatv
NVRM: was loaded and obtained ownership of the NVIDIA device(s).
Oct 24 21:14:32 jacob-p950er kernel: NVRM: Try unloading the conflicting kernel module (and/or
NVRM: reconfigure your kernel without the conflicting
NVRM: driver(s)), then try loading the NVIDIA kernel module
NVRM: again.
Oct 24 21:14:32 jacob-p950er kernel: NVRM: No NVIDIA devices probed.
Oct 24 21:14:32 jacob-p950er kernel: nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
Oct 24 21:14:32 jacob-p950er nvidia-persistenced[557]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 143 has read and write permissions for those files.
Oct 24 21:14:32 jacob-p950er nvidia-persistenced[557]: Shutdown (557)
Oct 24 21:14:32 jacob-p950er nvidia-persistenced[555]: nvidia-persistenced failed to initialize. Check syslog for more details.

checking for blacklistings:

ls /dev/ shows no /dev/nvidia/*

autofs drm_dp_aux0 kmsg mapper ppp sg1 tty11 tty23 tty35 tty47 tty59 udmabuf vcs6 vcsu1 video0
block drm_dp_aux1 kvm media0 psaux shm tty12 tty24 tty36 tty48 tty6 uhid vcs7 vcsu2 video1
bsg drm_dp_aux2 lightnvm mei0 ptmx snapshot tty13 tty25 tty37 tty49 tty60 uinput vcs8 vcsu3 watchdog
btrfs-control fb0 log mem pts snd tty14 tty26 tty38 tty5 tty61 urandom vcsa vcsu4 watchdog0
bus fd loop-control mqueue random stderr tty15 tty27 tty39 tty50 tty62 usb vcsa1 vcsu5 zero
char full loop0 net rfkill stdin tty16 tty28 tty4 tty51 tty63 userio vcsa2 vcsu6 zfs
console fuse loop1 null rtc stdout tty17 tty29 tty40 tty52 tty7 v4l vcsa3 vcsu7
core hidraw0 loop2 nvme0 rtc0 tpm0 tty18 tty3 tty41 tty53 tty8 vcs vcsa4 vcsu8
cpu hidraw1 loop3 nvme0n1 sda tpmrm0 tty19 tty30 tty42 tty54 tty9 vcs1 vcsa5 vfio
cpu_dma_latency hpet loop4 nvme0n1p1 sdb tty tty2 tty31 tty43 tty55 ttyS0 vcs2 vcsa6 vga_arbiter
cuse hugepages loop5 nvme0n1p2 sdb1 tty0 tty20 tty32 tty44 tty56 ttyS1 vcs3 vcsa7 vhci
disk hwrng loop6 nvram sdb2 tty1 tty21 tty33 tty45 tty57 ttyS2 vcs4 vcsa8 vhost-net
dri input loop7 port sg0 tty10 tty22 tty34 tty46 tty58 ttyS3 vcs5 vcsu vhost-vsock

/etc/modprobe.d/mhwd-gpu.conf

File: /etc/modprobe.d/mhwd-gpu.conf
───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ ##
2 │ ## Generated by mhwd - Manjaro Hardware Detection
3 │ ##
4 │
5 │ blacklist nouveau
6 │ blacklist ttm
7 │ blacklist drm_kms_helper
8 │ blacklist drm
9 │ options nvidia “NVreg_DynamicPowerManagement=0x02”

/etc/default/grub

tail -n300 /var/log/pacman.log

bat /var/log/Xorg.0.log 
File: /var/log/Xorg.0.log   <EMPTY>

screen capabilities

xrandr -q

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 345mm x 194mm
3840x2160 60.02 + 60.00 60.01 59.98 40.05 59.97
3200x1800 59.96 59.94
2880x1620 59.96 59.97
2560x1600 59.99 59.97
2560x1440 59.99 59.99 59.96 59.95
2048x1536 60.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
2048x1152 59.99 59.98 59.90 59.91
1920x1200 59.88 59.95
1920x1080 60.01* 59.97 59.96 59.93
1600x1200 60.00
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)

dmesg only shows kernel messages from live system.

Tried removing nvidia-drm.modeset=1 from kernel parameters, as suggested on this Arch forum thread, but the problem persists.

journalctl -b-1 without nvidia-drm.modeset=1 says, among other things:

  • nvidia persistence daaemon now works.
  • tccd.service might have something to do with the issue:
Oct 24 23:59:00 jacob-p950er tccd[571]: DisplayBacklightWorker: Refused to save display brightness 0 from intel_backlight
Oct 24 23:59:00 jacob-p950er systemd[1]: tccd.service: Main process exited, code=exited, status=15/n/a
Oct 24 23:59:00 jacob-p950er systemd[1]: tccd.service: Failed with result 'exit-code'.
  • gssproxy still coredumps

I couldn’t find a way to fix my Manjaro system, and I need something that just works (at least for now).
Shrunk the btrfs filesystem and system partition, and installed Fedora in the remaining unallocated space.