Nvidia bumblebee Optimus installing from open source

Hi,

I’ve been having issues with running multiple monitors on KDE. In the past, I have been able to resolve the issue with changing kernel, removing all drivers and reinstalling more up-to-date ones, but this time I’ve hit a dead end.

Loading off USB, I’ve noticed that proprietary drivers won’t run my external monitor, but open source ones work seamlessly… until updates come along. I am unable to install open source drivers through manjaro settings>hardware configurations – only the proprietary drivers can be installed (checked).

  1. How can I get multiple monitors to work again, as they do out of the box with a fresh install/usb drive boot with open source driver install?
  2. How can I keep them working and which updates should I avoid to keep the multiple monitors working?

The output of inxi -G is:

Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
           Device-2: NVIDIA GK107GLM [Quadro K1000M] driver: N/A 
           Device-3: Acer ThinkPad Integrated Camera type: USB driver: uvcvideo 
           Display: x11 server: X.Org 1.20.13 driver: loaded: intel unloaded: modesetting resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 21.1.6
inxi --admin --verbosity=7 --filter --no-host --width
System:
  Kernel: 5.4.138-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=66bcf131-a796-4aac-9db2-f3c2dcb27c74 ro quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: LENOVO product: 2436CTO v: ThinkPad W530 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: LENOVO model: 2436CTO serial: <filter> UEFI-[Legacy]: LENOVO 
  v: G5ETA6WW (2.66 ) date: 08/24/2016 
Battery:
  ID-1: BAT0 charge: 0.8 Wh (100.0%) condition: 0.8/86.6 Wh (0.9%) volts: 11.9 
  min: 11.1 model: LGC 45N1011 type: Li-ion serial: <filter> status: Full 
  Device-1: hidpp_battery_0 model: Logitech M720 Triathlon Multi-Device Mouse 
  serial: <filter> charge: 55% (should be ignored) rechargeable: yes 
  status: Discharging 
Memory:
  RAM: total: 15.2 GiB used: 5.2 GiB (34.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: Intel Core i5-3360M bits: 64 type: MT MCP 
  arch: Ivy Bridge family: 6 model-id: 3A (58) stepping: 9 microcode: 21 
  cache: L2: 3 MiB bogomips: 22357 
  Speed: 3340 MHz min/max: 1200/3500 MHz Core speeds (MHz): 1: 3340 2: 3474 
  3: 3293 4: 3293 
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept 
  erms est f16c flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs ida 
  lahf_lm lm mca mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx pae pat 
  pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts rdrand 
  rdtscp rep_good sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp 
  syscall tm tm2 tpr_shadow tsc tsc_deadline_timer vme vmx vnmi vpid x2apic 
  xsave xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds status: Vulnerable: No microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Lenovo driver: i915 
  v: kernel bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300 
  Device-2: NVIDIA GK107GLM [Quadro K1000M] driver: N/A 
  alternate: nouveau, nvidia_drm, nvidia bus-ID: 01:00.0 chip-ID: 10de:0ffc 
  class-ID: 0300 
  Device-3: Acer ThinkPad Integrated Camera type: USB driver: uvcvideo 
  bus-ID: 1-1.6:4 chip-ID: 5986:02d2 class-ID: 0e02 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.7x9.4") 
  s-diag: 485mm (19.1") 
  Monitor-1: LVDS1 res: 1600x900 hz: 60 dpi: 116 size: 350x190mm (13.8x7.5") 
  diag: 398mm (15.7") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) 
  v: 4.2 Mesa 21.1.6 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 
  class-ID: 0403 
  Device-2: NVIDIA GK107 HDMI Audio driver: snd_hda_intel v: kernel 
  bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403 
  Sound Server-1: ALSA v: k5.4.138-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.33 running: yes 
Network:
  Device-1: Intel 82579LM Gigabit Network vendor: Lenovo driver: e1000e 
  v: 3.2.6-k port: 8080 bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200 
  IF: enp0s25 state: down mac: <filter> 
  Device-2: Realtek RTL8188CE 802.11b/g/n WiFi Adapter driver: rtl8192ce 
  v: kernel port: 5000 bus-ID: 03:00.0 chip-ID: 10ec:8176 class-ID: 0280 
  IF: wlp3s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  IF-ID-1: br-442bf472b41d state: up speed: N/A duplex: N/A mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  IP v6: <filter> scope: link 
  IF-ID-2: docker0 state: down mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  IF-ID-3: veth0fa4701 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-4: veth1120228 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-5: veth21f1bff state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-6: veth36e73ee state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IF-ID-7: vethdae7c20 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Broadcom BCM20702 Bluetooth 4.0 [ThinkPad] type: USB driver: btusb 
  v: 0.8 bus-ID: 1-1.4:3 chip-ID: 0a5c:21e6 class-ID: fe01 serial: <filter> 
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 4.78 TiB used: 1.15 TiB (24.1%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 type: USB vendor: Seagate model: Expansion 
  size: 3.64 TiB block-size: physical: 4096 B logical: 512 B type: N/A 
  serial: <filter> rev: 0712 scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: MZ7TD256HAFV-000L7 
  size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  type: SSD serial: <filter> rev: 4L6Q scheme: MBR 
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD10JPVX-00JC3T0 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  type: HDD rpm: 5400 serial: <filter> rev: 1A01 scheme: MBR 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 238.47 GiB size: 233.72 GiB (98.01%) 
  used: 115.62 GiB (49.5%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17 label: N/A 
  uuid: 66bcf131-a796-4aac-9db2-f3c2dcb27c74 
  ID-2: /run/media/lyndon/DATA2 raw-size: 931.51 GiB 
  size: 931.51 GiB (100.00%) used: 592.06 GiB (63.6%) fs: ntfs dev: /dev/sdc1 
  maj-min: 8:33 label: DATA2 uuid: 216E9F960D94B55B 
  ID-3: /run/timeshift/backup raw-size: 2.21 TiB size: 2.2 TiB (99.85%) 
  used: 471.59 GiB (20.9%) fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: Backups 
  uuid: 2a1bc655-1f49-4120-bbb7-4c344954b032 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 128 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/sda2 maj-min: 8:2 size: 1.43 TiB fs: ntfs label: data_share 
  uuid: 0EFBBD2969827E5E 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 1-1.4:3 info: Broadcom BCM20702 Bluetooth 4.0 [ThinkPad] 
  type: Bluetooth driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s 
  chip-ID: 0a5c:21e6 class-ID: fe01 serial: <filter> 
  Device-2: 1-1.6:4 info: Acer ThinkPad Integrated Camera type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 200mA 
  chip-ID: 5986:02d2 class-ID: 0e02 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 3 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-5: 3-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 3-1.5:3 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c52b class-ID: 0300 
  Hub-6: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 4-1:2 info: Seagate RSS LLC Expansion Portable type: Mass Storage 
  driver: uas interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 896mA 
  chip-ID: 0bc2:231a class-ID: 0806 serial: <filter> 
Sensors:
  System Temperatures: cpu: 71.0 C mobo: 0.0 C 
  Fan Speeds (RPM): cpu: 3294 
Info:
  Processes: 260 Uptime: 18h 16m wakeups: 37 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1687 
  lib: 448 flatpak: 0 Shell: Bash v: 5.1.8 running-in: yakuake inxi: 3.3.06 
´´´

Manjaro is a rolling release model: you cannot, so:

  1. Please read this:
    How to provide good information
    and press the three dots below your post and press the :pencil2: to give us more information so we can see what’s really going on.
    Now we know the symptom of the disease, but we need some more probing to know where the origin lies… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

:+1:

P.S. If you want to notify me that you did provide this information, please :heart: this message and I’ll come back and have another look.
P.P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which exact CPU/GPU or Kernel, … you have without typing it every time

1 Like

Many thanks for your reply! Acting on your advice now.

Update your UEFI firmware.

Do you have any compelling reason to be on 5.4 LTS instead of 5.10 LTS?

So what’s happening here is that the nVidia card is wired to the external port (VGA/HDMI/whatever) and the Intel card is wired to the Internal display, so you do indeed need a hybrid driver.

According to the nVidia supported products tab:

But, Manjaro does not support these old drivers any more (for various reasons):

mhwd --list
> 0000:01:00.0 (0300:10de:1be1) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

So you need to take the Arch approach and once you do, no Manjaro updates won’t break it any more for the simple reason Bumblebee is not supported any more

:crossed_fingers:

1 Like

Thank you for these very clear instructions!
I’m still new to Linux, so even step 1, upgrading the UEFI, has proved a challenge. Once I successfully implement your advice, I’ll mark the post as solved. :slight_smile:

1 Like

With the UEFI upgrade I can’t help you as I don’t have a Lenovo.

If you need clearer instructions for any of the other tasks, shout out!

:bowing_man:

1 Like

Hi @Fabby ,
I managed to upgrade UEFI, but can’t get my head around installing bumblebee via the Arch approach mentioned above nor could I find the desired driver. I may have disabled the bumblebee daemon when installing Optimus Manager (earlier)?

Would you mind providing instructions? Thanks

Where exactly are you running into an issue? (number from the Table of Contents, please?) because that page contains everything, including the link to the driver.

:thinking: