页次: 1
笔记本是七彩虹2022At,i712700h,3060显卡,今天刚装的btrfs文件系统的archlinux,装上nvidia驱动并按照wiki教程添加内核和mkinitcpio参数后成功进去了wayland环境下的桌面,但是不识别笔记本自带的显示器,锁死帧率60,切换到x11环境下正常,用dkms-nvidia安装和直接pacman安装都是这样。
相关输出:
[xwzj@arch ~]$ ls /sys/class/drm
card0 card0-Unknown-1 card1 renderD128 version
nvidia驱动:
[xwzj@arch ~]$ nvidia-smi
Thu Sep 26 22:52:08 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03 Driver Version: 560.35.03 CUDA Version: 12.6 |
内核参数:
GRUB_CMDLINE_LINUX_DEFAULT=“loglevel=5 ibt=off nvidia_drm.modest=1 nvidia_drm.fbdev=1 nowatchdog resume=UUID=6f8c2b8f-f536-4c1c-a8bd-3c2036fa13b4”
mkinitcpio的modules参数MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm),hooks已经去掉了kms
内核是linux-zen,但是切换到linux-lts内核也还是这样,但是mkinicpio的时候如果是dkms安装的驱动不会报错,pacman直接安装的会报错:
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
drm日志:
[xwzj@arch ~]$ sudo dmesg | grep drm
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=3ec8eadb-222e-477d-b06b-9af2bea25b64 rw rootflags=subvol=@ loglevel=5 ibt=off nvidia_drm.modest=1 nvidia_drm.fbdev=1 nowatchdog resume=UUID=6f8c2b8f-f536-4c1c-a8bd-3c2036fa13b4
[ 0.051010] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=3ec8eadb-222e-477d-b06b-9af2bea25b64 rw rootflags=subvol=@ loglevel=5 ibt=off nvidia_drm.modest=1 nvidia_drm.fbdev=1 nowatchdog resume=UUID=6f8c2b8f-f536-4c1c-a8bd-3c2036fa13b4
[ 0.790991] ACPI: bus type drm_connector registered
[ 0.798315] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
[ 0.803800] simple-framebuffer simple-framebuffer.0: [drm] fb0: simpledrmdrmfb frame buffer device
[ 1.599979] nvidia_drm: unknown parameter 'modest' ignored
[ 1.600083] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 1.600084] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[ 2.102365] systemd[1]: Starting Load Kernel Module drm...
[ 2.113622] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 2.113685] systemd[1]: Finished Load Kernel Module drm.
求大佬指点解决,感激不尽
最近编辑记录 xwzj (2024-09-26 23:16:07)
离线
打扰各位了,被自己蠢笑了,看到报错报告才反应过来少打了个e,modeset变成modest了[捂脸]
离线
页次: 1