@Valexius As @soundofthunder stated, we need that info to help you.
Generally speaking, I have found that on laptops with nvidia cards the following seems to work for me every time, mileage will vary.
- Install the Nvidia Drivers using Manjaro-Settings-Manager … reboot
- Install
optimus-manager
&bbswitch
… reboot - Install
switcheroo-control
- Enable switcheroo-control by running
sudo systemctl enable --now switcheroo-control
- Edit /etc/mkinitcpio.conf and add nvidia to the modules array:
sudo nano /etc/mkinitcpio.conf
edit the MODULES=() array and add nvidia
, nvidia_modeset
, nvidia_uvm
and nvidia_drm
should look like this:
MODULES=(intel nvidia nvidia_modeset nvidia_uvm nvidia_drm)
plus any other modules that may be there. This should not be needed, but it will ensure that these modules are loaded and at the correct time.
Then you must run : sudo mkinitcpio -P
to rebuild the initial ram file system then reboot
For laptops, I really recommend using the hybrid method, switch to hybrid by using the optimus-manager --switch hybrid
command.
Now, with switcheroo installed, you should be able to right click on an application and select “Run with discrete GPU” option and only that application will be running on the Nvidia GPU. When the application is closed, the Nvidia GPU goes back to sleep mode, will save alot on battery.
If you want to run solely on the Nvidia, use the optimus-manager --switch nvidia
command.
You can of course also use the optimus-manager-pt to graphically control things.
But I would not recomment setting it to “integrated” at all. For some reason, which I have not looked into much as to why, some systems get stuck in a loop, will not log in etc.
Hope this helps,
-John