...
Below are two solutions which have worked for me, for a Nvidia-based laptop (2018 Razer Blade 15) and an ATI Radeon laptop (2018 Lenovo e480).
Solutions
Nvidia (Optimus) laptop -
...
older laptops cards that support bumblebee and optirun
The first solution involves installing bumblebee and prefixing the vmware
or vmplayer
executable with optirun
. E.g.
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[Desktop Entry]
Encoding=UTF-8
Name=VMware Workstation (OPTIRUN)
Comment=Run and manage virtual machines
Exec=optirun -b primus /usr/bin/vmware %U
Terminal=false
Type=Application
Icon=vmware-workstation
StartupNotify=true
Categories=System;
MimeType=application/x-vmware-vm;application/x-vmware-team;application/x-vmware-enc-vm;x-scheme-handler/vmrc;
Path=
|
Nvidia (Optimus) laptop - newer laptops with cards that support video-hybrid-intel-nvidia-prime
For laptops with newer cards (for example my Razer Blade 15 with an RTX 2080) you should be able to prefix the vmware
or vmplayer
executable with prime-run
. E.g.
Code Block |
---|
prime-run vmware |
You can also modify (or make a copy) of the .desktop file with a modified prefix. See below (create a .desktop file and put in a folder on you path):
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[Desktop Entry]
Encoding=UTF-8
Name=VMware Workstation (PRIME)
Comment=Run and manage virtual machines
Exec=prime-run /usr/bin/vmware %U
Terminal=false
Type=Application
Icon=vmware-workstation
StartupNotify=true
Categories=System;
MimeType=application/x-vmware-vm;application/x-vmware-team;application/x-vmware-enc-vm;x-scheme-handler/vmrc;
Path=
|
...