You are not logged in.
Hi, I am having problem with detecting external display over USB-C which support DP after latest system update (including nvidia drivers update). I have reverted back to drivers 570.144 among other drivers but DP is not returning (with 580.95.05 even HDMI stopped working).
Command I used sudo downgrade nvidia-open-dkms nvidia-utils lib32-nvidia-utils nvidia-settings libxnvctrl.
TL; DR I called multiple commands and found out that the DP is connected to the AMD GPU, but I cannot seem to get it to work with different modprobe calls. I am running EOS on a Legion 5 15ARH7H with Wayland 6.4.5 and 6.12.53-1-lts kernel. This problem occurred once before (about half a year ago), and a reinstallation helped, but I would like to avoid that this time. Below is a sea of outputs. Any help is appreciated
Command which help me point to DP + amd connection:
~❯ sudo mount -t debugfs none /sys/kernel/debug 2>/dev/null || true
~❯ sudo bash -c ’
for cdir in /sys/class/drm/card[0-9]; do
card=$(basename “$cdir”)
vend=$(cat “$cdir/device/vendor” 2>/dev/null)
dev=$(cat “$cdir/device/device” 2>/dev/null)
pci=$(basename “$(readlink -f “$cdir/device”)”)
name=$(cat “/sys/kernel/debug/dri/${card#card}/name” 2>/dev/null || echo “?”)
printf “%s pci=%s vendor=%s device=%s name=%s\n” “$card” “$pci” “$vend” “$dev” “$name”
for s in “$cdir”-/status; do
[ -f “$s” ] || continue
printf " %s: %s\n" “$(basename “${s%/status}”)” “$(cat “$s”)”
done
echo
done’
card1 pci=0000:01:00.0 vendor=0x10de device=0x2560 name=nvidia-drm dev=0000:01:00.0 unique=0000:01:00.0
card1-DP-1: disconnected
card1-DP-2: disconnected
card1-eDP-1: disconnected
card1-HDMI-A-1: connected
card1-DP-1 pci=card1 vendor= device= name=?
card1-DP-2 pci=card1 vendor= device= name=?
card1-eDP-1 pci=card1 vendor= device= name=?
card1-HDMI-A-1 pci=card1 vendor= device= name=?
card2 pci=0000:34:00.0 vendor=0x1002 device=0x1681 name=amdgpu dev=0000:34:00.0 unique=0000:34:00.0
card2-DP-3: disconnected
card2-DP-4: disconnected
card2-DP-5: disconnected
card2-DP-6: disconnected
card2-DP-7: disconnected
card2-DP-8: disconnected
card2-eDP-2: connected
card2-Writeback-1: unknown
card2-DP-3 pci=card2 vendor= device= name=?
card2-DP-4 pci=card2 vendor= device= name=?
card2-DP-5 pci=card2 vendor= device= name=?
card2-DP-6 pci=card2 vendor= device= name=?
card2-DP-7 pci=card2 vendor= device= name=?
card2-DP-8 pci=card2 vendor= device= name=?
card2-eDP-2 pci=card2 vendor= device= name=?
card2-Writeback-1 pci=card2 vendor= device= name=?
The ls -l /sys/class/typec command is showing total 0. The kscreen-doctor shows this
kscreen-doctor -o
Output: 1 eDP-2 fa62f6d2-eebb-4208-aa60-9c8a0d152b0e
enabled
connected
priority 1
Panel
replication source:0
Modes: 1:1920x1080@144*! 2:1680x1050@144 3:1280x1024@144 4:1440x900@144 5:1280x800@144 6:1280x720@144 7:1024x768@144 8:800x600@144 9:640x480@144 10:1280x1024@60 11:1024x768@60 12:1280x800@60 13:1920x1080@60 14:1600x900@60 15:1600x900@144 16:1368x768@60 17:1368x768@144 18:1280x720@60
Geometry: 809,1440 1920x1080
Scale: 1
Rotation: 1
Overscan: 0
Vrr: Automatic
RgbRange: unknown
HDR: incapable
Wide Color Gamut: incapable
ICC profile: none
Color profile source: sRGB
Color power preference: prefer accuracy
Brightness control: supported, set to 10% and dimming to 100%
Color resolution: automatic (16), range: [8; 16] bits per color
Allow EDR: always
sudo lsmod | grep -E 'typec|ucsi|thunderbolt' returns this
thunderbolt 569344 0
ucsi_acpi 16384 0
typec_ucsi 77824 1 ucsi_acpi
roles 16384 1 typec_ucsi
typec 110592 1 typec_ucsi
sudo dmesg | grep -iE 'ucsi|typec|usb4|thunderbolt' returns this
[ 0.347043] ACPI: USB4 _OSC: OS supports USB3+ DisplayPort+ PCIe+ XDomain+
[ 0.347045] ACPI: USB4 _OSC: OS controls USB3+ DisplayPort+ PCIe+ XDomain+
[ 2.629786] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.629806] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[ 2.629808] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.629809] usb usb4: Product: xHCI Host Controller
[ 2.629811] usb usb4: Manufacturer: Linux 6.12.53-1-lts xhci-hcd
[ 2.629812] usb usb4: SerialNumber: 0000:34:00.4
[ 9.497688] ACPI: bus type thunderbolt registered
journalctl -k -f | grep -iE 'amdgpu|dmub|drm|dp|link|edid' returns
okt 20 20:13:12 endeavouros kernel: usb 9-1.5: New USB device found, idVendor=2109, idProduct=8886, bcdDevice= 0.01 # HDMI is plugged in
okt 20 20:49:11 endeavouros kernel: usb 9-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice= 7.24 # HDMI was unplugged and plugged back to laptop
okt 20 20:49:12 endeavouros kernel: usb 9-1.2: New USB device found, idVendor=0bda, idProduct=4cb9, bcdDevice= 0.06
okt 20 20:49:13 endeavouros kernel: usb 9-1.5: New USB device found, idVendor=2109, idProduct=8886, bcdDevice= 0.01
General output:
[my-user@endeavouros ~]$ sudo dmesg | grep -iE 'drm|edid|dp\ link|mst|nvidia|amdgpu' | tail -n 200
grep: warning: stray \ before white space
[ 2.607693] ACPI: bus type drm_connector registered
[ 2.625645] simple-framebuffer simple-framebuffer.0: [drm] Registered 1 planes with drm panic
[ 2.625647] [drm] Initialized simpledrm 1.0.0 for simple-framebuffer.0 on minor 0
[ 2.627732] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[ 3.338704] nvidia: loading out-of-tree module taints kernel.
[ 3.338712] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 3.439294] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
[ 3.440054] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 3.440153] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 3.488354] NVRM: loading NVIDIA UNIX Open Kernel Module for x86_64 570.144 Release Build (archlinux-builder@echo archlinux)
[ 4.433027] nvidia-modeset: Loading NVIDIA UNIX Open Kernel Mode Setting Driver for x86_64 570.144 Release Build (archlinux-builder@echo archlinux)
[ 4.438655] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 7.254279] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
[ 7.318997] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
[ 8.697347] systemd[1]: Load Kernel Module drm was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!drm).
[ 9.703343] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card1/input15
[ 9.703420] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card1/input16
[ 9.703475] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card1/input17
[ 9.703525] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card1/input18
[ 11.318017] [drm] amdgpu kernel modesetting enabled.
[ 11.318040] amdgpu: vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
[ 11.318601] amdgpu: ATPX version 1, functions 0x00000001
[ 11.318660] amdgpu: ATPX Hybrid Graphics
[ 11.321583] amdgpu: Virtual CRAT table created for CPU
[ 11.321596] amdgpu: Topology: Add CPU node
[ 11.321720] amdgpu 0000:34:00.0: enabling device (0006 -> 0007)
[ 11.321773] [drm] initializing kernel modesetting (YELLOW_CARP 0x1002:0x1681 0x17AA:0x3AFF 0xC8).
[ 11.321930] [drm] register mmio base: 0xB9800000
[ 11.321932] [drm] register mmio size: 524288
[ 11.324642] [drm] add ip block number 0 <nv_common>
[ 11.324644] [drm] add ip block number 1 <gmc_v10_0>
[ 11.324646] [drm] add ip block number 2 <navi10_ih>
[ 11.324647] [drm] add ip block number 3 <psp>
[ 11.324649] [drm] add ip block number 4 <smu>
[ 11.324650] [drm] add ip block number 5 <dm>
[ 11.324651] [drm] add ip block number 6 <gfx_v10_0>
[ 11.324653] [drm] add ip block number 7 <sdma_v5_2>
[ 11.324655] [drm] add ip block number 8 <vcn_v3_0>
[ 11.324656] [drm] add ip block number 9 <jpeg_v3_0>
[ 11.324681] amdgpu 0000:34:00.0: amdgpu: Fetched VBIOS from VFCT
[ 11.324683] amdgpu: ATOM BIOS: 113-REMBRANDT-X37
[ 11.424184] amdgpu 0000:34:00.0: vgaarb: deactivate vga console
[ 11.424189] amdgpu 0000:34:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[ 11.424220] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[ 11.424225] amdgpu 0000:34:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[ 11.424228] amdgpu 0000:34:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[ 11.424235] [drm] Detected VRAM RAM=512M, BAR=512M
[ 11.424236] [drm] RAM width 128bits DDR5
[ 11.424325] [drm] amdgpu: 512M of VRAM memory ready
[ 11.424327] [drm] amdgpu: 7585M of GTT memory ready.
[ 11.424341] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 11.424792] [drm] PCIE GART of 1024M enabled (table at 0x000000F41FC00000).
[ 11.425522] [drm] Loading DMUB firmware via PSP: version=0x04000045
[ 11.426066] [drm] use_doorbell being set to: [true]
[ 11.426084] [drm] Found VCN firmware Version ENC: 1.33 DEC: 4 VEP: 0 Revision: 13
[ 11.449199] amdgpu 0000:34:00.0: amdgpu: reserve 0xa00000 from 0xf41e000000 for PSP TMR
[ 11.583907] amdgpu 0000:34:00.0: amdgpu: RAS: optional ras ta ucode is not available
[ 11.593904] amdgpu 0000:34:00.0: amdgpu: RAP: optional rap ta ucode is not available
[ 11.593908] amdgpu 0000:34:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
[ 11.596270] amdgpu 0000:34:00.0: amdgpu: SMU is initialized successfully!
[ 11.596272] [drm] Seamless boot condition check passed
[ 11.597581] [drm] Display Core v3.2.301 initialized on DCN 3.1
[ 11.597583] [drm] DP-HDMI FRL PCON supported
[ 11.598953] [drm] DMUB hardware initialized: version=0x04000045
[ 11.600553] snd_hda_intel 0000:34:00.1: bound 0000:34:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[ 11.685799] [drm] PSR support 0, DC PSR ver -1, sink PSR ver 0 DPCD caps 0x2a su_y_granularity 0
[ 11.687752] [drm] kiq ring mec 2 pipe 1 q 0
[ 11.694747] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
[ 11.694761] kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
[ 11.694933] amdgpu: Virtual CRAT table created for GPU
[ 11.695922] amdgpu: Topology: Add dGPU node [0x1681:0x1002]
[ 11.695925] kfd kfd: amdgpu: added device 1002:1681
[ 11.695934] amdgpu 0000:34:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 6, active_cu_number 12
[ 11.695938] amdgpu 0000:34:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[ 11.695940] amdgpu 0000:34:00.0: amdgpu: ring gfx_0.1.0 uses VM inv eng 1 on hub 0
[ 11.695942] amdgpu 0000:34:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 4 on hub 0
[ 11.695943] amdgpu 0000:34:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 5 on hub 0
[ 11.695945] amdgpu 0000:34:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
[ 11.695946] amdgpu 0000:34:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
[ 11.695947] amdgpu 0000:34:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
[ 11.695949] amdgpu 0000:34:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
[ 11.695950] amdgpu 0000:34:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
[ 11.695952] amdgpu 0000:34:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
[ 11.695953] amdgpu 0000:34:00.0: amdgpu: ring kiq_0.2.1.0 uses VM inv eng 12 on hub 0
[ 11.695955] amdgpu 0000:34:00.0: amdgpu: ring sdma0 uses VM inv eng 13 on hub 0
[ 11.695956] amdgpu 0000:34:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 8
[ 11.695958] amdgpu 0000:34:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 8
[ 11.695959] amdgpu 0000:34:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 8
[ 11.695960] amdgpu 0000:34:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 8
[ 11.697486] amdgpu 0000:34:00.0: amdgpu: Runtime PM not available
[ 11.698764] [drm] Initialized amdgpu 3.61.0 for 0000:34:00.0 on minor 2
[ 11.722029] fbcon: amdgpudrmfb (fb0) is primary device
[ 11.725436] [drm] pre_validate_dsc:1622 MST_DSC dsc precompute is not needed
[ 12.578351] amdgpu 0000:34:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 99.628482] nvidia 0000:01:00.0: [drm] fb1: nvidia-drmdrmfb frame buffer device
[ 101.623369] nvidia-modeset: WARNING: GPU:0: HDMI FRL link training failed.
[my-user@endeavouros ~]$ sudo lsmod | egrep 'nvidia|amdgpu|i915|evdi'
egrep: warning: egrep is obsolescent; using grep -E
amdgpu 15454208 100
amdxcp 12288 1 amdgpu
drm_exec 12288 1 amdgpu
gpu_sched 65536 1 amdgpu
drm_buddy 24576 1 amdgpu
i2c_algo_bit 24576 1 amdgpu
drm_suballoc_helper 12288 1 amdgpu
drm_display_helper 266240 1 amdgpu
crc16 12288 2 bluetooth,amdgpu
nvidia_drm 139264 14
nvidia_modeset 2162688 5 nvidia_drm
drm_ttm_helper 16384 3 amdgpu,nvidia_drm
ttm 102400 2 amdgpu,drm_ttm_helper
video 81920 3 amdgpu,ideapad_laptop,nvidia_modeset
nvidia_uvm 3948544 0
nvidia 13156352 80 nvidia_uvm,nvidia_modeset
[my-user@endeavouros ~]$ sudo dmesg | grep -i nvidia | grep -i 'taint\|denied\|unsigned\|secure'
[ 3.338704] nvidia: loading out-of-tree module taints kernel.
[ 3.338712] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[my-user@endeavouros ~]$
Offline