Adjust an entry in the appstarter? menu to pass option to start program using nvidia

First, I’m in a wayland session on Kubuntu 24.10.

Blender from Kubuntu sources crashes when i start it from appstarter menu. A Blender downloaded from blender.org finds nvidia and provides Cuda and OptiX option for rendering, so that seems fine.

I also try running firestorm after installing it as suggested. According to nvtop firestorm uses the intel card instead of nvidia, but if i go to the firestorm folder and start firestorm like following, it uses nvidia:

__GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 ./firestorm

Now my question is, how do i put the argument correctly into the options, that appear when i edit the program in the appstarter menu?

I know it’s a bit special, but maybe someone can help?

Thanks in advance :wink:

Hi - the menu editor dialog there is laid out with three fields together that go in the same order that they typically would in a command line - the environment variables (Umgebungsvariablen) that should be set specifically for running that program, the path to the executable file (Programm), and then the arguments that should be passed to that program (Argumente).

So, if you specifically need to use those exact variables, then you could put them in the environment variables (Umgebungsvariablen) field, and they should be applied to the command line like how you had it written out there.

However, if it’s helpful, there’s also a totally graphical way to handle that! If you go to the advanced options (Erweiterte Einstellungen) and looking for the section labeled “Discrete GPU”, with a single checkbox to “Run with dedicated graphics card” (sorry, I don’t know German so I don’t know the right translation there and can’t see it on my system, but here’s what it looks like on mine):

Checking that box should have the effect of having that application use the dedicated GPU as well.

Hope this helps,

Hi @johnandmegh !

Yay, works like a charm. I kind of knew, there must be a more comfortable way, but I didn’t know how to ask. +1 for your translation efforts, you were spot on! :slight_smile:

It doesn’t work with blender from Kubuntu sources, but that’s another topic I guess, as long i have a workaround I’ll wait for an update.

Thanks for the help, Kudos!

1 Like