页次: 1
系统: Arch Linux x86_64
内核: 5.15.91-4-lts(装了最新版6.1.10 但是进不去 也包括之前的6.X版本)
驱动: NVIDIA 510.60.02 (官方源的525驱动p106跑分很低)
最初装上驱动之后根本进不去lightdm登录界面 一番搜索找到https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only
添加执行文件:
/etc/lightdm/display_setup.sh
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
然后修改lightdm配置文件:
/etc/lightdm/lightdm.conf
[Seat:*]
display-setup-script=/etc/lightdm/display_setup.sh
综上 lts内核版本可以了 但是最新版内核依旧 不知道怎么办啦
离线
贴上出问题的xorg.0.log来看看。
我一直用的最新内核,目前是6.1.10-xanmod,N卡驱动也是最新的,最近驱动没出过问题。
离线
贴上出问题的xorg.0.log来看看。
我一直用的最新内核,目前是6.1.10-xanmod,N卡驱动也是最新的,最近驱动没出过问题。
\
[ 11.312]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 11.312] Current Operating System: Linux archlinux 6.1.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 06 Feb 2023 09:28:04 +0000 x86_64
[ 11.312] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/nvme0n1p2 rw loglevel=3 quiet
[ 11.312]
[ 11.312] Current version of pixman: 0.42.2
[ 11.312] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 11.312] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11.312] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 9 12:44:19 2023
[ 11.312] (==) Using config file: "/etc/X11/xorg.conf"
[ 11.312] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 11.312] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 11.313] (==) ServerLayout "Layout0"
[ 11.313] (**) |-->Screen "Screen0" (0)
[ 11.313] (**) | |-->Monitor "Monitor0"
[ 11.313] (**) | |-->Device "Device0"
[ 11.313] (**) | |-->GPUDevice "AMD"
[ 11.313] (**) |-->Input Device "Keyboard0"
[ 11.313] (**) |-->Input Device "Mouse0"
[ 11.313] (==) Automatically adding devices
[ 11.313] (==) Automatically enabling devices
[ 11.313] (==) Automatically adding GPU devices
[ 11.313] (==) Automatically binding GPU devices
[ 11.313] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 11.313] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 11.313] Entry deleted from font path.
[ 11.313] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 11.313] Entry deleted from font path.
[ 11.313] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 11.313] Entry deleted from font path.
[ 11.313] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 11.313] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 11.313] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 11.313] (WW) Disabling Keyboard0
[ 11.313] (WW) Disabling Mouse0
[ 11.313] (II) Module ABI versions:
[ 11.313] X.Org ANSI C Emulation: 0.4
[ 11.313] X.Org Video Driver: 25.2
[ 11.313] X.Org XInput driver : 24.4
[ 11.313] X.Org Server Extension : 10.0
[ 11.314] (++) using VT number 7
[ 11.314] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 11.315] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 11.315] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.0/drm/card0
[ 11.343] (--) PCI: (1@0:0:0) 10de:1c07:10de:1c07 rev 161, Mem @ 0xfb000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432
[ 11.343] (--) PCI:*(8@0:0:0) 1002:15dd:1002:15dd rev 200, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfc300000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[ 11.343] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 11.343] (II) LoadModule: "glx"
[ 11.343] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 11.345] (II) Module glx: vendor="X.Org Foundation"
[ 11.345] compiled for 1.21.1.7, module version = 1.0.0
[ 11.345] ABI class: X.Org Server Extension, version 10.0
[ 11.345] (II) LoadModule: "nvidia"
[ 11.345] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 11.346] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 11.346] compiled for 1.6.99.901, module version = 1.0.0
[ 11.346] Module class: X.Org Video Driver
[ 11.346] (II) LoadModule: "amdgpu"
[ 11.346] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 11.347] (II) Module amdgpu: vendor="X.Org Foundation"
[ 11.347] compiled for 1.21.1.3, module version = 22.0.0
[ 11.347] Module class: X.Org Video Driver
[ 11.347] ABI class: X.Org Video Driver, version 25.2
[ 11.347] (II) NVIDIA dlloader X Driver 510.60.02 Wed Mar 16 11:23:40 UTC 2022
[ 11.347] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 11.347] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 11.348] (II) Loading sub module "fb"
[ 11.348] (II) LoadModule: "fb"
[ 11.348] (II) Module "fb" already built-in
[ 11.348] (II) Loading sub module "wfb"
[ 11.348] (II) LoadModule: "wfb"
[ 11.348] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 11.348] (II) Module wfb: vendor="X.Org Foundation"
[ 11.348] compiled for 1.21.1.7, module version = 1.0.0
[ 11.348] ABI class: X.Org ANSI C Emulation, version 0.4
[ 11.348] (II) Loading sub module "ramdac"
[ 11.348] (II) LoadModule: "ramdac"
[ 11.348] (II) Module "ramdac" already built-in
[ 11.353] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 11.353] (EE) NVIDIA: system's kernel log for additional error messages and
[ 11.353] (EE) NVIDIA: consult the NVIDIA README for details.
[ 11.357] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 11.357] (EE) NVIDIA: system's kernel log for additional error messages and
[ 11.357] (EE) NVIDIA: consult the NVIDIA README for details.
[ 11.357] (EE) No devices detected.
[ 11.358] (EE)
Fatal server error:
[ 11.358] (EE) no screens found(EE)
[ 11.358] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 11.358] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 11.358] (EE)
[ 11.377] (EE) Server terminated with error (1). Closing log file.
离线
前几天也遇到这个问题,各种方法都试过了,最后发现有个地方没改,不知道能不能帮到楼主
安装 NVIDIA 官方的驱动之后,需要编辑 /etc/mkinitcpio.conf,在 HOOKS 一行删除 kms 并保存,然后执行 mkinitcpio -P 重新生成一次镜像。这能防止 initramfs 包含 nouveau 模块,避免 nouveau 和官方驱动的冲突
现在是最新内核和nvidia驱动
引自 Arch Linux 简明指南
最近编辑记录 Gabriel (2023-02-09 16:20:36)
离线
页次: 1