在 Arch Linux 上安装显卡切换器

在 Arch Linux 上安装显卡切换器

我尝试使用此处找到的文档进行安装(https://wiki.archlinux.org/index.php/Bumblebee),但是运行时:

optirun glxgears -info

我得到这个输出:

[  309.531594] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  309.531645] [ERROR]Aborting because fallback start is disabled.

我有两张显卡:一张是 Intel 集成的,一张是专用的 GeForce GTX 960M。

的输出inxi -G

    Graphics:
      Device-1: Intel HD Graphics 530 driver: i915 v: kernel 
      Device-2: NVIDIA GM107M [GeForce GTX 960M] driver: nouveau v: kernel 
      Display: wayland server: X.Org 1.20.4 driver: nouveau 
      resolution: 1920x1080~60Hz 
      OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) 
      v: 4.5 Mesa 19.0.4

lspci -v关于显卡的输出:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06) (prog-if 00 [VGA controller])
    DeviceName: Intel Skylake HD Graphics ULT GT2
    Subsystem: Hewlett-Packard Company HD Graphics 530
    Flags: bus master, fast devsel, latency 0, IRQ 132
    Memory at a2000000 (64-bit, non-prefetchable) [size=16M]
    Memory at b0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at 5000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
        DeviceName: NVIDIA N16P-GX
        Flags: bus master, fast devsel, latency 0, IRQ 134
        Memory at a3000000 (32-bit, non-prefetchable) [size=16M]
        Memory at 90000000 (64-bit, prefetchable) [size=256M]
        Memory at a0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 4000 [size=128]
        Expansion ROM at a4000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nouveau

相关内容