Can't select GPU on linux

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

makingstuff

  • Posts: 9
  • Joined: Thu Mar 11, 2021 10:48 pm
  • Real Name: Michael Davinport

Can't select GPU on linux

PostThu Mar 11, 2021 11:14 pm

Hi all,

My first post and I am sorry if I am in the wrong section of the forum.

I'm dead keen to get resolve running. My machine specs are in my signature.

I try and load resolve andit fails. I then try and choose the GPU as I see many people do to fix this issue and I have no GPU to select.

Image
and
Image

Searching the forums I can see others are using this same graphics card so I'm wondering if anyone can offer any help or advice?


Thanks so much.
Michael
Pop!_OS Linux 22.04 (Ubuntu derivitive)
Intel NUC Skull Canyon
16GB RAM
1TB SSD drive
Mesa Intel® Iris(R) Pro Graphics 580
Intel® Core™ i7-6770HQ CPU @ 2.60GHz × 80 (SKL GT4)
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 2731
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Can't select GPU on linux

PostFri Mar 12, 2021 2:01 am

CentOS 7 (and Linux in general) requires a discrete graphics card for all versions.

Please check the minimum requirements in the support page (example for 17.1)
Offline

makingstuff

  • Posts: 9
  • Joined: Thu Mar 11, 2021 10:48 pm
  • Real Name: Michael Davinport

Re: Can't select GPU on linux

PostFri Mar 12, 2021 2:52 am

Shrinivas Ramani wrote:CentOS 7 (and Linux in general) requires a discrete graphics card for all versions.

Please check the minimum requirements in the support page


Thank you, yes. Since posting this I've been head down in discreet video card research. Looks like I'll have to lump it and purchase one.

Will resolve work with them with the free version or will I need to purchase to get the full power of the new card?

I'm happy to purchase and plan to if resolve meets my needs (and I can't see why it would not), however it's always handy to test first.

Thanks again.
Michael
Pop!_OS Linux 22.04 (Ubuntu derivitive)
Intel NUC Skull Canyon
16GB RAM
1TB SSD drive
Mesa Intel® Iris(R) Pro Graphics 580
Intel® Core™ i7-6770HQ CPU @ 2.60GHz × 80 (SKL GT4)
Offline

Shrinivas Ramani

Blackmagic Design

  • Posts: 2731
  • Joined: Wed Sep 20, 2017 10:19 am

Re: Can't select GPU on linux

PostFri Mar 12, 2021 5:02 am

Since you're on Pop, you may want to check the threads below to see what hardware other Linux users have been running and what it takes for them to get running. You may be able to get more specific answers/recommendations there too.

viewtopic.php?f=21&t=56878
viewtopic.php?f=21&t=70949
Offline

makingstuff

  • Posts: 9
  • Joined: Thu Mar 11, 2021 10:48 pm
  • Real Name: Michael Davinport

Re: Can't select GPU on linux

PostSat Mar 13, 2021 12:39 am

Thank you, I appreciate your help / time. I'll check those links.
Michael
Pop!_OS Linux 22.04 (Ubuntu derivitive)
Intel NUC Skull Canyon
16GB RAM
1TB SSD drive
Mesa Intel® Iris(R) Pro Graphics 580
Intel® Core™ i7-6770HQ CPU @ 2.60GHz × 80 (SKL GT4)
Offline

Daniel Tufvesson

  • Posts: 274
  • Joined: Sun Sep 18, 2016 11:03 am
  • Location: Stockholm, Sweden

Re: Can't select GPU on linux

PostSun Mar 14, 2021 10:51 am

Just for giggles I installed Resolve 17.1 on a Dell Latitude E7270 i7-6600U laptop running Debian 10. Did not expect it to work but using the Intel Beignet OpenCL driver 1.3.2 I can actually run Resolve. GPU out of memory as soon as I create a timeline over 720x576. Imported a BRAW clip. Edit works but playback is very unstable. I managed to occasionally see a frame or two in the viewports among many garbled frames and eventually it crashed. But still interesting...

intelgpu.png
intelgpu.png (43.65 KiB) Viewed 2763 times

Code: Select all
0x7f4838fc9400 | Main                 | INFO  | 2021-03-14 11:27:27,198 | Running DaVinci Resolve v17.1.0.0024 (Linux/Clang x86_64)
0x7f4838fc9400 | Main                 | INFO  | 2021-03-14 11:27:27,198 | BMD_BUILD_UUID 8b9102ed-137f-4151-8202-8c88e3d43bc8
0x7f4838fc9400 | Main                 | INFO  | 2021-03-14 11:27:27,198 | BMD_GIT_COMMIT 5b371db7cafb184ffaac29f3843b849f765fc644
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,199 | Starting GPUDetect 1.1_2-a16
0x7f4838fc9400 | GPUDetect            | ERROR | 2021-03-14 11:27:27,308 | No Main Display GPU found and no monitors found to match, defaulting to gpu:f79c4ee3.7b092bf5.
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 | Done in 108 ms.
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 | Detected System:
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |   - OS: Linux Debian GNU/Linux 10 (buster)
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |   - Model: Dell ******
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |   - System ID: ******
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |   - CPU: Intel Core i7-6600U, 4 threads, x86-64
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |   - RAM: 2.8 GiB used of 15.3 GiB
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 | Detected 1 GPUs:
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |   - "Intel HD Graphics Skylake ULT GT2" (gpu:f79c4ee3.7b092bf5) <- Main Display GPU
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |     Integrated, 4 GiB VRAM
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 |     Matches: OpenCL
0x7f4838fc9400 | GPUDetect            | INFO  | 2021-03-14 11:27:27,308 | Detected 1 monitors:
0x7f4838fc9400 | Main.GPUConfig       | INFO  | 2021-03-14 11:27:27,308 | Compute API set to automatic, defaulting to OpenCL.
0x7f4838fc9400 | Main.GPUConfig       | INFO  | 2021-03-14 11:27:27,308 | Selected compute API: OpenCL
0x7f4838fc9400 | Main.GPUConfig       | INFO  | 2021-03-14 11:27:27,308 | Automatic GPU Selection:
0x7f4838fc9400 | Main.GPUConfig       | INFO  | 2021-03-14 11:27:27,308 |   - "Intel HD Graphics Skylake ULT GT2" (gpu:f79c4ee3.7b092bf5)
0x7f4838fc9400 | IO                   | INFO  | 2021-03-14 11:27:27,308 | RED InitializeSdk with library path at /opt/resolve/libs
0x7f4838fc9400 | IO                   | INFO  | 2021-03-14 11:27:27,343 | R3DAPI 8.0.0-49A09 (20201217 Lx64S) R3DSDK 8.0.0-49A09 (20201217 Lx64D C3B1) RED OPENCL 8.0.0-5\
0396 (20201217) [/opt/resolve/libs/] init is successful
Shoot - BMCC | BMPCC | BMPCC4K | BMVA | GH5
Edit - Resolve Studio 18.1 | Debian Linux 12 | i7-3930K CPU | X79 MB | 32GB RAM | GTX1080 GPU | Speed Editor
Monitor - Decklink SDI, SDI Duo, SDI 4K, Intensity Pro
danieltufvesson.com/makeresolvedeb
Offline

makingstuff

  • Posts: 9
  • Joined: Thu Mar 11, 2021 10:48 pm
  • Real Name: Michael Davinport

Re: Can't select GPU on linux

PostSun Mar 14, 2021 9:52 pm

Thank you for this. I will have a look at the OPENCL driver. I've not heard of them before so I'll give it a whirl. Are there any tips / links RE this CL driver that you might be able to share? Thanks again.
Michael
Pop!_OS Linux 22.04 (Ubuntu derivitive)
Intel NUC Skull Canyon
16GB RAM
1TB SSD drive
Mesa Intel® Iris(R) Pro Graphics 580
Intel® Core™ i7-6770HQ CPU @ 2.60GHz × 80 (SKL GT4)
Offline

mamounjamous

  • Posts: 1
  • Joined: Wed Jun 07, 2023 3:43 pm
  • Real Name: MAMOUN JAMOUS

Re: Can't select GPU on linux

PostWed Jun 07, 2023 3:51 pm

Hello mates,

I am using the following setup:
    Memory: 32 GiB
    Processor: Intel Core i7-6770HQ CPU @ 2.60GHz x 8
    Graphics: Mesa intel iris(R) pro graphics 580 (skl gt4)
    Disk: 500 GB
    OS: Ubuntu 22.04.2 LTS 64-bit
    GNOME Version: 42.5
    Windowing System: Wayland

No matter what I have done so far and I failed to let the code detect and use GPUs. Here is the message I receive:

# Check if CUDA is available
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
print(torch.cuda.is_available())

description: VGA compatible controller
product: Iris Pro Graphics 580
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 09
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
resources: irq:132 memory:db000000-dbffffff memory:90000000-9fffffff ioport:f000(size=64) memory:c0000-dffff

Do you think I can use the same solution?
Offline
User avatar

Dwaine Maggart

Blackmagic Design

  • Posts: 11330
  • Joined: Wed Aug 22, 2012 2:53 pm

Re: Can't select GPU on linux

PostThu Jun 08, 2023 5:40 am

Resolve on Linux does not support Intel GPUs.
Dwaine Maggart
Blackmagic Design DaVinci Support

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], ghost355, Google [Bot], OnThePath, panos_mts, Rick van den Berg, Theo1965 and 243 guests