I want to run krunker.io on GPU. I have downloaded its appimage file.
I read several threads regarding running game on GPU (Nvidia GTX 1650).
So I ran this command.
prime-run ./setup.AppImage
But the fps is around 15-20.
While if I run it normally like
./setup.AppImage
then it runs on intel integrated GPU and gives around 60 -70 fps.
Info Regarding System:
Device: Laptop
Installed Manjaro with proprietary drivers.
CPU: Intel i5 9th gen
DGPU: Nvidia GTX 1650
Drivers:
Please read this: How to provide good information
and press the three dots … below your post and press the to give us more information so we can see what’s really going on.
Now we know the symptom of the disease, but we need some more probing to know where the origin lies…
An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.
What’s the output of both:
glxgears
prime-run glx-gears
and letting it run for 2 minutes each time?
P.S. If you want to notify me that you did provide this information, please this message and I’ll come back and have another look.
then search it on your installed programs for easy access.
Also,krunker is running on a web browser,I think the browser have problems running to the NVIDIA card so is better to have the iGPU running on this case,is not like krunker is a demanding game afterall lol.
Maybe AppImage can not use the Nvidia graphic card properly because of the nature of such kind of packages (everything is “pre-made” all integrated within the package so maybe something within the package is not allowing Nvidia to properly work).
But yeah if there is program available in the AUR, you should prefer that to other methods in my opinion. Here is my recommendation from prefered to least prefered methods:
package available from repositories → AUR → Flatpak/AppImage → Snap
so you’re running the appimage or the AUR package on the dGPU, but not the browser itself, so you have to run both or neither on the dGPU, so you have 2 options:
use the iGPU only as both the iGPU and the dGPU’s performance both outperform your monitor anyway (both 300 fps on a 60Hz monitor so 60-70 fps in-game is more than enough for your hardware)
Optimize both the browser and the game to run on the dGPU.
The problem here is because Krunker is a electron app,meaning you are just running a web browser that runs the krunker.io page,thats why I said maybe NVIDIA card running with prime-run has some problems.
You can avoid this problem if you install optimus-manager and change from hybrid mode to NVIDIA mode,but in my experience I have the same FPS as with iGPU.