Open ObliqueSinter opened 2 years ago
[ 4.825127] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/polaris12_mc.bin failed with error -2
[ 4.825152] amdgpu: mc: Failed to load firmware "amdgpu/polaris12_mc.bin"
[ 4.825578] [drm:gmc_v8_0_sw_init [amdgpu]] *ERROR* Failed to load mc firmware!
It should be in the linux-firmware package, or otherwise is available from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu. Copy it to /lib/firmware/amdgpu.
It should be in the linux-firmware package, or otherwise is available from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/amdgpu. Copy it to /lib/firmware/amdgpu.
Oops, I missed that step, thanks!
Still no joy, though. All screens blank, serial console non-responsive. Following is serial console output, from power on to freeze:
recovery.elf not found (6)
Read start4.elf bytes 2241504 hnd 0x0000e984 hash '61557506bbcf746b'
Read fixup4.dat bytes 5411 hnd 0x0000041e hash 'ce9c0be09a40d74a'
0x00a03140 0x00000000 0x00000fff
MEM GPU: 76 ARM: 948 TOTAL: 1024
Starting start4.elf @ 0xfec00200 partition 0
MESS:00:00:04.673626:0: arasan: arasan_emmc_open
MESS:00:00:04.861663:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:04.865061:0: brfs: File read: 2125 bytes
MESS:00:00:04.984568:0: HDMI1:EDID error reading EDID block 0 attempt 0
MESS:00:00:04.994080:0: HDMI1:EDID error reading EDID block 0 attempt 1
MESS:00:00:05.003594:0: HDMI1:EDID error reading EDID block 0 attempt 2
MESS:00:00:05.013102:0: HDMI1:EDID error reading EDID block 0 attempt 3
MESS:00:00:05.022616:0: HDMI1:EDID error reading EDID block 0 attempt 4
MESS:00:00:05.032126:0: HDMI1:EDID error reading EDID block 0 attempt 5
MESS:00:00:05.041640:0: HDMI1:EDID error reading EDID block 0 attempt 6
MESS:00:00:05.051147:0: HDMI1:EDID error reading EDID block 0 attempt 7
MESS:00:00:05.060661:0: HDMI1:EDID error reading EDID block 0 attempt 8
MESS:00:00:05.070171:0: HDMI1:EDID error reading EDID block 0 attempt 9
MESS:00:00:05.074676:0: HDMI1:EDID giving up on reading EDID block 0
MESS:00:00:05.081197:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:05.085942:0: gpioman: gpioman_get_pin_num: pin DISPLAY_SDA not defined
MESS:00:00:05.092256:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:05.120024:0: gpioman: gpioman_get_pin_num: pin FLASH_0_ENABLE not defined
MESS:00:00:05.124662:0: gpioman: gpioman_get_pin_num: pin FLASH_0_INDICATOR not defined
MESS:00:00:05.132403:0: gpioman: gpioman_get_pin_num: pin FLASH_0_ENABLE not defined
MESS:00:00:05.139853:0: gpioman: gpioman_get_pin_num: pin FLASH_0_INDICATOR not defined
MESS:00:00:05.601839:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:05.607482:0: *** Restart logging
MESS:00:00:05.610128:0: brfs: File read: 2125 bytes
MESS:00:00:05.679189:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
MESS:00:00:05.689226:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 1
MESS:00:00:05.703032:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 2
MESS:00:00:05.713120:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 3
MESS:00:00:05.723215:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 4
MESS:00:00:05.733306:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 5
MESS:00:00:05.743401:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 6
MESS:00:00:05.753487:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 7
MESS:00:00:05.763583:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 8
MESS:00:00:05.773673:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 9
MESS:00:00:05.778751:0: hdmi: HDMI1:EDID giving up on reading EDID block 0
MESS:00:00:05.789404:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
MESS:00:00:05.799493:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 1
MESS:00:00:05.809589:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 2
MESS:00:00:05.819676:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 3
MESS:00:00:05.829771:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 4
MESS:00:00:05.839860:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 5
MESS:00:00:05.849955:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 6
MESS:00:00:05.860042:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 7
MESS:00:00:05.870137:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 8
MESS:00:00:05.880227:0: hdmi: HDMI1:EDID error reading EDID block 0 attempt 9
MESS:00:00:05.885304:0: hdmi: HDMI1:EDID giving up on reading EDID block 0
MESS:00:00:05.890907:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:05.899663:0: HDMI0: hdmi_pixel_encoding: 300000000
MESS:00:00:05.905132:0: HDMI1: hdmi_pixel_encoding: 300000000
MESS:00:00:05.911841:0: gpioman: gpioman_get_pin_num: pin CAMERA_0_I2C_PORT not defined
MESS:00:00:05.922767:0: dtb_file 'bcm2711-rpi-cm4.dtb'
MESS:00:00:05.935646:0: brfs: File read: /mfs/sd/bcm2711-rpi-cm4.dtb
MESS:00:00:05.938932:0: Loading 'bcm2711-rpi-cm4.dtb' to 0x100 size 0xc60f
MESS:00:00:05.977752:0: brfs: File read: 50703 bytes
MESS:00:00:05.990558:0: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
MESS:00:00:06.155165:0: brfs: File read: 1667 bytes
MESS:00:00:06.159320:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:06.163034:0: dtparam: audio=on
MESS:00:00:06.191389:0: brfs: File read: 2125 bytes
MESS:00:00:06.207143:0: brfs: File read: /mfs/sd/overlays/vc4-kms-v3d-pi4.dtbo
MESS:00:00:06.369666:0: Loaded overlay 'vc4-kms-v3d'
MESS:00:00:06.816540:0: brfs: File read: 3823 bytes
MESS:00:00:06.820077:0: brfs: File read: /mfs/sd/cmdline.txt
MESS:00:00:06.823781:0: Read command line from file 'cmdline.txt':
MESS:00:00:06.829638:0: 'console=serial0,115200 console=tty1 root=PARTUUID=cb5aee81-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles'
MESS:00:00:06.884008:0: CMA size reduced to 256MB (total_mem 1024MB, gpu_mem 76MB)
MESS:00:00:06.970399:0: brfs: File read: 148 bytes
MESS:00:00:08.851582:0: brfs: File read: /mfs/sd/kernel8.img
MESS:00:00:08.854142:0: Loading 'kernel8.img' to 0x80000 size 0x1487a00
MESS:00:00:08.881809:0: Kernel relocated to 0x200000
MESS:00:00:08.883656:0: Device tree loaded to 0x2eff3300 (size 0xccb0)
MESS:00:00:08.891476:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:08.898987:0: uart: Baud rate change done...
MESS:00:00:08.901004:0:[ 1.427186] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)```
Going to close this issue for now and consolidate graphics card discussions down to the older AMD card issues:
Hi @geerlingguy would you be able to download a cryptomining software, compile it for ARM and run it for a couple of minutes using this or any other card in this PCI-E slot to find out how much hashes per second it does ?
I am looking for cheap capex and opex solutions (specially in the terms of power usage) and this could be a good solution. Compiling the miner for ARM should not be an issue, but the main doubt is about the current GPU Linux driver how it would perform.
If you are able to do this for a couple of minutes for any GPU card and cryptocurrency we can have some comparison with a traditional one running in either Windows or HiveOS.
Thanks
@ffrediani - I do not do any kind of activity related to crypto mining, so would not be interested in testing anything in that realm.
FYI most of that stuff wouldn't work until the drivers are working well enough for other things regardless, and some features miners rely on require parts of the driver we haven't even touched. So it might or might not ever be possible to do any crypto-related work on a CM4 (BCM2711) and GPUs.
And I'd rather it not be, because that would probably contribute in at least some small way to extending the shortage of both Raspberry Pi hardware and graphics cards, both things that I would not like to see.
Ok Jeff, thanks for replying. The suggested was just a test or a proof of concept, so if it had potential other people interested in using this board for this proposal could consider it. Yes the main doubt is how mature de available drivers are in this architecture. With regards the possible shortage of RPi and GPUs I think that is more a question of supply/demand for general usage which vendors have to endeavour to try balance that. At the end the economics will always dictate that. Thanks anyway.
I'd be really curious to see if it supports V4L2 or VAAPI, it seemed like a really good choice for a Jellyfin cluster ✨
@ObliqueSinter @geerlingguy did perhaps either of you try running ffmpeg -formats
?
Using the stock
amdgpu
driver, the CM4 will fully boot, but HDMI output will be an empty screen with a blinking cursor. System is still accessible via the UART/serial console and appears fully functional. There is no output on any of DisplayPort connectors on the WX2100 card.Output on
lspci -vvk
:Relevant output on
dmesg
:Note that
5.10.81-v8-OBSINDEV
is the name of the kernel I compiled.