Optirun schlägt unter Ubuntu 17.10 mit NVIDIA GeForce 940MX fehl

Optirun schlägt unter Ubuntu 17.10 mit NVIDIA GeForce 940MX fehl

Ich habe einen Laptop mit einer dedizierten nVidia Geforce 940MX GPU. Ich habe die Bumblebee-Pakete gemäß den inhttps://wiki.ubuntu.com/Bumblebeeaber immer wenn ich es ausführen möchte, optirun glxgearsschlägt es mit der Meldung fehl

[  663.222353] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[  663.222380] [ERROR]Aborting because fallback start is disabled.

Ich habe versucht, den Anweisungen zu folgen, in denen /etc/bumblebee/xorg.conf.nvidiasteht, dass ich die richtige BusID eingeben soll, aber es lspci | egrep 'VGA|3D'wird die folgende Ausgabe ausgegeben 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) 01:00.0 3D controller: NVIDIA Corporation Device 179c (rev a2) , die dieselbe BusID ist, die in der Datei xorg.conf.nvidia angegeben ist. Ich weiß nicht, wie ich dieses Problem beheben kann. Unter Manjaro Linux funktionierte es einwandfrei mit den proprietären Treibern, aber unter Ubuntu scheint es nicht zu funktionieren.

Falls es jemanden interessiert, hier ist meine xorg.conf.nvidia-Datei:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

verwandte Informationen