运行命令:
optirun glxspheres64
出现错误信息:
[ 563.889521] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.
[ 563.889551] [ERROR]Aborting because fallback start is disabled.
使用systemctl查看bumblebeed服务的状态信息:
9月 12 19:12:53 PUNISHING bumblebeed[528]: [ 556.312275] [ERROR]X did not start properly
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889452] [WARN][XORG] (WW) Warning, couldn't open module mouse
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889470] [ERROR][XORG] (EE) No devices detected.
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889474] [ERROR][XORG] (EE)
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889477] [ERROR][XORG] (EE) no screens found(EE)
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889480] [ERROR][XORG] (EE)
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889485] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional informa>
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889488] [ERROR][XORG] (EE)
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889492] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
9月 12 19:13:01 PUNISHING bumblebeed[528]: [ 563.889495] [ERROR]X did not start properly
/var/log/Xorg.8.log:
[ 563.882]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[ 563.882] Build Operating System: Linux Arch Linux
[ 563.882] Current Operating System: Linux PUNISHING 5.8.3-zen1-1-zencjk #1 ZEN SMP PREEMPT Tue, 25 Aug 2020 19:28:44 +0000 x86_64
[ 563.882] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zencjk root=UUID=13a09fc7-e04d-430d-b2f4-3046c7e47f83 rw rootflags=subvol=@ loglevel=3 resume=/dev/nvme0n1p5 resume_offset=984390
[ 563.882] Build Date: 02 September 2020 06:17:44AM
[ 563.882]
[ 563.882] Current version of pixman: 0.40.0
[ 563.882] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 563.882] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 563.883] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Sep 12 19:13:01 2020
[ 563.883] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 563.883] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 563.883] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 563.883] (==) ServerLayout "Layout0"
[ 563.883] (==) No screen section available. Using defaults.
[ 563.883] (**) |-->Screen "Default Screen Section" (0)
[ 563.883] (**) | |-->Monitor "<default monitor>"
[ 563.883] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 563.883] (**) | |-->Device "DiscreteNvidia"
[ 563.883] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 563.883] (**) Option "AutoAddDevices" "false"
[ 563.883] (**) Option "AutoAddGPU" "false"
[ 563.883] (**) Not automatically adding devices
[ 563.883] (==) Automatically enabling devices
[ 563.883] (**) Not automatically adding GPU devices
[ 563.883] (==) Automatically binding GPU devices
[ 563.883] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 563.883] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 563.883] Entry deleted from font path.
[ 563.883] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 563.883] Entry deleted from font path.
[ 563.883] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 563.883] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[ 563.883] (==) |-->Input Device "<default pointer>"
[ 563.883] (==) |-->Input Device "<default keyboard>"
[ 563.883] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 563.883] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 563.883] (II) Module ABI versions:
[ 563.883] X.Org ANSI C Emulation: 0.4
[ 563.883] X.Org Video Driver: 24.1
[ 563.883] X.Org XInput driver : 24.1
[ 563.883] X.Org Server Extension : 10.0
[ 563.884] (--) using VT number 1
[ 563.884] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 563.884] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 563.884] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 563.886] (--) PCI: (1@0:0:0) 10de:1c94:1e83:3e1b rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128
[ 563.886] (II) Open ACPI successful (/var/run/acpid.socket)
[ 563.886] (II) LoadModule: "glx"
[ 563.886] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 563.887] (II) Module glx: vendor="X.Org Foundation"
[ 563.887] compiled for 1.20.9, module version = 1.0.0
[ 563.887] ABI class: X.Org Server Extension, version 10.0
[ 563.887] (II) LoadModule: "nvidia"
[ 563.887] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 563.887] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 563.887] compiled for 1.6.99.901, module version = 1.0.0
[ 563.887] Module class: X.Org Video Driver
[ 563.888] (II) LoadModule: "mouse"
[ 563.888] (WW) Warning, couldn't open module mouse
[ 563.888] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 563.888] (II) LoadModule: "kbd"
[ 563.888] (WW) Warning, couldn't open module kbd
[ 563.888] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 563.888] (II) NVIDIA dlloader X Driver 450.66 Wed Aug 12 19:44:12 UTC 2020
[ 563.888] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 563.888] (EE) No devices detected.
[ 563.888] (EE)
Fatal server error:
[ 563.888] (EE) no screens found(EE)
[ 563.888] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 563.888] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 563.888] (EE)
[ 563.888] (EE) Server terminated with error (1). Closing log file.
离线
为什么会尝试加载 mouse 和 kbd 这两个驱动呢……
不过 PRIME offloading 比 optirun 性能好啊,不试试么?
离线