Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638880 - gentoo-sources-4.14 firmware for Radeon HD4670 is not loaded
Summary: gentoo-sources-4.14 firmware for Radeon HD4670 is not loaded
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-26 10:15 UTC by Adam Giergun
Modified: 2017-11-26 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel config (kernel-config-x86_64-4.14.2-gentoo,97.69 KB, text/plain)
2017-11-26 10:17 UTC, Adam Giergun
Details
dmesg full output (dmesg.error,62.04 KB, text/plain)
2017-11-26 10:18 UTC, Adam Giergun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Giergun 2017-11-26 10:15:21 UTC
Info from /var/log/dmsg about failed radeon graphics card init:

[    0.554949] [drm] radeon kernel modesetting enabled.
[    0.555207] [drm] initializing kernel modesetting (RV730 0x1002:0x9490 0x174B:0xE100 0x00).
[    0.555263] ATOM BIOS: 
[    0.555288] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
[    0.555292] radeon 0000:01:00.0: GTT: 1024M 0x0000000020000000 - 0x000000005FFFFFFF
[    0.555296] [drm] Detected VRAM RAM=512M, BAR=256M
[    0.555298] [drm] RAM width 128bits DDR
[    0.555379] [TTM] Zone  kernel: Available graphics memory: 8171680 kiB
[    0.555382] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    0.555383] [TTM] Initializing pool allocator
[    0.555387] [TTM] Initializing DMA pool allocator
[    0.555408] [drm] radeon: 512M of VRAM memory ready
[    0.555410] [drm] radeon: 1024M of GTT memory ready.
[    0.555422] [drm] Loading RV730 Microcode
[    0.555435] radeon 0000:01:00.0: Direct firmware load for radeon/RV730_pfp.bin failed with error -2
[    0.555439] r600_cp: Failed to load firmware "radeon/RV730_pfp.bin"
[    0.555443] [drm:rv770_init] *ERROR* Failed to load firmware!
[    0.555446] radeon 0000:01:00.0: Fatal error during GPU init

Result is no picture (system works).

Kernel configuration for loading firmware is the same as for 4.13 kernel, for which it still works.
Last checked for sys-kernel/gentoo-sources-4.14.2 and sys-kernel/linux-firmware-20171123.

Reproducible: Always
Comment 1 Adam Giergun 2017-11-26 10:17:12 UTC
Created attachment 506698 [details]
kernel config
Comment 2 Adam Giergun 2017-11-26 10:18:56 UTC
Created attachment 506700 [details]
dmesg full output
Comment 3 Brian Evans (RETIRED) gentoo-dev 2017-11-26 14:18:44 UTC
Your configuration does not include the requested radeon/RV730_pfp.bin firmware file.  Please add it or switch CONFIG_DRM_RADEON to m so that changes to firmware are updated automatically.
Comment 4 Adam Giergun 2017-11-26 16:01:57 UTC
Adding radeon/RV730_pfp.bin in kernel option CONFIG_EXTRA_FIRMWARE is not enough, but adding also radeon/RV730_me.bin helps, so it now works with 4.14 kernel.
Probably it should be reflected here https://wiki.gentoo.org/wiki/Radeon
With kernel 4.13 and RV730 it's OK, but (as tested) for kernel 4.14 two additional files should be listed.