I’m on Arch (btw.) and I have a Intel i5-14600K CPU with a iGPU (UHD Graphics 770) (GPU 1) in it and a dGPU from Nvidia, the RTX 3060 (GPU 0). I have one monitor connected to the 3060 via display port 1.4.

I can see both GPUs in GNOME Mission Center, but hte iGPU has always Clock Speed 0 and Utilization 0. So anything which is done on the GPU is done on the 3060.

I want to seperate what is done on the iGPU and what is done on the 3060:

dGPU (RTX 3060):

  1. Video editing
  2. video transcoding
  3. AI stuff (ollama)
  4. Machine learning
  5. Blender
  6. Steam games

iGPU (intel):

  1. Firefox (especially YouTube video decoding, it has hw acceleration for that)
  2. Chrome
  3. Libre Office
  4. GNOME
  5. etc.

I wonder if this or at least parts of it is possible. I need the whole 12 GB VRAM on the 3060 for ollama, and the iGPU is just sitting there doing nothing. Is there a way to distribute the work? Do I need two screens for that or something?

It might also be that I’m misunderstanding how the whole thing works or over estimating Linuxes capabilities.

  • Jeena@piefed.jeena.netOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 days ago

    Thank you everyone for explaining your view of how it works on Linux, it seems to be very chaotic when it comes to this topic, everyone has their own understanding and some contradict each other. But it was great to get some feedback and food for thought which let me to try other things which I didn’t think of trying before.

    Now I finally have some things working on the iGPU because I plugged the monitor into the motherboard instead of the dGPU. It seems that the offloading works well still because things like ollama and video editing still are done on the powerfull dGPU and then somehow the results synchronized to the motherboard output and on the screen.

    When it comes to the iGPU I see that many applications run on both at the same time like for example Firefox or Chrome when I look at nvtop. Especially when I watch videos in the browser then the iGPU is mostly active. Also when I use GNOME Shell features like seeing the overview by pressing the Super key or switching between virtual desktops.

    With help of switcheroo-control I can now force a program like DarkTable to work specifically on the dGPU.

    So while I still don’t have full controll over it, I feel I’m utilizing both graphics cards now much better and that was what I was looking for before I wrote this question, so thanks a lot everyone!