GPUOpen-LibrariesAndSDKs / AMF

The Advanced Media Framework (AMF) SDK provides developers with optimal access to AMD devices for multimedia processing
Other
585 stars 149 forks source link

[Bug]: Unable to locate package amf-amdgpu-pro #378

Open 21pages opened 1 year ago

21pages commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. amdgpu-install --uninstall && sudo apt-get purge amdgpu-install
  2. sudo apt-get update && sudo apt-get dist-upgrade
  3. install driver https://www.amd.com/en/support/linux-drivers, sudo apt install ./amdgpu-install_5.4.50403-1_all.deb
  4. sudo amdgpu-install -y --usecase=graphics,amf --opencl=rocr

Setup (please complete the following information):

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

jc-bao commented 1 year ago

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
Mystro256 commented 1 year ago

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.

mcr-ksh commented 5 months ago

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
21pages commented 5 months ago

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.

Winnus commented 4 months ago

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!

neoedmund commented 2 months ago

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?

rhutsAMD commented 2 months ago

@neoedmund Could you please try to delete the /var/lib/dkms/amdgpu/ folder, then reboot and reinstall the driver?

neoedmund commented 2 months ago

@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

wszgrcy commented 3 weeks ago

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

wszgrcy commented 2 weeks ago

6.1.3 add package https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/