Optimus Manager wont switch graphics cards

Systemctl status optimus-manager

● optimus-manager.service - Optimus Manager Commands Daemon
Loaded: loaded (/usr/lib/systemd/system/optimus-manager.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2020-09-28 15:58:43 EDT; 21min ago
Main PID: 971 (python3)
Tasks: 1 (limit: 9227)
Memory: 32.0M
CGroup: /system.slice/optimus-manager.service
└─971 /usr/bin/python3 -u -m optimus_manager.daemon

Sep 28 15:58:43 xps7590 python3[971]: [1] INFO: Opening UNIX socket
Sep 28 15:58:43 xps7590 python3[971]: [1] INFO: Awaiting commands
Sep 28 16:01:45 xps7590 python3[971]: [182174] INFO: Received command : {
Sep 28 16:01:45 xps7590 python3[971]: “args”: {
Sep 28 16:01:45 xps7590 python3[971]: “mode”: “nvidia”
Sep 28 16:01:45 xps7590 python3[971]: },
Sep 28 16:01:45 xps7590 python3[971]: “type”: “switch”
Sep 28 16:01:45 xps7590 python3[971]: }
Sep 28 16:01:45 xps7590 python3[971]: [182174] INFO: Writing requested GPU mode nvidia
Sep 28 16:01:45 xps7590 python3[971]: [182174] INFO: Writing state {‘type’: ‘pending_pre_xorg_start’, ‘requested_mode’: ‘nvidia’, ‘current_mode’: ‘intel’}

Im not getting any error messages.

optimus-manager --print-mode
A GPU switch from intel to nvidia is pending.
Log out and log back in to apply.

Current GPU mode : intel

When I log out and log back in nothing happens it just goes back to intel.

One thing to note, I cant modprobe nvidia but im not sure if I SHOULD be able.


CPU: 6-Core Intel Core i7-9750H (-MT MCP-) speed/min/max: 2600/800/2600 MHz
Kernel: 5.8.6-1-MANJARO x86_64 Up: 43m Mem: 2820.0/7712.6 MiB (36.6%)
Storage: 476.94 GiB (51.1% used) Procs: 319 Shell: inxi: 3.1.05

Did you follow a guide?

Hi, inxi is not enough post at least inxi -SGazy

Also journalctl -b0 -u optimus-manager

use the </> button for the content

1 Like

Usually it’s the DM which causes issues. Since you didn’t provide any useful info about your system, we can’t go into the details.

Generally, I can say that usually three things are possible here:

  1. You didn’t configure your DM properly as shown in the guide
  2. Your optimus-configuration isn’t correct
  3. Your settings are not playing well with your hardware, you need to experiment with different switching methods and other settings till you get it right

Maybe a 4th thing would be a bad and conflicting driver installation. Or 5th - combination of all the above…

So for a beginning show us output of:

inxi -Fazy


mhwd - li

and the other outputs that others are asking here about.

1 Like
  Kernel: 5.8.6-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=8e73ea9e-8763-4fcd-a4dc-3fbb018ee61f rw intel_iommu=on iommu=pt 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.0 wm: kwin_x11 
  dm: LightDM 1.30.0, SDDM Distro: Manjaro Linux 
  Type: Laptop System: Dell product: XPS 15 7590 v: N/A serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: Dell model: 0VYV0G v: A00 serial: <filter> UEFI: Dell v: 1.8.1 
  date: 07/03/2020 
  ID-1: BAT0 charge: 97.0 Wh condition: 97.0/97.0 Wh (100%) volts: 12.9/11.4 
  model: SMP DELL GPM0365 type: Li-ion serial: <filter> status: Full 
  Device-1: hidpp_battery_0 model: Logitech G604 Wireless Gaming Mouse 
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
  status: Discharging 
  Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP 
  arch: Kaby Lake family: 6 model-id: 9E (158) stepping: A (10) microcode: D6 
  L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 62431 
  Speed: 2535 MHz min/max: 800/2600 MHz Core speeds (MHz): 1: 2558 2: 2600 
  3: 2600 4: 2600 5: 2600 6: 1475 7: 2546 8: 2601 9: 2152 10: 2600 11: 2600 
  12: 2600 
  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 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 mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:3e9b 
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] 
  vendor: Hewlett-Packard driver: nvidia v: 440.100 
  alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1f91 
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus ID: 1-12:4 chip ID: 0c45:6d13 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 
  driver: modesetting,nvidia display ID: :0 screens: 1 
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1182x380mm (46.5x15.0") 
  s-diag: 1242mm (48.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  Monitor-2: DP-1 res: 2560x1440 dpi: 93 size: 697x392mm (27.4x15.4") 
  diag: 800mm (31.5") 
  OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.7 
  direct render: Yes 
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel 
  v: kernel alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 
  chip ID: 8086:a348 
  Sound Server: ALSA v: k5.8.6-1-MANJARO 
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000 
  bus ID: 3b:00.0 chip ID: 8086:2723 
  IF: wlp59s0 state: up mac: <filter> 
  IF-ID-1: virbr1 state: down mac: <filter> 
  IF-ID-2: virbr1-nic state: down mac: <filter> 
  Local Storage: total: 476.94 GiB used: 246.38 GiB (51.7%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HAJQ-000L7 
  size: 476.94 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: 5L2QEXA7 scheme: GPT 
  ID-1: / raw size: 452.61 GiB size: 444.50 GiB (98.21%) 
  used: 244.77 GiB (55.1%) fs: ext4 dev: /dev/dm-0 
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 12.86 GiB used: 1.58 GiB (12.3%) 
  priority: -2 dev: /dev/dm-1 
  System Temperatures: cpu: 49.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 fan-2: 0 
  Processes: 343 Uptime: 1d 57m Memory: 7.53 GiB used: 4.14 GiB (55.0%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 clang: 10.0.1 Packages: 
  pacman: 2190 lib: 530 flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole 
  inxi: 3.1.05

> Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
     video-modesetting            2020.01.13                true            PCI
           video-linux            2018.05.04                true            PCI
            video-vesa            2017.03.12                true            PCI
video-hybrid-intel-nvidia-440xx-prime            2019.10.25               false            PCI
1 Like

Wow, you are over-installed. With Intel-Nvidia combo, you only need:




or preferably newer one:


Rest should be uninstalled. They are probably creating some conflicts.
Back up your system, uninstall video-linux and video-vesa with mhwd -r.


It is quite often that some drivers are a dependency of other installed package. If that is the case, mhwd will return error during uninstall attempt and will show you which package is blocking it. You need to uninstall this package first (if you need it, you can install it later again), then run uninstall by mhwd once again.

1 Like

Holy crap, thats what it was.

I guess theres something to be said about using the same install across 4 laptops and almost 3 years lol.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.