Hi everyone,
I’m running KDE on a Lenovo Legion 5 (Ryzen 7 4800H and GTX 1650). Everything was working fine until the latest update after which I get a black screen on tty1.
I figured that it was an nvidia problem as usual, so I did a rollback on all the most recently updated nvidia packages using pacman’s cache, which didn’t help. After that, I tried updating the kernel to 5.11 (from 5.13), removing all the older kernel versions and removing and reinstalling all video drivers as well as all other nvidia-related packages. Didn’t help either.
Thanks in advance.
$ uname -r
5.13.1-3-MANJARO
$ mhwd -li --pci
[1m [31m> [mInstalled PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-modesetting 2020.01.13 true PCI
video-linux 2018.05.04 true PCI
video-hybrid-amd-nvidia-prime 2020.11.30 false PCI
$ inxi -Fxxxa
System: Host: ivan-82b5 Kernel: 5.13.1-3-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 root=UUID=02814162-e620-4601-a97f-f505778b0933 rw quiet splash
apparmor=1 security=apparmor resume=UUID=1ce81cb4-8254-4905-b83f-d6deb55dbabc udev.log_priority=3
video.use_native_backlight=1
Console: tty 2 DM: SDDM Distro: Manjaro Linux base: Arch Linux
Machine: Type: Laptop System: LENOVO product: 82B5 v: Lenovo Legion 5 15ARH05 serial: <superuser required> Chassis: type: 10
v: Lenovo Legion 5 15ARH05 serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required> UEFI: LENOVO v: EUCN19WW date: 05/12/2020
Battery: ID-1: BAT0 charge: 73.5 Wh (100.0%) condition: 73.5/80.0 Wh (91.8%) volts: 17.3 min: 15.4 model: Celxpert L19C4PC1
type: Li-poly serial: 4538 status: Full cycles: 136
CPU: Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 2 family: 17 (23)
model-id: 60 (96) stepping: 1 microcode: 8600103 cache: L2: 4 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92659
Speed: 4291 MHz min/max: 1400/2900 MHz boost: enabled Core speeds (MHz): 1: 4291 2: 1397 3: 1397 4: 1396 5: 1397
6: 1397 7: 1397 8: 1397 9: 1397 10: 1397 11: 1397 12: 1397 13: 1397 14: 1397 15: 1397 16: 1397
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA TU117M vendor: Lenovo driver: N/A alternate: nouveau, nvidia_drm, nvidia bus-ID: 01:00.0
chip-ID: 10de:1f99 class-ID: 0300
Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: Lenovo driver: amdgpu v: kernel bus-ID: 05:00.0
chip-ID: 1002:1636 class-ID: 0300
Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3 chip-ID: 13d3:56ff class-ID: 0e02
Display: server: X.org 1.20.11 driver: loaded: nvidia tty: 240x67
Message: Advanced graphics data unavailable in console. Try -G --display
Audio: Device-1: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.13.1-3-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: no
Sound Server-4: PipeWire v: 0.3.31 running: no
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 2000
bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: 54:05:db:04:12:f7
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 2000 bus-ID: 04:00.0 chip-ID: 8086:2723
class-ID: 0280
IF: wlp4s0 state: down mac: ac:12:03:79:82:bd
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:3 chip-ID: 8087:0029 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: enabled,running rfk-block: hardware: no software: yes
address: see --recommends
Drives: Local Storage: total: 476.94 GiB used: 123.81 GiB (26.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: HFS512GD9TNI-L2A0B size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: CN06N57421040765X rev: 11010C10
scheme: GPT
Partition: ID-1: / raw-size: 258.22 GiB size: 253.17 GiB (98.04%) used: 123.78 GiB (48.9%) fs: ext4 dev: /dev/nvme0n1p6
maj-min: 259:6
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.1 MiB (26.2%) fs: vfat dev: /dev/nvme0n1p2
maj-min: 259:2
Swap: Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p7 maj-min: 259:7
Sensors: System Temperatures: cpu: 51.9 C mobo: N/A gpu: amdgpu temp: 43.0 C
Fan Speeds (RPM): N/A
Info: Processes: 299 Uptime: 2m wakeups: 1 Memory: 15 GiB used: 585.8 MiB (3.8%) Init: systemd v: 248 tool: systemctl
Compilers: gcc: 11.1.0 alt: 10 clang: 12.0.1 Packages: 1537 pacman: 1530 lib: 439 flatpak: 0 snap: 7
Shell: Bash (login) v: 5.1.8 running-in: tty 2 inxi: 3.3.05
$ cat /var/log/Xorg.0.log
[ 8.566] (--) Log file renamed from "/var/log/Xorg.pid-1186.log" to "/var/log/Xorg.0.log"
[ 8.567]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 8.567] Build Operating System: Linux Manjaro Linux
[ 8.567] Current Operating System: Linux ivan-82b5 5.13.1-3-MANJARO #1 SMP PREEMPT Sat Jul 10 20:15:35 UTC 2021 x86_64
[ 8.567] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 root=UUID=02814162-e620-4601-a97f-f505778b0933 rw quiet splash apparmor=1 security=apparmor resume=UUID=1ce81cb4-8254-4905-b83f-d6deb55dbabc udev.log_priority=3 video.use_native_backlight=1
[ 8.567] Build Date: 13 April 2021 04:11:08PM
[ 8.567]
[ 8.567] Current version of pixman: 0.40.0
[ 8.567] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 8.567] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 8.567] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 20 16:10:17 2021
[ 8.567] (==) Using config file: "/etc/X11/xorg.conf"
[ 8.567] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 8.567] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 8.567] (==) ServerLayout "layout"
[ 8.567] (**) |-->Screen "Screen0" (0)
[ 8.567] (**) | |-->Monitor "Monitor0"
[ 8.568] (**) | |-->Device "Device0"
[ 8.568] (**) | |-->GPUDevice "Nvidia Card"
[ 8.568] (**) | |-->GPUDevice "Device0"
[ 8.568] (==) Automatically adding devices
[ 8.568] (==) Automatically enabling devices
[ 8.568] (==) Automatically adding GPU devices
[ 8.568] (==) Automatically binding GPU devices
[ 8.568] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 8.568] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[ 8.568] Entry deleted from font path.
[ 8.568] (Run 'mkfontdir' on "/usr/share/fonts/misc").
[ 8.568] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 8.568] Entry deleted from font path.
[ 8.568] (Run 'mkfontdir' on "/usr/share/fonts/TTF").
[ 8.568] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 8.568] Entry deleted from font path.
[ 8.568] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 8.568] Entry deleted from font path.
[ 8.568] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 8.568] Entry deleted from font path.
[ 8.568] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 8.568] Entry deleted from font path.
[ 8.568] (==) FontPath set to:
[ 8.568] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 8.568] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 8.568] (II) Module ABI versions:
[ 8.568] X.Org ANSI C Emulation: 0.4
[ 8.568] X.Org Video Driver: 24.1
[ 8.568] X.Org XInput driver : 24.1
[ 8.568] X.Org Server Extension : 10.0
[ 8.569] (++) using VT number 1
[ 8.569] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 8.570] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 8.581] (--) PCI: (1@0:0:0) 10de:1f99:17aa:3a43 rev 161, Mem @ 0xc1000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[ 8.581] (--) PCI:*(5@0:0:0) 1002:1636:17aa:3a3f rev 198, Mem @ 0xb0000000/268435456, 0xc0000000/2097152, 0xc2500000/524288, I/O @ 0x00001000/256, BIOS @ 0x????????/131072
[ 8.581] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 8.581] (II) LoadModule: "glx"
[ 8.581] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 8.583] (II) Module glx: vendor="X.Org Foundation"
[ 8.583] compiled for 1.20.11, module version = 1.0.0
[ 8.583] ABI class: X.Org Server Extension, version 10.0
[ 8.583] (II) LoadModule: "nvidia"
[ 8.583] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 8.583] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 8.584] compiled for 1.6.99.901, module version = 1.0.0
[ 8.584] Module class: X.Org Video Driver
[ 8.584] (II) NVIDIA dlloader X Driver 470.42.01 Tue Jun 15 21:31:38 UTC 2021
[ 8.584] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 8.584] (EE) No devices detected.
[ 8.584] (EE)
Fatal server error:
[ 8.584] (EE) no screens found(EE)
[ 8.584] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 8.584] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 8.584] (EE)
[ 8.584] (EE) Server terminated with error (1). Closing log file.
$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 465.31
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 455.45.01
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BOE Technology Group Co., Ltd"
HorizSync 141.0 - 141.0
VertRefresh 120.0
Option "DPMS"
EndSection
Section "Device"
# BoardName "GeForce GTX 1650"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
# Removed Option "metamodes" "1920x1080_120 +0+0; nvidia-auto-select +0+0 {viewportin=1680x1050, viewportout=1728x1080+96+0}"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-3"
Option "metamodes" "1920x1080_120 +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection