My laptop is an MSI GS73VR 7RG with dual graphics (GTX 1070 & Intel 630).
I installed bbswitch so I could select which card to use, and all was well. Then I decided to change to suse-prime-bbswitch, which informed me that I had to remove suse-prime.
I accepted that but on reboot I am now not able to enter my home partition encryption password, or even switch to a console. The keyboard works in the Grub2 menus, but after that there is no response. I tried a multitude of options to boot to single user mode, none of which worked and I ended up booting a read-only recovery thing and the keyboard works.
I believe it has something to do with the keyboard still being assigned to the old xorg.conf file (…or whatever the modern equivalent is).
My question is: which file do I need to edit to restore my keyboard’s functionality?
Hi
So you can launch your applications using the environment variable, no logout/login required.
Question is the switcherooctl service running?
systemctl status switcheroo-control.service
● switcheroo-control.service - Switcheroo Control Proxy service
Loaded: loaded (/usr/lib/systemd/system/switcheroo-control.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2021-03-15 15:49:51 CDT; 24h ago
Main PID: 690 (switcheroo-cont)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/switcheroo-control.service
└─690 /usr/libexec/switcheroo-control
Mar 15 15:49:51 grover systemd[1]: Starting Switcheroo Control Proxy service...
Mar 15 15:49:51 grover systemd[1]: Started Switcheroo Control Proxy service.
If not running, start and check switcherooctl list again.
Else you can alias the above to launch an application from the command line…
Thanks for your help & patience, it’s much appreciated.
Most of what you advise is sadly way over my head though!
My original goal was to find a way to easily select which graphic card KDE uses for the main display. I’d like to use the Intel by default, but be able to switch to Nvidia to use VBox or suchlike. The reason being that it uses a lot of power when running the Nvidia card.
Here’s the result of your last suggestion:
me@msi:~> systemctl status switcheroo-control.service
● switcheroo-control.service - Switcheroo Control Proxy service
Loaded: loaded (/usr/lib/systemd/system/switcheroo-control.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Hi
So you need to start that service and check switcherooctl list. Then you should just be able to start your application using the selected nvidia card.
It’s easier in the likes of GNOME, it offers a menu option to use it (Launch using discrete graphics card)…
It says that the Intel is default, so I’m guessing that’s right. Usually the power button lights up red when the Intel is in use, and it goes orange when the Nvidia is in use. It’s staying orange, but that might not be a big deal.
Hi
My observations have shown two different iterations of hybrid laptops, if the user can see the card in xrandr output, use switcherooctl, if not then need prime/bbswitch.