无法让我的 GPU 和/或驱动程序在 Pop OS 20.04 上运行

无法让我的 GPU 和/或驱动程序在 Pop OS 20.04 上运行

你好,刚接触 Linux 和这个网站。

我在互联网上寻找答案,但我空手而归,完全不知所措,非常感谢您的帮助,谢谢。我的电脑是旧的 HP XW6400 工作站,配有 gtx1050ti 和 Pop OS 20.04 nvidia iso。已安装 nvidia 驱动程序 440。但它只能在集成显卡上运行。我无法让系统在专用显卡上运行,还有一件有趣的事情是,我有 HDMI 电缆连接到来自专用 GPU 的电视,它确实显示所有内容,但没有声音,但它说它在集成显卡上运行?我的 BIOS 中没有安全启动选项,抱歉我对 Linux 完全是新手。

nvidia x 服务器设置应用程序也会打开一个空白屏幕。我已经安装了最新的 Pop OS 20.04 Nvidia iso。 440 驱动程序,在尝试 20.10 Nvidia iso 后。 455驱动程序版本也有同样的问题。

dwill63@pop-os:~$ nvidia-settings

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system


(nvidia-settings:295163): GLib-GObject-CRITICAL **: 05:34:31.840: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** (nvidia-settings:295163): WARNING **: 05:34:31.845: PRIME: Failed to execute child process “/usr/bin/prime-supported” (No such file or directory)
** Message: 05:34:31.845: PRIME: is it supported? no

我遇到的问题是我的 GPU 驱动程序未运行或未被看到 我尝试在 CLI 中运行不同的命令时遇到多个错误,例如

dwill63@pop-os:~$ nvidia-smi

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

dwill63@pop-os:~$ sudo system76-power graphics nvidia

setting graphics to nvidia
daemon returned an error message: "does not have switchable graphics"

它显示 nvidia-driver-440

dwill63@pop-os:~$ modinfo nvidia

filename:       /lib/modules/5.4.0-7642-generic/kernel/drivers/char/drm/nvidia.ko
alias:          char-major-195-*
version:        440.100
supported:      external
license:        NVIDIA
srcversion:     79812FEC91C545B3F516DF2
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        ipmi_msghandler
retpoline:      Y
name:           nvidia
vermagic:       5.4.0-7642-generic SMP mod_unload 
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NVreg_Mobile:int
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_MapRegistersEarly:int
parm:           NVreg_RegisterForACPIEvents:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_TCEBypassMode:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_EnableBacklightHandler:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_AssignGpus:charp

dwill63@pop-os:~$ inxi -GS

System:
  Host: pop-os Kernel: 5.4.0-7642-generic x86_64 bits: 64 
  Desktop: Gnome 3.36.4 Distro: Pop!_OS 20.04 LTS 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: N/A 
  Display: x11 server: X.Org 1.20.8 driver: fbdev,nouveau 
  unloaded: modesetting,vesa resolution: 640x480~73Hz 
  OpenGL: renderer: llvmpipe (LLVM 10.0.0 128 bits) 
  v: 3.3 Mesa 20.0.8 

dwill63@pop-os:~$ sudo gpu-manager

[sudo] password for dwill63: 
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.4.0-7642-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/5.4.0-7642-generic/updates/dkms
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? no
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 10de:1c82
BusID "PCI:64@0:0:0"
Is boot vga? yes
Error: can't access /sys/bus/pci/devices/0000:40:00.0/driver
The device is not bound to any driver.
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Error : Failed to open /dev/dri
Does it require offloading? no
last cards number = 1
Has amd? no
Has intel? no
Has nvidia? yes
How many cards? 1
Has the system changed? No
Single card detected
Nothing to do

抱歉,所有命令内容只是试图获取尽可能多的信息。再次感谢!

相关内容