1111# Note that if you have "nomodeset" enabled:
1212# "WARNING: nomodeset detected in kernel parameters, amdgpu requires KMS"
1313
14- ROCM_VERSION=" 6.1.2 "
15- ROCM_VERSION2=" 6.1.60102 -1"
14+ ROCM_VERSION=" 6.3.3 "
15+ ROCM_VERSION2=" 6.3.60303 -1"
1616
1717if [ " ${EUID} " -eq 0 ]; then
1818 echo " This script should not be run as root."
@@ -42,7 +42,7 @@ if command -v amdgpu-install >/dev/null 2>&1; then
4242 sudo amdgpu-install --uninstall --rocmrelease=all
4343fi
4444set +e
45- sudo apt purge --ignore-missing amdgpu-install " rocm-*" " rock-*" rocminfo
45+ sudo apt purge --ignore-missing amdgpu-dkms amdgpu-install " rocm-*" " rock-*" rocminfo
4646set -e
4747sudo apt autoremove
4848
@@ -51,29 +51,30 @@ sudo apt dist-upgrade
5151# Prerequisites
5252# https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/prerequisites.html
5353# Clinfo is specified here to ensure that the debug info printing below works.
54- sudo apt install clinfo " linux-headers-$( uname -r) " " linux-modules-extra- $( uname -r ) " wget
55- # sudo apt install gnupg2 libnuma-dev
54+ sudo apt install clinfo " linux-headers-$( uname -r) " wget
55+ # sudo apt install gnupg2 libnuma-dev "linux-modules-extra-$(uname -r)"
5656
5757echo " Setting permissions"
5858sudo usermod -a -G render,video " ${LOGNAME} "
5959
6060# Installation using package manager
61- # wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
62- # echo "deb [arch=amd64] https://repo.radeon.com/rocm/apt/${ROCM_VERSION}/ ${RELEASE_CHANNEL} main" | sudo tee /etc/apt/sources.list.d/rocm.list
63-
64- # Installation using amdgpu-install
6561FILENAME=" amdgpu-install_${ROCM_VERSION2} _all.deb"
66- wget " https://repo.radeon.com/amdgpu-install/${ROCM_VERSION} /ubuntu/jammy /${FILENAME} " -O " ${SCRIPT_DIR} /${FILENAME} "
62+ wget " https://repo.radeon.com/amdgpu-install/${ROCM_VERSION} /ubuntu/noble /${FILENAME} " -O " ${SCRIPT_DIR} /${FILENAME} "
6763sudo apt install " ${SCRIPT_DIR} /${FILENAME} "
6864
6965sudo apt update
70- sudo amdgpu-install --usecase=graphics,rocm
71- sudo apt install nvtop rocminfo rocm-smi
66+
67+ # Installation using amdgpu-install
68+ # sudo amdgpu-install --usecase=graphics,rocm
69+
70+ # These should be included in rocm: amd-smi-lib rocminfo
71+ # These are legacy: rocm-smi
72+ # A newer version of this is already included in the kernel: amdgpu-dkms
73+ sudo apt install nvtop rocm
7274
7375# The OpenCL packages should be included in the base rocm installation but are included here just in case.
7476# sudo apt install rocm-dev rocm-opencl-dev rocminfo
7577
76-
7778echo " Printing debug info. It may take a reboot for it to update."
7879clinfo
7980
0 commit comments