[Bug]: Unable to locate package amf-amdgpu-pro
21pages opened this issue · 10 comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
amdgpu-install --uninstall && sudo apt-get purge amdgpu-install
sudo apt-get update && sudo apt-get dist-upgrade
- install driver https://www.amd.com/en/support/linux-drivers,
sudo apt install ./amdgpu-install_5.4.50403-1_all.deb
sudo amdgpu-install -y --usecase=graphics,amf --opencl=rocr
Setup (please complete the following information):
- OS: Ubuntu Linux 22.10 x86_64
- Driver Version : 22.40.3
- GPU : R7 5800H
Debug Log (please upload or paste):
➜ /tmp sudo amdgpu-install -y --usecase=graphics,amf --opencl=rocr
Hit:1 http://cn.archive.ubuntu.com/ubuntu kinetic InRelease
Get:2 http://security.ubuntu.com/ubuntu kinetic-security InRelease [109 kB]
Hit:3 https://repo.radeon.com/amdgpu/5.4/ubuntu jammy InRelease
Get:4 http://cn.archive.ubuntu.com/ubuntu kinetic-updates InRelease [118 kB]
Hit:5 https://repo.radeon.com/rocm/apt/5.4 jammy InRelease
Get:6 http://cn.archive.ubuntu.com/ubuntu kinetic-backports InRelease [99.9 kB]
Fetched 326 kB in 3s (119 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package amf-amdgpu-pro
Expected behavior
install AMF usecase
I think I have found a workaround by adding the flag --accept-eula
sudo amdgpu-install -y --usecase=workstation,amf --opencl=rocr --vulkan=pro --accept-eula
I think I have found a workaround by adding the flag
--accept-eula
sudo amdgpu-install -y --usecase=workstation,amf --opencl=rocr --vulkan=pro --accept-eula
Normally it should prompt you for an acceptance dialog. Are you running non-interactively? If so it skips the EULA acceptance and will fail to install any amdgpu-pro components, including amf. The --accept-eula allows non-interactive EULA acceptance.
Can confirm this still happens with amdgpu-install 6.0.60000-1697589.22.04
:
E: Unable to locate package amdgpu-pro
E: Unable to locate package amf-amdgpu-pro
E: Unable to locate package vulkan-amdgpu-pro
I think I have found a workaround by adding the flag
--accept-eula
sudo amdgpu-install -y --usecase=workstation,amf --opencl=rocr --vulkan=pro --accept-eula
Error occurred during installation. After installation, amf is available, but after restarting, I cannot enter the gui.
Then running 'Ctl +Alt +T', amdgpu-install --uninstall && sudo apt-get purge amdgpu-install
, sudo apt-get install --reinstall ubuntu-desktop
and boot to gui normally.
I think I have found a workaround by adding the flag
--accept-eula
sudo amdgpu-install -y --usecase=workstation,amf --opencl=rocr --vulkan=pro --accept-eula
--accept-eula
solved it thanks!
for using amf, I installed fresh Ubuntu 22.04, but
sudo amdgpu-install -y --usecase=graphics,amf --accept-eula
Hit:1 https://repo.radeon.com/amdgpu/6.1/ubuntu jammy InRelease
Hit:2 https://repo.radeon.com/rocm/apt/6.1 jammy InRelease
Hit:3 http://jp.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://jp.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://jp.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Hit:1 https://repo.radeon.com/amdgpu/6.1/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 https://repo.radeon.com/rocm/apt/6.1 jammy InRelease
Hit:4 http://jp.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://jp.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://jp.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package amf-amdgpu-pro
Hit:1 https://repo.radeon.com/amdgpu/6.1/ubuntu jammy InRelease
Hit:2 https://repo.radeon.com/rocm/apt/6.1 jammy InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://jp.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://jp.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://jp.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Hit:1 https://repo.radeon.com/amdgpu/6.1/ubuntu jammy InRelease
Hit:2 https://repo.radeon.com/rocm/apt/6.1 jammy InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://jp.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 http://jp.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:6 http://jp.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
so amf-amdgpu-pro
should in https://repo.radeon.com/amdgpu/6.1/ubuntu jammy
or https://repo.radeon.com/rocm/apt/6.1 jammy
, right?
but there is not such package in the repo ,
so I think --accept-eula
will not do any magic.
And I wonder why amf cannot be more easily installed like other software for general Linux distro,
even not work in the supported distro?
@neoedmund Could you please try to delete the /var/lib/dkms/amdgpu/
folder, then reboot and reinstall the driver?
@neoedmund Could you please try to delete the
/var/lib/dkms/amdgpu/
folder, then reboot and reinstall the driver?
There is no such directory, I rebooted, but no lucky.
uname Linux 6.5.0-27-generic #28~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
Can confirm this still happens with
amdgpu-install 6.0.60000-1697589.22.04
:E: Unable to locate package amdgpu-pro E: Unable to locate package amf-amdgpu-pro E: Unable to locate package vulkan-amdgpu-pro
I find amd-install >5.7.3 remove [proprietary/](https://repo.radeon.com/amdgpu/5.7.3/ubuntu/pool/proprietary/)
That is to say, versions 6.0 and above do not support AMF
6.1.3 add package https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/