Typically, the first video played will work, but subsequent ones show a black screen although the sound continues to work. Restarting vlc resets the problem.. usually.
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii vlc 3.0.17.4-5 amd64 multimedia player and streamer
ii nvidia-compute-utils-510 510.85.02-0ubuntu2 amd64 NVIDIA compute utilities
ii nvidia-dkms-510 510.85.02-0ubuntu2 amd64 NVIDIA DKMS package
ii nvidia-driver-510 510.85.02-0ubuntu2 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-510 510.85.02-0ubuntu2 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-510 510.85.02-0ubuntu2 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.17.1 all Tools to enable NVIDIA's Prime
ii nvidia-settings 510.47.03-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-510 510.85.02-0ubuntu2 amd64 NVIDIA driver support binaries
I have also tried installing the 515 drivers, but the problem remains.