When I install Radeon Pro 5600M driver for BC-160 card in Ubuntu22.04,I had some problems. It's very hard for me.
first I choose 5.6.1 deb version, it's failed.
https://repo.radeon.com/amdgpu-install/
so, I choose 5.4.1, yes it seems to work.
https://repo.radeon.com/rocm/apt/5.4.1 jammy
then, cmd
sudo amdgpu-install --usecase=workstation -y --opencl=rocr --vulkan=pro --accept-eula --no-32
The following additional packages will be installed:
amdgpu amdgpu-core amdgpu-dkms-firmware amdgpu-lib amdgpu-pro-core amdgpu-pro-oglp autoconf automake autotools-dev comgr cpp-12 dctrl-tools dkms gcc-12 gst-omx-amdgpu
gstreamer1.0-plugins-base hsa-rocr libasan8 libcairo2 libcdparanoia0 libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm-amdgpu-radeon1 libdrm-intel1 libdrm2-amdgpu
libegl-mesa0 libegl1 libegl1-amdgpu-mesa libegl1-amdgpu-mesa-drivers libegl1-amdgpu-pro-oglp libelf-dev libepoxy0 libfontenc1 libgbm1 libgbm1-amdgpu libgcc-12-dev libgl1
libgl1-amber-dri libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-glx libgl1-amdgpu-pro-oglp-dri libgl1-amdgpu-pro-oglp-ext libgl1-amdgpu-pro-oglp-gbm libgl1-amdgpu-pro-oglp-glx
libgl1-mesa-dri libglapi-amdgpu-mesa libglapi-mesa libgles1-amdgpu-pro-oglp libgles2-amdgpu-pro-oglp libglvnd0 libglx-mesa0 libglx0 libgstreamer-plugins-base1.0-0 libice6
libllvm15.0.50401-amdgpu libncurses-dev libnuma1 libogg0 libomxil-bellagio-bin libomxil-bellagio0 libopus0 liborc-0.4-0 libpciaccess0 libpixman-1-0 libsensors-config
libsensors5 libsm6 libtheora0 libtinfo-dev libtsan2 libva2 libvdpau1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvulkan1 libwayland-client0 libwayland-egl1
libwayland-server0 libx11-xcb1 libxatracker2-amdgpu libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1
libxcb-xfixes0 libxcvt0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxrender1 libxshmfence1 libxt6 libxxf86vm1 m4 mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers
mesa-amdgpu-vdpau-drivers mesa-vdpau-drivers openmp-extras-runtime rocm-core rocm-language-runtime rocm-ocl-icd rocm-opencl vdpau-driver-all x11-common x11-xkb-utils xcvt
xfonts-base xfonts-encodings xfonts-utils xserver-common xserver-xorg-amdgpu-video-amdgpu xserver-xorg-core zlib1g-dev
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool gettext gcc-12-locales cpp-12-doc debtags menu gcc-12-multilib gcc-12-doc gvfs libglide3 libvisual-0.4-plugins
ncurses-doc libomxil-bellagio0-components-base opus-tools lm-sensors m4-doc libvdpau-va-gl1 xfs | xserver xfonts-100dpi | xfonts-75dpi xfonts-scalable
Recommended packages:
libtxc-dxtn-s2tc0 | libtxc-dxtn0 libssl1.1
The following NEW packages will be installed:
amdgpu amdgpu-core amdgpu-dkms amdgpu-dkms-firmware amdgpu-lib amdgpu-pro amdgpu-pro-core amdgpu-pro-oglp autoconf automake autotools-dev comgr cpp-12 dctrl-tools dkms
gcc-12 gst-omx-amdgpu gstreamer1.0-plugins-base hsa-rocr libasan8 libcairo2 libcdparanoia0 libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm-amdgpu-radeon1 libdrm-intel1
libdrm2-amdgpu libegl-mesa0 libegl1 libegl1-amdgpu-mesa libegl1-amdgpu-mesa-drivers libegl1-amdgpu-pro-oglp libelf-dev libepoxy0 libfontenc1 libgbm1 libgbm1-amdgpu
libgcc-12-dev libgl1 libgl1-amber-dri libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-glx libgl1-amdgpu-pro-oglp-dri libgl1-amdgpu-pro-oglp-ext libgl1-amdgpu-pro-oglp-gbm
libgl1-amdgpu-pro-oglp-glx libgl1-mesa-dri libglapi-amdgpu-mesa libglapi-mesa libgles1-amdgpu-pro-oglp libgles2-amdgpu-pro-oglp libglvnd0 libglx-mesa0 libglx0
libgstreamer-plugins-base1.0-0 libice6 libllvm15.0.50401-amdgpu libncurses-dev libnuma1 libogg0 libomxil-bellagio-bin libomxil-bellagio0 libopus0 liborc-0.4-0 libpciaccess0
libpixman-1-0 libsensors-config libsensors5 libsm6 libtheora0 libtinfo-dev libtsan2 libva2 libvdpau1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvulkan1 libwayland-client0
libwayland-egl1 libwayland-server0 libx11-xcb1 libxatracker2-amdgpu libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0
libxcb-sync1 libxcb-xfixes0 libxcvt0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxrender1 libxshmfence1 libxt6 libxxf86vm1 m4 mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers
mesa-amdgpu-vdpau-drivers mesa-vdpau-drivers openmp-extras-runtime rocm-core rocm-language-runtime rocm-ocl-icd rocm-opencl rocm-opencl-runtime vdpau-driver-all
vulkan-amdgpu-pro x11-common x11-xkb-utils xcvt xfonts-base xfonts-encodings xfonts-utils xserver-common xserver-xorg-amdgpu-video-amdgpu xserver-xorg-core zlib1g-dev
0 upgraded, 125 newly installed, 0 to remove and 0 not upgraded.
Need to get 175 MB/247 MB of archives.
After this operation, 1496 MB of additional disk space will be used.
Building initial module for 5.15.0-83-generic
Can't load /var/lib/shim-signed/mok/.rnd into RNG
40A7DE0D117F0000:error:12000079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:106:Filename=/var/lib/shim-signed/mok/.rnd
.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+.......+.....+..........+...+..+......+...+.+.....+.+...+..+.......+..+.............+.....+.+..+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+..+...+................+..............+.+......+.....+...+...+....+...............+...+......+..+...+....+..+...+.+......+...+..+..................+.+..+...+......+.+..+.+......+.....+....+..+...+...............+......+.+............+..+.+........................+...+.....+............+...+......+.......+..+..................+.............+..+...+....+..+......+....+...+..+................+..+.+..+.........+.+..............+.+...+...........+...............+......+...............+............+.+..+...............+...+.......+..............+...+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Secure Boot not enabled on this system.
Done.
Forcing installation of amdgpu
amdgpu.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-83-generic/updates/dkms/
amdttm.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-83-generic/updates/dkms/
amdkcl.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-83-generic/updates/dkms/
amd-sched.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-83-generic/updates/dkms/
amddrm_ttm_helper.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-83-generic/updates/dkms/
Running the post_install script:
depmod....
update-initramfs: Generating /boot/initrd.img-5.15.0-83-generic
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_10_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_imu.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_6_0_3.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/smu_13_0_10.bin for module amdgpu
Setting up libegl1-amdgpu-mesa-drivers:amd64 (1:22.3.0.50401-1518338.22.04) ...
Setting up rocm-opencl-runtime (5.4.1.50401-84~22.04) ...
update-alternatives: using /opt/rocm-5.4.1/bin/clinfo to provide /usr/bin/clinfo (clinfo) in auto mode
update-alternatives: warning: not replacing /usr/bin/clinfo with a link
Setting up x11-xkb-utils (7.7+5build4) ...
Setting up xserver-common (2:21.1.4-2ubuntu1.7~22.04.1) ...
Processing triggers for doc-base (0.11.1) ...
Processing 1 added doc-base file...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for mesa-amdgpu-va-drivers:amd64 (1:22.3.0.50401-1518338.22.04) ...
Setting up libglx-mesa0:amd64 (23.0.4-0ubuntu1~22.04.1) ...
Setting up libglx0:amd64 (1.4.0-1) ...
Setting up libgl1:amd64 (1.4.0-1) ...
Setting up libgl1-amdgpu-pro-oglp-ext:amd64 (22.40-1518373.22.04) ...
Setting up amdgpu-pro-oglp:amd64 (22.40-1518373.22.04) ...
Setting up libgl1-amdgpu-mesa-glx:amd64 (1:22.3.0.50401-1518338.22.04) ...
Setting up xserver-xorg-core (2:21.1.4-2ubuntu1.7~22.04.1) ...
Setting up xserver-xorg-amdgpu-video-amdgpu (1:22.0.0.50401-1518338.22.04) ...
Setting up amdgpu-lib (1:5.4.50401-1518338.22.04) ...
Setting up amdgpu (1:5.4.50401-1518338.22.04) ...
Setting up amdgpu-pro (22.40-1518373.22.04) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
and then
clinfo -l
Platform #0: Clover
Platform #1: AMD Accelerated Parallel Processing
but it does not work.
4.5.6 deb:
update-initramfs: Generating /boot/initrd.img-5.15.0-83-generic
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_0_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes1.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_11_0_3_mes.bin for module amdgpu
demsg:
[ 22.300394] Bridge firewalling registered
[ 22.390156] Initializing XFRM netlink socket
[ 22.697791] docker0: port 1(veth9b437f1) entered blocking state
[ 22.697797] docker0: port 1(veth9b437f1) entered disabled state
[ 22.697881] device veth9b437f1 entered promiscuous mode
[ 22.698275] docker0: port 1(veth9b437f1) entered blocking state
[ 22.698277] docker0: port 1(veth9b437f1) entered forwarding state
[ 22.698313] docker0: port 1(veth9b437f1) entered disabled state
[ 22.980239] eth0: renamed from vetha8e0ece
[ 22.995718] IPv6: ADDRCONF(NETDEV_CHANGE): veth9b437f1: link becomes ready
[ 22.995741] docker0: port 1(veth9b437f1) entered blocking state
[ 22.995744] docker0: port 1(veth9b437f1) entered forwarding state
[ 22.995766] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready
[ 23.107689] [drm:sdma_v5_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out
[ 23.108802] amdgpu 0000:07:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on sdma0 (-110).
[ 24.129181] [drm:sdma_v5_0_ring_test_ib [amdgpu]] *ERROR* amdgpu: IB test timed out
[ 24.129969] amdgpu 0000:07:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on sdma1 (-110).
[ 24.130646] [drm:amdgpu_device_delayed_init_work_handler [amdgpu]] *ERROR* ib ring test failed (-110).
[ 2972.681586] FS-Cache: Loaded
[ 1.880279] pcieport 0000:00:01.0: PCI bridge to [bus 01-03]
[ 1.881103] pcieport 0000:00:01.0: bridge window [io 0x6000-0x6fff]
[ 1.881885] pcieport 0000:00:01.0: bridge window [mem 0x77c00000-0x77dfffff]
[ 1.882668] pcieport 0000:00:01.0: bridge window [mem 0xa00000000-0xbffffffff 64bit pref]
[ 1.883442] pcieport 0000:01:00.0: PCI bridge to [bus 02-03]
[ 1.884217] pcieport 0000:01:00.0: bridge window [io 0x6000-0x6fff]
[ 1.885030] pcieport 0000:01:00.0: bridge window [mem 0x77c00000-0x77cfffff]
[ 1.885797] pcieport 0000:01:00.0: bridge window [mem 0xa00000000-0xbffffffff 64bit pref]
[ 1.886560] pcieport 0000:02:00.0: PCI bridge to [bus 03]
[ 1.887316] pcieport 0000:02:00.0: bridge window [io 0x6000-0x6fff]
[ 1.888074] pcieport 0000:02:00.0: bridge window [mem 0x77c00000-0x77cfffff]
[ 1.888863] pcieport 0000:02:00.0: bridge window [mem 0xa00000000-0xbffffffff 64bit pref]
[ 1.889639] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <gmc_v10_0> failed -19
[ 1.890810] amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_init failed
[ 1.891602] amdgpu 0000:03:00.0: amdgpu: Fatal error during GPU init