Wayland not working with my monitor

Notebook asus tuf gaming a15 cpu amd 4800h, video - 1660ti - driver opensource. I deleted nvidia driver because wayland and monitor with type c did not work. May be a need to send a request to manjaro developers? Desktop - gnome, kernel 5.8

There was a problem - notebook did not suspend. I found solution:
sudo modprobe -r xhci_pci
May be somebody knows more beautiful soluiton?
_
How did i found solition?

  • suspend and then dmesg
  • in logs i found it:
    [ 2492.399885] PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110
    [ 2492.399891] PM: dpm_run_callback(): pci_pm_suspend+0x0/0x160 returns -110
    [ 2492.399894] PM: Device 0000:01:00.2 failed to suspend async: error -110
  • look at device 01:00.2
  • lspci -v

01:00.2 USB controller: NVIDIA Corporation Device 1aec (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

sudo modprobe -r xhci_pci

Please run inxi -Fza, sudo mhwd -li, and lspci -k.

I see than nvidia use this module

01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev ff)
Kernel modules: xhci_pci

But i remove nvidia driver because with this driver hdmi with usb type C don’t work
May be my problem in nvidia but why it use nvidia and amd driver

inxi -Fza

System: Kernel: 5.8.6-1-MANJARO x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=(hd0,2)/boot/vmlinuz-5.8-x86_64 root=/dev/nvme0n1p2
Desktop: GNOME 3.36.6 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.36.3 Distro: Manjaro Linux
Machine: Type: Laptop System: ASUSTeK product: TUF Gaming FA506IU_FX506IU v: 1.0 serial:
Mobo: ASUSTeK model: FA506IU v: 1.0 serial: UEFI: American Megatrends v: FA506IU.309 date: 07/02/2020
Battery: ID-1: BAT1 charge: 24.6 Wh condition: 85.1/90.2 Wh (94%) volts: 5.0/15.9 model: ASUS A32-K55 type: Li-ion
serial: N/A status: Charging
CPU: Topology: 6-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen family: 17 (23)
model-id: 60 (96) stepping: 1 microcode: 8600104 L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 69498
Speed: 1397 MHz max: 1400 MHz boost: disabled Core speeds (MHz): 1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397
7: 1397 8: 1397 9: 1399 10: 1397 11: 1397 12: 1397 13: 1400 14: 1397 15: 1395 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 TU116M [GeForce GTX 1660 Ti Mobile] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:2191
Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 05:00.0
chip ID: 1002:1636
Display: wayland server: Xorg 1.20.8 compositor: gnome-shell driver: ati,modesetting,nvidia unloaded: nouveau
alternate: amdgpu,fbdev,nv,vesa display ID: 0 resolution:
OpenGL: renderer: AMD RENOIR (DRM 3.38.0 5.8.6-1-MANJARO LLVM 10.0.1) v: 4.6 Mesa 20.1.7 direct render: Yes
Audio: Device-1: NVIDIA TU116 High Definition Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:1aeb
Device-2: Advanced Micro Devices [AMD/ATI] vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 05:00.1
chip ID: 1002:1637
Device-3: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: snd_rn_pci_acp3x
v: kernel alternate: snd_pci_acp3x bus ID: 05:00.5 chip ID: 1022:15e2
Device-4: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus ID: 05:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.8.6-1-MANJARO
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8168 v: 8.048.03-NAPI
modules: r8169 port: e000 bus ID: 02:00.0 chip ID: 10ec:8168
IF: enp2s0 state: down mac:
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: e000 bus ID: 03:00.0 chip ID: 8086:2723
IF: wlp3s0 state: up mac:
Drives: Local Storage: total: 953.87 GiB used: 69.68 GiB (7.3%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW010T8 size: 953.87 GiB block size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 serial: rev: 002C scheme: GPT
Partition: ID-1: / raw size: 372.53 GiB size: 365.68 GiB (98.16%) used: 69.65 GiB (19.0%) fs: ext4 dev: /dev/nvme0n1p2
Swap: Kernel: swappiness: 60 (default) cache pressure: 100 (default)
ID-1: swap-1 type: partition size: 30.52 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 41.0 C mobo: N/A
Fan Speeds (RPM): N/A
GPU: device: amdgpu temp: 40 C device: nouveau temp: N/A
Info: Processes: 403 Uptime: 21m Memory: 30.85 GiB used: 1.95 GiB (6.3%) Init: systemd v: 246 Compilers: gcc: 10.2.0
Packages: 1322 pacman: 1317 lib: 361 flatpak: 0 snap: 5 Shell: Zsh v: 5.8 running in: guake inxi: 3.1.05

mhwd -li

~ >>> sudo mhwd -li
[sudo] пароль для mainbord:

Installed PCI configs:


              NAME               VERSION          FREEDRIVER           TYPE

     network-r8168            2016.04.20                true            PCI
       video-linux            2018.05.04                true            PCI

Warning: No installed USB configs!

lspci -k

~ >>> lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
Subsystem: ASUSTeK Computer Inc. Device 1e21
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: ASUSTeK Computer Inc. Device 1e21
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev ff)
Kernel driver in use: nouveau
Kernel modules: nouveau
01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev ff)
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
01:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev ff)
Kernel modules: xhci_pci
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev ff)
Kernel driver in use: nvidia-gpu
Kernel modules: i2c_nvidia_gpu
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: ASUSTeK Computer Inc. Device 208f
Kernel driver in use: r8168
Kernel modules: r8169, r8168
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
Subsystem: Intel Corporation Device 0084
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
04:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)
Subsystem: Intel Corporation Device 390d
Kernel driver in use: nvme
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c6)
Subsystem: ASUSTeK Computer Inc. Device 16cf
Kernel driver in use: amdgpu
Kernel modules: amdgpu
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
Subsystem: ASUSTeK Computer Inc. Device 16cf
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
Kernel driver in use: ccp
Kernel modules: ccp
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
Subsystem: ASUSTeK Computer Inc. Device 201f
Kernel modules: xhci_pci
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
Subsystem: ASUSTeK Computer Inc. Device 201f
Kernel modules: xhci_pci
05:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
Subsystem: Device 1e21:1043
Kernel driver in use: snd_rn_pci_acp3x
Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
DeviceName: HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 1e21
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
Subsystem: ASUSTeK Computer Inc. Device 1e21
Kernel driver in use: ahci
06:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
Subsystem: ASUSTeK Computer Inc. Device 1e21
Kernel driver in use: ahci

Sorry, what exactly is the problem?

  1. Wayland + nouveau doesn’t work
  2. you want a different method of fixing the suspend error

Or something else?

  1. I want to fix suspend problem out of the box

When i use AC power all works, problem exists only on battery