Vega 56 drivers, falta de firmware

1

No kernel nulo do linux 4.13.3_1 estou tendo problemas para fazer com que os drivers amdgpu funcionem.

Saída relevante do dmesg:

[    0.944960] [drm] amdgpu kernel modesetting enabled.
[    0.945421] [drm] initializing kernel modesetting (VEGA10 0x1002:0x687F 0x1002:0x6B76 0xC3).
[    0.945426] [drm] register mmio base: 0xED400000
[    0.945426] [drm] register mmio size: 524288
[    0.945450] amdgpu 0000:44:00.0: Direct firmware load for amdgpu/vega10_gpu_info.bin failed with error -2
[    0.945450] amdgpu 0000:44:00.0: Falling back to user helper
[    1.951031] tsc: Refined TSC clocksource calibration: 3393.622 MHz
[    1.951217] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x30eac5b3ab4, max_idle_ns: 440795272524 ns
[    2.959338] clocksource: Switched to clocksource tsc
[   62.431041] amdgpu 0000:44:00.0: Failed to load gpu_info firmware "amdgpu/vega10_gpu_info.bin"
[   62.431110] amdgpu 0000:44:00.0: Fatal error during GPU init
[   62.431170] [drm] amdgpu: finishing device.
[   62.431170] [TTM] Memory type 2 has not been initialized
[   62.431668] amdgpu: probe of 0000:44:00.0 failed with error -11

Estou criando sem o initramfs. Não consigo encontrar a pasta amdgpu abaixo de / lib / modules, mas pode ser porque eles estão incluídos no kernel.

Algumas configurações do kernel:

CONFIG_DRM_AMDGPU=y
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
CONFIG_DRM_AMDGPU_GART_DEBUGFS=y

Ter marcado "Incluir blobs de firmware no kernel no binário do kernel".

Eu tenho linux-firmware instalado a partir de xbps.

Edit: Eu tenho amdgpu.exp_hw_support=1 adicionado aos parâmetros do kernel.

    
por Jonas 22.09.2017 / 19:26

1 resposta

0

Você precisa baixar os arquivos de firmware da sua GPU e copiá-los para /lib/firmware/amdgpu . O kernel deve então poder carregá-los.

    
por 22.09.2017 / 22:10