Nvidia GTX970无法在20.04上运行

我正在尝试在旧版Mac Pro 4,1上启动并运行Ubuntu,尽管它仍然是一台合理的机器,但该版本已不再受支持。

我安装了两个图形卡,这些图形卡安装了最初的Nvidia 9500GT(已被EFI识别)和标准PC GTX970(我想用作主卡)。通过检测带有lspci和dmesg的GTX970,一切似乎都可以。我在/ dev中也有一个nvidia0设备。系统控制表明Ubuntu认为使用GTX970

但是我没有得到任何输出,只有旧的9500了。

运行nvidia-settings会引发我在这个旧线程上发现的不祥的错误,但可悲的是它没有提供任何解决方案。

NVIDIA driver not working on Ubuntu 18.04

是否有人知道发生了什么以及如何解决?

谢谢

罗素

    05:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)
    05:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
    06:00.0 VGA compatible controller: NVIDIA Corporation G96C [GeForce 9500 GT] (rev a1)
    $ dmesg
    nvidia: loading out-of-tree module taints kernel.
    nvidia: module license 'NVIDIA' taints kernel.
    Disabling lock debugging due to kernel taint
    nvidia-nvlink: Nvlink Core is being initialized, major device number 238
    NVRM: The NVIDIA GeForce 9500 GT GPU installed in this system is
    NVRM:  supported through the NVIDIA 340.xx Legacy drivers. Please
    NVRM:  visit http://www.nvidia.com/object/unix.html for more
    NVRM:  information.  The 440.64 NVIDIA driver will ignore
    NVRM:  this GPU.  Continuing probe...
    nvidia 0000:05:00.0: enabling device (0002 -> 0003)
    nvidia 0000:05:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
    NVRM: ignoring the legacy GPU 0000:06:00.0
    nvidia: probe of 0000:06:00.0 failed with error -1
    NVRM: loading NVIDIA UNIX x86_64 Kernel Module  440.64  Fri Feb 21 01:17:26 UTC 2020
    nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  440.64  Fri Feb 21 00:43:19 UTC 2020
    nvidia-uvm: Loaded the UVM driver, major device number 236.
    $ lshw -c video
      *-display                 
           description: VGA compatible controller
           product: GM204 [GeForce GTX 970]
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: pci@0000:05:00.0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
           configuration: driver=nvidia latency=0
           resources: irq:16 memory:a4000000-a4ffffff memory:80000000-8fffffff memory:90000000-91ffffff ioport:4000(size=128) memory:a5000000-a507ffff
      *-display UNCLAIMED
           description: VGA compatible controller
           product: G96C [GeForce 9500 GT]
           vendor: NVIDIA Corporation
           physical id: 0
           bus info: pci@0000:06:00.0
           version: a1
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress vga_controller cap_list
           configuration: latency=0
           resources: memory:a2000000-a2ffffff memory:98000000-9fffffff memory:a0000000-a1ffffff ioport:3000(size=128) memory:a3000000-a307ffff
    $ lsmod | grep nvidia
    nvidia_uvm            970752  0
    nvidia_drm             49152  0
    nvidia_modeset       1114112  1 nvidia_drm
    nvidia              20430848  8 nvidia_uvm,nvidia_modeset
    drm_kms_helper        184320  1 nvidia_drm
    ipmi_msghandler       106496  2 ipmi_devintf,nvidia
    drm                   491520  3 drm_kms_helper,nvidia_drm
    $echo $XDG_SESSION_TYPE
    x11
    $ nvidia-settings

    ERROR: Unable to load info from any available system


    (nvidia-settings:7681): GLib-GObject-CRITICAL **: 13:29:46.117: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    ** Message: 13:29:46.122: PRIME: No offloading required. Abort
    ** Message: 13:29:46.122: PRIME: is it supported? no
评论