Black screen when video players/games cover entire X display in fullscreen on Ubuntu 21.10

I'm using Ubuntu 21.10 and my GPU is an NVIDIA GTX 1070, all drivers are installed and up to date. Whenever I launch a game or video player (such as VLC or mpv) in fullscreen (covering the entire X display), the screen quickly turns black. The games render normally in the Dash to Panel window preview, and every other part of the game works. This only started once I upgraded to 21.10.

This does not happen to full screen videos/applications on Firefox.

EDIT: I fixed it by enabling "Force Composition Pipeline" in Nvidia X Server Settings!

2 Answers

The solution for me was enabling "Force Composition Pipeline" in Nvidia X Server Settings.

1

It's fixed in a newer driver version:

sudo apt install nvidia-driver-495

Package version: 495.46-0ubuntu2

Running on Ubuntu 22.04.

G-SYNC works in games like CS:GO and "Oxygen Not Included".

The previous nvidia-driver-470 has a monitor shutdown problem in fullscreen + no composition pipeline with Ubuntu 21.10 or later.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like