Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: halma on March 20, 2018, 01:13:10 PM
-
Hi,
i try to get TC 8.2.1 x64 to run with a amd radeon chipset (1002:9833) to work but while booting it complains:
dmesg | grep -E 'radeon|drm'
[ 8.133418] [drm] Initialized drm 1.1.0 20060810
[ 8.270716] [drm] radeon kernel modesetting enabled.
[ 8.873933] [drm] initializing kernel modesetting (KABINI 0x1002:0x9833 0x1734:0x1202 0x00).
[ 8.888353] [drm] register mmio base: 0xFEB00000
[ 8.895056] [drm] register mmio size: 262144
[ 8.901059] [drm] doorbell mmio base: 0xFC000000
[ 8.907761] [drm] doorbell mmio size: 8388608
[ 8.927477] [drm] GPU not posted. posting now...
[ 8.953203] radeon 0000:00:01.0: VRAM: 32M 0x0000000000000000 - 0x0000000001FFFFFF (32M used)
[ 8.967747] radeon 0000:00:01.0: GTT: 2048M 0x0000000002000000 - 0x0000000081FFFFFF
[ 8.980514] [drm] Detected VRAM RAM=32M, BAR=64M
[ 8.987213] [drm] RAM width 128bits DDR
[ 9.016086] [drm] radeon: 32M of VRAM memory ready
[ 9.023129] [drm] radeon: 2048M of GTT memory ready.
[ 9.030542] [drm] Loading kabini Microcode
[ 9.036241] radeon 0000:00:01.0: Direct firmware load for radeon/kabini_pfp.bin failed with error -2
[ 9.051970] radeon 0000:00:01.0: Falling back to user helper
[ 9.065810] radeon 0000:00:01.0: Direct firmware load for radeon/KABINI_pfp.bin failed with error -2
[ 9.081595] radeon 0000:00:01.0: Falling back to user helper
[ 9.095242] cik_cp: Failed to load firmware "radeon/KABINI_pfp.bin"
[ 9.105287] [drm:0xffffffffa0224f58] *ERROR* Failed to load firmware!
[ 9.115644] radeon 0000:00:01.0: Fatal error during GPU init
[ 9.124424] [drm] radeon: finishing device.
[ 9.158496] [drm] radeon: ttm finalized
[ 9.164221] radeon: probe of 0000:00:01.0 failed with error -11
but also i get this too:
[ 21.725718] r8169 0000:02:00.0: Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2
[ 21.741974] r8169 0000:02:00.0: Falling back to user helper
[ 21.758033] r8169 0000:02:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168g-2.fw (-11)
[ 21.785654] r8169 0000:02:00.0 eth0: link down
the file "firmware-radeon" exists and its mounted
mount | grep firmw
/mnt/sda1/tce/optional/firmware-radeon.tcz on /tmp/tcloop/firmware-radeon type squashfs (ro,relatime)
and also i have now a blackscreen.
What can i do or whats wrong ?
ls -hal /tmp/tcloop/firmware-radeon/usr/local/lib/firmware/radeon/
total 6.8M
drwxr-xr-x 2 root root 5.3K Mar 18 2017 ./
drwxr-xr-x 3 root root 29 May 31 2015 ../
-rw-r--r-- 1 root root 8.5K Mar 18 2017 ARUBA_me.bin
-rw-r--r-- 1 root root 8.5K Mar 18 2017 ARUBA_pfp.bin
-rw-r--r-- 1 root root 6.0K Mar 18 2017 ARUBA_rlc.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 BARTS_mc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 BARTS_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 BARTS_pfp.bin
-rw-r--r-- 1 root root 25K Mar 18 2017 BARTS_smc.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 BONAIRE_ce.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 BONAIRE_mc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 BONAIRE_mc2.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 BONAIRE_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 BONAIRE_mec.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 BONAIRE_pfp.bin
-rw-r--r-- 1 root root 8.0K Mar 18 2017 BONAIRE_rlc.bin
-rw-r--r-- 1 root root 4.2K Mar 18 2017 BONAIRE_sdma.bin
-rw-r--r-- 1 root root 128K Mar 18 2017 BONAIRE_smc.bin
-rw-r--r-- 1 root root 227K Mar 18 2017 BONAIRE_uvd.bin
-rw-r--r-- 1 root root 77K Mar 18 2017 BONAIRE_vce.bin
-rw-r--r-- 1 root root 3.0K Mar 18 2017 BTC_rlc.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 CAICOS_mc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 CAICOS_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 CAICOS_pfp.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 CAICOS_smc.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 CAYMAN_mc.bin
-rw-r--r-- 1 root root 8.5K Mar 18 2017 CAYMAN_me.bin
-rw-r--r-- 1 root root 8.5K Mar 18 2017 CAYMAN_pfp.bin
-rw-r--r-- 1 root root 4.0K Mar 18 2017 CAYMAN_rlc.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 CAYMAN_smc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 CEDAR_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 CEDAR_pfp.bin
-rw-r--r-- 1 root root 3.0K Mar 18 2017 CEDAR_rlc.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 CEDAR_smc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 CYPRESS_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 CYPRESS_pfp.bin
-rw-r--r-- 1 root root 3.0K Mar 18 2017 CYPRESS_rlc.bin
-rw-r--r-- 1 root root 25K Mar 18 2017 CYPRESS_smc.bin
-rw-r--r-- 1 root root 114K Mar 18 2017 CYPRESS_uvd.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 HAINAN_ce.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 HAINAN_mc.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 HAINAN_mc2.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 HAINAN_me.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 HAINAN_pfp.bin
-rw-r--r-- 1 root root 8.0K Mar 18 2017 HAINAN_rlc.bin
-rw-r--r-- 1 root root 58K Mar 18 2017 HAINAN_smc.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 HAWAII_ce.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 HAWAII_mc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 HAWAII_mc2.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 HAWAII_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 HAWAII_mec.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 HAWAII_pfp.bin
-rw-r--r-- 1 root root 8.0K Mar 18 2017 HAWAII_rlc.bin
-rw-r--r-- 1 root root 4.2K Mar 18 2017 HAWAII_sdma.bin
-rw-r--r-- 1 root root 128K Mar 18 2017 HAWAII_smc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 JUNIPER_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 JUNIPER_pfp.bin
-rw-r--r-- 1 root root 3.0K Mar 18 2017 JUNIPER_rlc.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 JUNIPER_smc.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 KABINI_ce.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 KABINI_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 KABINI_mec.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 KABINI_pfp.bin
-rw-r--r-- 1 root root 10K Mar 18 2017 KABINI_rlc.bin
-rw-r--r-- 1 root root 4.2K Mar 18 2017 KABINI_sdma.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 KAVERI_ce.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 KAVERI_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 KAVERI_mec.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 KAVERI_pfp.bin
-rw-r--r-- 1 root root 10K Mar 18 2017 KAVERI_rlc.bin
-rw-r--r-- 1 root root 4.2K Mar 18 2017 KAVERI_sdma.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 MULLINS_ce.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 MULLINS_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 MULLINS_mec.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 MULLINS_pfp.bin
-rw-r--r-- 1 root root 10K Mar 18 2017 MULLINS_rlc.bin
-rw-r--r-- 1 root root 4.2K Mar 18 2017 MULLINS_sdma.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 OLAND_ce.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 OLAND_mc.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 OLAND_mc2.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 OLAND_me.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 OLAND_pfp.bin
-rw-r--r-- 1 root root 8.0K Mar 18 2017 OLAND_rlc.bin
-rw-r--r-- 1 root root 58K Mar 18 2017 OLAND_smc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 PALM_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 PALM_pfp.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 PITCAIRN_ce.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 PITCAIRN_mc.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 PITCAIRN_mc2.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 PITCAIRN_me.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 PITCAIRN_pfp.bin
-rw-r--r-- 1 root root 8.0K Mar 18 2017 PITCAIRN_rlc.bin
-rw-r--r-- 1 root root 59K Mar 18 2017 PITCAIRN_smc.bin
-rw-r--r-- 1 root root 2.0K Mar 18 2017 R100_cp.bin
-rw-r--r-- 1 root root 2.0K Mar 18 2017 R200_cp.bin
-rw-r--r-- 1 root root 2.0K Mar 18 2017 R300_cp.bin
-rw-r--r-- 1 root root 2.0K Mar 18 2017 R420_cp.bin
-rw-r--r-- 1 root root 2.0K Mar 18 2017 R520_cp.bin
-rw-r--r-- 1 root root 21K Mar 18 2017 R600_me.bin
-rw-r--r-- 1 root root 2.3K Mar 18 2017 R600_pfp.bin
-rw-r--r-- 1 root root 3.0K Mar 18 2017 R600_rlc.bin
-rw-r--r-- 1 root root 73K Mar 18 2017 R600_uvd.bin
-rw-r--r-- 1 root root 4.0K Mar 18 2017 R700_rlc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 REDWOOD_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 REDWOOD_pfp.bin
-rw-r--r-- 1 root root 3.0K Mar 18 2017 REDWOOD_rlc.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 REDWOOD_smc.bin
-rw-r--r-- 1 root root 2.0K Mar 18 2017 RS600_cp.bin
-rw-r--r-- 1 root root 2.0K Mar 18 2017 RS690_cp.bin
-rw-r--r-- 1 root root 21K Mar 18 2017 RS780_me.bin
-rw-r--r-- 1 root root 2.3K Mar 18 2017 RS780_pfp.bin
-rw-r--r-- 1 root root 89K Mar 18 2017 RS780_uvd.bin
-rw-r--r-- 1 root root 21K Mar 18 2017 RV610_me.bin
-rw-r--r-- 1 root root 2.3K Mar 18 2017 RV610_pfp.bin
-rw-r--r-- 1 root root 21K Mar 18 2017 RV620_me.bin
-rw-r--r-- 1 root root 2.3K Mar 18 2017 RV620_pfp.bin
-rw-r--r-- 1 root root 21K Mar 18 2017 RV630_me.bin
-rw-r--r-- 1 root root 2.3K Mar 18 2017 RV630_pfp.bin
-rw-r--r-- 1 root root 21K Mar 18 2017 RV635_me.bin
-rw-r--r-- 1 root root 2.3K Mar 18 2017 RV635_pfp.bin
-rw-r--r-- 1 root root 21K Mar 18 2017 RV670_me.bin
-rw-r--r-- 1 root root 2.3K Mar 18 2017 RV670_pfp.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 RV710_me.bin
-rw-r--r-- 1 root root 3.4K Mar 18 2017 RV710_pfp.bin
-rw-r--r-- 1 root root 16K Mar 18 2017 RV710_smc.bin
-rw-r--r-- 1 root root 114K Mar 18 2017 RV710_uvd.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 RV730_me.bin
-rw-r--r-- 1 root root 3.4K Mar 18 2017 RV730_pfp.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 RV730_smc.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 RV740_smc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 RV770_me.bin
-rw-r--r-- 1 root root 3.4K Mar 18 2017 RV770_pfp.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 RV770_smc.bin
-rw-r--r-- 1 root root 89K Mar 18 2017 RV770_uvd.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 SUMO2_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 SUMO2_pfp.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 SUMO_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 SUMO_pfp.bin
-rw-r--r-- 1 root root 3.0K Mar 18 2017 SUMO_rlc.bin
-rw-r--r-- 1 root root 201K Mar 18 2017 SUMO_uvd.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 TAHITI_ce.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 TAHITI_mc.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 TAHITI_mc2.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 TAHITI_me.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 TAHITI_pfp.bin
-rw-r--r-- 1 root root 8.0K Mar 18 2017 TAHITI_rlc.bin
-rw-r--r-- 1 root root 62K Mar 18 2017 TAHITI_smc.bin
-rw-r--r-- 1 root root 215K Mar 18 2017 TAHITI_uvd.bin
-rw-r--r-- 1 root root 48K Mar 18 2017 TAHITI_vce.bin
-rw-r--r-- 1 root root 24K Mar 18 2017 TURKS_mc.bin
-rw-r--r-- 1 root root 5.4K Mar 18 2017 TURKS_me.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 TURKS_pfp.bin
-rw-r--r-- 1 root root 25K Mar 18 2017 TURKS_smc.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 VERDE_ce.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 VERDE_mc.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 VERDE_mc2.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 VERDE_me.bin
-rw-r--r-- 1 root root 8.4K Mar 18 2017 VERDE_pfp.bin
-rw-r--r-- 1 root root 8.0K Mar 18 2017 VERDE_rlc.bin
-rw-r--r-- 1 root root 59K Mar 18 2017 VERDE_smc.bin
-rw-r--r-- 1 root root 61K Mar 18 2017 banks_k_2_smc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 bonaire_ce.bin
-rw-r--r-- 1 root root 128K Mar 18 2017 bonaire_k_smc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 bonaire_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 bonaire_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 bonaire_mec.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 bonaire_pfp.bin
-rw-r--r-- 1 root root 8.3K Mar 18 2017 bonaire_rlc.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 bonaire_sdma.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 bonaire_sdma1.bin
-rw-r--r-- 1 root root 128K Mar 18 2017 bonaire_smc.bin
-rw-r--r-- 1 root root 228K Mar 18 2017 bonaire_uvd.bin
-rw-r--r-- 1 root root 99K Mar 18 2017 bonaire_vce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 hainan_ce.bin
-rw-r--r-- 1 root root 61K Mar 18 2017 hainan_k_smc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 hainan_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 hainan_me.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 hainan_pfp.bin
-rw-r--r-- 1 root root 8.3K Mar 18 2017 hainan_rlc.bin
-rw-r--r-- 1 root root 61K Mar 18 2017 hainan_smc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 hawaii_ce.bin
-rw-r--r-- 1 root root 128K Mar 18 2017 hawaii_k_smc.bin
-rw-r--r-- 1 root root 33K Mar 18 2017 hawaii_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 hawaii_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 hawaii_mec.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 hawaii_pfp.bin
-rw-r--r-- 1 root root 8.3K Mar 18 2017 hawaii_rlc.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 hawaii_sdma.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 hawaii_sdma1.bin
-rw-r--r-- 1 root root 128K Mar 18 2017 hawaii_smc.bin
-rw-r--r-- 1 root root 228K Mar 18 2017 hawaii_uvd.bin
-rw-r--r-- 1 root root 99K Mar 18 2017 hawaii_vce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 kabini_ce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 kabini_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 kabini_mec.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 kabini_pfp.bin
-rw-r--r-- 1 root root 11K Mar 18 2017 kabini_rlc.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 kabini_sdma.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 kabini_sdma1.bin
-rw-r--r-- 1 root root 228K Mar 18 2017 kabini_uvd.bin
-rw-r--r-- 1 root root 99K Mar 18 2017 kabini_vce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 kaveri_ce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 kaveri_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 kaveri_mec.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 kaveri_mec2.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 kaveri_pfp.bin
-rw-r--r-- 1 root root 11K Mar 18 2017 kaveri_rlc.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 kaveri_sdma.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 kaveri_sdma1.bin
-rw-r--r-- 1 root root 228K Mar 18 2017 kaveri_uvd.bin
-rw-r--r-- 1 root root 99K Mar 18 2017 kaveri_vce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 mullins_ce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 mullins_me.bin
-rw-r--r-- 1 root root 17K Mar 18 2017 mullins_mec.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 mullins_pfp.bin
-rw-r--r-- 1 root root 11K Mar 18 2017 mullins_rlc.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 mullins_sdma.bin
-rw-r--r-- 1 root root 4.4K Mar 18 2017 mullins_sdma1.bin
-rw-r--r-- 1 root root 228K Mar 18 2017 mullins_uvd.bin
-rw-r--r-- 1 root root 99K Mar 18 2017 mullins_vce.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 oland_ce.bin
-rw-r--r-- 1 root root 62K Mar 18 2017 oland_k_smc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 oland_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 oland_me.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 oland_pfp.bin
-rw-r--r-- 1 root root 8.3K Mar 18 2017 oland_rlc.bin
-rw-r--r-- 1 root root 61K Mar 18 2017 oland_smc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 pitcairn_ce.bin
-rw-r--r-- 1 root root 61K Mar 18 2017 pitcairn_k_smc.bin
-rw-r--r-- 1 root root 31K Mar 18 2017 pitcairn_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 pitcairn_me.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 pitcairn_pfp.bin
-rw-r--r-- 1 root root 8.3K Mar 18 2017 pitcairn_rlc.bin
-rw-r--r-- 1 root root 60K Mar 18 2017 pitcairn_smc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 si58_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 tahiti_ce.bin
-rw-r--r-- 1 root root 63K Mar 18 2017 tahiti_k_smc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 tahiti_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 tahiti_me.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 tahiti_pfp.bin
-rw-r--r-- 1 root root 8.3K Mar 18 2017 tahiti_rlc.bin
-rw-r--r-- 1 root root 63K Mar 18 2017 tahiti_smc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 verde_ce.bin
-rw-r--r-- 1 root root 63K Mar 18 2017 verde_k_smc.bin
-rw-r--r-- 1 root root 32K Mar 18 2017 verde_mc.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 verde_me.bin
-rw-r--r-- 1 root root 8.7K Mar 18 2017 verde_pfp.bin
-rw-r--r-- 1 root root 8.3K Mar 18 2017 verde_rlc.bin
-rw-r--r-- 1 root root 61K Mar 18 2017 verde_smc.bin
lsmod
Module Size Used by Tainted: G
xen_acpi_processor 12288 0
xen_pciback 32768 0
xen_netback 36864 0
xen_blkback 24576 0 [permanent]
xen_gntalloc 12288 0
bridge 73728 0
stp 12288 1 bridge
llc 12288 2 bridge,stp
ipv6 245760 19 bridge,[permanent]
squashfs 28672 42
loop 20480 84
ppdev 12288 0
i2c_piix4 12288 0
fujitsu_laptop 16384 0
parport_pc 24576 0
parport 32768 2 ppdev,parport_pc
amdkfd 49152 1
radeon 1024000 0
video 28672 1 fujitsu_laptop
drm_kms_helper 81920 1 radeon
ttm 57344 1 radeon
drm 212992 3 radeon,drm_kms_helper,ttm
sp5100_tco 12288 0
k10temp 12288 0
serio_raw 12288 0
pcspkr 12288 0
fam15h_power 12288 0
r8169 53248 0
fjes 24576 0
agpgart 28672 2 ttm,drm
igb 110592 0
xhci_pci 12288 0
xhci_hcd 81920 1 xhci_pci
mii 12288 1 r8169
ptp 16384 1 igb
snd_hda_codec_hdmi 32768 1
backlight 12288 3 fujitsu_laptop,radeon,video
pps_core 12288 1 ptp
i2c_algo_bit 12288 2 radeon,igb
snd_hda_intel 24576 0
snd_hda_codec 65536 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hda_core 36864 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_hwdep 12288 1 snd_hda_codec
snd_pcm 65536 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 20480 1 snd_pcm
snd 45056 6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 12288 1 snd
uname -a
Linux box 4.8.17-tinycore64 #1 SMP Wed Dec 20 07:42:40 GMT 2017 x86_64 GNU/Linux
[EDIT]: Adjusted code tags. Rich
-
One solution is to update to tc-9.x and use the latest firmware
[ 9.036241] radeon 0000:00:01.0: Direct firmware load for radeon/kabini_pfp.bin failed with error -2
[ 9.051970] radeon 0000:00:01.0: Falling back to user helper
falling back to user helper is normal (actually I think the kernel needs a config change to support direct load method)..
updating to tc-9.x will require an update of the tce store also
You could create another tc9.x installation alongside the old tc-8.x install and dual boot until you're confident of the new install?
-
hi coreplayer2
i have updated TC to 9.x x86_64 but the problem still exists, so what else i can do to get my screen running ?
Linux box 4.14.10-tinycore64 #1 SMP Sat Mar 24 01:08:08 GMT 2018 x86_64 GNU/Linux
dmesg | grep -E 'radeon|drm'
[ 4.198621] [drm] radeon kernel modesetting enabled.
[ 4.694888] [drm] initializing kernel modesetting (KABINI 0x1002:0x9833 0x1734:0x1202 0x00).
[ 4.736824] [drm] doorbell mmio base: 0xFC000000
[ 4.736826] [drm] doorbell mmio size: 8388608
[ 4.748115] [drm] GPU not posted. posting now...
[ 4.773491] radeon 0000:00:01.0: VRAM: 32M 0x0000000000000000 - 0x0000000001FFFFFF (32M used)
[ 4.773495] radeon 0000:00:01.0: GTT: 2048M 0x0000000002000000 - 0x0000000081FFFFFF
[ 4.773503] [drm] Detected VRAM RAM=32M, BAR=64M
[ 4.773505] [drm] RAM width 128bits DDR
[ 4.773687] [drm] radeon: 32M of VRAM memory ready
[ 4.773690] [drm] radeon: 2048M of GTT memory ready.
[ 4.773708] [drm] Loading kabini Microcode
[ 4.773743] radeon 0000:00:01.0: Direct firmware load for radeon/kabini_pfp.bin failed with error -2
[ 4.773746] radeon 0000:00:01.0: Falling back to user helper
[ 4.778705] radeon 0000:00:01.0: Direct firmware load for radeon/KABINI_pfp.bin failed with error -2
[ 4.778708] radeon 0000:00:01.0: Falling back to user helper
[ 4.783999] cik_cp: Failed to load firmware "radeon/KABINI_pfp.bin"
[ 4.784005] [drm:0xffffffffa0186533] *ERROR* Failed to load firmware!
[ 4.784012] radeon 0000:00:01.0: Fatal error during GPU init
[ 4.784018] [drm] radeon: finishing device.
[ 4.803582] [drm] radeon: ttm finalized
[ 4.896992] radeon: probe of 0000:00:01.0 failed with error -11
-
Great but please check all extensions have been updated particularly any firmware extensions.
Also check if graphics-4.14.10-tinycore.tcz is installed ?
Sent from my iPad using Tapatalk
-
KABINI = GCN 1.1 = Sea Islands = CIK
So you should be able to use the new amdgpu driver instead of the old radeon driver.
It can be enabled via:
[...] Beginning with Linux 4.13, AMDGPU and Radeon GCN 1.0/1.1 support can co-exist nicer thanks to some new module options added. Even if blacklisting the Radeon DRM, AMDGPU doesn't have GCN 1.0/1.1 support by default but requires setting amdgpu.cik_support=1 for GCN 1.1 support and amdgpu.si_support=1 for GCN 1.0 support. To get Radeon DRM to not bind to these generations of GPUs, radeon.si_support=0 and radeon.cik_support=0 must be set. So basically if you want to get AMDGPU working for Sea Islands and Southern Islands GPUs on Linux 4.13+, you need to append "radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1" to your kernel command line when booting the system. [...]
Have you tried it?
Of course you'd also need to make sure to replace the old xf86-video-ati.tcz with the new xf86-video-amdgpu.tcz .
PS: The above mentioned would likely only work if the Tiny Core Linux developers have compiled their 4.14.10 kernel with CONFIG_DRM_AMDGPU_SI=Y and CONFIG_DRM_AMDGPU_CIK=Y . Not sure if they have done that.
-
Not sure if they have done that
from:
http://www.tinycorelinux.net/9.x/x86_64/release/src/kernel/config-4.14.10-tinycore64
# CONFIG_DRM_AMDGPU_SI is not set
# CONFIG_DRM_AMDGPU_CIK is not set
-
So the driver is trying to load the wrong firmware??
or it's simply the wrong driver for the card?
-
It is the right driver, and the right firmware. The firmware load is failing for some reason.
-
So the driver is trying to load the wrong firmware??
The firmware actually should be correct, provided by firmware-radeon.tcz . However:
or it's simply the wrong driver for the card?
There is no simple "Yes" or "No" to this.
radeon is the default driver for his KABINI (= Sea Islands = CIK = GCN1.1) GPU.
However, he could also use the new amdgpu driver.
By default, the new amdgpu driver is only automatically enabled for newer GCN1.2+ GPUs.
However, it can also be manually enabled on older GCN1.0 (= Southern Islands = SI = CAPE VERDE/PITCAIRN/TAHITI/OLAND/HAINAN) and GCN1.1 (= Sea Islands = CIK = BONAIRE/KABINI/MULLINS/KAVERI/HAWAII) GPUs.
To enable it, the kernel needs to be compiled with CONFIG_DRM_AMDGPU_SI=Y and CONFIG_DRM_AMDGPU_CIK=Y and the kernel options radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 need to be set.
Once done, you would also need to switch from xf86-video-ati.tcz to xf86-video-amdgpu.tcz .
However, firmware-radeon.tcz should still be the proper firmware for those older GCN1.0/1.1 GPUs (instead of firmware-amdgpu.tcz).
So:
from: http://www.tinycorelinux.net/9.x/x86_64/release/src/kernel/config-4.14.10-tinycore64
# CONFIG_DRM_AMDGPU_SI is not set
# CONFIG_DRM_AMDGPU_CIK is not set
Can you possibly re-compile the kernel with CONFIG_DRM_AMDGPU_SI=Y and CONFIG_DRM_AMDGPU_CIK=Y? There is no harm for users, since with kernel 4.13+, users still would need to consciously opt-in via the radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 kernel options.
It is the right driver
This is debatable. radeon is the old driver. AMD is focussing on the new amdgpu driver. Many people already manually enable it for their older GCN1.0/1.1 cards because it works/performs better than the old radeon driver.
So, it might make sense to offer this option for Tiny Core Linux users, so that @halma could use the new amdgpu driver on his KABINI GPU for example.
Maybe switching to amdgpu would even solve the firmware issues for him.
-
I recompiled the 4.14.10 Kernel with radeon removed and only enable amdgpu in kernel .config file
CONFIG_DRM_AMDGPU_SI=Y
CONFIG_DRM_AMDGPU_CIK=Y
and also have set the command line option for the new amdgpu driver
radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1
dmesg | grep -E 'amdgpu|drm'
[ 0.000000] Command line: console=tty0 console=ttyS0,57600n8 console=tty0 embed nozswap waitusb=5 radeon.si_support=0 radeon.cik_support=0 amdgpu.x
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,57600n8 console=tty0 embed nozswap waitusb=5 radeon.si_support=0 radeon.cik_support=0 x
[ 4.275440] [drm] amdgpu kernel modesetting enabled.
[ 4.990942] [drm] initializing kernel modesetting (KABINI 0x1002:0x9833 0x1734:0x1202 0x00).
[ 5.005426] [drm] register mmio base: 0xFEB00000
[ 5.005427] [drm] register mmio size: 262144
[ 5.074764] [drm] BIOS signature incorrect 75 7
[ 5.085483] [drm] GPU post is not needed
[ 5.086098] [drm] vm size is 64 GB, block size is 13-bit, fragment size is 4-bit
[ 5.086115] amdgpu 0000:00:01.0: VRAM: 32M 0x0000000F00000000 - 0x0000000F01FFFFFF (32M used)
[ 5.086119] amdgpu 0000:00:01.0: GTT: 1024M 0x0000000F02000000 - 0x0000000F41FFFFFF
[ 5.086127] [drm] Detected VRAM RAM=32M, BAR=32M
[ 5.086129] [drm] RAM width 64bits UNKNOWN
[ 5.088045] [drm] amdgpu: 32M of VRAM memory ready
[ 5.088049] [drm] amdgpu: 3072M of GTT memory ready.
[ 5.088072] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 5.089730] [drm] PCIE GART of 1024M enabled (table at 0x0000000F00040000).
[ 5.089877] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 5.089878] [drm] Driver supports precise vblank timestamp query.
[ 5.090092] amdgpu 0000:00:01.0: amdgpu: using MSI.
[ 5.090157] [drm] amdgpu: irq initialized.
[ 5.090170] [drm] Internal thermal controller without fan control
[ 5.090173] [drm] amdgpu: dpm initialized
[ 5.090513] [drm] AMDGPU Display Connectors
[ 5.090514] [drm] Connector 0:
[ 5.090515] [drm] DP-1
[ 5.090516] [drm] HPD1
[ 5.090519] [drm] DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
[ 5.090520] [drm] Encoders:
[ 5.090522] [drm] DFP1: INTERNAL_UNIPHY
[ 5.090523] [drm] Connector 1:
[ 5.090524] [drm] DVI-I-1
[ 5.090525] [drm] HPD2
[ 5.090528] [drm] DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
[ 5.090528] [drm] Encoders:
[ 5.090529] [drm] DFP2: INTERNAL_UNIPHY
[ 5.090531] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 5.090568] amdgpu 0000:00:01.0: Direct firmware load for radeon/kabini_pfp.bin failed with error -2
[ 5.090570] amdgpu 0000:00:01.0: Falling back to user helper
[ 5.095428] [drm:0xffffffffa01465c8] *ERROR* Failed to load gfx firmware!
[ 5.095432] [drm:0xffffffffa010f73d] *ERROR* sw_init of IP block <gfx_v7_0> failed -11
[ 5.095437] amdgpu 0000:00:01.0: amdgpu_init failed
[ 5.096761] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 2
[ 5.096764] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096766] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 3
[ 5.096768] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096770] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 4
[ 5.096772] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096774] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 5
[ 5.096776] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096781] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 2
[ 5.096783] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096784] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 3
[ 5.096786] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096788] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 4
[ 5.096790] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096792] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 5
[ 5.096793] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096798] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 2
[ 5.096800] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096801] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 3
[ 5.096803] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096805] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 4
[ 5.096807] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096809] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 5
[ 5.096810] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096818] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 2
[ 5.096820] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096822] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 3
[ 5.096824] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096826] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 4
[ 5.096828] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096830] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 5
[ 5.096831] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096836] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 2
[ 5.096838] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096840] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 3
[ 5.096842] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096844] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 4
[ 5.096846] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096847] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 5
[ 5.096849] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096853] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 2
[ 5.096855] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096857] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 3
[ 5.096858] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096860] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 4
[ 5.096862] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.096864] [drm:0xffffffffa01415bf] *ERROR* invalid pageflip crtc 5
[ 5.096866] [drm:0xffffffffa0168312] *ERROR* error disabling interrupt (-22)
[ 5.098110] [drm] amdgpu: ttm finalized
[ 5.098116] amdgpu 0000:00:01.0: Fatal error during GPU init
[ 5.098120] [drm] amdgpu: finishing device.
[ 5.197063] amdgpu: probe of 0000:00:01.0 failed with error -11
output on line 1&2 is truncated cause serial com1 output, but correct kernel boot options
cat .config | grep -E 'AMDGPU|DRM'
CONFIG_DRM=m
CONFIG_DRM_DP_AUX_CHARDEV=y
# CONFIG_DRM_DEBUG_MM_SELFTEST is not set
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_GART_DEBUGFS is not set
CONFIG_DRM_AMD_ACP=y
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
CONFIG_DRM_VGEM=m
CONFIG_DRM_VMWGFX=m
CONFIG_DRM_VMWGFX_FBCON=y
# CONFIG_DRM_GMA500 is not set
CONFIG_DRM_UDL=m
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
CONFIG_DRM_CIRRUS_QEMU=m
CONFIG_DRM_QXL=m
CONFIG_DRM_BOCHS=m
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_DRM_PANEL=y
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
CONFIG_DRM_HISI_HIBMC=m
# CONFIG_DRM_TINYDRM is not set
# CONFIG_DRM_LEGACY is not set
# CONFIG_DRM_LIB_RANDOM is not set
lsmod
Module Size Used by Tainted: G
bridge 86016 0
stp 12288 1 bridge
llc 12288 2 bridge,stp
ipv6 282624 19 bridge,[permanent]
squashfs 28672 45
zstd_decompress 77824 1 squashfs
xxhash 12288 1 zstd_decompress
loop 20480 90
ppdev 12288 0
fujitsu_laptop 12288 0
parport_pc 24576 0
parport 32768 2 ppdev,parport_pc
video 32768 1 fujitsu_laptop
sparse_keymap 12288 1 fujitsu_laptop
i2c_piix4 16384 0
k10temp 12288 0
xhci_pci 12288 0
xhci_hcd 81920 1 xhci_pci
amdkfd 49152 1
amdgpu 1404928 0
pcspkr 12288 0
sp5100_tco 12288 0
fam15h_power 12288 0
r8169 53248 0
mii 12288 1 r8169
igb 118784 0
ptp 16384 1 igb
drm_kms_helper 90112 1 amdgpu
ttm 57344 1 amdgpu
drm 225280 3 amdgpu,drm_kms_helper,ttm
snd_hda_codec_hdmi 32768 1
pps_core 12288 1 ptp
agpgart 28672 2 ttm,drm
backlight 12288 3 fujitsu_laptop,video,amdgpu
i2c_algo_bit 12288 2 amdgpu,igb
snd_hda_intel 24576 0
snd_hda_codec 65536 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 12288 1 snd_hda_codec
snd_hda_core 36864 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_pcm 57344 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 20480 1 snd_pcm
snd 45056 6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 12288 1 snd
my screen is still black ... no luck
-
Have you checked this:
Also check if graphics-4.14.10-tinycore.tcz is installed ?
?
-
uname -a
Linux box 4.14.10-tinycore64 #1 SMP Sun Mar 25 16:55:52 GMT 2018 x86_64 GNU/Linux
lsmod
Module Size Used by Tainted: G
bridge 86016 0
stp 12288 1 bridge
llc 12288 2 bridge,stp
ipv6 282624 19 bridge,[permanent]
radeon 1011712 0
squashfs 28672 47
zstd_decompress 77824 1 squashfs
xxhash 12288 1 zstd_decompress
loop 20480 94
snd_hda_codec_hdmi 32768 1
fujitsu_laptop 12288 0
ppdev 12288 0
parport_pc 24576 0
snd_hda_intel 24576 0
parport 32768 2 ppdev,parport_pc
snd_hda_codec 65536 2 snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 12288 1 snd_hda_codec
igb 118784 0
i2c_piix4 16384 0
video 32768 1 fujitsu_laptop
sparse_keymap 12288 1 fujitsu_laptop
ptp 16384 1 igb
fam15h_power 12288 0
sp5100_tco 12288 0
r8169 53248 0
mii 12288 1 r8169
k10temp 12288 0
pps_core 12288 1 ptp
pcspkr 12288 0
amdkfd 49152 2
xhci_pci 12288 0
xhci_hcd 81920 1 xhci_pci
amdgpu 1404928 0
snd_hda_core 36864 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_pcm 57344 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 20480 1 snd_pcm
snd 45056 6 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 12288 1 snd
drm_kms_helper 90112 2 radeon,amdgpu
ttm 57344 2 radeon,amdgpu
drm 225280 4 radeon,amdgpu,drm_kms_helper,ttm
agpgart 28672 2 ttm,drm
backlight 12288 4 radeon,fujitsu_laptop,video,amdgpu
i2c_algo_bit 12288 3 radeon,igb,amdgpu
dmesg | grep -E 'AMDGPU|DRM|RADEON'''''''r'a'd'e'o'n'|radeon'|radeon'|radeon'd|radeon'r|radeon'm|radeon'|drm|radeon'|drm|radeon'|drm|radeon'|drm|radeon'|drm|radeon'|drm|radeon'a|drm|radeon'm|drm|radeon'd|drm|radeon'g|drm|radeon'p|drm|radeon'u|drm|radeon'|drm|radeon'
[ 0.000000] Command line: console=tty0 console=ttyS0,57600n8 embed nozswap waitusb=5 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 root=UUID="591c13f3-1705-4ac4-8627-24a3eb973f36" tce=UUID="591c13f3-1705-4ac4-8627-24a3eb973f36" nodhcp noutc syslog tz=Europe/Berlin host=xenbox
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,57600n8 embed nozswap waitusb=5 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 root=UUID="591c13f3-1705-4ac4-8627-24a3eb973f36" tce=UUID="591c13f3-1705-4ac4-8627-24a3eb973f36" nodhcp noutc syslog tz=Europe/Berlin host=xenbox
[ 4.121355] [drm] amdgpu kernel modesetting enabled.
[ 4.524717] [drm] initializing kernel modesetting (KABINI 0x1002:0x9833 0x1734:0x1202 0x00).
[ 4.524780] [drm] register mmio base: 0xFEB00000
[ 4.524782] [drm] register mmio size: 262144
[ 4.590251] [drm] BIOS signature incorrect 65 7
[ 4.668743] [drm] GPU post is not needed
[ 4.669386] [drm] vm size is 64 GB, block size is 13-bit, fragment size is 4-bit
[ 4.669403] amdgpu 0000:00:01.0: VRAM: 32M 0x0000000F00000000 - 0x0000000F01FFFFFF (32M used)
[ 4.669407] amdgpu 0000:00:01.0: GTT: 1024M 0x0000000F02000000 - 0x0000000F41FFFFFF
[ 4.669423] [drm] Detected VRAM RAM=32M, BAR=32M
[ 4.669424] [drm] RAM width 64bits UNKNOWN
[ 4.680308] [drm] amdgpu: 32M of VRAM memory ready
[ 4.680311] [drm] amdgpu: 3072M of GTT memory ready.
[ 4.680341] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 4.681099] [drm] PCIE GART of 1024M enabled (table at 0x0000000F00040000).
[ 4.681228] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.681229] [drm] Driver supports precise vblank timestamp query.
[ 4.681385] amdgpu 0000:00:01.0: amdgpu: using MSI.
[ 4.681442] [drm] amdgpu: irq initialized.
[ 4.681454] [drm] Internal thermal controller without fan control
[ 4.681457] [drm] amdgpu: dpm initialized
[ 4.682369] [drm] AMDGPU Display Connectors
[ 4.682371] [drm] Connector 0:
[ 4.682372] [drm] DP-1
[ 4.682373] [drm] HPD1
[ 4.682376] [drm] DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
[ 4.682377] [drm] Encoders:
[ 4.682378] [drm] DFP1: INTERNAL_UNIPHY
[ 4.682380] [drm] Connector 1:
[ 4.682381] [drm] DVI-I-1
[ 4.682382] [drm] HPD2
[ 4.682384] [drm] DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
[ 4.682385] [drm] Encoders:
[ 4.682386] [drm] DFP2: INTERNAL_UNIPHY
[ 4.682387] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 4.682427] amdgpu 0000:00:01.0: Direct firmware load for radeon/kabini_pfp.bin failed with error -2
[ 4.682430] amdgpu 0000:00:01.0: Falling back to user helper
[ 4.723419] gfx7: Failed to load firmware "radeon/kabini_pfp.bin"
[ 4.723424] [drm:0xffffffffa00cb5c8] *ERROR* Failed to load gfx firmware!
[ 4.723429] [drm:0xffffffffa009473d] *ERROR* sw_init of IP block <gfx_v7_0> failed -11
[ 4.723434] amdgpu 0000:00:01.0: amdgpu_init failed
[ 4.724809] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 2
[ 4.724812] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724815] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 3
[ 4.724817] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724819] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 4
[ 4.724821] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724823] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 5
[ 4.724825] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724829] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 2
[ 4.724831] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724833] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 3
[ 4.724835] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724837] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 4
[ 4.724839] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724840] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 5
[ 4.724842] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724847] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 2
[ 4.724849] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724851] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 3
[ 4.724853] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724854] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 4
[ 4.724856] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724858] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 5
[ 4.724860] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724864] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 2
[ 4.724866] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724868] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 3
[ 4.724869] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724871] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 4
[ 4.724873] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724875] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 5
[ 4.724877] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724882] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 2
[ 4.724883] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724885] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 3
[ 4.724887] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724889] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 4
[ 4.724891] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724893] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 5
[ 4.724895] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724898] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 2
[ 4.724900] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724902] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 3
[ 4.724906] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724908] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 4
[ 4.724910] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.724912] [drm:0xffffffffa00c65bf] *ERROR* invalid pageflip crtc 5
[ 4.724914] [drm:0xffffffffa00ed312] *ERROR* error disabling interrupt (-22)
[ 4.731550] [drm] amdgpu: ttm finalized
[ 4.731561] amdgpu 0000:00:01.0: Fatal error during GPU init
[ 4.731566] [drm] amdgpu: finishing device.
[ 5.730288] amdgpu: probe of 0000:00:01.0 failed with error -11
[ 19.092224] [drm] radeon kernel modesetting enabled.
[ 19.121963] radeon 0000:00:01.0: CIK support disabled by module param
mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /mnt/sda1 type ext3 (rw,relatime,data=ordered)
/mnt/sda1/tce/optional/attr.tcz on /tmp/tcloop/attr type squashfs (ro,relatime)
/mnt/sda1/tce/optional/acl.tcz on /tmp/tcloop/acl type squashfs (ro,relatime)
/mnt/sda1/tce/optional/ncursesw.tcz on /tmp/tcloop/ncursesw type squashfs (ro,relatime)
/mnt/sda1/tce/optional/readline.tcz on /tmp/tcloop/readline type squashfs (ro,relatime)
/mnt/sda1/tce/optional/bash.tcz on /tmp/tcloop/bash type squashfs (ro,relatime)
/mnt/sda1/tce/optional/netfilter-4.14.10-tinycore64.tcz on /tmp/tcloop/netfilter-4.14.10-tinycore64 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/ipv6-4.14.10-tinycore64.tcz on /tmp/tcloop/ipv6-4.14.10-tinycore64 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/net-bridging-4.14.10-tinycore64.tcz on /tmp/tcloop/net-bridging-4.14.10-tinycore64 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/bridge-utils.tcz on /tmp/tcloop/bridge-utils type squashfs (ro,relatime)
/mnt/sda1/tce/optional/bzip2-lib.tcz on /tmp/tcloop/bzip2-lib type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libcap.tcz on /tmp/tcloop/libcap type squashfs (ro,relatime)
/mnt/sda1/tce/optional/gmp.tcz on /tmp/tcloop/gmp type squashfs (ro,relatime)
/mnt/sda1/tce/optional/coreutils.tcz on /tmp/tcloop/coreutils type squashfs (ro,relatime)
/mnt/sda1/tce/optional/firmware-amdgpu.tcz on /tmp/tcloop/firmware-amdgpu type squashfs (ro,relatime)
/mnt/sda1/tce/optional/firmware-radeon.tcz on /tmp/tcloop/firmware-radeon type squashfs (ro,relatime)
/mnt/sda1/tce/optional/pcre.tcz on /tmp/tcloop/pcre type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libffi.tcz on /tmp/tcloop/libffi type squashfs (ro,relatime)
/mnt/sda1/tce/optional/glib2.tcz on /tmp/tcloop/glib2 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/i2c-4.14.10-tinycore64.tcz on /tmp/tcloop/i2c-4.14.10-tinycore64 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/graphics-4.14.10-tinycore64.tcz on /tmp/tcloop/graphics-4.14.10-tinycore64 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/iasl.tcz on /tmp/tcloop/iasl type squashfs (ro,relatime)
/mnt/sda1/tce/optional/iptables.tcz on /tmp/tcloop/iptables type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libdb.tcz on /tmp/tcloop/libdb type squashfs (ro,relatime)
/mnt/sda1/tce/optional/iproute2.tcz on /tmp/tcloop/iproute2 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libaio.tcz on /tmp/tcloop/libaio type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libjpeg-turbo.tcz on /tmp/tcloop/libjpeg-turbo type squashfs (ro,relatime)
/mnt/sda1/tce/optional/liblzma.tcz on /tmp/tcloop/liblzma type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libpng.tcz on /tmp/tcloop/libpng type squashfs (ro,relatime)
/mnt/sda1/tce/optional/openssl.tcz on /tmp/tcloop/openssl type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libssh2.tcz on /tmp/tcloop/libssh2 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libvncserver.tcz on /tmp/tcloop/libvncserver type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libXdmcp.tcz on /tmp/tcloop/libXdmcp type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libXau.tcz on /tmp/tcloop/libXau type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libxcb.tcz on /tmp/tcloop/libxcb type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libX11.tcz on /tmp/tcloop/libX11 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/libyajl.tcz on /tmp/tcloop/libyajl type squashfs (ro,relatime)
/mnt/sda1/tce/optional/slang.tcz on /tmp/tcloop/slang type squashfs (ro,relatime)
/mnt/sda1/tce/optional/mc.tcz on /tmp/tcloop/mc type squashfs (ro,relatime)
/mnt/sda1/tce/optional/ncurses.tcz on /tmp/tcloop/ncurses type squashfs (ro,relatime)
/mnt/sda1/tce/optional/openssh.tcz on /tmp/tcloop/openssh type squashfs (ro,relatime)
/mnt/sda1/tce/optional/pciutils-dev.tcz on /tmp/tcloop/pciutils-dev type squashfs (ro,relatime)
/mnt/sda1/tce/optional/perl5.tcz on /tmp/tcloop/perl5 type squashfs (ro,relatime)
/mnt/sda1/tce/optional/pixman.tcz on /tmp/tcloop/pixman type squashfs (ro,relatime)
/mnt/sda1/tce/optional/sdl.tcz on /tmp/tcloop/sdl type squashfs (ro,relatime)
/mnt/sda1/tce/optional/udev-lib.tcz on /tmp/tcloop/udev-lib type squashfs (ro,relatime)
/mnt/sda1/tce/optional/util-linux.tcz on /tmp/tcloop/util-linux type squashfs (ro,relatime)
/mnt/sda1/tce/optional/xen4-tools.tcz on /tmp/tcloop/xen4-tools type squashfs (ro,relatime)
cat .config | grep -E 'AMDGPU|DRM|RADEON'
CONFIG_DRM=m
CONFIG_DRM_DP_AUX_CHARDEV=y
# CONFIG_DRM_DEBUG_MM_SELFTEST is not set
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=m
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_AMDGPU=m
CONFIG_DRM_AMDGPU_SI=y
CONFIG_DRM_AMDGPU_CIK=y
CONFIG_DRM_AMDGPU_USERPTR=y
# CONFIG_DRM_AMDGPU_GART_DEBUGFS is not set
CONFIG_DRM_AMD_ACP=y
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
CONFIG_DRM_VGEM=m
CONFIG_DRM_VMWGFX=m
CONFIG_DRM_VMWGFX_FBCON=y
# CONFIG_DRM_GMA500 is not set
CONFIG_DRM_UDL=m
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
CONFIG_DRM_CIRRUS_QEMU=m
CONFIG_DRM_QXL=m
CONFIG_DRM_BOCHS=m
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_DRM_PANEL=y
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
CONFIG_DRM_HISI_HIBMC=m
# CONFIG_DRM_TINYDRM is not set
# CONFIG_DRM_LEGACY is not set
# CONFIG_DRM_LIB_RANDOM is not set
# CONFIG_FB_RADEON is not set
still no luck ... black screen still exists
-
Here are the solutions:
You need to make sure the firmware is also included in your initrd if you are using one.
If you compile the amdgpu driver into the kernel as well (not
recommended), you need to make sure all firmware files it needs for your
GPU(s) are included in the kernel as well.
> Ahh okay, so it's a quirk of having it built into the kernel: it races
> mounting /. If I get a moment later today I'll try making `amdgpu` a
> module and see how I go.
Right, that fixed it. Downside with the module loading later is that I
don't get the rookery of penguins (16 of them) showing up on initial
boot, but big deal, it works. :-)
Have you tried that?
-
Meanwhile, why not remove all ATI related video drivers and firmware extensions from onboot list and let Xorg use the default modesetting driver?
Sent from my iPad using Tapatalk
-
Modesetting requires drm. DRM requires firmware.
-
Meanwhile, why not remove all ATI related video drivers and firmware extensions from onboot list and let Xorg use the default modesetting driver?
That's not how it goes. What you are referring to with "modesetting" is xf86-video-modesetting (which is now included in xorg-server).
The xf86-video-modesetting / xf86-video-ati / xf86-video-amdgpu drivers are merely DDX (xorg) drivers for 2D xorg.
They still need the DRM (kernel) driver, i.e. radeon or amdgpu.
And the kernel driver is not working for @halma, because it is unable to load the firmware.
Also, xf86-video-modesetting performs worse and has less features than xf86-video-ati / xf86-video-amdgpu, so it's not recommended on AMD hardware.
By the way:
The solutions on the freedesktop mailing (http://forum.tinycorelinux.net/index.php/topic,21800.msg136496.html#msg136496) list were:
- include the firmware in initrd if initrd is present
- include the firmware in the kernel, if radeon/amdgpu have been built into the kernel
- use radeon/amdgpu as a module instead of building them into the kernel and have the module loaded after the kernel has booted
So, in case of Tiny Core Linux:
Tiny Core Linux does not use initrd, right?
Does Tiny Core Linux have radeon/amdgpu built into the kernel? If yes: Why is the firmware not built into the kernel as well?
Or does it use radeon/amdgpu as a module?
-
Hi pq5190362
... So, in case of Tiny Core Linux:
Tiny Core Linux does not use initrd, right? ...
Really? I thought core.gz is typically the initrd in Tinycore.
-
Modesetting requires drm. DRM requires firmware.
I notice now from the logs there was reference to drm attempting to load firmware doh!!
Maybe this is a Kernel issue? I couldn't get Nvidia drivers to run with drm either. So had to compile without drm which loads and runs fine now
-
The graphics drivers are built as modules. Core uses an initrd, but not like traditional distros.
-
core.gz is typically the initrd in Tinycore.
So, then, as per what the AMD developer wrote on the amd-gfx freedesktop email list (https://lists.freedesktop.org/archives/amd-gfx/2017-July/011297.html), the radeon and amdgpu firmware would need to be built into core.gz / core64.gz / corepure64.gz to make it work?
-
Hi pq5190362
Maybe. Or is it possible to reload the video module later on in the boot process after the firmware has been mounted and
is available to be loaded. Maybe in bootlocal.sh?
-
Maybe. Or is it possible to reload the video module later on in the boot process after the firmware has been mounted and is available to be loaded. Maybe in bootlocal.sh?
See following comments over there:
The amdgpu module can be loaded and run the display without a problem if it is modprobed after the kernel has booted (I do this my passing modprobe.blacklist=amdgpu to the kernel, and modprobing amdgpu after boot.
Booting the kernel with modprobe.blacklist=amdgpu results in the kernel booting and a graphical desktop displayed on the framebuffer driver I guess. 'modprobe amdgpu' from a terminal window then results in amdgpu being loaded and running the display, which is kinda neat, but i digress.
-
Hi all
still no luck with kernel config settings from https://lists.freedesktop.org/archives/amd-gfx/2017-July/011303.html (https://lists.freedesktop.org/archives/amd-gfx/2017-July/011303.html) ...
https://pastebin.com/7gSyKgZb (https://pastebin.com/7gSyKgZb) <<---kernelconfig
i tried also with the kernel settings for amdgpu and kernel 4.15.13 ... also no luck
lets see tommorow what a new day will bring :-)
-
You probably do not need to change the kernel config.
Just leave the Tiny Core Linux kernel configured as is (if you want amdgpu instead of radeon, then additionally with CONFIG_DRM_AMDGPU_SI=Y and CONFIG_DRM_AMDGPU_CIK=Y and kernel options radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1)
And then just do this:
The amdgpu module can be loaded and run the display without a problem if it is modprobed after the kernel has booted (I do this my passing modprobe.blacklist=amdgpu to the kernel, and modprobing amdgpu after boot.
Booting the kernel with modprobe.blacklist=amdgpu results in the kernel booting and a graphical desktop displayed on the framebuffer driver I guess. 'modprobe amdgpu' from a terminal window then results in amdgpu being loaded and running the display, which is kinda neat, but i digress.
Does it work?
If you use radeon instead of amdgpu, then of course you need to do modprobe.blacklist=radeon and then modprobe radeon (instead of modprobe.blacklist=amdgpu and then modprobe amdgpu).
-
i disabled "DRM" completly in the tc 4.14-10-tinycore64 kernel config and after the boot process the system has no black screen anymore
i wanted to set the screen with "fbset" but an error message says no /dev/fb device found ... so i need some more testing of enable and disable features in the kernel config ... to keep the screen working after boot complete and the by the way i dont use X11 just the shell (bash) for working on the system.
-
It would be better if this thread would solve the DRM issue instead of working around it by not using it.
-
ok so far i got it managed to get my screen working.
in my kernel .config i have these settings for radeon / drm
Device Drivers --->
Graphics support --->
<*/M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<*/M> ATI Radeon
[*] Enable modesetting on radeon by default
-*- Support for frame buffer devices --->
< > ATI Radeon display support
Device Drivers --->
Generic Driver Options --->
[*] Include in-kernel firmware blobs in kernel binary
(radeon/... radeon/...)
(/lib/firmware) Firmware blobs root directory
cat .config | grep FIRMWARE
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/kabini_ce.bin radeon/kabini_me.bin radeon/kabini_mec.bin radeon/kabini_pfp.bin radeon/kabini_rlc.bin radeon/kabini_sdma.bin radeon/BONAIRE_uvd.bin radeon/BONAIRE_vce.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/usr/local/lib/firmware"
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_FIRMWARE_EDID=y
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set
# CONFIG_TEST_FIRMWARE is not set
now dmesg looks like this:
dmesg | grep -E 'amd|drm|radeon'
[ 8.802579] bus: 'pci': add driver pata_amd
[ 14.528163] device class 'drm': registering
[ 14.994894] device class 'drm_dp_aux_dev': registering
[ 15.468889] [drm] amdgpu kernel modesetting enabled.
[ 15.654384] bus: 'pci': add driver amdgpu
[ 15.654401] bus: 'pci': driver_probe_device: matched device 0000:00:01.0 with driver amdgpu
[ 15.654408] bus: 'pci': really_probe: probing driver amdgpu with device 0000:00:01.0
[ 15.654418] amdgpu 0000:00:01.0: no default pinctrl state
[ 16.286527] [drm] initializing kernel modesetting (KABINI 0x1002:0x9833 0x1734:0x1202 0x00).
[ 16.286591] [drm] register mmio base: 0xFEB00000
[ 16.286593] [drm] register mmio size: 262144
[ 16.362782] [drm] BIOS signature incorrect 76 7
[ 16.373465] [drm] GPU post is not needed
[ 16.375513] [drm] vm size is 64 GB, block size is 13-bit, fragment size is 4-bit
[ 16.375528] amdgpu 0000:00:01.0: VRAM: 32M 0x0000000F00000000 - 0x0000000F01FFFFFF (32M used)
[ 16.375531] amdgpu 0000:00:01.0: GTT: 1024M 0x0000000F02000000 - 0x0000000F41FFFFFF
[ 16.375542] [drm] Detected VRAM RAM=32M, BAR=32M
[ 16.375543] [drm] RAM width 64bits UNKNOWN
[ 16.380147] [drm] amdgpu: 32M of VRAM memory ready
[ 16.380150] [drm] amdgpu: 3072M of GTT memory ready.
[ 16.380169] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 16.380808] [drm] PCIE GART of 1024M enabled (table at 0x0000000F00040000).
[ 16.380951] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 16.380953] [drm] Driver supports precise vblank timestamp query.
[ 16.381087] amdgpu 0000:00:01.0: amdgpu: using MSI.
[ 16.381146] [drm] amdgpu: irq initialized.
[ 16.381156] [drm] Internal thermal controller without fan control
[ 16.381160] [drm] amdgpu: dpm initialized
[ 16.381503] device: 'drm_dp_aux0': device_add
[ 16.381527] PM: Adding info for No Bus:drm_dp_aux0
[ 16.382089] [drm] AMDGPU Display Connectors
[ 16.382090] [drm] Connector 0:
[ 16.382091] [drm] DP-1
[ 16.382092] [drm] HPD1
[ 16.382095] [drm] DDC: 0x194c 0x194c 0x194d 0x194d 0x194e 0x194e 0x194f 0x194f
[ 16.382096] [drm] Encoders:
[ 16.382097] [drm] DFP1: INTERNAL_UNIPHY
[ 16.382098] [drm] Connector 1:
[ 16.382099] [drm] DVI-I-1
[ 16.382100] [drm] HPD2
[ 16.382103] [drm] DDC: 0x1950 0x1950 0x1951 0x1951 0x1952 0x1952 0x1953 0x1953
[ 16.382103] [drm] Encoders:
[ 16.382104] [drm] DFP2: INTERNAL_UNIPHY
[ 16.382106] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 16.382118] amdgpu 0000:00:01.0: using built-in radeon/kabini_pfp.bin
[ 16.382123] amdgpu 0000:00:01.0: using built-in radeon/kabini_me.bin
[ 16.382126] amdgpu 0000:00:01.0: using built-in radeon/kabini_ce.bin
[ 16.382130] amdgpu 0000:00:01.0: using built-in radeon/kabini_mec.bin
[ 16.382134] amdgpu 0000:00:01.0: using built-in radeon/kabini_rlc.bin
[ 16.382421] amdgpu 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000f02400080, cpu addr 0xffffc900006f9080
[ 16.386728] amdgpu 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000f02400100, cpu addr 0xffffc900006f9100
[ 16.386843] amdgpu 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000f02400180, cpu addr 0xffffc900006f9180
[ 16.390161] amdgpu 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000f02400200, cpu addr 0xffffc900006f9200
[ 16.390281] amdgpu 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000f02400280, cpu addr 0xffffc900006f9280
[ 16.393399] amdgpu 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000f02400300, cpu addr 0xffffc900006f9300
[ 16.393517] amdgpu 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000f02400380, cpu addr 0xffffc900006f9380
[ 16.396731] amdgpu 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000f02400400, cpu addr 0xffffc900006f9400
[ 16.396847] amdgpu 0000:00:01.0: fence driver on ring 8 use gpu addr 0x0000000f02400480, cpu addr 0xffffc900006f9480
[ 16.396932] amdgpu 0000:00:01.0: using built-in radeon/kabini_sdma.bin
[ 16.396938] firmware_class: __allocate_fw_buf: fw-radeon/kabini_sdma1.bin buf=ffff880004597b40
[ 16.396957] amdgpu 0000:00:01.0: loading /lib/firmware/updates/4.14.10-tinycore64/radeon/kabini_sdma1.bin failed with error -2
[ 16.396966] amdgpu 0000:00:01.0: loading /lib/firmware/updates/radeon/kabini_sdma1.bin failed with error -2
[ 16.396975] amdgpu 0000:00:01.0: loading /lib/firmware/4.14.10-tinycore64/radeon/kabini_sdma1.bin failed with error -2
[ 16.397003] amdgpu 0000:00:01.0: direct-loading radeon/kabini_sdma1.bin
[ 16.397009] firmware_class: fw_set_page_data: fw-radeon/kabini_sdma1.bin buf=ffff880004597b40 data=ffffc90000505000 size=4456
[ 16.397093] amdgpu 0000:00:01.0: fence driver on ring 9 use gpu addr 0x0000000f02400500, cpu addr 0xffffc900006f9500
[ 16.397205] amdgpu 0000:00:01.0: fence driver on ring 10 use gpu addr 0x0000000f02400580, cpu addr 0xffffc900006f9580
[ 16.397255] firmware_class: __allocate_fw_buf: fw-radeon/kabini_uvd.bin buf=ffff880004597d80
[ 16.397269] amdgpu 0000:00:01.0: loading /lib/firmware/updates/4.14.10-tinycore64/radeon/kabini_uvd.bin failed with error -2
[ 16.397278] amdgpu 0000:00:01.0: loading /lib/firmware/updates/radeon/kabini_uvd.bin failed with error -2
[ 16.397287] amdgpu 0000:00:01.0: loading /lib/firmware/4.14.10-tinycore64/radeon/kabini_uvd.bin failed with error -2
[ 16.397496] amdgpu 0000:00:01.0: direct-loading radeon/kabini_uvd.bin
[ 16.397502] firmware_class: fw_set_page_data: fw-radeon/kabini_uvd.bin buf=ffff880004597d80 data=ffffc90000b81000 size=232752
[ 16.397504] [drm] Found UVD firmware Version: 1.64 Family ID: 9
[ 16.398816] amdgpu 0000:00:01.0: fence driver on ring 11 use gpu addr 0x0000000f0028cd30, cpu addr 0xffffc90001438d30
[ 16.398851] firmware_class: __allocate_fw_buf: fw-radeon/kabini_vce.bin buf=ffff8800044fff00
[ 16.398865] amdgpu 0000:00:01.0: loading /lib/firmware/updates/4.14.10-tinycore64/radeon/kabini_vce.bin failed with error -2
[ 16.398873] amdgpu 0000:00:01.0: loading /lib/firmware/updates/radeon/kabini_vce.bin failed with error -2
[ 16.398882] amdgpu 0000:00:01.0: loading /lib/firmware/4.14.10-tinycore64/radeon/kabini_vce.bin failed with error -2
[ 16.398990] amdgpu 0000:00:01.0: direct-loading radeon/kabini_vce.bin
[ 16.398996] firmware_class: fw_set_page_data: fw-radeon/kabini_vce.bin buf=ffff8800044fff00 data=ffffc90000a51000 size=101072
[ 16.398998] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[ 16.399691] amdgpu 0000:00:01.0: fence driver on ring 12 use gpu addr 0x0000000f02400680, cpu addr 0xffffc900006f9680
[ 16.399791] amdgpu 0000:00:01.0: fence driver on ring 13 use gpu addr 0x0000000f02400700, cpu addr 0xffffc900006f9700
[ 16.403804] [drm] ring test on 0 succeeded in 12 usecs
[ 16.417445] [drm] ring test on 1 succeeded in 2 usecs
[ 16.417470] [drm] ring test on 2 succeeded in 9 usecs
[ 16.417497] [drm] ring test on 3 succeeded in 11 usecs
[ 16.417527] [drm] ring test on 4 succeeded in 10 usecs
[ 16.417554] [drm] ring test on 5 succeeded in 11 usecs
[ 16.417583] [drm] ring test on 6 succeeded in 11 usecs
[ 16.417611] [drm] ring test on 7 succeeded in 9 usecs
[ 16.417644] [drm] ring test on 8 succeeded in 11 usecs
[ 16.417880] [drm] ring test on 9 succeeded in 4 usecs
[ 16.417888] [drm] ring test on 10 succeeded in 4 usecs
[ 16.436328] [drm] ring test on 11 succeeded in 0 usecs
[ 16.436707] [drm] UVD initialized successfully.
[ 16.561196] [drm] ring test on 12 succeeded in 5 usecs
[ 16.562589] [drm] ring test on 13 succeeded in 1 usecs
[ 16.562591] [drm] VCE initialized successfully.
[ 16.563815] [drm] ib test on ring 0 succeeded
[ 16.563864] [drm] ib test on ring 1 succeeded
[ 16.563900] [drm] ib test on ring 2 succeeded
[ 16.563936] [drm] ib test on ring 3 succeeded
[ 16.563976] [drm] ib test on ring 4 succeeded
[ 16.564015] [drm] ib test on ring 5 succeeded
[ 16.564053] [drm] ib test on ring 6 succeeded
[ 16.564097] [drm] ib test on ring 7 succeeded
[ 16.564135] [drm] ib test on ring 8 succeeded
[ 16.564175] [drm] ib test on ring 9 succeeded
[ 16.564211] [drm] ib test on ring 10 succeeded
[ 16.564683] [drm] ib test on ring 11 succeeded
[ 16.565094] [drm] ib test on ring 12 succeeded
[ 16.631260] [drm] fb mappable at 0x7D428000
[ 16.631262] [drm] vram apper at 0x7D000000
[ 16.631263] [drm] size 2211840
[ 16.631264] [drm] fb depth is 8
[ 16.631265] [drm] pitch is 2048
[ 18.493114] fbcon: amdgpudrmfb (fb0) is primary device
[ 18.664944] amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[ 18.700022] amdgpu 0000:00:01.0: kfd not supported on this ASIC
[ 18.709296] [drm] Initialized amdgpu 3.19.0 20150101 for 0000:00:01.0 on minor 0
[ 18.721508] driver: 'amdgpu': driver_bound: bound to device '0000:00:01.0'
[ 18.732724] bus: 'pci': really_probe: bound device 0000:00:01.0 to driver amdgpu
[ 18.817724] [drm] radeon kernel modesetting enabled.
[ 18.817762] bus: 'pci': add driver radeon
and lsmod shows this:
lsmod
Module Size Used by Tainted: G
bridge 86016 0
stp 12288 1 bridge
llc 12288 2 bridge,stp
ipv6 282624 19 bridge,[permanent]
squashfs 28672 47
zstd_decompress 77824 1 squashfs
xxhash 12288 1 zstd_decompress
loop 20480 94
radeon 1007616 0
i2c_piix4 16384 0
fujitsu_laptop 12288 0
amdkfd 49152 1
amdgpu 1404928 1
r8169 53248 0
video 32768 1 fujitsu_laptop
sparse_keymap 12288 1 fujitsu_laptop
fam15h_power 12288 0
drm_kms_helper 90112 2 radeon,amdgpu
mii 12288 1 r8169
igb 118784 0
pcspkr 12288 0
sp5100_tco 12288 0
k10temp 12288 0
ttm 57344 2 radeon,amdgpu
ptp 16384 1 igb
xhci_pci 12288 0
xhci_hcd 81920 1 xhci_pci
drm 225280 5 radeon,amdgpu,drm_kms_helper,ttm
pps_core 12288 1 ptp
backlight 12288 4 radeon,fujitsu_laptop,amdgpu,video
i2c_algo_bit 12288 3 radeon,amdgpu,igb
i am not sure which driver is now used radeon or amdgpu ? or both ...
make firmware_install does not work ? so copy firmware files for the corepure64.gz "by hand" to /lib/firmware
and what do this means, from dmesg output? :
[ 16.382118] amdgpu 0000:00:01.0: using built-in radeon/kabini_pfp.bin
[ 16.382123] amdgpu 0000:00:01.0: using built-in radeon/kabini_me.bin
[ 16.382126] amdgpu 0000:00:01.0: using built-in radeon/kabini_ce.bin
[ 16.382130] amdgpu 0000:00:01.0: using built-in radeon/kabini_mec.bin
[ 16.382134] amdgpu 0000:00:01.0: using built-in radeon/kabini_rlc.bin
[ 16.382421] amdgpu 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000f02400080, cpu addr 0xffffc900006f9080
[ 16.386728] amdgpu 0000:00:01.0: fence driver on ring 1 use gpu addr 0x0000000f02400100, cpu addr 0xffffc900006f9100
[ 16.386843] amdgpu 0000:00:01.0: fence driver on ring 2 use gpu addr 0x0000000f02400180, cpu addr 0xffffc900006f9180
[ 16.390161] amdgpu 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000f02400200, cpu addr 0xffffc900006f9200
[ 16.390281] amdgpu 0000:00:01.0: fence driver on ring 4 use gpu addr 0x0000000f02400280, cpu addr 0xffffc900006f9280
[ 16.393399] amdgpu 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000f02400300, cpu addr 0xffffc900006f9300
[ 16.393517] amdgpu 0000:00:01.0: fence driver on ring 6 use gpu addr 0x0000000f02400380, cpu addr 0xffffc900006f9380
[ 16.396731] amdgpu 0000:00:01.0: fence driver on ring 7 use gpu addr 0x0000000f02400400, cpu addr 0xffffc900006f9400
[ 16.396847] amdgpu 0000:00:01.0: fence driver on ring 8 use gpu addr 0x0000000f02400480, cpu addr 0xffffc900006f9480
[ 16.396932] amdgpu 0000:00:01.0: using built-in radeon/kabini_sdma.bin
[ 16.396938] firmware_class: __allocate_fw_buf: fw-radeon/kabini_sdma1.bin buf=ffff880004597b40
[ 16.396957] amdgpu 0000:00:01.0: loading /lib/firmware/updates/4.14.10-tinycore64/radeon/kabini_sdma1.bin failed with error -2
[ 16.396966] amdgpu 0000:00:01.0: loading /lib/firmware/updates/radeon/kabini_sdma1.bin failed with error -2
[ 16.396975] amdgpu 0000:00:01.0: loading /lib/firmware/4.14.10-tinycore64/radeon/kabini_sdma1.bin failed with error -2
[ 16.397003] amdgpu 0000:00:01.0: direct-loading radeon/kabini_sdma1.bin
[ 16.397009] firmware_class: fw_set_page_data: fw-radeon/kabini_sdma1.bin buf=ffff880004597b40 data=ffffc90000505000 size=4456
[ 16.397093] amdgpu 0000:00:01.0: fence driver on ring 9 use gpu addr 0x0000000f02400500, cpu addr 0xffffc900006f9500
[ 16.397205] amdgpu 0000:00:01.0: fence driver on ring 10 use gpu addr 0x0000000f02400580, cpu addr 0xffffc900006f9580
-
Hi halma
Based on this:
Module Size Used by Tainted: G
radeon 1007616 0
amdkfd 49152 1
amdgpu 1404928 1
drm_kms_helper 90112 2 radeon,amdgpu
ttm 57344 2 radeon,amdgpu
I would say your using AMD. The Used by numbers show radeon not being used by anything.
-
Booting the kernel with the following options will make it use RADEON:
radeon.si_support=1 radeon.cik_support=1 amdgpu.si_support=0 amdgpu.cik_support=0
Booting the kernel with the following options will make it use AMDGPU:
radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1
;)
So, how is AMDGPU working for you? All fine?