# 编辑gdm3配置文件
sudo vim /etc/gdm3/custom.conf
# 重启gdm3
sudo systemctl restart gdm3
方式一:如果进行上述操作后,有对比度严重错误问题,请执行下列命令
# 安装驱动
sudo ubuntu-drivers autoinstall
方式二:推荐尝试方式
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_localhttps://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=22.04&target_type=deb_local