Re: Problem with Radeon

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Tue, 07 Jun 2022 12:14:18 UTC
On Tue, 7 Jun 2022 12:10:35 +0000 (UTC)
Filippo Moretti <filippomore@yahoo.com> wrote:

> I have reinstalled CURRENT and I get an error while trying to initialize radeon:it was working fine before reinstalling CURRENT.
> 
> [drm] radeon kernel modesetting enabled.                                                                  
> drmn0: <drmn> on vgapci0                                                                                  
> vgapci0: child drmn0 requested pci_enable_io                                                              
> vgapci0: child drmn0 requested pci_enable_io                                                              
> sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!                                                    
> [drm] initializing kernel modesetting (REDWOOD 0x1002:0x68D8 0x1043:0x0356 0x00)                          .                                                                                   
> [drm ERROR :radeon_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATO                          M IIO                                                                                               
> ATOM BIOS: 68D8.12.17.0.4.AS06.U122
> drmn0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
> drmn0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
> [drm] Detected VRAM RAM=1024M, BAR=256M
> [drm] RAM width 128bits DDR
> [TTM] Zone  kernel: Available graphics memory: 8373714 KiB
> [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
> [TTM] Initializing pool allocator
> [drm] radeon: 1024M of VRAM memory ready
> [drm] radeon: 1024M of GTT memory ready.
> [drm] Loading REDWOOD Microcode
> drmn0: could not load firmware image 'radeon/REDWOOD_pfp.bin'
> r600_cp: Failed to load firmware "radeon/REDWOOD_pfp.bin"
> [drm ERROR :evergreen_init] Failed to load firmware!
> drmn0: Fatal error during GPU init
> [drm] radeon: finishing device.
> [TTM] Finalizing pool allocator
> [TTM] Zone  kernel: Used memory at exit: 0 KiB
> [TTM] Zone   dma32: Used memory at exit: 0 KiB
> [drm] radeon: ttm finalized
> Warning: can't remove non-dynamic nodes (dri)!
> device_attach: drmn0 attach returned 2
> acpi_wmi0: <ACPI-WMI mapping> on acpi0
> These are the ports installed:drm-510-kmod-5.10.113_1        DRM drivers modules
> drm-kmod-20220501              Metaport of DRM modules for the linuxkpi-based KMS components
> gpu-firmware-amd-kmod-banks-20220511 Firmware modules for banks AMD GPUs
> gpu-firmware-kmod-20220511,1   Firmware modules for the drm-kmod drivers
> gpu-firmware-radeon-kmod-aruba-20220511 Firmware modules for aruba Radeon GPUs

 "drmn0: could not load firmware image 'radeon/REDWOOD_pfp.bin'"
 You don't have the firmware installed for your card.
 How did you installed the packages ? because I see that you have
gpu-firmware-kmod so it should have installed all of them.
 Anyway, pkg install gpu-firmware-radeon-kmod-redwood should solve your
problems.

> FreeBSD STING 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-85d7875d42: Mon Jun  6 13:40:11 CEST 2022     filippo@STING:/usr/obj/usr/src/amd64.amd64/sys/STING amd64


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>