I just installed Arch Linux for the first time. I am using KDE Plasma with Xorg. I can't switch my card from Intel to NVidia, because Optimus throws the error "ERROR: the active card is "integrated" but it should be "nvidia".".
I am using the latest version of Optimus; (Client) Version 1.5. I am using the default config file.
I installed every Nvidia driver from scratch, and it didn't solve the problem. Also I saw in other issues that people used "prime-offload" command, but it didn't work on me neither. I am in need of serious help.
Thanks! :)
Logs$ optimus-manager --status ERROR: the active card is "integrated" but it should be "nvidia". Something went wrong during the last GPU setup... Log at /var/log/optimus-manager/switch/switch-20240523T155032.log Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. Cannot execute command because of previous errors.
I just installed Arch Linux for the first time. I am using KDE Plasma with Xorg. I can't switch my card from Intel to NVidia, because Optimus throws the error "ERROR: the active card is "integrated" but it should be "nvidia".". I am using the latest version of Optimus; (Client) Version 1.5. I am using the default config file. I installed every Nvidia driver from scratch, and it didn't solve the problem. Also I saw in other issues that people used "prime-offload" command, but it didn't work on me neither. I am in need of serious help. Thanks! :)
Logs
$ optimus-manager --status ERROR: the active card is "integrated" but it should be "nvidia". Something went wrong during the last GPU setup... Log at /var/log/optimus-manager/switch/switch-20240523T155032.log Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. Cannot execute command because of previous errors.
this is "/var/log/optimus-manager/switch/switch-20240523T155032.log":
cat /var/log/optimus-manager/switch/switch-20240523T155032.log [8] INFO: # Xorg pre-start hook [8] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': None} [8] INFO: Requested mode is: nvidia [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [29] INFO: Available modules: ['nouveau', 'bbswitch', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm'] [29] INFO: Unloading modules ['nouveau'] (if loaded) [32] INFO: Loading module bbswitch [36] INFO: Setting GPU power to ON via bbswitch [62] INFO: Loading module nvidia [483] INFO: Loading module nvidia_drm [1365] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf [1365] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20240523T155032', 'requested_mode': 'nvidia'} [1365] INFO: Xorg pre-start hook completed successfully. [7] INFO: # Xorg post-start hook [7] INFO: Running xrandr commands [421] INFO: Running /etc/optimus-manager/xsetup-nvidia.sh [436] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [436] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [440] INFO: Writing state {'type': 'done', 'switch_id': '20240523T155032', 'current_mode': 'nvidia'} [441] INFO: Xorg post-start hook completed successfully. [7] INFO: # Xorg pre-start hook [7] INFO: Previous state was: {'type': 'done', 'switch_id': '20240523T155032', 'current_mode': 'nvidia'} [7] INFO: Requested mode is: nvidia [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [29] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf [29] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20240523T155032', 'requested_mode': 'nvidia'} [29] INFO: Xorg pre-start hook completed successfully. [7] INFO: # Xorg post-start hook [7] INFO: Running xrandr commands [10] ERROR: Cannot setup PRIME (xrandr error): None [10] INFO: Running /etc/optimus-manager/xsetup-nvidia.sh [13] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [13] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [16] INFO: Writing state {'type': 'done', 'switch_id': '20240523T155032', 'current_mode': 'nvidia'} [16] INFO: Xorg post-start hook completed successfully.
this is /var/log/optimus-manager/switch/:
cat switch-20240523T155032.log [8] INFO: # Xorg pre-start hook [8] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': None} [8] INFO: Requested mode is: nvidia [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [29] INFO: Available modules: ['nouveau', 'bbswitch', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm'] [29] INFO: Unloading modules ['nouveau'] (if loaded) [32] INFO: Loading module bbswitch [36] INFO: Setting GPU power to ON via bbswitch [62] INFO: Loading module nvidia [483] INFO: Loading module nvidia_drm [1365] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf [1365] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20240523T155032', 'requested_mode': 'nvidia'} [1365] INFO: Xorg pre-start hook completed successfully. [7] INFO: # Xorg post-start hook [7] INFO: Running xrandr commands [421] INFO: Running /etc/optimus-manager/xsetup-nvidia.sh [436] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [436] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [440] INFO: Writing state {'type': 'done', 'switch_id': '20240523T155032', 'current_mode': 'nvidia'} [441] INFO: Xorg post-start hook completed successfully. [7] INFO: # Xorg pre-start hook [7] INFO: Previous state was: {'type': 'done', 'switch_id': '20240523T155032', 'current_mode': 'nvidia'} [7] INFO: Requested mode is: nvidia [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [9] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [29] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf [29] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20240523T155032', 'requested_mode': 'nvidia'} [29] INFO: Xorg pre-start hook completed successfully. [7] INFO: # Xorg post-start hook [7] INFO: Running xrandr commands [10] ERROR: Cannot setup PRIME (xrandr error): None [10] INFO: Running /etc/optimus-manager/xsetup-nvidia.sh [13] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_off_mode" in section [optimus]. Ignoring. [13] WARNING: Config parsing : unknown option "startup_auto_nvdisplay_on_mode" in section [optimus]. Ignoring. [16] INFO: Writing state {'type': 'done', 'switch_id': '20240523T155032', 'current_mode': 'nvidia'} [16] INFO: Xorg post-start hook completed successfully.