Unsupported GPU Processing Mode - Nvidia 3070 Ti

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

jfaz13

  • Posts: 6
  • Joined: Mon Sep 05, 2022 1:07 am
  • Real Name: Jose Fernandez

Unsupported GPU Processing Mode - Nvidia 3070 Ti

PostSun Nov 13, 2022 1:49 am

Hey everyone,

Trying to get Davinci Resolve 18 installed on Linux, but get the `Unsupported GPU Processing Mode` after install on first startup. Going to the GPU settings, there are no options for GPU processing mode/selection. Also tried installing Resolve 17, same issue.

System specs:
OS: Linux (latest Fedora)
GPU: Nvidia RTX 3070 Ti
Driver Version: 520.56.06
CPU: Ryzen 7 5800x

Any help would be appreciated!
Offline

jfaz13

  • Posts: 6
  • Joined: Mon Sep 05, 2022 1:07 am
  • Real Name: Jose Fernandez

Re: Unsupported GPU Processing Mode - Nvidia 3070 Ti

PostMon Nov 14, 2022 9:53 pm

Quick update: Tried on Windows and it worked, also tried on another distro (Ubuntu) and it remains undetected.
Offline

IstvanOnFire

  • Posts: 30
  • Joined: Sat Jun 26, 2021 5:27 pm
  • Location: Austria
  • Real Name: Istvan Lorincz

Re: Unsupported GPU Processing Mode - Nvidia 3070 Ti

PostMon Nov 21, 2022 1:11 am

Hi !
I had same problem and could solve it after some hours. Here is what I had to do.
My setup: fresh Ubuntu Studio 22.04.1 LTS installation, GeForce RTX 3070 desktop,

NVIDIA driver is not yet installed, You have to install it, but not from the Nvidia website, Nvidia advise this.

You have to
- install compiler version 12 (step 1)
- set alternatives (step 2)
- deactivate the "nouveau driver" (step 3)
- and after than, only after that, you are able to install the install the NVIDIA driver (step 4)

STEP 1
Just Info, this is the Error Message, what happened
Code: Select all
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-9ubuntu1) 12.2.0
  You are using:           cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0

At the installation process, we compile the NVIDIA driver code, so the compiler we have to use must match the "kernel was built" compiler version. We used 11.3.0 at the installation (version 11) but we have to use 12.2.0 (version 12).

1.1. - In my case, the compiler version 12 was not installed. Here is how we install it. We install in sum two modules, the "gcc-12" and the "g++-12"
Code: Select all
sudo apt-get install gcc-12 g++-12

1.2 - you can check now that compiler version 12 is also installed. Next to "gcc-11", you see now "gcc-12" and so on
Code: Select all
ls -l /usr/bin/gcc*
lrwxrwxrwx 1 root root 21 Nov 20 19:55 /usr/bin/gcc -> /etc/alternatives/gcc
lrwxrwxrwx 1 root root 23 Apr 30  2022 /usr/bin/gcc-11 -> x86_64-linux-gnu-gcc-11
lrwxrwxrwx 1 root root 23 Mai 13  2022 /usr/bin/gcc-12 -> x86_64-linux-gnu-gcc-12
lrwxrwxrwx 1 root root  9 Aug  5  2021 /usr/bin/gcc-ar -> gcc-ar-11
lrwxrwxrwx 1 root root 26 Apr 30  2022 /usr/bin/gcc-ar-11 -> x86_64-linux-gnu-gcc-ar-11
lrwxrwxrwx 1 root root 26 Mai 13  2022 /usr/bin/gcc-ar-12 -> x86_64-linux-gnu-gcc-ar-12
lrwxrwxrwx 1 root root  9 Aug  5  2021 /usr/bin/gcc-nm -> gcc-nm-11
lrwxrwxrwx 1 root root 26 Apr 30  2022 /usr/bin/gcc-nm-11 -> x86_64-linux-gnu-gcc-nm-11
lrwxrwxrwx 1 root root 26 Mai 13  2022 /usr/bin/gcc-nm-12 -> x86_64-linux-gnu-gcc-nm-12
lrwxrwxrwx 1 root root 13 Aug  5  2021 /usr/bin/gcc-ranlib -> gcc-ranlib-11
lrwxrwxrwx 1 root root 30 Apr 30  2022 /usr/bin/gcc-ranlib-11 -> x86_64-linux-gnu-gcc-ranlib-11
lrwxrwxrwx 1 root root 30 Mai 13  2022 /usr/bin/gcc-ranlib-12 -> x86_64-linux-gnu-gcc-ranlib-12


STEP 2
2.1 - we have now more compiler version installed next to each other. We have to tell Ubuntu which to use. These line set up the logic.
Code: Select all
sudo update-alternatives --remove-all gcc
sudo update-alternatives --remove-all g++

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 20

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 20

sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc 30
sudo update-alternatives --set cc /usr/bin/gcc

sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30
sudo update-alternatives --set c++ /usr/bin/g++

2.2 - just to see what we adjusted
Code: Select all
update-alternatives --display cc
update-alternatives --display c++

2.3 - just to see what we adjusted, the -12 version is the preferred version, press Enter to quit the menu.
Code: Select all
sudo update-alternatives --config gcc
sudo update-alternatives --config g++

STEP 3
Ubuntu Studio uses the standard graphics driver - the so called "nouveau" driver. This must be deactivated in order to install the NVIDIA driver.
1.1 - This two lines create a new file "blacklist-nvidia-nouveau.conf" with two lines, which will prohibit Ubuntu to use the nouveau driver:
Code: Select all
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"

1.2 - Now you can control the content of the new created blacklist-nvidia-nouveau.conf, the "cat" command shows you the content row by row on the terminal:
Code: Select all
cat /etc/modprobe.d/blacklist-nvidia-nouveau.conf

1.3 - this will update the kernel
Code: Select all
sudo update-initramfs -u

1.4 - to take effect, restart your Ubuntu
Code: Select all
just restart your Ubuntu / Linux

Just Info, this is the Error Message, when you want to install the NVIDIA driver, but "nouveau" is active
Code: Select all
(Answer: Continue installation)
ERROR: The Nouveau kernel driver is currently in use by your system.  This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
-> For some distributions, Nouveau can be disabled by adding a file in the modprobe configuration directory.  Would you like nvidia-installer to attempt to create this modprobe file for you? (Answer: No)
ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.


STEP 4
I downloaded the NVIDIA driver from the http://www.nvidia.com website, but the installation assistent advise you to use the NVIDIA drivers Ubuntu have to offer you. You see the available drivers if you enter "ubuntu-drivers devices" command.
I choose the latest, the "nvidia-driver-520".
Code: Select all
ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:03.1/0000:2d:00.0 ==
modalias : pci:v000010DEd00002484sv00001458sd0000404Cbc03sc00i00
vendor   : NVIDIA Corporation
model    : GA104 [GeForce RTX 3070]
driver   : nvidia-driver-520 - distro non-free
driver   : nvidia-driver-520-open - distro non-free recommended
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-515-open - distro non-free
driver   : nvidia-driver-510 - distro non-free
driver   : nvidia-driver-515 - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-515-server - distro non-free
driver   : nvidia-driver-510-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin


4.1 - installing the NVIDIA driver. I decided for "nvidia-driver-520",
because you completed STEP 1 to STEP 3, you should not have a problem. Maybe this step is not necessary any more (because you tried before a lot of times, and somehow not needed any more..)
Code: Select all
sudo apt install nvidia-driver-520 nvidia-dkms-520


4.2. - good idea to restart Ubuntu now

4.3 - check Nvidia settings, now these two commands will work, will show you your GPU data. You are safe to start Davinci.
Code: Select all
nvidia-smi
nvidia-settings


USEFULL INFO

When you start the NVIDIA driver installation process, these two log files will be created. IF the installation fails, search for "error" in this two files. Subfolder "520.56.06" can vary, depending which version you choose before.
Code: Select all
/var/lib/dkms/nvidia/520.56.06/build/make.log
/var/log/vidia-installer.log


In case of problems with NVIDIA drivers, NVIDIA support asking the people for the output of this BATCH SCRIPT.
- you can copy alle these lines into a file, end it *.sh like blabla.sh,
- set chmod +x blabla.sh ,
- start it with "sh blabla.sh"
the you will get a file "nvidia-bug-report.log" with usefull infos and also Error messages.
https://raw.githubusercontent.com/Pardu ... -report.sh

I visited mainly websites here
https://forums.developer.nvidia.com/t/n ... ror/173424
Offline

jfaz13

  • Posts: 6
  • Joined: Mon Sep 05, 2022 1:07 am
  • Real Name: Jose Fernandez

Re: Unsupported GPU Processing Mode - Nvidia 3070 Ti

PostMon Nov 28, 2022 10:13 am

Hey, thanks for the reply! Unfortunately I am already on the Nvidia drivers and I still get the error. I am on 520 as well and they give me the error. I recently purchased Studio so I really hope this gets fixed soon.
Offline

jfaz13

  • Posts: 6
  • Joined: Mon Sep 05, 2022 1:07 am
  • Real Name: Jose Fernandez

Re: Unsupported GPU Processing Mode - Nvidia 3070 Ti

PostMon Nov 28, 2022 10:17 am

Just after posting, I found the reply on the Fedora discord. If on Fedora, you also need to install CUDA: `sudo dnf install xorg-x11-drv-nvidia-cuda`
Offline

IstvanOnFire

  • Posts: 30
  • Joined: Sat Jun 26, 2021 5:27 pm
  • Location: Austria
  • Real Name: Istvan Lorincz

Re: Unsupported GPU Processing Mode - Nvidia 3070 Ti

PostFri Dec 02, 2022 7:53 am

Now it works for you?

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], panos_mts, Sam Steti, Vojta Filipi and 161 guests