I have installed and using wine for a game, finally! The only problem is wine will not use the Nvidia RTX 2060. I tested this by playing the game and watching nvtop do nothing. glmarks2 picks up the card and I get a result of 3002!
The optimus-manager can select either hybrid or intel. I cannot select nvidia.
Any ideas?
You might try using prime-run
.
optimus-manager
is only really useful for switching the entire stack between iGPU and dGPU.
1 Like
Optimus-Manager will only switch between intel (IGPU? and dedicated nvidia (dGPU?)? I could only get iGPU and hGPU(Hybrid) to work in Optimus-Manager.
prime-run: does that have a gui? can I easily switch between the 2 modes (or even better all 3 modes)?
In hybrid mode you can use
prime-run appname
To launch applications using nvidia gpu
4 Likes
edit the optimus-manager configuration file with
sudo micro /etc/optimus-manager/optimus-manager.conf
and edit the startup option in the file to nvidia. it should be like this
[optimus]
auto_logout=yes
pci_power_control=no
pci_remove=no
pci_reset=no
startup_auto_battery_mode=integrated
startup_auto_extpower_mode=nvidia
startup_mode=nvidia
switching=none
press ctrl+s to save and F10 to exit
after that logout and login
2 Likes
This is the answer. The game doesn't run at the same resolution as in windows. But it is close. perhaps there is more tweaking I can do.
2 Likes
If /etc/optimus-manager/optimus-manager.conf
doesn't exist then i should create one with following config options or i can simply enable my NVIDIA GPU with the .sh files available?
[optimus]
auto_logout=yes
pci_power_control=no
pci_remove=no
pci_reset=no
startup_auto_battery_mode=integrated
startup_auto_extpower_mode=nvidia
startup_mode=nvidia
switching=none
My /etc/optimus-manager/
have following files
.rwxr-xr-x 285 root 2 Dec 18:28 nvidia-disable.sh
.rwxr-xr-x 284 root 2 Dec 18:28 nvidia-enable.sh
.rw-r--r-- 305 root 2 Dec 18:28 xorg-intel.conf
.rw-r--r-- 298 root 2 Dec 18:28 xorg-nvidia.conf
.rwxr-xr-x 128 root 2 Dec 18:28 xsetup-hybrid.sh
.rwxr-xr-x 127 root 2 Dec 18:28 xsetup-intel.sh
.rwxr-xr-x 195 root 2 Dec 18:28 xsetup-nvidia.sh
I want to use my GTX 1650 4GB Graphics card instead of AMD Vega 8 integrated gpu.
I have edited the sh files that start the games to include prime-run.