nVidia DisplayPort (over Type-C) issues [AMD/nVidia Hybrid Graphics]

Hey, I need help running a display through DisplayPort over Type-C. Nothing I’m trying is working in the System Settings app. Details are below.

Problem: Display 2 over DP through Type-C (driven by nVidia) doesn’t work - NO display output at all

System Specs:
ASUS TUF 15" Gaming

  • AMD Ryzen 7 4800H (with Radeon Graphics)
  • nVidia GTX 1660 Ti 6GB
  • 16 GB DDR4 RAM
  • FHD 144hz Internal Display
  • FHD 240hz External DP Display

inxi paste below:

System:
Kernel: 5.15.25-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=67f1ed69-0fa1-4b28-b033-99a6a60cf279 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.24.2 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA506IU_TUF506IU
v: 1.0 serial: <superuser required>
Mobo: ASUSTeK model: FA506IU v: 1.0 serial: <superuser required>
UEFI: American Megatrends v: FA506IU.316 date: 03/12/2021
Battery:
ID-1: BAT1 charge: 42.7 Wh (100.0%) condition: 42.7/48.1 Wh (88.9%)
volts: 12.7 min: 11.7 model: ASUS A32-K55 type: Li-ion serial: N/A
status: Full
Memory:
RAM: total: 15.12 GiB used: 3.29 GiB (21.7%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 2 family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600104
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: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 1478 high: 2355 min/max: 1400/2900 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1397 2: 2355
3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1744 9: 1397 10: 1397 11: 1397
12: 1396 13: 1397 14: 1397 15: 1397 16: 1397 bogomips: 92663
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 extapic extd_apicid
f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
rdtscp rep_good sep sev sev_es sha_ni skinit smap smca sme 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 vgif vmcb_clean vme
vmmcall 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: 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] vendor: ASUSTeK
driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 1
speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.0 chip-ID: 10de:2191 class-ID: 0300
Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: HDMI-A-1
bus-ID: 05:00.0 chip-ID: 1002:1636 class-ID: 0300
Device-3: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo
bus-ID: 3-4:5 chip-ID: 13d3:56a2 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: amdgpu,ati,nvidia unloaded: modesetting,nouveau
alternate: fbdev,nv,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 506x285mm (19.9x11.2")
s-diag: 581mm (22.9")
Monitor-1: eDP res: 1920x1080 hz: 144 dpi: 142 size: 344x194mm (13.5x7.6")
diag: 395mm (15.5")
OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.25-1-MANJARO LLVM 13.0.1)
v: 4.6 Mesa 21.3.7 direct render: Yes
Audio:
Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:1aeb class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 05:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.6
chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.15.25-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.47 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: N/A modules: r8169 pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Lite-On driver: rtw_8822ce v: N/A modules: rtw88_8822ce pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:c822
class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: temporary dynamic scope: global
IP v6: <filter> type: dynamic mngtmpaddr noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Lite-On Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 5-1:2 chip-ID: 04ca:4005 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: 1.38 TiB used: 446.33 GiB (31.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2210 MTFDHBA512QFD
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: P6MA001 temp: 32.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 5400 serial: <filter> rev: 2J scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 217.14 GiB size: 212.68 GiB (97.94%)
used: 56.49 GiB (26.6%) fs: ext4 dev: /dev/sda4 maj-min: 8:4 label: Manjaro
uuid: 67f1ed69-0fa1-4b28-b033-99a6a60cf279
ID-2: /boot/efi raw-size: 488 MiB size: 487 MiB (99.80%)
used: 292 KiB (0.1%) fs: vfat dev: /dev/sda2 maj-min: 8:2 label: GRUB-EFI
uuid: 3E88-CF1C
ID-3: /run/media/h2-san/DATA raw-size: 698.63 GiB
size: 698.63 GiB (100.00%) used: 192.82 GiB (27.6%) fs: ntfs dev: /dev/sda1
maj-min: 8:1 label: DATA uuid: 7CD145EDD843C709
ID-4: /run/media/h2-san/OS raw-size: 458.34 GiB size: 458.34 GiB (100.00%)
used: 183.18 GiB (40.0%) fs: ntfs dev: /dev/nvme0n1p3 maj-min: 259:3
label: OS uuid: BCDAE970DAE9277C
ID-5: /run/media/h2-san/RESTORE raw-size: 17.5 GiB
size: 17.5 GiB (100.00%) used: 13.82 GiB (79.0%) fs: ntfs
dev: /dev/nvme0n1p5 maj-min: 259:5 label: RESTORE uuid: C6104EDA104ED0DB
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 15.26 GiB used: 8.6 MiB (0.1%)
priority: -2 dev: /dev/sda3 maj-min: 8:3 label: N/A
uuid: 3eb7b4af-6a6d-44a5-aec2-9b48d85f3e6c
Unmounted:
ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 260 MiB fs: vfat label: SYSTEM
uuid: B6E5-57D7
ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
label: N/A uuid: N/A
ID-3: /dev/nvme0n1p4 maj-min: 259:4 size: 850 MiB fs: ntfs label: RECOVERY
uuid: 92DA21DBDA21BC7B
USB:
Hub-1: 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-1:9 info: Chrontel Billboard type: Billboard driver: N/A
interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 200mA chip-ID: 0639:7213
class-ID: 1100 serial: <filter>
Device-2: 3-2:3 info: SINOWEALTH Wired Gaming Mouse type: Mouse,Keyboard
driver: glorious,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 480mA
chip-ID: 258a:0036 class-ID: 0301
Device-3: 3-3:8 info: Brother Industries MFC-7360N type: Printer
driver: usblp interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 2mA
chip-ID: 04f9:0270 class-ID: 0701 serial: <filter>
Device-4: 3-4:5 info: IMC Networks USB2.0 HD UVC WebCam type: Video
driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
chip-ID: 13d3:56a2 class-ID: 0e02 serial: <filter>
Hub-2: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 5-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: 5-1:2 info: Lite-On Bluetooth Radio type: Bluetooth
driver: btusb interfaces: 2 rev: 1.0 speed: 12 Mb/s power: 500mA
chip-ID: 04ca:4005 class-ID: e001 serial: <filter>
Device-2: 5-2:3 info: Corsair Gaming K55 RGB Keyboard type: Keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
power: 500mA chip-ID: 1b1c:1b3d class-ID: 0300 serial: <filter>
Hub-4: 6-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: 42.0 C mobo: N/A gpu: amdgpu temp: 39.0 C
Fan Speeds (RPM): cpu: 2200
Info:
Processes: 366 Uptime: 50m wakeups: 1 Init: systemd v: 250 tool: systemctl
Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: 1400 pacman: 1394 lib: 374
flatpak: 6 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16 running-in: yakuake
inxi: 3.3.13

there is an issue with the power-management. check /etc/rules.d/ for a nvidia-related- rules file.
inside almost everything is disabled, change it by commenting out with # and reboot

# Remove NVIDIA USB xHCI Host Controller devices, if present
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", ATTR{remove}="1"

# Remove NVIDIA USB Type-C UCSI devices, if present
#ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c8000", ATTR{remove}="1"

# Remove NVIDIA Audio devices, if present
#ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"

# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"

# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"

1 Like

I don’t see an /etc/rules.d/ file in my directory. Should I create one with the commented parameters as you suggested?

To be added:

# Remove NVIDIA USB xHCI Host Controller devices, if present
#ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", ATTR{remove}="1"

# Remove NVIDIA USB Type-C UCSI devices, if present
#ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c8000", ATTR{remove}="1"

# Remove NVIDIA Audio devices, if present
#ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"

# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
#ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
#ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"

# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
#ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
#ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"

are you using the nvidia-driver or nouveau ? please post the demanded output of the link below

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    [HowTo] Provide System Information
    and press the three dots below your post and press the :pencil2: to give us more information so we can see what’s really going on.
    Now we know the symptom of the disease, but we need some more probing to know where the origin lies… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.
1 Like

I’m actively using the nvidia-driver. Also, please see my original, first post (“inxi paste below”) for the command’s output.

sorry, my mistake but there should be a config-file in /etc/rules. is there any file ? can you post the output of 'ls /etc/rules.d/ ?

1 Like

The output:

ls: cannot access '/etc/rules.d/': No such file or directory

in this case a config-file in /etc/rules.d/ should be generated. please read the wiki link before
https://wiki.archlinux.org/title/PRIME

1 Like

I stand corrected on the drivers - it’s video-hybrid-amd-nvidia-prime. I followed the ArchLinux Wiki link, and here’s what I got with /etc/udev/rules.d/90-mhwd-prime-powermanagement.rules:

# Remove NVIDIA USB xHCI Host Controller devices, if present
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c0330", ATTR{remove}="1"

# Remove NVIDIA USB Type-C UCSI devices, if present
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c8000", ATTR{remove}="1"

# Remove NVIDIA Audio devices, if present (enable it for kernels lower than 5.5)
#ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"

# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"

# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"

yes and to activate the usb-c bus you need to comment the line with #

# Remove NVIDIA USB Type-C UCSI devices, if present
#ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x0c8000", ATTR{remove}="1"
1 Like

Should I still comment out the Type-C bus to use DP over Type-C? (I also sometimes use it for USB devices, so it would be nice to still have that functionality.)

[SOLUTION FAILED]

try and test it, you can always change it back by editing the config-file.

1 Like

Didn’t seem to do anything at all.

Update: Proceeded with a clean reinstall of the latest Manjaro KDE release.

Absolutely nothing happened. Not even my personal Type-C to HDMI adapter had success.

What is the output of xrandr -q?

Nothing but my internal display and my HDMI controller. The USB-C monitor isn’t detected.

Pretty sure it’s a KDE issue; every other distro manages to catch the Type-C DP.

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm # Internal laptop display
1920x1080    144.00*+  60.00
1680x1050    144.00
1280x1024    144.00
1440x900     144.00
1280x800     144.00
1280x720     144.00
1024x768     144.00
800x600      144.00
640x480      144.00
HDMI-A-0 disconnected (normal left inverted right x axis y axis)

post the output of

glxinfo | grep server

if glxinfo is not present then install the “mesa-utils” package first to install glxinfo