mate-optimus icon indicating copy to clipboard operation
mate-optimus copied to clipboard

Nvidia hardware no longer detected when on Intel (Power-Saving) and on 460 Driver

Open eeickmeyer opened this issue 3 years ago • 0 comments

Title pretty much explains it. For the Kubuntu Focus machines, we have a script to completely power-off the Nvidia hardware if the Intel driver is selected. This wasn't a problem with nvidia-driver-455 and lower, but with 460 for some reason the menu no longer displays the Nvidia selections.

Granted, the system would have to be rebooted to get the Nvidia hardware back in this scenario (and we have a script injection in SDDM that does this exactly), but there's a pretty nasty inconvenience to our customers if they don't have the selection to begin with.

In order to take a sledgehammer approach to this, I had to remove line #115 from mate-optimus-applet: nvidia_detected(capability) and \

This produces the desired result. However, I'm sure there's a more graceful approach to this. In the meantime, unfortunately, I am in a position where I have to downstream patch this, but I'm reluctant to downstream patch in in Ubuntu (which I can) since this is a very quick and dirty approach.

eeickmeyer avatar Jan 31 '21 22:01 eeickmeyer