Valve contractor Natalie Vock blogged about work to improve VRAM management on Linux, and we're set to see some improvements with kernel 7.3 and more after.
I just wished there were a easy way to OS-wide or even across certain apps, to make them use the specific GPU.
If you have 2 GPU, that becomes a problem VERY FAST, on some laptops (if not most) with an dedicated and integrated GPUs, you see the integrated one being used instead of the other one.
Or you might want to use both of them, but divide them across multiple apps?
Perhaps dGPU for gaming and iGPU for some other workloads alongside?
There’s a parameter that can be set in a .desktop file, PrefersNonDefaultGPU=true, which should force an application to use the dedicated GPU on a laptop, but obviously that doesn’t work for command-line-only tools.
It’s not automatically resolved on Windows. Applications can export a symbol to hint to drivers that they want the big GPU, just like they can hint with their .desktop file on Linux, but other than that, it’s up to the driver vendor to notice a bunch of users complaining about poor performance in a particular game and manually adding it to a massive whitelist, or the user manually changing a setting.
Yay!
I just wished there were a easy way to OS-wide or even across certain apps, to make them use the specific GPU.
If you have 2 GPU, that becomes a problem VERY FAST, on some laptops (if not most) with an dedicated and integrated GPUs, you see the integrated one being used instead of the other one.
Or you might want to use both of them, but divide them across multiple apps?
Perhaps dGPU for gaming and iGPU for some other workloads alongside?
There’s a parameter that can be set in a
.desktopfile,PrefersNonDefaultGPU=true, which should force an application to use the dedicated GPU on a laptop, but obviously that doesn’t work for command-line-only tools.That is still tedious
We should AT LEAST be at the same level if not better compared to Windows!
On windows its automatically resolved
It’s not automatically resolved on Windows. Applications can export a symbol to hint to drivers that they want the big GPU, just like they can hint with their
.desktopfile on Linux, but other than that, it’s up to the driver vendor to notice a bunch of users complaining about poor performance in a particular game and manually adding it to a massive whitelist, or the user manually changing a setting.So fix it yourself or hire someone to do it.
Dont tease me hahaha
Doesn’t Nvidia have Prime for their Linux drivers built in now? I remember you used to have to fuck around with Bumblebee, now that was a hassle.
I guess if you don’t have an Nvidia GPU it’s still a hassle.
I have
But whos gonna run primerun for every app???