I hit a wall when trying to make optimus manager to work, when I try to run optimus-manager I get the following error. I’m attempting to use the proprietary driver.
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20201209T125039.log
If your login manager is GDM, make sure to follow those instructions:
GitHub - Askannz/optimus-manager: A Linux program to handle GPU switching on Optimus laptops.
If your display manager is neither GDM, SDDM nor LightDM, or if you don’t use one, read the wiki:
FAQ, common issues, troubleshooting · Askannz/optimus-manager Wiki · GitHubCannot execute command because of previous errors.
This is the log the error refers:
[105] INFO: # Xorg pre-start hook
[105] INFO: Previous state was: {‘type’: ‘pending_pre_xorg_start’, ‘requested_mode’: ‘intel’, ‘current_mode’: None}
[105] INFO: Requested mode is: intel
[105] INFO: Checking for GDM display servers
[872] INFO: Available modules: [‘nouveau’, ‘bbswitch’, ‘acpi_call’, ‘nvidia’, ‘nvidia_drm’, ‘nvidia_modeset’, ‘nvidia_uvm’]
[872] INFO: Unloading modules [‘nvidia_drm’, ‘nvidia_modeset’, ‘nvidia_uvm’, ‘nvidia’] (if loaded)
[878] INFO: Loading module bbswitch
[884] INFO: Setting GPU power to OFF via bbswitch
[990] INFO: Loaded extra Intel Xorg options (0 lines)
[991] INFO: Loaded extra Intel Xorg options (0 lines)
[991] INFO: Found MHWD-generated Xorg config file at /etc/X11/xorg.conf.d/90-mhwd.conf. Removing.
[992] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[992] INFO: Writing state {‘type’: ‘pending_post_xorg_start’, ‘switch_id’: ‘20201209T103956’, ‘requested_mode’: ‘intel’}
[993] INFO: Xorg pre-start hook completed successfully.
System Information
Kernel: 5.9.11-3-MANJARO
Shell: bash 5.0.18
DE: GNOME 3.38.1
WM: Mutter
CPU: Intel i5-7200U (4) @ 3.100GHz
GPU: NVIDIA GeForce 940MX
GPU: Intel HD Graphics 620