
一見「良い」amdgpu-install
コマンドを使用してインストールする場合、
# amdgpu-install version
# amdgpu-install_22.20.50200-1_all.deb
# cut date: 2023-9-13
# today: 2023-99-20
# allegedly good command 1
amdgpu-install --usecase=graphics
# allegedly good command 2
amdgpu-install --usecase=graphics --vulkan=amdvlk --opencl=rocr
のビルドまたはインストールに失敗しますamdgpu-dkms
。 経由でビルド/インストールするとamdgpu-install
、makefile ログから詳細情報が取得されますが、apt-get install amdgpu-dkms
エラーも発生します。
make: Entering directory '/usr/src/linux-headers-6.2.0-33-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
You are using: gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
/var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build/Makefile:16: *** dma_resv->seq is missing., exit.... Stop.
make: *** [Makefile:2026: /var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.2.0-33-generic'
# KEY LINE
dma_resv->seq is missing., exit.... Stop.
おそらく、dma_resv
不足しているのでしょう。次に試したのは、apt-get 経由でインストールすることでした。
apt-get install amdgpu-dkms
これも失敗します。
amdgpu-dkms
Ubuntu-22で正常に実行できた人はいますか?
アップデート
私はこの問題のトラブルシューティングを続けています。 の通常バージョンをインストールしても、dkms
AMD が要求するものは提供されません。代わりに、AMD は独自の壊れた dkms automake パッケージを次の場所に出荷します。
/var/lib/dkms/amdgpu/5.16.9.22.20-1438747~22.04/source/amd/dkms
を実行すると、さらにconfigure
深刻なエラーが発生します。
apt-get install linux-headers-realtime
...
# in amd/.../dkms
sudo ./configure
# I was able to move forward on this by installing the linux headers above
# but only 2 lines forward. The UTS_RELEASE definition is still missing.
# As far as I can tell, my kernel is *not* the realtime kernel, so
# I probably need to install the realtime kernel.
checking kernel source directory... /usr/src/linux-realtime-headers-5.15.0-1032
checking kernel build directory... /usr/src/linux-realtime-headers-5.15.0-1032
checking kernel source version... Not found
configure: error: *** Cannot find UTS_RELEASE definition.
-- パッケージを開発していた人は、プロ版で利用できる Ubuntu カーネル用に最適化したと思います。今は持っていませんが、のrealtime
新しいビルドに AMD GPU をインストールするための前提条件になると思います。2023-9-13
amdgpu-install...deb