页次: 1
昨天,我发现系统显示有点问题,发了个贴
https://bbs.archlinuxcn.org/viewtopic.php?id=12254
当时没有意识到是显卡驱动出现了问题,因为我正常进入了桌面环境,一切似乎也很正常,今早无意间查看kde的system monitor,发现里面GPU检测出了问题,使用一直是0%,并且有提示说,让我检查显卡驱动。
系统配置如下,12700K加6500xt,有核显和独显
System:
Kernel: 5.15.32-1-lts arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7D29 v: 1.0
serial: <superuser required>
Mobo: Micro-Star model: MEG Z690I UNIFY (MS-7D29) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 1.10
date: 12/13/2021
Battery:
ID-1: hidpp_battery_0 charge: 71% condition: N/A volts: 3.9 min: N/A
model: Logitech G903 LIGHTSPEED Wireless Gaming Mouse w/ HERO type: N/A
serial: <filter> status: discharging
CPU:
Info: 12-core (8-mt/4-st) model: 12th Gen Intel Core i7-12700K bits: 64
type: MST AMCP smt: enabled arch: Alder Lake rev: 2 cache: L1: 1024 KiB
L2: 12 MiB L3: 25 MiB
Speed (MHz): avg: 3670 high: 5000 min/max: N/A cores: 1: 3600 2: 5000
3: 3600 4: 3600 5: 3600 6: 3600 7: 3600 8: 3600 9: 3600 10: 3600 11: 3600
12: 3600 13: 3600 14: 3600 15: 3600 16: 3600 17: 3600 18: 3600 19: 3600
20: 3600 bogomips: 144383
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel AlderLake-S GT1 vendor: Micro-Star MSI driver: i915
v: kernel ports: active: none
empty: DP-2, DP-3, HDMI-A-2, HDMI-A-3, HDMI-A-4, HDMI-A-5 bus-ID: 00:02.0
chip-ID: 8086:4680 class-ID: 0380
Device-2: AMD Navi 24 [Radeon RX 6400 / 6500 XT] vendor: Tul / PowerColor
driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16 ports:
active: HDMI-A-1 empty: DP-1 bus-ID: 03:00.0 chip-ID: 1002:743f
class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: amdgpu gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
s-diag: 777mm (30.58")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: ViewSonic VA2462-2K-HD
serial: <filter> res: 2560x1440 dpi: 123 size: 527x296mm (20.75x11.65")
diag: 604mm (23.8") modes: max: 2560x1440 min: 720x400
OpenGL: renderer: N/A v: N/A direct render: N/A
Audio:
Device-1: Intel Alder Lake-S HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:7ad0
class-ID: 0403
Device-2: AMD Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
bus-ID: 03:00.1 chip-ID: 1002:ab28 class-ID: 0403
Device-3: Micro Star USB Audio type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-9:5 chip-ID: 0db0:82c7
class-ID: 0300
Sound Server-1: ALSA v: k5.15.32-1-lts 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.49 running: no
Network:
Device-1: Intel Alder Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
IF: wlan0 state: down mac: <filter>
Device-2: Intel Ethernet I225-V vendor: Micro-Star MSI driver: igc
v: kernel pcie: speed: 5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0
chip-ID: 8086:15f3 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:7
chip-ID: 8087:0033 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled
rfk-block: hardware: no software: no address: see --recommends
Drives:
Local Storage: total: 1.82 TiB used: 383.03 GiB (20.6%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB
speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: 3B2QGXA7
temp: 35.9 C scheme: GPT
Partition:
ID-1: / size: 802.21 GiB used: 43.09 GiB (5.4%) fs: ext4
dev: /dev/nvme0n1p5
ID-2: /boot size: 9.75 GiB used: 284.3 MiB (2.8%) fs: ext4
dev: /dev/nvme0n1p2
ID-3: /home size: 983.3 GiB used: 339.66 GiB (34.5%) fs: ext4
dev: /dev/nvme0n1p4
Swap:
ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p3
Sensors:
System Temperatures: cpu: 27.8 C mobo: N/A gpu: amdgpu temp: 39.0 C
mem: 36.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
Packages: note: see --pkg pacman: 1384
Active pacman repo servers in: /etc/pacman.d/archlinuxcn-mirrorlist
1: https://mirrors.cloud.tencent.com/archlinuxcn/$arch
2: https://mirrors.163.com/archlinux-cn/$arch
3: https://mirrors.aliyun.com/archlinuxcn/$arch
4: https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
5: https://mirrors.ustc.edu.cn/archlinuxcn/$arch
Active pacman repo servers in: /etc/pacman.d/mirrorlist
1: http://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch
2: https://mirrors.bfsu.edu.cn/archlinux/$repo/os/$arch
3: http://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch
4: https://mirrors.cqu.edu.cn/archlinux/$repo/os/$arch
5: http://mirrors.dgut.edu.cn/archlinux/$repo/os/$arch
6: https://mirrors.dgut.edu.cn/archlinux/$repo/os/$arch
7: https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
Info:
Processes: 361 Uptime: 7m wakeups: 3 Memory: 31.17 GiB
used: 2.39 GiB (7.7%) Init: systemd v: 250 Compilers: gcc: 11.2.0
clang: N/A Shell: Zsh v: 5.8.1 running-in: tmux: inxi: 3.3.14
A卡的驱动主要是这次更新后就除了问题,更新日志如下
[2022-03-30T08:39:54+0800] [PACMAN] Running 'pacman -Syu'
[2022-03-30T08:39:54+0800] [PACMAN] synchronizing package lists
[2022-03-30T08:39:56+0800] [PACMAN] starting full system upgrade
[2022-03-30T08:42:12+0800] [ALPM] running '60-mkinitcpio-remove.hook'...
[2022-03-30T08:42:12+0800] [ALPM] transaction started
[2022-03-30T08:42:12+0800] [ALPM] upgraded zlib (1:1.2.11-5 -> 1:1.2.12-1)
[2022-03-30T08:42:12+0800] [ALPM] upgraded shared-mime-info (2.0+115+gd74a913-1 -> 2.0+144+g13695c7-1)
[2022-03-30T08:42:12+0800] [ALPM] upgraded sqlite (3.38.1-1 -> 3.38.2-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded llvm-libs-git (14.0.0_r411692.8f811effac48-1 -> 15.0.0_r419486.dfde354958ca-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded bluedevil (1:5.24.3-1 -> 1:5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kdecoration (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded breeze (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded breeze-gtk (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded discover (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded drkonqi (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kactivitymanagerd (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kde-cli-tools (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kde-gtk-config (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded minizip (1:1.2.11-5 -> 1:1.2.12-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded libksysguard (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded ksystemstats (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded milou (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded layer-shell-qt (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kscreenlocker (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kwayland-server (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kwin (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded plasma-integration (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded libkscreen (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded plasma-workspace (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kdeplasma-addons (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded systemsettings (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kgamma5 (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded khotkeys (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kinfocenter (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kmenuedit (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kscreen (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded ksshaskpass (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kwallet-pam (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kwayland-integration (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded kwrited (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded latte-dock-git (0.10.8.r5876.a42bc678-1 -> 0.10.8.r5878.d43f3d5a-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded lib32-mesa (21.3.7-2 -> 22.0.0-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded lib32-vulkan-intel (21.3.7-2 -> 22.0.0-1)
[2022-03-30T08:42:13+0800] [ALPM] upgraded lib32-vulkan-radeon (21.3.7-2 -> 22.0.0-1)
[2022-03-30T08:42:14+0800] [ALPM] upgraded linux (5.16.16.arch1-1 -> 5.17.1.arch1-1)
[2022-03-30T08:42:15+0800] [ALPM] upgraded linux-headers (5.16.16.arch1-1 -> 5.17.1.arch1-1)
[2022-03-30T08:42:16+0800] [ALPM] upgraded linux-lts (5.15.31-1 -> 5.15.32-1)
[2022-03-30T08:42:17+0800] [ALPM] upgraded linux-lts-headers (5.15.31-1 -> 5.15.32-1)
[2022-03-30T08:42:18+0800] [ALPM] upgraded linux-zen (5.16.16.zen1-1 -> 5.17.1.zen1-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded linux-zen-headers (5.16.16.zen1-1 -> 5.17.1.zen1-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded mobile-broadband-provider-info (20210805-1 -> 20220315-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded oxygen (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-browser-integration (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded polkit-kde-agent (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-desktop (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-disks (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-firewall (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-nm (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-pa (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-sdk (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-systemmonitor (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-thunderbolt (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-vault (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded plasma-workspace-wallpapers (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded powerdevil (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded sddm-kcm (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded strace (5.16-1 -> 5.17-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded virtualbox-host-modules-arch (6.1.32-17 -> 6.1.32-19)
[2022-03-30T08:42:19+0800] [ALPM] upgraded vte-common (0.66.2-1 -> 0.68.0-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded vte3 (0.66.2-1 -> 0.68.0-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded vulkan-intel (21.3.7-2 -> 22.0.0-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded vulkan-radeon (21.3.7-2 -> 22.0.0-1)
[2022-03-30T08:42:19+0800] [ALPM] upgraded xdg-desktop-portal-kde (5.24.3-1 -> 5.24.4-1)
[2022-03-30T08:42:20+0800] [ALPM] transaction completed
[2022-03-30T08:42:22+0800] [ALPM] running '30-systemd-daemon-reload.hook'...
[2022-03-30T08:42:22+0800] [ALPM] running '30-systemd-update.hook'...
[2022-03-30T08:42:22+0800] [ALPM] running '30-update-mime-database.hook'...
[2022-03-30T08:42:22+0800] [ALPM] running '60-depmod.hook'...
[2022-03-30T08:42:24+0800] [ALPM] running '90-mkinitcpio-install.hook'...
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] ==> Starting build: 5.15.32-1-lts
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-03-30T08:42:24+0800] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] ==> Starting build: 5.15.32-1-lts
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-03-30T08:42:25+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2022-03-30T08:42:26+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-03-30T08:42:26+0800] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-03-30T08:42:26+0800] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-03-30T08:42:26+0800] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] ==> Starting build: 5.17.1-arch1-1
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-03-30T08:42:27+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] ==> Starting build: 5.17.1-arch1-1
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-03-30T08:42:28+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2022-03-30T08:42:29+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-03-30T08:42:29+0800] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-03-30T08:42:29+0800] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] ==> Starting build: 5.17.1-zen1-1-zen
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-03-30T08:42:30+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] ==> Starting build: 5.17.1-zen1-1-zen
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2022-03-30T08:42:31+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2022-03-30T08:42:32+0800] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2022-03-30T08:42:32+0800] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2022-03-30T08:42:32+0800] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2022-03-30T08:42:33+0800] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2022-03-30T08:42:33+0800] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2022-03-30T08:42:33+0800] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
[2022-03-30T08:42:33+0800] [ALPM-SCRIPTLET] ==> Image generation successful
[2022-03-30T08:42:33+0800] [ALPM] running '90-packagekit-refresh.hook'...
[2022-03-30T08:42:33+0800] [ALPM] running 'dbus-reload.hook'...
[2022-03-30T08:42:33+0800] [ALPM] running 'gtk-update-icon-cache.hook'...
[2022-03-30T08:42:33+0800] [ALPM] running 'update-desktop-database.hook'...
主要是内核更新到5.17了。
然后,我检查了内核参数等
/etc/mkinitcpio.conf里面
MODULES=(amdgpu)
xorg配置,/etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Device"
Identifier "AMD"
Driver "amdgpu"
EndSection
实际上各种配置都没有变化,更新前系统和驱动都一切正常,更新后就出问题了。
命令 lspci -k
00:00.0 Host bridge: Intel Corporation Device 4668 (rev 02)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 02)
Kernel driver in use: pcieport
00:02.0 Display controller: Intel Corporation AlderLake-S GT1 (rev 0c)
DeviceName: Onboard - Video
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: i915
Kernel modules: i915
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring Technology (rev 01)
DeviceName: Onboard - Other
Kernel driver in use: intel-pmt
Kernel modules: intel_pmt
00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)
DeviceName: Onboard - Other
00:14.3 Network controller: Intel Corporation Alder Lake-S PCH CNVi WiFi (rev 11)
DeviceName: Onboard - Ethernet
Subsystem: Intel Corporation Wi-Fi 6 AX201 160MHz
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
00:16.0 Communication controller: Intel Corporation Alder Lake-S PCH HECI Controller #1 (rev 11)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Alder Lake-S PCH SATA Controller [AHCI Mode] (rev 11)
DeviceName: Onboard - SATA
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Device 7ab8 (rev 11)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Device 7ab9 (rev 11)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Device 7abc (rev 11)
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Z690 Chipset LPC/eSPI Controller (rev 11)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
00:1f.3 Audio device: Intel Corporation Alder Lake-S HD Audio Controller (rev 11)
DeviceName: Onboard - Sound
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Alder Lake-S PCH SMBus Controller (rev 11)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-S PCH SPI Controller (rev 11)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: intel-spi
Kernel modules: intel_spi_pci
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
Kernel driver in use: pcieport
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400 / 6500 XT] (rev c1)
Subsystem: Tul Corporation / PowerColor Device 2415
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 HDMI Audio [Radeon RX 6800/6800 XT / 6900 XT]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM9A1/PM9A3/980PRO
Subsystem: Samsung Electronics Co Ltd Device a801
Kernel driver in use: nvme
06:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7d29
Kernel driver in use: igc
Kernel modules: igc
07:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
Kernel driver in use: pcieport
08:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
Kernel driver in use: pcieport
08:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
Kernel driver in use: pcieport
08:02.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
Kernel driver in use: pcieport
08:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
Kernel driver in use: pcieport
09:00.0 USB controller: Intel Corporation Thunderbolt 4 NHI [Maple Ridge 4C 2020]
Subsystem: Intel Corporation Device 0000
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
0b:00.0 USB controller: Intel Corporation Thunderbolt 4 USB Controller [Maple Ridge 4C 2020]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
PCI 03:00.0 正确识别了6500xt,内核驱动也是amdgpu,感觉没什么问题。
但是,调用命令 glxinfo
输出
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
命令 radeontop
Unknown Radeon card. <= R500 won't work, new cards might.
Collecting data, please wait....
同时,检查system monitor也发现,A卡使用率为0,很不正常。
系统里除了a卡驱动,我还安装了intel显卡驱动,之前有一段时间用核显,intel的驱动我没有加入blacklist里面,之前似乎也没什么影响,台式机,显示器直接接6500xt的输出口,就能正常屏蔽核显。
我还换到了lts内核,好像是5.15.15版本,但是驱动依然有问题。
不知道该怎么解决了,这是驱动的bug还是我设置的问题?
还有个问题,既然我显卡驱动出问题了,但是我为什么能进入桌面环境?驱动出问题不应该直接跳到TTY的大黑屏里吗?是因为有核显的原因,系统调用了intel核显?
各位大佬快救救我
最近编辑记录 Oliver Wei (2022-03-31 16:49:35)
离线
可以做个实验,把i915加到模块黑名单阻止内核加载,然后再把所有用户态的intel图形显示相关的驱动包删掉,看还有没有问题,如果还有问题,说明是amd显示驱动相关的软件包导致的,内核态的amdgpu出问题的可能可以通过你的换内核试验排除了
ps: 我觉得主要怀疑点应该是mesa相关的图形显示软件包出了毛病,intel/amd两套包打架了也说不定
但是看你更新升级系统的日志里面又没有mesa相关的包
离线
可以做个实验,把i915加到模块黑名单阻止内核加载,然后再把所有用户态的intel图形显示相关的驱动包删掉,看还有没有问题,如果还有问题,说明是amd显示驱动相关的软件包导致的,内核态的amdgpu出问题的可能可以通过你的换内核试验排除了
ps: 我觉得主要怀疑点应该是mesa相关的图形显示软件包出了毛病,intel/amd两套包打架了也说不定
但是看你更新升级系统的日志里面又没有mesa相关的包
我尝试把之前intel相关驱动删除了
sudo pacman -Rns vulkan-intel lib32-vulkan-intel intel-media-driver
然后在/etc/modprobe.d/intel.conf里添加了 blacklist i915,然后换成Linux 5.15.32-1-lts这个内核,重启后,问题依然存在,但是依然可以进入桌面环境。
比如,我按照wiki上的命令,检查gpu的占用
cat /sys/class/drm/card0/device/gpu_busy_percent
终端输出 0
cat /sys/class/drm/card0/device/gpu_busy_percent
用glxinfo的命令,输出
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig
说明问题依然在。
关于mesa,命令 pacman -Q | grep "mesa"
lib32-mesa 22.0.0-1
mesa 22.0.0-1
mesa-demos 8.4.0-7
mesa-utils 8.4.0-7
pacman -Q | grep "intel"
intel-mkl 2020.4.304-1
intel-ucode 20220207-1
pacman -Q | grep "amd"
amdvlk 2022.Q1.3-1
lib32-amdvlk 2022.Q1.3-1
xf86-video-amdgpu 22.0.0-1
pacman -Q | grep "radeon"
lib32-vulkan-radeon 22.0.0-1
radeontop 1.4-1
vulkan-radeon 22.0.0-1
我感觉安装了的相关的包就这些,不清楚是否冲突了
离线
journalctl -b看一下?
离线
journalctl -b看一下?
解决问题了,google查了半天才找到,好像是因为mesa 22被拆分了,系统缺少LLVM的库,于是
sudo pacman -S llvm-libs
然后一切正常了,桌面特效也回来了,显卡也正常了...:D
离线
解决问题了,google查了半天才找到,好像是因为mesa 22被拆分了,系统缺少LLVM的库,于是
sudo pacman -S llvm-libs
然后一切正常了,桌面特效也回来了,显卡也正常了...:D
哈哈哈哈,果然,怀疑mesa是有道理的,虽然偏了
不过有点奇怪,为啥你会拆包之后缺lib包,我也是一路升级上来的,好像自动就给我装上了
最近编辑记录 matrikslee (2022-03-31 17:18:18)
离线
因为他用的是 llvm-libs-git。
离线
因为他用的是 llvm-libs-git。
啊这我懂了,之前踩过这个坑,llvm-libs和-git包的提供的库版本不一样,很多依赖llvm-libs的库是要求指定库版本
离线
依云 说:因为他用的是 llvm-libs-git。
啊这我懂了,之前踩过这个坑,llvm-libs和-git包的提供的库版本不一样,很多依赖llvm-libs的库是要求指定库版本
有这种可能,我想起,我之前用的是mesa-git这个包,导致很多包都是git后缀那种,之前都没在意过,这次出问题后才统一安装了无git后缀的。
离线
页次: 1