Krita on a dual graphics laptop

Hi, I am trying to run Krita on a dual graphics laptop. I am on Debain testing (Bullseye). I use Bumblebee. If I type optirun krita, I get this:

anna@anna-pc:~/Downloads$ optirun krita
primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory

I tried to install libgl1-nvidia-glx, but the result was that optirun did not work at all.
I definitely have at least one libgl.so.1 but apparently not in the directories where krita looks for it.

AFAIK Krita does support GPU acceleration, doesn’t it?
Does anybody know if there is a way to disable Bumblebee temporarily? I think there isn’t.

Thanks in advance
b

I think the new Krita forum is the best place to ask:

1 Like

Thanks. I know. But I need to sign up… So I thought maybe someone here knows something… Actually this might be a question for a Debian forum or so.

Doesn’t seem like krita uses OpenCL.

1 Like

Well. So far I got no answers in the Krita forum, btw.
What I did today: On a Lubuntu system on an SD card (because Nvidia prime is functional there and I can switch between Intel and Nvidia), I made some performance tests, though not extensive performance tests. Apparently there is no or very little difference between Intel and Nvidia. However, I think Krita does not use OpenCL but something else. Something does use GPU acceleration in Krita. Maybe its some brush or something like that, not filters. But I think I need to do more tests. Apparently there is very little official documentation about Krita and GPU acceleration.
Edit: Actually and SSD appears to have more impact on speed in Krita (than Intel or Nvdia GPU).