WSL2 > 安装 GPU 驱动程序时出错

WSL2 > 安装 GPU 驱动程序时出错

尝试运行时安装错误amdgpu-安装-y,按照下面链接的指南操作。其他一切运行良好。有什么建议吗?

编辑:我取得了一些进展,但仍然存在一些错误。

编辑2:我已经安装了python3,其别名为python。

主机:Windows 11 Pro 23H2

指导:

https://amdgpu-install.readthedocs.io/en/latest/install-script.html

Ubuntu x86 64 位驱动程序:

https://www.amd.com/en/support/linux-drivers

已安装的驱动程序:

scott@PC1:~$ sudo lshw -c video
[sudo] password for scott:
  *-display:0
       description: 3D controller
       product: Microsoft Corporation
       vendor: Microsoft Corporation
       physical id: 7
       bus info: pci@5a5b:00:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=dxgkrnl latency=0
       resources: irq:0
  *-display:1
       description: 3D controller
       product: Microsoft Corporation
       vendor: Microsoft Corporation
       physical id: c
       bus info: pci@db05:00:00.0
       version: 00
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=dxgkrnl latency=0
       resources: irq:0

安装错误:

The following packages have unmet dependencies:
 rocm-llvm : Depends: python but it is not installable
             Depends: libstdc++-5-dev but it is not installable or
                      libstdc++-7-dev but it is not installable
             Depends: libgcc-5-dev but it is not installable or
                      libgcc-7-dev but it is not installable
             Recommends: gcc-multilib but it is not going to be installed
             Recommends: g++-multilib but it is not going to be installed
 xserver-xorg-amdgpu-video-amdgpu : Depends: xorg-video-abi-24 but it is not installable

相关内容