Я отправил этот вопрос на форумах сообщества AMD, но решил также отправить его здесь, поскольку это казалось относящимся к Ubuntu.
У меня, кажется, есть проблемы, устанавливающие последний драйвер на Сервере Ubuntu. Я установил amdgpu-про 18.2 на Ubuntu 18.04 в прошлом, но я не могу вообще заставлять amdgpu-про 18.40-676022 драйверов (Загрузка, Не Завершенная | AMD из программного обеспечения Radeon™ для Linux® 18.40 Highlights | AMD) устанавливать на новой установке Сервера Ubuntu 18.04.1. Я загрузил драйвер дважды и проверил, что у обоих были те же контрольные суммы SHA256 (там официальный репозиторий контрольных сумм драйвера?)
Это не работает ни самостоятельно, ни с флагами
$ ./amdgpu-pro-install 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 Hit:4 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Fetched 172 kB in 4s (45.3 kB/s) Reading package lists... Done Package: *amdgpu* Pin: release o=AMD Pin: version *-676022 Pin-Priority: 1000 Package: *amdgpu*:i386 Pin: release o=AMD Pin: version *-676022 Pin-Priority: 1000 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: amdgpu : Depends: mesa-amdgpu-va-drivers (= 1:18.1.0-676022) but it is not going to be installed Depends: mesa-amdgpu-omx-drivers (= 1:18.1.0-676022) but it is not going to be installed Depends: gst-omx-amdgpu (= 1.0.0.1-676022) but it is not going to be installed amdgpu-lib32 : Depends: libdrm2-amdgpu:i386 (= 1:2.4.92-676022) Depends: libdrm-amdgpu-amdgpu1:i386 (= 1:2.4.92-676022) Depends: libllvm6.0-amdgpu:i386 (= 1:6.0-676022) Depends: libwayland-amdgpu-client0:i386 (= 1.14.0-676022) Depends: libwayland-amdgpu-server0:i386 (= 1.14.0-676022) Depends: libxatracker2-amdgpu:i386 (= 1:18.1.0-676022) Depends: libgbm1-amdgpu:i386 (= 1:18.1.0-676022) Depends: libegl1-amdgpu-mesa:i386 (= 1:18.1.0-676022) Depends: libegl1-amdgpu-mesa-drivers:i386 (= 1:18.1.0-676022) Depends: libwayland-amdgpu-egl1-mesa:i386 (= 1:18.1.0-676022) Depends: libgles1-amdgpu-mesa:i386 (= 1:18.1.0-676022) Depends: libgles2-amdgpu-mesa:i386 (= 1:18.1.0-676022) Depends: libglapi-amdgpu-mesa:i386 (= 1:18.1.0-676022) Depends: libgl1-amdgpu-mesa-glx:i386 (= 1:18.1.0-676022) Depends: libgl1-amdgpu-mesa-dri:i386 (= 1:18.1.0-676022) Depends: libosmesa6-amdgpu:i386 (= 1:18.1.0-676022) Depends: mesa-amdgpu-va-drivers:i386 (= 1:18.1.0-676022) Depends: mesa-amdgpu-vdpau-drivers:i386 (= 1:18.1.0-676022) amdgpu-pro-lib32 : Depends: libgl1-amdgpu-pro-glx:i386 (= 18.40-676022) Depends: libegl1-amdgpu-pro:i386 (= 18.40-676022) Depends: libgles2-amdgpu-pro:i386 (= 18.40-676022) Depends: libgl1-amdgpu-pro-dri:i386 (= 18.40-676022) Depends: libgbm1-amdgpu-pro:i386 (= 18.40-676022) vulkan-amdgpu-pro:i386 : Depends: libc6:i386 (>= 2.17) but it is not installable Depends: libgcc1:i386 (>= 1:3.3.1) but it is not installable Depends: libstdc++6:i386 (>= 4.8) but it is not installable Depends: wsa-amdgpu:i386 but it is not going to be installed E: Unable to correct problems, you have held broken packages.
$ ./amdgpu-pro-install --opencl=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 Hit:4 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Fetched 172 kB in 5s (32.7 kB/s) Reading package lists... Done Package: *amdgpu* Pin: release o=AMD Pin: version *-676022 Pin-Priority: 1000 Package: *amdgpu*:i386 Pin: release o=AMD Pin: version *-676022 Pin-Priority: 1000 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: amdgpu : Depends: mesa-amdgpu-va-drivers (= 1:18.1.0-676022) but it is not going to be installed Depends: mesa-amdgpu-omx-drivers (= 1:18.1.0-676022) but it is not going to be installed Depends: gst-omx-amdgpu (= 1.0.0.1-676022) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
Я также попытался обновить 18,2 драйверов до 18,4 на сервере человечности 18.04, и это вызвало проблемы, и теперь я не могу даже удалить amdgpu-про на 18,04 серверах для понижения до 18,2
$ amdgpu-pro-uninstall Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: amdgpu : Depends: amdgpu-core (= 18.40-676022) but it is not going to be installed Depends: libdrm-amdgpu-common (= 1.0.0-676022) but it is not going to be installed amdgpu-dkms : Depends: amdgpu-core but it is not going to be installed amdgpu-pro-core : Depends: amdgpu-core but it is not going to be installed glamor-amdgpu : Depends: amdgpu-core but it is not going to be installed gst-omx-amdgpu : Depends: amdgpu-core but it is not going to be installed ids-amdgpu : Depends: amdgpu-core but it is not going to be installed libdrm-amdgpu-amdgpu1 : Depends: libdrm-amdgpu-common but it is not going to be installed libdrm-amdgpu-amdgpu1:i386 : Depends: libdrm-amdgpu-common:i386 libdrm2-amdgpu : Depends: amdgpu-core but it is not going to be installed libdrm2-amdgpu:i386 : Depends: amdgpu-core:i386 libegl1-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed libegl1-amdgpu-mesa:i386 : Depends: amdgpu-core:i386 libgbm1-amdgpu : Depends: amdgpu-core but it is not going to be installed libgbm1-amdgpu:i386 : Depends: amdgpu-core:i386 libgl1-amdgpu-mesa-dri : Depends: amdgpu-core but it is not going to be installed Recommends: libtxc-dxtn-s2tc0 but it is not installable or libtxc-dxtn0 but it is not installable libgl1-amdgpu-mesa-dri:i386 : Depends: amdgpu-core:i386 Recommends: libtxc-dxtn-s2tc0:i386 but it is not installable or libtxc-dxtn0:i386 but it is not installable libglapi-amdgpu-mesa : Depends: amdgpu-core but it is not going to be installed libglapi-amdgpu-mesa:i386 : Depends: amdgpu-core:i386 libllvm6.0-amdgpu : Depends: amdgpu-core but it is not going to be installed libllvm6.0-amdgpu:i386 : Depends: amdgpu-core:i386 libwayland-amdgpu-client0 : Depends: amdgpu-core but it is not going to be installed libwayland-amdgpu-client0:i386 : Depends: amdgpu-core:i386 libwayland-amdgpu-server0 : Depends: amdgpu-core but it is not going to be installed libwayland-amdgpu-server0:i386 : Depends: amdgpu-core:i386 mesa-amdgpu-va-drivers : Depends: amdgpu-core but it is not going to be installed mesa-amdgpu-va-drivers:i386 : Depends: amdgpu-core:i386 mesa-amdgpu-vdpau-drivers : Depends: amdgpu-core but it is not going to be installed mesa-amdgpu-vdpau-drivers:i386 : Depends: amdgpu-core:i386 wsa-amdgpu:i386 : Depends: amdgpu-core:i386 wsa-amdgpu : Depends: amdgpu-core but it is not going to be installed xserver-xorg-amdgpu-video-amdgpu : Depends: amdgpu-core but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following package was automatically installed and is no longer required: ids-amdgpu Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libdrm-amdgpu-common The following NEW packages will be installed: libdrm-amdgpu-common 0 upgraded, 1 newly installed, 0 to remove and 184 not upgraded. 64 not fully installed or removed. Need to get 0 B/6,736 B of archives. After this operation, 28.7 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-common 1.0.0-676022 [6,736 B] (Reading database ... 114143 files and directories currently installed.) Preparing to unpack .../libdrm-amdgpu-common_1.0.0-676022_all.deb ... Unpacking libdrm-amdgpu-common (1.0.0-676022) ... dpkg: error processing archive /var/opt/amdgpu-pro-local/./libdrm-amdgpu-common_1.0.0-676022_all.deb (--unpack): trying to overwrite '/opt/amdgpu/share/libdrm/amdgpu.ids', which is also in package ids-amdgpu 1.0.0-606296 Errors were encountered while processing: /var/opt/amdgpu-pro-local/./libdrm-amdgpu-common_1.0.0-676022_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt remove amdgpu* Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package amdgpu_18.40-676022_amd64.deb E: Couldn't find any package by glob 'amdgpu_18.40-676022_amd64.deb' E: Couldn't find any package by regex 'amdgpu_18.40-676022_amd64.deb' E: Unable to locate package amdgpu_18.40-676022_i386.deb E: Couldn't find any package by glob 'amdgpu_18.40-676022_i386.deb' E: Couldn't find any package by regex 'amdgpu_18.40-676022_i386.deb' E: Unable to locate package amdgpu-core_18.40-676022_all.deb E: Couldn't find any package by glob 'amdgpu-core_18.40-676022_all.deb' E: Couldn't find any package by regex 'amdgpu-core_18.40-676022_all.deb' E: Unable to locate package amdgpu-dkms_18.40-676022_all.deb E: Couldn't find any package by glob 'amdgpu-dkms_18.40-676022_all.deb' E: Couldn't find any package by regex 'amdgpu-dkms_18.40-676022_all.deb' E: Unable to locate package amdgpu-doc_18.40-676022_all.deb E: Couldn't find any package by glob 'amdgpu-doc_18.40-676022_all.deb' E: Couldn't find any package by regex 'amdgpu-doc_18.40-676022_all.deb' E: Unable to locate package amdgpu-install E: Unable to locate package amdgpu-lib32_18.40-676022_amd64.deb E: Couldn't find any package by glob 'amdgpu-lib32_18.40-676022_amd64.deb' E: Couldn't find any package by regex 'amdgpu-lib32_18.40-676022_amd64.deb' E: Unable to locate package amdgpu-pro_18.40-676022_amd64.deb E: Couldn't find any package by glob 'amdgpu-pro_18.40-676022_amd64.deb' E: Couldn't find any package by regex 'amdgpu-pro_18.40-676022_amd64.deb' E: Unable to locate package amdgpu-pro_18.40-676022_i386.deb E: Couldn't find any package by glob 'amdgpu-pro_18.40-676022_i386.deb' E: Couldn't find any package by regex 'amdgpu-pro_18.40-676022_i386.deb' E: Unable to locate package amdgpu-pro-core_18.40-676022_all.deb E: Couldn't find any package by glob 'amdgpu-pro-core_18.40-676022_all.deb' E: Couldn't find any package by regex 'amdgpu-pro-core_18.40-676022_all.deb' E: Unable to locate package amdgpu-pro-install E: Unable to locate package amdgpu-pro-lib32_18.40-676022_amd64.deb E: Couldn't find any package by glob 'amdgpu-pro-lib32_18.40-676022_amd64.deb' E: Couldn't find any package by regex 'amdgpu-pro-lib32_18.40-676022_amd64.deb'https://drivers.amd.com/drivers/linux/amdgpu-pro-18.40-676022-ubuntu-18.04.tar.xz
Я пытался установить
amdgpu-pro-18.20-606296
драйвер на Сервере Ubuntu 18.04.01 и я, кажется, получил те же сообщения об ошибках. Возможно, это - проблема с репозиториями человечности или чем-то.Я пытался установить драйвер AMD 18.40 в виртуальной машине (Рабочий стол Ubuntu 18.04.1, рабочий стол Ubuntu 16.04.5, Сервер Ubuntu 16.04.5, Сервер Ubuntu 18.04.1)
- Настольные 18: казалось, устанавливал, но дал ошибку:
WARNING: amdgpu dkms failed for running kernel
(принимающий это имеет некоторое отношение к виртуальной машине),
- Настольные 16: то же как Настольные 18
- Сервер 16: казалось, устанавливал без проблемы
Сервер 18: те же проблемы как выше, также попробованный драйверами 18.20 и 18.30 AMD и ни один не работал, все дали
Depends: mesa-amdgpu-va-drivers ... but it is not going to be installed
Я пытался установить пакет вручную, который привел кDepends: libval1-amdgpu ... Package 'libva1-amdgpu' has no installation candidate
Таким образом, я предполагаю, что это - проблема, характерная для Сервера 18.04.1 и не Ubuntu 18.04.1 в целом, так как это, кажется, устанавливает прекрасный в Рабочем столе Ubuntu 18.04.1.
Я пытался изменить зеркало в сервере 18.04.1 установки от
http://archive.ubuntu.com/ubuntu
кому:http://ao.archive.ubuntu.com/ubuntu
так как это - зеркальный рабочий стол, кажется, использует, но это, казалось, ничего не сделало.Подтвержденная работа над Рабочим столом Ubuntu 18.04.1. Я установил Рабочий стол Ubuntu 18.04.1 на флеш-накопитель и смог установить amd-gpu-pro 18.40 и успешно выполнить его с RX 470.
Все еще не установит на Сервере Ubuntu 18.04.1, и я все еще понятия не имею почему.
На вопрос ответил в этом потоке на Сообществе AMD jgrevich.
Из поля 18.04 не имеет тех пакетов. Попытайтесь добавить вселенную способный repo:
sudo apt-add-repository universe
Для тех, кто не мог установить путем добавления вселенной, repo может попробовать
sudo dpkg --add-architecture i386
Поскольку зависимости являются i386. Я не знаю то, что другие проблемы это может создать особенно при установке других пакетов позже - так используйте его на Ваш собственный риск.