nvidia 驱动安装失败

不知道为什么 nvidia 源无法访问
于是尝试编译安装
安装完成后可以进入终端但是无法进入桌面 = =
这里是 xorg 的日志文件
[ 36.568] (–) Log file renamed from “/var/log/Xorg.pid-1876.log” to “/var/log/Xorg.0.log”
[ 36.814]
X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
[ 36.814] Build Operating System: openSUSE SUSE Linux
[ 36.814] Current Operating System: Linux localhost 5.3.18-lp152.47-default #1 SMP Thu Oct 15 16:05:25 UTC 2020 (41f7396) x86_64
[ 36.814] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.3.18-lp152.47-default root=/dev/mapper/system-root splash=silent resume=/dev/system/swap mitigations=auto quiet
[ 36.814] Build Date: 02 September 2020 12:00:00PM
[ 36.814]
[ 36.814] Current version of pixman: 0.34.0
[ 36.814] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 36.814] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 36.814] (==) Log file: “/var/log/Xorg.0.log”, Time: Tue Oct 27 22:16:49 2020
[ 36.877] (==) Using config file: “/etc/X11/xorg.conf”
[ 36.877] (==) Using config directory: “/etc/X11/xorg.conf.d”
[ 36.877] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 36.969] (==) ServerLayout “Layout0”
[ 36.969] (
) |–>Screen “Screen0” (0)
[ 36.969] () | |–>Monitor “Monitor0”
[ 36.969] (
) | |–>Device “Device0”
[ 36.969] () |–>Input Device “Keyboard0”
[ 36.969] (
) |–>Input Device “Mouse0”
[ 36.969] (==) Automatically adding devices
[ 36.969] (==) Automatically enabling devices
[ 36.969] (==) Automatically adding GPU devices
[ 36.969] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 37.103] (WW) The directory “/usr/share/fonts/misc/sgi” does not exist.
[ 37.103] Entry deleted from font path.
[ 37.131] (==) FontPath set to:
/usr/share/fonts/misc:unscaled,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/ghostscript/,
/usr/share/fonts/cyrillic:unscaled,
/usr/share/fonts/truetype/,
built-ins
[ 37.131] (==) ModulePath set to “/usr/lib64/xorg/modules”
[ 37.131] (WW) Ignoring unrecognized extension “XFree86-DGA”
[ 37.131] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.
[ 37.131] (WW) Disabling Keyboard0
[ 37.131] (WW) Disabling Mouse0
[ 37.131] (II) Loader magic: 0x563c036a5d20
[ 37.131] (II) Module ABI versions:
[ 37.131] X.Org ANSI C Emulation: 0.4
[ 37.131] X.Org Video Driver: 24.0
[ 37.131] X.Org XInput driver : 24.1
[ 37.131] X.Org Server Extension : 10.0
[ 37.132] (++) using VT number 7

[ 37.132] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 37.132] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 37.147] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 37.149] (–) PCI:*(0@0:2:0) 8086:0a16:144d:c745 rev 11, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x???/131072
[ 37.149] (–) PCI: (4@0:0:0) 10de:1140:144d:c745 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x???/524288
[ 37.149] (II) LoadModule: “glx”
[ 37.204] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 37.658] (II) Module glx: vendor=“NVIDIA Corporation”
[ 37.658] compiled for 4.0.2, module version = 1.0.0
[ 37.658] Module class: X.Org Server Extension
[ 37.666] (II) NVIDIA GLX Module 390.138 Thu May 14 03:57:24 PDT 2020
[ 37.689] (II) LoadModule: “nvidia”
[ 37.730] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 37.786] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 37.786] compiled for 4.0.2, module version = 1.0.0
[ 37.786] Module class: X.Org Video Driver
[ 37.795] (II) NVIDIA dlloader X Driver 390.138 Thu May 14 03:33:57 PDT 2020
[ 37.795] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 37.799] (EE) No devices detected.
[ 37.799] (EE)
Fatal server error:
[ 37.799] (EE) no screens found(EE)
[ 37.799] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 37.799] (EE) Please also check the log file at “/var/log/Xorg.0.log” for additional information.
[ 37.799] (EE)
[ 37.865] (EE) Server terminated with error (1). Closing log file.

怀疑安装错了版本,应该是 390.18 不支持你的显卡

Screenshot_20201027_231713
Screenshot_20201027_231923
应该是支持的吧

grep VGA 比较准确…你这个输出不排除你是 6xx 的卡啊

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
我用的笔记本

你这是双显卡,需要 Bumblebee 吧

1赞

安装 SUSE Prime 后成功启动
谢谢大佬

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。