Информация
Услуги
  • Внедрение
  • Настройка
  • Поддержка
  • Ремонт
Контакты
Оплата
Новости
Доставка
Загрузки
Форум
Настройка
    info@proxmox.su
    +7 (495) 320-70-49
    Заказать звонок
    Аспро: ЛайтШоп
    Войти
    0 Сравнение
    0 Избранное
    0 Корзина
    Аспро: ЛайтШоп
    Войти
    0 Сравнение
    0 Избранное
    0 Корзина
    Аспро: ЛайтШоп
    Телефоны
    +7 (495) 320-70-49
    Заказать звонок
    0
    0
    0
    Аспро: ЛайтШоп
    • +7 (495) 320-70-49
      • Назад
      • Телефоны
      • +7 (495) 320-70-49
      • Заказать звонок
    • info@proxmox.su
    • Москва, Бакунинская улица, 69с1
    • Пн-Пт: 09-00 до 18-00
      Сб-Вс: выходной
    • 0 Сравнение
    • 0 Избранное
    • 0 Корзина
    Главная
    Форум
    Proxmox Виртуальная Среда
    [РЕШЕНО] Proxmox 8.3.5 / Kernel 6.11.11-1: Не получается настроить передачу AMD iGPU (Ryzen 7 9800X3D / Granite Ridge) на материнской плате X870E.

    Форумы: Proxmox Виртуальная Среда, Proxmox Backup Server, Proxmox Mail Gateway, Proxmox Datacenter Manager
    Поиск  Пользователи  Правила  Войти
    Страницы: 1
    RSS
    [РЕШЕНО] Proxmox 8.3.5 / Kernel 6.11.11-1: Не получается настроить передачу AMD iGPU (Ryzen 7 9800X3D / Granite Ridge) на материнской плате X870E., Proxmox Виртуальная Среда
     
    proxuser25
    Guest
    #1
    0
    20.03.2025 08:53:00
    Привет всем! Я немного выбешиваюсь, пытаясь пробросить iGPU моего Ryzen 7 9800X3D в одну из моих виртуальных машин. Ядро (установлены pve-headers): Linux deb 6.11.11-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.11.11-1 (2025-01-17T15:44Z) x86_64 GNU/Linux.

    Процессор: AMD Ryzen 7 9800X3D
    Материнская плата: Gigabyte X870E

    Оба устройства разделены в собственную группу iommugroup, в которой нет других устройств, поэтому конфликтов нет. У меня нет проблем с пробросом выделенных GPU (Nvidia и AMD).

    Конфигурация ВМ:
    *   agent: 1
    *   args: -cpu 'host,-hypervisor,kvm=off'
    *   bios: ovmf
    *   boot: order=scsi0;ide0;net0
    *   cores: 8
    *   cpu: host
    *   hostpci0: 0000:7c:00.0,pcie=1,romfile=vbios_1002_13c0.bin <- пробовал как мой дамп, так и файл из репозитория GitHub, ничего не помогло.
    *   hostpci1: 0000:7c:00.1,pcie=1
    *   efidisk0: local:123/vm-123-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
    *   machine: pc-q35-9.2
    *   memory: 8192
    *   meta: creation-qemu=9.2.0,ctime=1234
    *   name: iGPUTest
    *   net0: virtio=AA:BB:CC:D:EE:FF,bridge=vmbr5,firewall=1
    *   numa: 0
    *   ostype: win10
    *   scsi0: local:123/vm-123-disk-1.qcow2,iothread=1,size=50G
    *   scsihw: virtio-scsi-single
    *   smbios1: uuid=aaaaaaa-aaaaaaa-aaaaaaa-aaaaaaa-aaaaaaa
    *   sockets: 1
    *   vmgenid: aaaaaaa-aaaaaaa-aaaaaaa-aaaaaaa-aaaaaaa

    dmesg |grep -e DMAR -e IOMMU -e AMD-Vi
    [ 0.159159] AMD-Vi: Using global IVHD EFR:0x246577efa2254afa, EFR2:0x0

    dmesg | grep 'remapping'
    [ 0.480650] AMD-Vi: Interrupt remapping enabled

    dmesg | grep -i vfio
    [ 11.129426] VFIO - User Level meta-driver version: 0.3
    [ 11.146535] vfio-pci 0000:7c:00.0: vgaarb: deactivate vga console
    [ 11.146537] vfio-pci 0000:7c:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none
    [ 11.146643] vfio_pci: add [1002:13c0[ffffffff:ffffffff]] class 0x000000/00000000
    [ 11.170511] vfio_pci: add [1002:1640[ffffffff:ffffffff]] class 0x000000/00000000
    [ 129.110782] vfio-pci 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none
    [ 129.182108] vfio-pci 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none
    [ 129.182253] vfio-pci 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none
    [ 130.559031] vfio-pci 0000:03:00.0: enabling device (0002 -> 0003)
    [ 130.579019] vfio-pci 0000:03:00.1: enabling device (0000 -> 0002)

    lspci -nnk (Host)
    7c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] [1002:13c0] (rev cb)
    Subsystem: Gigabyte Technology Co., Ltd Granite Ridge [Radeon Graphics] [1458:d000]
    Kernel driver in use: vfio-pci
    Kernel modules: amdgpu
    7c:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
    Kernel driver in use: vfio-pci
    Kernel modules: snd_hda_intel

    I also tried following https://github.com/isc30/ryzen-gpu-passthrough-proxmox by either dumping the vbios myself or using the 9800x3d.bin which the repo provides - or using none at all. Within Linux, i have tried multiple kernels, and Windows the device is being detected by either lspci or AMD Adrenaline during install. However, whenever i try to probe the driver (Linux) or to open the Adrenaline App (Windows), both show errors. To be fair, it has worked ONCE on Linux (iGPU listed in /dev/dri*), but never after. Had problems before that as well. Must have been pure luck. Installing the official AMD drivers on Linux did not help either.

    Debian 12 (6.12.12+bpo-amd64) during boot:
    shpchp 0000:05:04.0: pci_hp_register failed with error -16
    shpchp 0000:05:04.0: Slot initialization failed
    snd_hda_intel 0000:00:1b.0: no codecs found!

    Debian 12 (6.12.12+bpo-amd64):
    dmesg |grep -i vfio
    [ 11.129426] VFIO - User Level meta-driver version: 0.3
    [ 11.146535] vfio-pci 0000:7c:00.0: vgaarb: deactivate vga console
    [ 11.146537] vfio-pci 0000:7c:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none
    [ 11.146643] vfio_pci: add [1002:13c0[ffffffff:ffffffff]] class 0x000000/00000000
    [ 11.170511] vfio_pci: add [1002:1640[ffffffff:ffffffff]] class 0x000000/00000000

    dmesg |grep -i amdgpu
    [ 129.110782] vfio-pci 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none

    dmesg |grep -i amdgpu
    [ 11.129426] VFIO - User Level meta-driver version: 0.3
    [ 11.146535] vfio-pci 0000:7c:00.0: vgaarb: deactivate vga console
    [ 11.146537] vfio-pci 0000:7c:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none
    [ 11.146643] vfio_pci: add [1002:13c0[ffffffff:ffffffff]] class 0x000000/00000000
    [ 11.170511] vfio_pci: add [1002:1640[ffffffff:ffffffff]] class 0x000000/00000000

    dmesg |grep -i amdgpu
    [ 11.129426] VFIO - User Level meta-driver version: 0.3
    [ 11.146535] vfio-pci 0000:7c:00.0: vgaarb: deactivate vga console
    [ 11.146537] vfio-pci 0000:7c:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem wns=none
    [ 11.146643] vfio_pci: add [1002:13c0[ffffffff:ffffffff]] class 0x000000/00000000
    [ 11.170511] vfio_pci: add [1002:1640[ffffffff:ffffffff]] class 0x000000/00000000

    lspci -nnk (VM)
    01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] [1002:13c0] (rev cb)
    Subsystem: Gigabyte Technology Co., Ltd Granite Ridge [Radeon Graphics] [1458:d000]
    Kernel modules: amdgpu
    02:00.0 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

    At last, i am suffering the reset bug although using the vendor reset service/ module (Windows VM/ Linux Host). My Host won't reboot properly (hangs). I must power cycle. Checking https://linux-hardware.org/?id=pci:1002-13c0-1043-8877 i am not sure if it should be working.

    Any help is appreciated, thanks!!!
     
     
     
    proxuser25
    Guest
    #2
    0
    20.03.2025 11:50:00
    Работает "из коробки" с Ubuntu Server 24.10 и драйвером Mesa Gallium 24.0.9. Работает даже после перезагрузок (поскольку перезагрузка не полностью отключает виртуальную машину). Тем не менее, ошибка сброса всё ещё раздражает, и новые семейства чипов, такие как Granite Ridge, пока не поддерживаются для сброса поставщиком. Ядро Linux 6.11.0-19-generic #19-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 21:43:43 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux.

    Конфигурация ВМ:
    *   agent: 1
    *   bios: ovmf
    *   boot: order=scsi0;net0
    *   cores: 8
    *   cpu: host
    *   efidisk0: local:910/vm-910-disk-1.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
    *   hostpci0: 0000:7c:00.0,pcie=1,romfile=vbios\_9800x3d.bin
    *   hostpci1: 0000:7c:00.1,pcie=1
    *   machine: q35
    *   memory: 8192
    *   meta: creation-qemu=9.2.0,ctime=123
    *   name: iGPU
    *   net0: virtio=12:34:56:78:90,bridge=vmbr5,firewall=1
    *   numa: 0
    *   ostype: l26
    *   scsi0: local:910/vm-910-disk-0.qcow2,iothread=1,size=32G
    *   scsihw: virtio-scsi-single
    *   smbios1: uuid=aaasfsafasfsafasfas
    *   sockets: 1
    *   vga: none
    *   vmgenid: aaasfsafasfsafasfas

    radeontop

    [Изображение]

    lspci -nnk 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Granite Ridge [Radeon Graphics] [1002:13c0] (rev cb) Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000] Kernel driver in use: amdgpu Kernel modules: amdgpu 02:00.0 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640] Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640] Kernel driver in use: snd\_hda\_intel Kernel modules: snd\_hda\_intel

    ls /dev/dri\*
    by-path
    card0
    card1
    renderD128

    glxinfo (with Display=none)
    name of display: :99
    display: :99
    screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.4

    Небольшая информация от jellyfin-ffmpeg для интересующихся:
    Trying display: drm
    libva info: VA-API version 1.22.0
    libva info: Trying to open /usr/lib/jellyfin-ffmpeg/lib/dri/radeonsi\_drv\_video.so
    libva info: Found init function \_\_vaDriverInit\_1\_22
    libva info: va\_openDriver() returns 0
    vainfo: VA-API version: 1.22 (libva 2.22.0)
    vainfo: Driver version: Mesa Gallium driver 24.0.9 for AMD Radeon Graphics (radeonsi, raphael\_mendocino, LLVM 17.0.6, DRM 3.59, 6.11.0-19-generic)
    vainfo: Supported profile and entrypoints VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main: VAEntrypointVLD VAProfileH264Main: VAEntrypointEncSlice VAProfileH264High: VAEntrypointVLD VAProfileH264High: VAEntrypointEncSlice VAProfileHEVCMain: VAEntrypointVLD VAProfileHEVCMain: VAEntrypointEncSlice VAProfileHEVCMain10: VAEntrypointVLD VAProfileHEVCMain10: VAEntrypointEncSlice VAProfileJPEGBaseline: VAEntrypointVLD VAProfileVP9Profile0: VAEntrypointVLD VAProfileVP9Profile2: VAEntrypointVLD VAProfileAV1Profile0: VAEntrypointVLD VAProfileNone: VAEntrypointVideoProc [AVHWDeviceContext @ 0x5a6386878740] Opened DRM device /dev/dri/renderD128: driver amdgpu version 3.59.0. Applying option init\_hw\_device (initialise hardware device) with argument vulkan@dr. [AVHWDeviceContext @ 0x5a6386878940] Supported layers: VK\_LAYER\_MESA\_device\_select VK\_LAYER\_MESA\_overlay [AVHWDeviceContext @ 0x5a6386878940] Using instance extension VK\_KHR\_portability\_enumeration [AVHWDeviceContext @ 0x5a6386878940] GPU listing: AMD Radeon Graphics (RADV RAPHAEL\_MENDOCINO) (integrated) (0x13c0) [AVHWDeviceContext @ 0x5a6386878940] Requested device: 0x13c0 [AVHWDeviceContext @ 0x5a6386878940] Device 0 selected: AMD Radeon Graphics (RADV RAPHAEL\_MENDOCINO) (integrated) (0x13c0) [AVHWDeviceContext @ 0x5a6386878940] Using device extension VK\_KHR\_push\_descriptor [AVHWDeviceContext @ 0x5a6386878940] Using device extension VK\_EXT\_descriptor\_buffer [AVHWDeviceContext @ 0x5a6386878940] Using device extension VK\_EXT\_physical\_device\_drm [AVHWDeviceContext @ 0x5a6386878940] Using device extension VK\_KHR\_external\_semaphore\_fd [AVHWDeviceContext @ 0x5a6386878940] Using device extension VK\_EXT\_external\_memory\_host [AVHWDeviceContext @ 0x5a6386878940] Using device extension VK\_EXT\_image\_drm\_format\_modifier [AVHWDeviceContext @ 0x5a6386878940] Using device extension VK\_KHR\_external\_semaphore\_fd [AVHWDeviceContext @ 0x5a6386878940] Queue families: 0: graphics compute transfer (queues: 1) 1: compute transfer (queues: 4) 2: sparse (queues: 1) Using device: AMD Radeon Graphics (RADV RAPHAEL\_MENDOCINO) [AVHWDeviceContext @ 0x5a6386878940] Alignments: optimalBufferCopyRowPitchAlignment: 1 minMemoryMapAlignment: 4096 nonCoherentAtomSize: 64 minImportedHostPointerAlignment: 4096 Using queue family 0 (queues: 1) for graphics Using queue family 1 (queues: 4) for compute transfers Successfully parsed a group of options.
     
     
     
    proxuser25
    Guest
    #3
    0
    20.03.2025 15:01:00
    Короче, всё работает как положено, если вас не сильно беспокоит раздражающий баг с перезагрузкой. Я пока не нашёл решения, кроме перезагрузки хоста (интегрированная графика поддерживает только сброс шины).
     
     
     
    Страницы: 1
    Читают тему
    +7 (495) 320-70-49
    info@proxmox.su

    Конфиденциальность Оферта
    © 2026 Proxmox.su
    Главная Каталог 0 Корзина 0 Избранные Кабинет 0 Сравнение Акции Контакты Услуги Бренды Отзывы Компания Лицензии Документы Реквизиты Поиск Блог Обзоры