Fedora 下安装 NVIDIA 驱动出现问题:重启后黑屏并出现错误

Fedora 下安装 NVIDIA 驱动出现问题:重启后黑屏并出现错误

我刚刚将 Fedora 切换为我的主系统,在电脑上安装 nvidia 驱动程序时遇到了一些问题。基本上,我想安装 nvidia 驱动程序,因为我认为这是我在某些游戏中表现不佳的核心问题。我找到了几个指南(最终使用了这个:https://itsfoss.com/install-nvidia-drivers-fedora/) 在安装过程中,经过几次尝试,我似乎正确安装了它们,但当我重新启动电脑时,我下载了某种东西,过了一段时间,它似乎从灰色和白色切换到对比色,如黑色和橙色。几秒钟后,电脑启动,屏幕变黑,所以我关掉电脑,按照我的理解启动了其他会话。

以下是有关系统的更多信息

nvidia设置:


ERROR: NVIDIA driver is not loaded


(nvidia-settings:3164): GLib-GObject-CRITICAL **: 16:11:41.933: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:3164): CRITICAL **: 16:11:41.935: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed

ERROR: nvidia-settings could not find the registry key file or the X server is
       not accessible. This file should have been installed along with this
       driver at
       /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
       application profiles will continue to work, but values cannot be
       prepopulated or validated, and will not be listed in the help text.
       Please see the README for possible values and descriptions.

neofetch:

OS: Fedora Linux 38 (Workstation Edition) x86_64 
Host: MS-7846 0A 
Kernel: 6.5.7-200.fc38.x86_64 
Uptime: 10 mins 
Packages: 2385 (rpm), 13 (flatpak) 
Shell: bash 5.2.15 
Resolution: 1280x1024 
DE: GNOME 44.5 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i3-4130 (4) @ 3.400GHz 
GPU: NVIDIA GeForce GTX 1050 
Memory: 1864MiB / 15923MiB 

dkms 状态:

nvidia/545.23.06, 6.5.8-200.fc38.x86_64, x86_64: installed

lspci:

01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)

相关内容