I just got a Lenovo P51 (Core-I7 7700HQ 2.8GHz 8-core) with an NVIDIA M1200M discrete graphics card. I followed the procedure at https://elrepo.org/tiki/bumblebee, but when I try to test it using optirun nvidia-settings, I get this error message:
Code: Select all
$ optirun nvidia-settings
[ 8370.224241] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 8370.224325] [ERROR]Aborting because fallback start is disabled.
I mean, it's really not terribly important to me to have it work, but I would hate to have that shiny NVIDIA chip sitting inside the chassis and not earning its keep.
Some more info:
Code: Select all
$ uname -sr
Linux 3.10.0-693.17.1.el7.x86_64
Code: Select all
$ dmesg | grep nvidia
[ 2.510162] nvidia: loading out-of-tree module taints kernel.
[ 2.512186] nvidia: module license 'NVIDIA' taints kernel.
[ 2.523491] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 2.531616] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 2.533204] nvidia 0000:01:00.0: enabling device (0004 -> 0007)
[ 4.461924] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 390.25 Wed Jan 24 19:29:37 PST 2018
[ 5.166997] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 15.377483] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF
[ 204.038354] nvidia 0000:01:00.0: irq 138 for MSI/MSI-X
[ 8365.371363] nvidia 0000:01:00.0: irq 138 for MSI/MSI-X
PS: Aside from this issue, my Centos experience on this laptop has been phenomenal. I was positively orgasmic when the wifi card Just Worked(TM) out of the box with the stock kernel, for example, doubly so after all of the blood, sweat, and tears I went through to get the bloody Broadcom chip working on my old MacBook Pro, among other things. If you have the means, I highly suggest picking [a P51] up.