Nvidia Optiumus Help?

So I am using a Thinkpad T540p, it has iGPU and Nvidia 730m.

I’ve followed this guide:

and I have optimus manager set on autostart when booting.

However, I’m not sure if it’s actually on?
optimus-manager-qt should have some sort of tray icon I understand.

I get the following, when checking if the daemon is running

systemctl status optimus-manager.service
 optimus-manager.service - Optimus Manager Commands Daemon
     Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2022-04-21 15:03:23 PDT; 2h 31min ago
    Process: 731 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_daemon_start (code=exited, status=0/SUCCESS)
    Process: 871 ExecStartPre=/usr/bin/python3 -u -m optimus_manager.hooks.pre_xorg_start (code=exited, status=0/SUCCESS)
   Main PID: 972 (python3)
      Tasks: 1 (limit: 18802)
     Memory: 17.4M
        CPU: 308ms
     CGroup: /system.slice/optimus-manager.service
             └─972 /usr/bin/python3 -u -m optimus_manager.daemon

Apr 21 15:03:23 myifeenewskoololdskool python3[964]: modinfo: ERROR: Module nvidia_uvm not found.
Apr 21 15:03:23 myifeenewskoololdskool python3[871]: [119] INFO: Available modules: ['nouveau']
Apr 21 15:03:23 myifeenewskoololdskool python3[871]: [119] INFO: switching=none, nothing to do
Apr 21 15:03:23 myifeenewskoololdskool python3[871]: [136] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Apr 21 15:03:23 myifeenewskoololdskool python3[871]: [136] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220421T150323', 'requested_mode':>
Apr 21 15:03:23 myifeenewskoololdskool python3[871]: [137] INFO: Xorg pre-start hook completed successfully.
Apr 21 15:03:23 myifeenewskoololdskool systemd[1]: Started Optimus Manager Commands Daemon.
Apr 21 15:03:23 myifeenewskoololdskool python3[972]: [2] INFO: # Commands daemon
Apr 21 15:03:23 myifeenewskoololdskool python3[972]: [2] INFO: Opening UNIX socket
Apr 21 15:03:23 myifeenewskoololdskool python3[972]: [3] INFO: Awaiting commands

I installed the Nvidia driver via yay -S nvidia, then choosing the last option that referenced my kernel. I’m using the newest and every kernel shown in system settings.
This seemed to go well and gave me no errors.

I might note that unde rHardware configuration, I see videolinux on both my dGPU and iGPU installed, both opensourced and the box to the right (proprietary?)
Bumblebee, is not checked anywhere nor is it running according to checking the Daemon.

Videolinux, videomodesetting,videovesa are checked under open source, but not on the tight side boxes- again mirroring eachother, the dGPU and iGPU. Under my Nvidia section, there is one thing “videonvidia390xx” and that is unchecked throughout but I assume installing what was from yay -S nvidia etc. is what would have unchecked that, if it was present prior

Any leads would be hugely appreciated. I’m stumped. If anyone is kind enough… well I thank you in advance- it’s really appreciated and any assistance is a huge priviledege in my eyes (Love Manjaro- and KDE DE to death and don’t know wha tI’d do without it! But I am not a developer…)

provide formated info from these commands:
inxi --admin --verbosity=7 --filter --width
mhwd -l
mhwd -li
and why did you install nvidia drivers from AUR?

You assume wrong. Remove your AUR video driver, and use Manjaro tools to properly install and configure video drivers (you didn’t follow the guide you said you followed as you didn’t install properly video drivers). Install hybrid drivers compatible with your card as listed in the mhwd -l command.

1 Like

So I’ve removed and reset everything back to they were prior…

when using mhwd-li, I get :

    ~  mhwd -l                                                                                                                                                          ✔ 
> 0000:01:00.0 (0300:10de:1290) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2021.12.18               false            PCI
    video-nvidia-390xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:0416) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

But I am wondering why, even though my dGPU is supported with Prime… no options or ability to install the video-hybrid-intel-nvidia-prime drivers?

yields

mhwd -li
<

System:
  Kernel: 5.17.1-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.17-x86_64
    root=UUID=d58ef311-4bb4-4bee-9a57-68dbd4912072 rw quiet apparmor=1
    security=apparmor resume=UUID=557101f1-79ae-4c0d-a778-bf24fabfe7fb
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20BE0085US v: ThinkPad T540p
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20BE0085US v: 0B98401 Pro serial: <superuser required>
    UEFI-[Legacy]: LENOVO v: GMET91WW (2.39 ) date: 06/03/2021
Battery:
  ID-1: BAT0 charge: 67.1 Wh (74.9%) condition: 89.6/99.5 Wh (90.0%)
    volts: 11.4 min: 10.8 model: SANYO 45N1779 type: Li-ion serial: <filter>
    status: discharging
Memory:
  RAM: total: 15.32 GiB used: 5.79 GiB (37.8%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-4940MX bits: 64 type: MT MCP arch: Haswell
    family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 3105 high: 3548 min/max: 800/4000 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 3219 2: 3240 3: 2862
    4: 2854 5: 2992 6: 3282 7: 3548 8: 2844 bogomips: 52699
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2
    bts clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce
    md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid
    pclmulqdq pdcm pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand
    rdtscp rep_good sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3
    stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx
    vnmi vpid x2apic xsave xsaveopt xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  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
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Lenovo
    driver: i915 v: kernel ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, VGA-1 bus-ID: 00:02.0
    chip-ID: 8086:0416 class-ID: 0300
  Device-2: NVIDIA GK208M [GeForce GT 730M] vendor: Lenovo driver: nouveau
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3
    speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1290 class-ID: 0300
  Device-3: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 3-12:4
    chip-ID: 5986:026a class-ID: 0e02
  Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
    loaded: modesetting alternate: fbdev,vesa gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2880x1620 s-dpi: 96 s-size: 762x428mm (30.00x16.85")
    s-diag: 874mm (34.41")
  Monitor-1: eDP-1 model: Panasonic 0x96a2 built: 2013 res: 2880x1620 hz: 60
    dpi: 215 gamma: 1.2 size: 340x190mm (13.39x7.48") diag: 394mm (15.5")
    ratio: 16:9 modes: 2880x1620
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2)
    v: 4.5 Mesa 21.3.8 compat-v: 3.0 direct render: Yes
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0
    chip-ID: 8086:0c0c class-ID: 0403
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Sound Server-1: ALSA v: k5.17.1-3-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.49 running: yes
Network:
  Device-1: Intel Ethernet I217-LM vendor: Lenovo driver: e1000e v: kernel
    port: 5080 bus-ID: 00:19.0 chip-ID: 8086:153a class-ID: 0200
  IF: enp0s25 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:08b2 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
  IP v4: <filter> scope: global
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 3-11:3 chip-ID: 8087:07dc class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 66.24 GiB (14.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 1B6Q scheme: MBR
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GU90N rev: LU20
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 448.89 GiB size: 440.77 GiB (98.19%)
    used: 66.24 GiB (15.0%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: d58ef311-4bb4-4bee-9a57-68dbd4912072
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 16.87 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 557101f1-79ae-4c0d-a778-bf24fabfe7fb
Unmounted:
  Message: No unmounted partitions found.
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:8008 class-ID: 0900
  Hub-3: 2-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-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
    speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900
  Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 15 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-7:2 info: Validity Sensors VFS 5011 fingerprint sensor
    type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 100mA chip-ID: 138a:0017 class-ID: ff00 serial: <filter>
  Device-2: 3-11:3 info: Intel Bluetooth wireless interface type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:07dc class-ID: e001
  Device-3: 3-12:4 info: Acer Integrated Camera type: Video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:026a
    class-ID: 0e02
  Hub-6: 4-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: nouveau temp: 41.0 C
  Fan Speeds (RPM): fan-1: 2079
Info:
  Processes: 305 Uptime: 3h 6m wakeups: 1 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: 1720 pacman: 1659 lib: 409
  flatpak: 30 snap: 31 Shell: Zsh v: 5.8.1 default: Bash v: 5.1.16
  running-in: yakuake inxi: 3.3.15
> 0000:01:00.0 (0300:10de:1290) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2021.12.18               false            PCI
    video-nvidia-390xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:0416) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!>

Mostly, I don’t use the dGPU and would much benefit from disabling it. This will be especially true with another similar machine of mine (W540) where the dGPU really eats up battery and makes heat. From everything I read with manjaro forums- bumblebee is outdated and it would be great to have a tray icon to enable/disable the dGPU

please edit your post and provide formated output: click on this icon in the editor: </> and inside put the output

Thanks, sorry about that. Think its fixed

you dont have installed nvidia drivers, install them with:
sudo mhwd -i pci video-hybrid-intel-nvidia-390xx-bumblebee
but optimus manager doesnt support bumbebee drivers …

Why am I not able to use optimus? It appears my gpu isn’t legacy and should be supported with optimus

Your card should be supported by 470 series driver, so there should be an optimus hybrid driver showing in MHWD (//EDIT: currently Manjaro provide legacy drivers, 470 drivers for old cards, and 510 drivers for most recent cards).

Try to install, reboot, then remove, reboot, the bumblebee driver. Maybe it will make the drivers to show (I have seen such oddity in MHWD GUI in the past).

Maybe try to reinstall MHWD’s database/dependencies.

Can you show output of cat /var/lib/mhwd/ids/pci/nvidia-470xx.ids

//EDIT: nevermind, I just checked, your Nvidia card ID isn’t in the list of compatible IDs with the driver.
My mistake, you don’t have a GT 730, but a GT 730M which is not listed in the 470 series driver compatible devices.
So on Manjaro you can’t install provided hybrid optimus drivers, your hardware is not compatible. You’ll have to manually find, install, and configure an optimus driver if it is possible, which I don’t know.

2 Likes

you can use optimus, but not optimus manager, optimus manager doesnt support your old optimus driver… check this link on arch wiki regarding bumblebee - you can use ‘optirun’ on bumblebee drivers …

Hey thanks! Odd… yeah I didnt find my dGPU unde rthe unsupported legacy dGPUS and was told it is supported.

I see many using prime with K1100m/K2100m… Is this correct? I was sourcing this info from the arch bible , for setting of optimus,

optimus vs optimus manager… ehwat exactly would be the difference ? WOuld it be a convience issue or something more?

@Unruler

I guess @brahma means optirun of bumblebee and prime-run at a prime setup. However… only way for your is bumblebee if you want to work with both GPUs and with the nvidia driver.

The latest driver I found that supports your GPU is v390.147.

You can download it from here (this link is from the official NVIDIA website, not some dodgy dark web hub of terrorism…I keep getting questioned about non Manjaro official drivers…).

Once you have download the file (82MB), make it executable and execute it in your terminal:

chmod +x NVIDIA-Linux-x86_64-390.147.run 

sudo ./NVIDIA-Linux-x86_64-390.147.run

# And follow the instructions... 

I think optimus-manager should support this driver…hopefully :laughing:

optimus is nvidia technology, and optimus manager is an independent software, that uses nvidias optimus technology, the only thing they have in common is the name ‘optimus’ … and the developers of optimus manager decided not to support your old optimus nvidia drivers, so thats why you cant use optimus manager…

What are you talking about? Here’s the Nvidia Quadro K2000M. The card is even older than the GT730 M card and needs also the Nvidia driver 390xx. It runs excellently with the Optimus Manager.
nvidia

1 Like

Thanks, I thought so…
I mean, it works fine in WIndows, (optimus…) I just dont use Windows.

Hmmm…

Got sick :frowning: not much mental capacity going on for the moment LOL. So I will be back soon. Thanks so much everyone this far.