LINUX.ORG.RU

Ошибки при установке amdgpu

 , ,


0

1

Имею ноут с Intel + Radeon. Не получается установить драйвера для видеокарты

$ lspci | grep -i "VGA\|display"
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] (rev 81)

                                       root@enotke-Inspiron-5759
 MMMMMMMMMMMMMMMMMMMMMMMMMmds+.        OS: Linuxmint 21 vanessa
 MMm----::-://////////////oymNMd+`     Kernel: x86_64 Linux 5.15.0-52-generic
 MMd      /++                -sNMd:    Uptime: 8h 51m
 MMNso/`  dMM    `.::-. .-::.` .hMN:   Packages: 2527
 ddddMMh  dMM   :hNMNMNhNMNMNh: `NMm   Shell: sudo
     NMm  dMM  .NMN/-+MMM+-/NMN` dMM   Resolution: 1600x900
     NMm  dMM  -MMm  `MMM   dMM. dMM   DE: Cinnamon 5.4.12
     NMm  dMM  -MMm  `MMM   dMM. dMM   WM: Mutter
     NMm  dMM  .mmd  `mmm   yMM. dMM   WM Theme: Mint-Y
     NMm  dMM`  ..`   ...   ydm. dMM   GTK Theme: Mint-Y [GTK2/3]
     hMM- +MMd/-------...-:sdds  dMM   Icon Theme: Mint-Y
     -NMm- :hNMNNNmdddddddddy/`  dMM   Font: Ubuntu 10
      -dMNs-``-::::-------.``    dMM   Disk: 201G / 220G (97%)
       `/dMNmy+/:-------------:/yMMM   CPU: Intel Core i5-6200U @ 4x 2.8GHz [56.0°C]
          ./ydNMMMMMMMMMMMMMMMMMMMMM   GPU: Mesa Intel(R) HD Graphics 520 (SKL GT2)
             \.MMMMMMMMMMMMMMMMMMM     RAM: 3163MiB / 15893MiB

Скачал драйвера, но они не устанавливаются из за каких то конфликтов

enotke@enotke-Inspiron-5759:~$ sudo amdgpu-install 
Сущ:1 https://dl.yarnpkg.com/debian stable InRelease
Сущ:2 http://mirrors.asnet.am/ubuntu jammy InRelease                                                                                                                       
Сущ:3 http://mirrors.asnet.am/ubuntu jammy-updates InRelease                                                                                                               
Сущ:4 http://mirrors.asnet.am/ubuntu jammy-backports InRelease                                                                                                             
Сущ:5 https://linux.teamviewer.com/deb stable InRelease                                                                                                                    
Сущ:6 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                              
Пол:7 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]                                                                                                  
Сущ:8 http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu jammy InRelease                                                                                                     
Сущ:9 https://repo.skype.com/deb stable InRelease                                                                                                                          
Сущ:10 http://ppa.launchpad.net/linrunner/tlp/ubuntu jammy InRelease                                                                                                       
Сущ:11 https://repo.radeon.com/amdgpu/5.4/ubuntu focal InRelease                                                                                                           
Сущ:12 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu jammy InRelease                                                                                              
Игн:13 https://mirror.turhost.com/linuxmint/repo vanessa InRelease                                                                                
Сущ:14 https://mirror.turhost.com/linuxmint/repo vanessa Release                                                                                  
Сущ:15 https://repo.radeon.com/rocm/apt/5.4 focal InRelease                                                                                       
Сущ:16 https://packages.microsoft.com/repos/ms-teams stable InRelease                                     
Получено 110 kB за 2с (53,3 kB/s)         
Чтение списков пакетов… Готово
W: https://dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Чтение списков пакетов… Готово
Построение дерева зависимостей… Готово
Чтение информации о состоянии… Готово         
Уже установлен пакет linux-headers-5.15.0-52-generic самой новой версии (5.15.0-52.58).
linux-headers-5.15.0-52-generic помечен как установленный вручную.
Некоторые пакеты не могут быть установлены. Возможно, то, что вы просите,
неосуществимо, или же вы используете нестабильную версию дистрибутива, где
запрошенные вами пакеты ещё не созданы или были удалены из Incoming.
Следующая информация, возможно, вам поможет:

Следующие пакеты имеют неудовлетворённые зависимости:
 xserver-xorg-amdgpu-video-amdgpu : Зависит: xorg-video-abi-24 но он не может быть установлен
E: Невозможно исправить ошибки: у вас зафиксированы сломанные пакеты.

Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 M430 Radeon
    520 Mobile]
    vendor: Dell driver: radeon v: kernel bus-ID: 01:00.0
  Device-3: Microdia Integrated Webcam HD type: USB driver: uvcvideo
    bus-ID: 1-5:4
  Display: x11 server: X.Org v: 1.21.1.3 driver: X:
    loaded: ati,modesetting,radeon unloaded: fbdev,vesa gpu: i915
    resolution: 1600x900~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2)
    v: 4.6 Mesa 22.3.1 - kisak-mesa PPA direct render: Yes

Вычитал под свежую версию системы таких драйверов нет и нужно откатываться до Ubuntu 16. Есть ли возможность установить драйвера на текущую систему?


Данный пакет есть в focal и bionic:

В jammy его нет, т.к. там и так новый xorg-server.

Проблема в пакете xserver-xorg-amdgpu-video-amdgpu.

Сущ:11 https://repo.radeon.com/amdgpu/5.4/ubuntu focal InRelease 

Зачем ты подключил репозиторий от focal, если у тебя jammy?

Вот есть релиз: https://repo.radeon.com/amdgpu/5.4/ubuntu/dists/jammy/

kostik87 ★★★★★
()
Последнее исправление: kostik87 (всего исправлений: 2)
Ответ на: комментарий от kostik87

Да, не посмотрел. Я устанавливал при помощи пакета amdgpu-install и он добавил эти репозитории. Подключил пакет для jammy и amdgpu-install теперь не может найти нужные пакеты. Установил пакет xserver-xorg-amdgpu-video-amdgpu, но проблема не решилась

Enot
() автор топика
Ответ на: комментарий от Enot
Сущ:11 https://repo.radeon.com/amdgpu/5.4/ubuntu focal InRelease                                                                                                           
Сущ:15 https://repo.radeon.com/rocm/apt/5.4 focal InRelease 

Вот что это?

Ещё раз, отключи репозитории от focal. Точнее замени focal на jammy.

Обнови список пакетов

apt update

И ставь.

https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-22-20

https://amdgpu-install.readthedocs.io/en/latest/install-prereq.html#downloading-the-installer-package

kostik87 ★★★★★
()
Последнее исправление: kostik87 (всего исправлений: 1)