Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Could you add "Run with Nvidia" to Cinnamon menu for nvidia-prime's new on-demand mode #9292

Closed
kelebek333 opened this issue May 8, 2020 · 3 comments

Comments

@kelebek333
Copy link

Hi,

Could you add "Run with Nvidia" to Cinnamon menu's context menu for nvidia-prime's new on-demand mode. This feature is already available for Bumblebee on Cinnamon menu, so it can be easy to adapt it to nvidia-prime's on-demand mode.

Feature can be activated according to output of the command below and application can be run with the nvidia-optimus-offload-glx command.

prime-slecet query
on-demand

You can look following link for cross distro solution. Gnome Shell's switcheroo-control feature can be implamanted to Cinnamon

http://www.hadess.net/2020/05/dual-gpu-support-launch-on-discrete-gpu.html

Best regards
Gökhan Gökkaya

@kelebek333 kelebek333 changed the title [Feature Request] [Feature Request] Could you add "Run with Nvidia" to Cinnamon menu for nvidia-prime's new on-demand mode [Feature Request] Could you add "Run with Nvidia" to Cinnamon menu for nvidia-prime's new on-demand mode May 8, 2020
@clefebvre
Copy link
Member

Thanks, this is planned for the next release already.

@mtwebster
Copy link
Member

3958272

@Leopard1907
Copy link

Leopard1907 commented May 13, 2020

Yes , in fact that DRI_PRIME variable was only working with OpenGL apps , while Vulkan ones within DXVK context always picks up gpu1 automatically ( not 0) , native game ports like Feral Interactive offers a device selection on their launcher but games like Doom 2016 etc were problematic in this regard and it was only possible to use dgpu on AMD systems with layers like this.

https://github.com/aejsmith/vkdevicechooser

However , with Mesa 20.1 this is not a problem anymore since this commit.

https://cgit.freedesktop.org/mesa/mesa/commit/?id=9bc5b2d169d3a3c9d52fc30987eaba52e3b7dc00

https://www.phoronix.com/scan.php?page=news_item&px=Mesa-20.1-Vulkan-Dev-Selection

So extending this " Run with dgpu ( nvidia ) " feature to AMD systems also would be great.

I'm aware Mint 20 probably won't be shipping with Mesa 20.1 but since people does gaming on Ubuntu based distros are used to add ppa's to their systems for staying up-to-date , it won't be a problem.

https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants