I have a Ryzen laptop that had both Nvidia discrete GPU (RTX 3050) and AMD GPU.
I have recently updated the kernel to 5.15 and Nvidia drivers and like many others
I have the problem of not being able to use desktop manager. The system hangs with black screen.
I have tried a lot of things that have been suggested in various posts on this forum, but nothing works.
It seems that the problem is in X11 configuration. Even if I remove nvidia drivers (and install ‘video-linux’) drivers, the system still hangs. The only way I am able to use the desktop is if I use Wayland.
Question: is there a way to completely wipe out everything X11 related (including config files) and essentially start from scratch?
Here’s my system info:
System:
Kernel: 5.15.60-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=c992c1e3-257b-4232-9308-c981d481807e rw ipv6.disable=1 quiet
splash udev.log_priority=3 ipv6.disable=1 sky2.disable_msi=1
resume=UUID=c992c1e3-257b-4232-9308-c981d481807e resume_offset=12101632
Desktop: GNOME v: 42.4 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ROG Zephyrus G14 GA401QC_GA401QC
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: GA401QC v: 1.0 serial: <superuser required>
UEFI: American Megatrends LLC. v: GA401QC.408 date: 12/13/2021
Battery:
ID-1: BAT0 charge: 23.7 Wh (37.8%) condition: 62.7/76.0 Wh (82.4%)
volts: 15.8 min: 15.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
status: discharging
Memory:
RAM: total: 15.04 GiB used: 3.48 GiB (23.2%)
RAM Report: permissions: Unable to run dmidecode. Root privileges
required.
CPU:
Info: model: AMD Ryzen 7 5800HS with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25)
model-id: 0x50 (80) stepping: 0 microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1204 high: 1304 min/max: 1200/3200 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1197 2: 1304
3: 1198 4: 1197 5: 1197 6: 1197 7: 1198 8: 1198 9: 1198 10: 1197 11: 1198
12: 1197 13: 1198 14: 1197 15: 1198 16: 1198 bogomips: 102241
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed 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: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: ASUSTeK
driver: N/A alternate: nouveau non-free: 515.xx+ status: current (as of
2022-07) arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-22
pcie: gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s
lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25a2 class-ID: 0300
Device-2: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel
arch: GCN-5.1 code: Vega-2 process: TSMC n7 (7nm) built: 2018-21 pcie:
gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
active: eDP-1 empty: HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:1638
class-ID: 0300
Display: wayland server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3
compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
Monitor-1: eDP-1 model: Najing CEC Panda 0x005e built: 2020 res: 1920x1080
dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
ratio: 16:9 modes: max: 1920x1080 min: 640x480
Message: Wayland GBM/EGL data currently not available.
Audio:
Device-1: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
gen: 3 speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: ASUSTeK
driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x pcie:
gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h/19h HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.6 chip-ID: 1022:15e3
class-ID: 0403
Sound Server-1: ALSA v: k5.15.60-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 16.1 running: no
Sound Server-4: PipeWire v: 0.3.56 running: yes
Network:
Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
lanes: 1 bus-ID: 02:00.0 chip-ID: 14c3:7961 class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: IMC Networks Wireless_Device type: USB driver: btusb v: 0.8
bus-ID: 3-4:3 chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 476.94 GiB used: 251.18 GiB (52.7%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVLQ512HBLU-00B00 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: FXM7201Q temp: 31.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 292.97 GiB size: 287.31 GiB (98.07%) used: 251.14 GiB
(87.4%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 label: N/A
uuid: c992c1e3-257b-4232-9308-c981d481807e
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 41.6 MiB
(16.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: SYSTEM
uuid: 94E0-8A25
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 20 GiB used: 0 KiB (0.0%) priority: -2
file: /swapfile
Unmounted:
ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 163.32 GiB fs: bitlocker
label: N/A uuid: N/A
ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 700 MiB fs: ntfs label: RECOVERY
uuid: A0FC79CEFC799F6A
ID-4: /dev/nvme0n1p5 maj-min: 259:5 size: 19.5 GiB fs: ntfs label: RESTORE
uuid: F41C54691C54293E
ID-5: /dev/nvme0n1p6 maj-min: 259:6 size: 200 MiB fs: vfat label: MYASUS
uuid: BE54-8B40
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-3:2 info: ASUSTek N-KEY Device type: Keyboard
driver: asus,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 0b05:19b6 class-ID: 0301
Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-3:2 info: Shenzhen Goodix FingerPrint type: <vendor specific>
driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 27c6:521d class-ID: ff00
Device-2: 3-4:3 info: IMC Networks Wireless_Device type: Bluetooth
driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s power: 100mA
chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 48.2 C mobo: N/A gpu: amdgpu temp: 41.0 C
Fan Speeds (RPM): cpu: 2300
Info:
Processes: 374 Uptime: 14m wakeups: 2 Init: systemd v: 251
default: graphical tool: systemctl Compilers: gcc: 12.1.1 alt: 11/6/7
clang: 14.0.6 Packages: 1421 pacman: 1394 lib: 361 flatpak: 16 snap: 11
Shell: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.20
Moderator edit: Added code block. Please read this: [HowTo] Post command output and file content as formatted text