This is a patch downgraded from https://src.fedoraproject.org/rpms/xorg-x11-server/raw/rawhide/f/0001-present-Check-for-NULL-to-prevent-crash.patch to fix a crash in NVIDIA-495.46 (and later): https://gitlab.freedesktop.org/xorg/xserver/-/issues/1275 --- xorg-server-1.19.7/present/present.c.orig 2019-02-02 10:35:15.000000000 +0000 +++ xorg-server-1.19.7/present/present.c 2022-11-11 11:29:27.266755642 +0000 @@ -255,6 +255,9 @@ if (!screen_priv->info) return NULL; + if (!screen_priv->info->get_crtc) + return NULL; + return (*screen_priv->info->get_crtc)(window); } @@ -300,6 +303,9 @@ if (!screen_priv->info) return; + if (!screen_priv->info->flush) + return; + (*screen_priv->info->flush) (window); }