Linux 上通过 USBC 的 Displayport 无法识别我在联想 Ideapad Gaming 3 15IHU6 上使用 archlinux,
我无法让显示器对 usbc 端口连接做出反应。
USBC-USBC被识别为“USB广告牌设备”
USBC-DP(mini) 被识别为“Displayport Alt 模式”
既不显示任何图像,也不在 X 中或外部。(我之前的笔记本电脑 - Tuxedo Computers 的一款)在启动时在所有连接的屏幕上显示控制台)。
正在使用的驱动程序:
nvidia_drm 126976 2
nvidia_uvm 6717440 0
nvidia_modeset 1650688 1 nvidia_drm
nvidia 72564736 2 nvidia_uvm,nvidia_modeset
video 81920 4 ideapad_laptop,xe,i915,nvidia_modeset
ideapad_laptop 69632 0
platform_profile 12288 1 ideapad_laptop
rfkill 40960 5 iwlmvm,bluetooth,ideapad_laptop,cfg80211
sparse_keymap 12288 2 intel_hid,ideapad_laptop
video 81920 4 ideapad_laptop,xe,i915,nvidia_modeset
i8042 57344 1 ideapad_laptop
wmi 32768 3 video,wmi_bmof,ideapad_laptop
$ pacman -Ss nvidia | grep -i installed -A1
extra/egl-wayland 4:1.1.16-1 [installed]
EGLStream-based Wayland external platform
--
extra/libvdpau 1.5-3 [installed]
Nvidia VDPAU library
extra/libxnvctrl 560.35.03-1 [installed]
NVIDIA NV-CONTROL X extension
--
extra/nvidia 560.35.03-3 [installed]
NVIDIA drivers for linux
--
extra/nvidia-settings 560.35.03-1 [installed]
Tool for configuring the NVIDIA graphics driver
extra/nvidia-utils 560.35.03-2 [installed]
NVIDIA drivers utilities
--
extra/vulkan-nouveau 1:24.2.2-1 [installed]
Open-source Vulkan driver for Nvidia GPUs
extra/xf86-video-nouveau 1.0.17-3 (xorg-drivers) [installed]
Open Source 3D acceleration driver for nVidia cards
mkinitio.conf:
HOOKS=(base udev autodetect microcode modconf keyboard keymap consolefont block filesystems fsck)
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
设备:
$ sudo lshw -C display
*-display
description: VGA compatible controller
product: TigerLake-LP GT2 [Iris Xe Graphics]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 mode=1920x1080 resolution=1920,1080 visual=truecolor xres=1920 yres=1080
resources: iomemory:610-60f iomemory:400-3ff irq:183 memory:6104000000-6104ffffff memory:4000000000-400fffffff ioport:5000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
*-display
description: 3D controller
product: GA107M [GeForce RTX 3050 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: iomemory:600-5ff iomemory:610-60f irq:184 memory:54000000-54ffffff memory:6000000000-60ffffffff memory:6100000000-6101ffffff ioport:4000(size=128)
X设置:
$ xrandr
[...]
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 196mm
3840x2160 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98 30.00
1920x1080 60.00 60.00 50.00 59.94 30.00 25.00 24.00 29.97 23.98*
1400x1050 59.95
1280x1024 60.02
1440x900 59.90
1280x960 60.00
1280x720 60.00 50.00 30.00 25.00 59.94 29.97 24.00 23.98
1024x768 60.00
800x600 60.32
720x480 60.00 59.94
640x480 60.00 59.94
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
$ cat /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "modesetting"
VendorName "Intel Corporation"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection