Bumblebee driver not working

we execute one of these commands in terminal.

lspci
or
inxi -Fazy

should return something like this:

03:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev ff)

or this

Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:0a16 
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 
  620M/625M/630M/720M] 
  vendor: Dell driver: nvidia v: 390.132 bus ID: 03:00.0 chip ID: 10de:1140

These will help us to identify the bus that corresponds to our graphic card.
once we have it identified we go to the directory:

/etc/bumblebee/

we should be able to look at the xorg.conf.nvidia file

edit the file as root

In the “Device” section we enter for example the line:

BusID "PCI:3:0:0"

the identification number bus ID may vary depending on your equipment.

so I stay with me and it works:

##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
EndSection

Section "Device"
    Identifier  "Device1"
    Driver      "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
    BusID "PCI:3:0:0"
EndSection

finally run:

optirun glxgears -info

to check that everything works.

4 Likes