Поставил bumblebee. Захотел запустить внешнюю карту
optirun /bin/firefox
[ 1357.584243] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 1357.584309] [ERROR]Aborting because fallback start is disabled.
optirun -vv glxgears
[ 1926.593569] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1926.593688] [INFO]Configured driver: nouveau
[ 1926.593896] [DEBUG]optirun version 3.2.1 starting...
[ 1926.593902] [DEBUG]Active configuration:
[ 1926.593904] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1926.593905] [DEBUG] X display: :8
[ 1926.593907] [DEBUG] LD_LIBRARY_PATH:
[ 1926.593908] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1926.593910] [DEBUG] Accel/display bridge: auto
[ 1926.593911] [DEBUG] VGL Compression: proxy
[ 1926.593913] [DEBUG] VGLrun extra options:
[ 1926.593914] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 1926.593929] [DEBUG]Using auto-detected bridge primus
[ 1926.948229] [INFO]Response: No - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 1926.948264] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 1926.948274] [DEBUG]Socket closed.
[ 1926.948301] [ERROR]Aborting because fallback start is disabled.
[ 1926.948325] [DEBUG]Killing all remaining processes.
cat /etc/bumblebee/xorg.conf.nouveau
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nouveau"
BusID "PCI:01:00:0"
EndSection
lspci | grep -i 'nvidia'
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-05-19 11:37:21 EDT; 21min ago
Main PID: 1524 (bumblebeed)
Tasks: 1 (limit: 4915)
Memory: 2.8M
CGroup: /system.slice/bumblebeed.service
└─1524 /usr/sbin/bumblebeed
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478915] [ERROR][XORG] (EE) NOUVEAU(0): [drm] error opening the drm
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478926] [ERROR][XORG] (EE) NOUVEAU(0): 910:
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478942] [ERROR][XORG] (EE) Screen(s) found, but none have a usable configuration.
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478951] [ERROR][XORG] (EE)
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478961] [ERROR][XORG] (EE) no screens found(EE)
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478971] [ERROR][XORG] (EE)
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478982] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.478991] [ERROR][XORG] (EE)
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.479000] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
May 19 11:56:46 msi bumblebeed[1524]: [ 1477.480070] [ERROR]X did not start properly
Из-за чего собственно:
[ 1477.316] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 1477.316] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 1477.368] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
[ 1477.368] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 1477.368] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1477.369] (--) PCI:*(1@0:0:0) 10de:1c8c:1462:121a rev 161, Mem @ 0xa3000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
----------------------
[ 1477.370] (II) LoadModule: "kbd"
[ 1477.370] (WW) Warning, couldn't open module kbd
[ 1477.370] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 1477.370] (II) NOUVEAU driver Date: Mon Jan 28 23:25:58 2019 -0500
----------------------
[ 1477.478] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
[ 1477.478] (EE) NOUVEAU(0): [drm] error opening the drm
[ 1477.478] (EE) NOUVEAU(0): 910:
[ 1477.478] (II) UnloadModule: "nouveau"
[ 1477.478] (EE) Screen(s) found, but none have a usable configuration.
[ 1477.478] (EE)
Fatal server error:
[ 1477.478] (EE) no screens found(EE)
[ 1477.478] (EE)