Black screen or visual artifacts in most apps (regression from 450.66)

Hi,

I’m experiencing issues after updating drivers to 450.66 on Ubuntu 20.04/Gnome.
Graphic card: GeForce 940M (optimus configuration with Intel HD Graphics 520)

Most apps are rendered with a black window, or visual artifacts. Downgrading to version 440.xx solves the problem.

As an example, running vkcube looks like this:

Here’s my bug report log:
nvidia-bug-report.log.gz (363.3 KB)

Best,
Camille

Hi Camille,
I am using Alienware optimus notebook with RTX 2060 and driver 450.66 installed using .run installer file but could not see any black window or visual artifacts as well.
I was able to run vkcube successfully.

To mitigate tearing issue, could you please use below kernel parameter and share test results…
nvidia-drm.modeset=1

Hi amrits,

I’ve tested with nvidia-drm.modeset=1 and the problem still persists. Here’s the bug report log:
nvidia-bug-report-450.66-modset1.log.gz (382.1 KB)

My issue is not about tearing though. Most application windows are unusable because they are either entirely black, or just full of visual artifacts.

It seems related to compositing windows managers. I’m able to reproduce the issue in both Gnome and Plasma, but it works fine in i3.

Please let me know if I can provide you with more information.

Please help to provide applications where you encountered issue apart from vkcube where I was not able to recreate issue.

As other examples:
Firefox is entirely black (including the application bar).
Ubuntu Software & Update menu is entirely black (including the application bar).

My guess is it’s every app that uses the GPU is affected (only the terminal wasn’t affected so far).

Dear i’m on Ubuntu 20.04 with GeForce MX250 and driver 455.38-0ubuntu0.20.04.1 . And i’m having the same issue

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

All the apps using Nvidia acceleration are affected:
glxgears
WebGl
Steam
glmark2

I made a test the issue doesn’t exist with i3 windows manager. It seems to be a gnome issue.

Just out of curiosity, can you please check the output of env and check whether the __NV_PRIME_RENDER_OFFLOAD or __GLX_VENDOR_LIBRARY_NAME variables are set in your profile environment?