Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cd /home/amdgpu-pro-21.20-1271047-ubuntu-20.04
- $ ./amdgpu-pro-install -y --opencl=rocr,legacy --headless
- ###############
- deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
- Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
- Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
- Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
- Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
- Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
- Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
- Get:4 file:/var/opt/amdgpu-pro-local ./ Packages [129 kB]
- Hit:5 http://us.archive.ubuntu.com/ubuntu focal InRelease
- Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
- Hit:8 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal InRelease
- Get:9 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.5 kB]
- Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [58.0 kB]
- Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
- Get:13 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [283 kB]
- Get:14 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [329 kB]
- Get:15 http://us.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
- Get:16 http://us.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,780 B]
- Fetched 1,029 kB in 1s (1,085 kB/s)
- Reading package lists... Done
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Selected version '21.20-1271047' (localhost [all]) for 'amdgpu-pro-pin'
- The following NEW packages will be installed:
- amdgpu-pro-pin
- 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
- Need to get 0 B/6,280 B of archives.
- After this operation, 38.9 kB of additional disk space will be used.
- Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-pin 21.20-1271047 [6,280 B]
- Selecting previously unselected package amdgpu-pro-pin.
- (Reading database ... 222942 files and directories currently installed.)
- Preparing to unpack .../amdgpu-pro-pin_21.20-1271047_all.deb ...
- Unpacking amdgpu-pro-pin (21.20-1271047) ...
- Setting up amdgpu-pro-pin (21.20-1271047) ...
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following NEW packages will be installed:
- amdgpu-pin
- 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
- Need to get 0 B/2,836 B of archives.
- After this operation, 27.6 kB of additional disk space will be used.
- Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pin 21.20-1271047 [2,836 B]
- Selecting previously unselected package amdgpu-pin.
- (Reading database ... 222961 files and directories currently installed.)
- Preparing to unpack .../amdgpu-pin_21.20-1271047_all.deb ...
- Unpacking amdgpu-pin (21.20-1271047) ...
- Setting up amdgpu-pin (21.20-1271047) ...
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following additional packages will be installed:
- amdgpu-core amdgpu-dkms-firmware amdgpu-pro-core comgr-amdgpu-pro hip-rocr-amdgpu-pro
- hsa-runtime-rocr-amdgpu hsakmt-roct-amdgpu libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common
- libdrm2-amdgpu ocl-icd-libopencl1-amdgpu-pro opencl-rocr-amdgpu-pro
- The following NEW packages will be installed:
- amdgpu-core amdgpu-dkms amdgpu-dkms-firmware amdgpu-pro-core amdgpu-pro-rocr-opencl
- clinfo-amdgpu-pro comgr-amdgpu-pro hip-rocr-amdgpu-pro hsa-runtime-rocr-amdgpu
- hsakmt-roct-amdgpu libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm2-amdgpu
- ocl-icd-libopencl1-amdgpu-pro opencl-orca-amdgpu-pro-icd opencl-rocr-amdgpu-pro
- 0 upgraded, 16 newly installed, 0 to remove and 7 not upgraded.
- Need to get 0 B/77.3 MB of archives.
- After this operation, 561 MB of additional disk space will be used.
- Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-dkms-firmware 1:5.11.5.26-1271047 [7,846 kB]
- Get:2 file:/var/opt/amdgpu-pro-local ./ amdgpu-dkms 1:5.11.5.26-1271047 [6,658 kB]
- Get:3 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 21.20-1271047 [2,212 B]
- Get:4 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-core 21.20-1271047 [5,552 B]
- Get:5 file:/var/opt/amdgpu-pro-local ./ libdrm2-amdgpu 1:2.4.100-1271047 [35.5 kB]
- Get:6 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-common 1.0.0-1271047 [4,780 B]
- Get:7 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-amdgpu1 1:2.4.100-1271047 [21.0 kB]
- Get:8 file:/var/opt/amdgpu-pro-local ./ hsakmt-roct-amdgpu 1.0.9-1271047 [53.6 kB]
- Get:9 file:/var/opt/amdgpu-pro-local ./ hsa-runtime-rocr-amdgpu 1.3.0-1271047 [420 kB]
- Get:10 file:/var/opt/amdgpu-pro-local ./ comgr-amdgpu-pro 2.1.0-1271047 [30.3 MB]
- Get:11 file:/var/opt/amdgpu-pro-local ./ ocl-icd-libopencl1-amdgpu-pro 21.20-1271047 [13.9 kB]
- Get:12 file:/var/opt/amdgpu-pro-local ./ opencl-rocr-amdgpu-pro 21.20-1271047 [464 kB]
- Get:13 file:/var/opt/amdgpu-pro-local ./ hip-rocr-amdgpu-pro 21.20-1271047 [774 kB]
- Get:14 file:/var/opt/amdgpu-pro-local ./ clinfo-amdgpu-pro 21.20-1271047 [30.8 kB]
- Get:15 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-rocr-opencl 21.20-1271047 [5,400 B]
- Get:16 file:/var/opt/amdgpu-pro-local ./ opencl-orca-amdgpu-pro-icd 21.20-1271047 [30.6 MB]
- Selecting previously unselected package amdgpu-dkms-firmware.
- (Reading database ... 222977 files and directories currently installed.)
- Preparing to unpack .../amdgpu-dkms-firmware_5.11.5.26-1271047_all.deb ...
- Unpacking amdgpu-dkms-firmware (1:5.11.5.26-1271047) ...
- Setting up amdgpu-dkms-firmware (1:5.11.5.26-1271047) ...
- Selecting previously unselected package amdgpu-dkms.
- (Reading database ... 223419 files and directories currently installed.)
- Preparing to unpack .../00-amdgpu-dkms_5.11.5.26-1271047_all.deb ...
- Unpacking amdgpu-dkms (1:5.11.5.26-1271047) ...
- Selecting previously unselected package amdgpu-core.
- Preparing to unpack .../01-amdgpu-core_21.20-1271047_all.deb ...
- Unpacking amdgpu-core (21.20-1271047) ...
- Selecting previously unselected package amdgpu-pro-core.
- Preparing to unpack .../02-amdgpu-pro-core_21.20-1271047_all.deb ...
- Unpacking amdgpu-pro-core (21.20-1271047) ...
- Selecting previously unselected package libdrm2-amdgpu:amd64.
- Preparing to unpack .../03-libdrm2-amdgpu_2.4.100-1271047_amd64.deb ...
- Unpacking libdrm2-amdgpu:amd64 (1:2.4.100-1271047) ...
- Selecting previously unselected package libdrm-amdgpu-common.
- Preparing to unpack .../04-libdrm-amdgpu-common_1.0.0-1271047_all.deb ...
- Unpacking libdrm-amdgpu-common (1.0.0-1271047) ...
- Selecting previously unselected package libdrm-amdgpu-amdgpu1:amd64.
- Preparing to unpack .../05-libdrm-amdgpu-amdgpu1_2.4.100-1271047_amd64.deb ...
- Unpacking libdrm-amdgpu-amdgpu1:amd64 (1:2.4.100-1271047) ...
- Selecting previously unselected package hsakmt-roct-amdgpu:amd64.
- Preparing to unpack .../06-hsakmt-roct-amdgpu_1.0.9-1271047_amd64.deb ...
- Unpacking hsakmt-roct-amdgpu:amd64 (1.0.9-1271047) ...
- Selecting previously unselected package hsa-runtime-rocr-amdgpu:amd64.
- Preparing to unpack .../07-hsa-runtime-rocr-amdgpu_1.3.0-1271047_amd64.deb ...
- Unpacking hsa-runtime-rocr-amdgpu:amd64 (1.3.0-1271047) ...
- Selecting previously unselected package comgr-amdgpu-pro:amd64.
- Preparing to unpack .../08-comgr-amdgpu-pro_2.1.0-1271047_amd64.deb ...
- Unpacking comgr-amdgpu-pro:amd64 (2.1.0-1271047) ...
- Selecting previously unselected package ocl-icd-libopencl1-amdgpu-pro:amd64.
- Preparing to unpack .../09-ocl-icd-libopencl1-amdgpu-pro_21.20-1271047_amd64.deb ...
- Unpacking ocl-icd-libopencl1-amdgpu-pro:amd64 (21.20-1271047) ...
- Selecting previously unselected package opencl-rocr-amdgpu-pro:amd64.
- Preparing to unpack .../10-opencl-rocr-amdgpu-pro_21.20-1271047_amd64.deb ...
- Unpacking opencl-rocr-amdgpu-pro:amd64 (21.20-1271047) ...
- Selecting previously unselected package hip-rocr-amdgpu-pro.
- Preparing to unpack .../11-hip-rocr-amdgpu-pro_21.20-1271047_amd64.deb ...
- Unpacking hip-rocr-amdgpu-pro (21.20-1271047) ...
- Selecting previously unselected package clinfo-amdgpu-pro.
- Preparing to unpack .../12-clinfo-amdgpu-pro_21.20-1271047_amd64.deb ...
- Unpacking clinfo-amdgpu-pro (21.20-1271047) ...
- Selecting previously unselected package amdgpu-pro-rocr-opencl.
- Preparing to unpack .../13-amdgpu-pro-rocr-opencl_21.20-1271047_amd64.deb ...
- Unpacking amdgpu-pro-rocr-opencl (21.20-1271047) ...
- Selecting previously unselected package opencl-orca-amdgpu-pro-icd:amd64.
- Preparing to unpack .../14-opencl-orca-amdgpu-pro-icd_21.20-1271047_amd64.deb ...
- Unpacking opencl-orca-amdgpu-pro-icd:amd64 (21.20-1271047) ...
- Setting up amdgpu-dkms (1:5.11.5.26-1271047) ...
- Loading new amdgpu-5.11.5.26-1271047 DKMS files...
- Building for 5.8.0-59-generic
- Building for architecture x86_64
- Building initial module for 5.8.0-59-generic
- Secure Boot not enabled on this system.
- Done.
- Forcing installation of amdgpu
- amdgpu.ko:
- Running module version sanity check.
- - Original module
- - No original module exists within this kernel
- - Installation
- - Installing to /lib/modules/5.8.0-59-generic/updates/dkms/
- amdttm.ko:
- Running module version sanity check.
- - Original module
- - No original module exists within this kernel
- - Installation
- - Installing to /lib/modules/5.8.0-59-generic/updates/dkms/
- amdkcl.ko:
- Running module version sanity check.
- - Original module
- - No original module exists within this kernel
- - Installation
- - Installing to /lib/modules/5.8.0-59-generic/updates/dkms/
- amd-sched.ko:
- Running module version sanity check.
- - Original module
- - No original module exists within this kernel
- - Installation
- - Installing to /lib/modules/5.8.0-59-generic/updates/dkms/
- Running the post_install script:
- depmod........
- DKMS: install completed.
- update-initramfs: Generating /boot/initrd.img-5.8.0-59-generic
- W: Possible missing firmware /lib/firmware/amdgpu/vangogh_gpu_info.bin for module amdgpu
- W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
- Setting up amdgpu-core (21.20-1271047) ...
- Setting up libdrm-amdgpu-common (1.0.0-1271047) ...
- Setting up amdgpu-pro-core (21.20-1271047) ...
- Setting up comgr-amdgpu-pro:amd64 (2.1.0-1271047) ...
- Setting up ocl-icd-libopencl1-amdgpu-pro:amd64 (21.20-1271047) ...
- Setting up clinfo-amdgpu-pro (21.20-1271047) ...
- Setting up libdrm2-amdgpu:amd64 (1:2.4.100-1271047) ...
- Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.100-1271047) ...
- Setting up hsakmt-roct-amdgpu:amd64 (1.0.9-1271047) ...
- Setting up hsa-runtime-rocr-amdgpu:amd64 (1.3.0-1271047) ...
- Setting up hip-rocr-amdgpu-pro (21.20-1271047) ...
- Setting up opencl-orca-amdgpu-pro-icd:amd64 (21.20-1271047) ...
- Setting up opencl-rocr-amdgpu-pro:amd64 (21.20-1271047) ...
- Setting up amdgpu-pro-rocr-opencl (21.20-1271047) ...
- Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
- ###############
- # Install completes
- # worth a look https://askubuntu.com/questions/1124253/missing-firmware-for-amdgpu
- # reboot will FAIL!!!
- ###############
- $ uname -r
- 5.8.0-59-generic
- ###############
- $ dpkg --list | grep linux-image | grep ^ii
- ii linux-image-5.8.0-45-generic 5.8.0-45.51~20.04.1+1 amd64 Signed kernel image generic
- ii linux-image-5.8.0-59-generic 5.8.0-59.66~20.04.1 amd64 Signed kernel image generic
- ii linux-image-generic-hwe-20.04 5.8.0.59.66~20.04.42 amd64 Generic Linux kernel image
- ###############
- $ clinfo
- Number of platforms 1
- Platform Name AMD Accelerated Parallel Processing
- Platform Vendor Advanced Micro Devices, Inc.
- Platform Version OpenCL 2.0 AMD-APP (3261.0)
- Platform Profile FULL_PROFILE
- Platform Extensions cl_khr_icd cl_amd_event_callback
- Platform Extensions function suffix AMD
- Platform Name AMD Accelerated Parallel Processing
- Number of devices 0
- NULL platform behavior
- clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
- clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
- clCreateContext(NULL, ...) [default] No platform
- clCreateContext(NULL, ...) [other] No platform
- clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
- clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
- clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
- clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
- clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
- clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
- # Note, I do have working GPU's in this system
- ###############
- $ apt show amdgpu-pro
- Package: amdgpu-pro
- Version: 21.20-1271047
- Priority: optional
- Section: metapackages
- Maintainer: Advanced Micro Devices (AMD) <slava.grigorev@amd.com>
- Installed-Size: 17.4 kB
- Depends: amdgpu (= 21.20-1271047), amdgpu-pro-core (= 21.20-1271047), libgl1-amdgpu-pro-glx (= 21.20-1271047), libegl1-amdgpu-pro (= 21.20-1271047), libgles2-amdgpu-pro (= 21.20-1271047), libglapi1-amdgpu-pro (= 21.20-1271047), libgl1-amdgpu-pro-ext (= 21.20-1271047), libgl1-amdgpu-pro-dri (= 21.20-1271047), libgl1-amdgpu-pro-appprofiles (= 21.20-1271047)
- Download-Size: 5,324 B
- APT-Sources: file:/var/opt/amdgpu-pro-local ./ Packages
- Description: Meta package to install amdgpu Pro components.
- ###############
- #end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement