Another thing to try:
Change to "on-demand" mode. (I'm not sure, but this may require another reboot 
or log out):
sudo prime-select on-demand

Verification (first command should show AMD and second command Nvidia):
glxinfo -B
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo -B

If all goes well, you can run programs on the Nvidia GPU by by setting the 
variables as in the previous command. Or, if you don't want to type all that 
every time, you can make a new command. Note that this long command is all one 
line:
alias prime_run=__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only 
__GLX_VENDOR_LIBRARY_NAME=nvidia

To make the alias permanent, add the line to the end of ~/.bashrc file

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1894852

Title:
  Graphics slow on hybrid AMD/Nvidia laptop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1894852/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to