Page 1 of 1

Can't select GPU on linux

PostPosted: Thu Mar 11, 2021 11:14 pm
by makingstuff
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.

Re: Can't select GPU on linux

PostPosted: Fri Mar 12, 2021 2:01 am
by Shrinivas Ramani
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)

Re: Can't select GPU on linux

PostPosted: Fri Mar 12, 2021 2:52 am
by makingstuff
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.

Re: Can't select GPU on linux

PostPosted: Fri Mar 12, 2021 5:02 am
by Shrinivas Ramani
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

Re: Can't select GPU on linux

PostPosted: Sat Mar 13, 2021 12:39 am
by makingstuff
Thank you, I appreciate your help / time. I'll check those links.

Re: Can't select GPU on linux

PostPosted: Sun Mar 14, 2021 10:51 am
by Daniel Tufvesson
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 4249 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

Re: Can't select GPU on linux

PostPosted: Sun Mar 14, 2021 9:52 pm
by makingstuff
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.

Re: Can't select GPU on linux

PostPosted: Wed Jun 07, 2023 3:51 pm
by mamounjamous
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?

Re: Can't select GPU on linux

PostPosted: Thu Jun 08, 2023 5:40 am
by Dwaine Maggart
Resolve on Linux does not support Intel GPUs.