1

On Ubuntu Mate 22.04, recent updates have resulted in the "Your GPU memory is full" error from DaVinci Resolve, despite no other processes running.

So far, have tried purging and reinstalling Nvidia drivers, downgrading to previous version of DaVinci and previous drivers for Nvidia, manually updating 5 packages that had been kept back (gjs libgjs0g libnetplan0 libsgutils2-2 netplan.io), and generally trying to get my workstation back up and running.

The computer is running smoothly and returns the usual information when entering nvidia-smi, so I think the GPU runs as it should, there is just some miscommuncation happening in DaVinci.

Is there a way I can downgrade the drivers, CUDA or something else to the previous version until this is (hopefully) resolved?

Secure Boot in UEFI is disabled, as far as I can tell there are no broken or missing packages or depedencies. But I do get a generic error message from Ubuntu on boot.

$ nvidia-smi
Thu Oct 12 10:50:14 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01             Driver Version: 535.113.01   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3050 ...    Off | 00000000:01:00.0 Off |                  N/A |
| N/A   40C    P0              N/A /  35W |      9MiB /  4096MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 1519 G /usr/lib/xorg/Xorg 4MiB | +---------------------------------------------------------------------------------------+

Cypress
  • 66

1 Answers1

1

Big thank you again to @guiverc for all their help!

It ended up being a mismatch between kernel stacks (recent update switched to a HWE kernel stack while previous version had used the GA kernel stack).

By swapping back to the GA kernel using the link provided by @guiverc ( uname -r to check the right kernel booted in grub):

https://wiki.ubuntu.com/Kernel/LTSEnablementStack

Purging the old drivers and reinstalling them while using the GA kernel (the newest being nvidia-driver-535 as I am writing this), along with the appropriate headers for the 5.15/GA kernel using the answer in this link (and rebooting):

https://forums.developer.nvidia.com/t/nvidia-smi-has-failed-because-it-couldnt-communicate-with-the-nvidia-driver-make-sure-that-the-latest-nvidia-driver-is-installed-and-running/197141

And DaVinci worked again! Video replay and all!

PS: Being a novice Ubuntu user, I was quite nervous of unwittingly breaking something again. So rather than purging the kernel flavors that weren't working I set the grub-customizer to boot from the previously booted entry:

Set "older" kernel as default grub entry

Not the cleanest solution, but I am just happy to have my workstation back to editing videos.

I am also looking into setting up a system backup like TimeShift, to hopefully avoid this issue in the future, since Nvidia/DaVinci have been causing hiccups in Ubuntu on at least a quarterly basis.

Cypress
  • 66