Unable to use A4000 with Ubuntu 20.04

Hi,

the system doesn’t use the GPU. Doesn’t matter how I try to force and the application, it always uses CPU. This results in crashes and black screens in any kind of 3D application. I’m not going into system detail since I found them in the nvidia-bug-report.log.

Example:

nvidia-smi always looks like this, no matter the task:

So far I’ve tried:

  • DRI_PRIME=1
  • Different variations of GPU driver installation approaches (incl. blacklisting noveau, different versions, insecure-mode, complete new installation)

Best,

nvidia-bug-report.log.gz (368.2 KB)

You are running a vm with virtual graphics. Connect the monitor to the nvidia gpu and configure X to use the nvidia gpu as primary.
See:
https://forums.developer.nvidia.com/t/qubes-os-applications-do-not-open/195699/14

1 Like

Okay, thank you. I’ve checked that.

Yeah, I’m running a VM on a ESXi.

I’m not able to connect the monitor to the GPU (different locations…).

Is there no solution to that for Ubuntu? Our Windows VMs are working well in that setup.

Since the vmware gfx driver doesn’t support PRIME, you can only try to use bumblebee, like mentioned in the linked thread.

1 Like

I just checked the vmwgfx driver code and it seems there’re some preparation done for prime implementation but likely just stubs.
Please post the output of
xrandr --listproviders

1 Like

Hey generix,

Thanks keeping up the thought.

xrandr --listproviders

PS: I’ll also test it with bumblebee later.

The vmware DDX doesn’t even seem to register as prime provider, please check if you can configure X to use the modesetting driver instead. Maybe create something like
/etc/X11/xorg.conf.d/10-vmwgfx-modesetting.conf

Section "OutputClass"
	Identifier "vmw-modesetting"
	MatchDriver "vmwgfx"
	Driver "modesetting"
EndSection