Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: halma on August 23, 2017, 01:08:10 PM

Title: Ati RS690/RS740 dmesg error (ATI X1200)
Post by: halma on August 23, 2017, 01:08:10 PM
hi,

while i try to get my screen in fullsize output (http://forum.tinycorelinux.net/index.php/topic,19985.0.html (http://forum.tinycorelinux.net/index.php/topic,19985.0.html))
dmesg put out this about radeon driver on Tinycore Linux version 4.8.17-tinycore64:
Code: [Select]
[    3.029835] CRAT table not found
[    3.029945] Finished initializing topology ret=0
[    3.036795] kfd kfd: Initialized module
[    3.040533] xen: registering gsi 18 triggering 0 polarity 1
[    3.040547] Already setup the GSI :18
[    3.041190] [drm] initializing kernel modesetting (RS690 0x1002:0x791F 0x1734:0x111D 0x00).
[    3.041329] [drm] register mmio base: 0xFE200000
[    3.041406] [drm] register mmio size: 65536
[    3.153406] ATOM BIOS: FSC
[    3.153576] radeon 0000:01:05.0: VRAM: 32M 0x000000007E000000 - 0x000000007FFFFFFF (32M used)
[    3.153663] radeon 0000:01:05.0: GTT: 512M 0x0000000080000000 - 0x000000009FFFFFFF
[    3.153820] [drm] Detected VRAM RAM=32M, BAR=32M
[    3.153893] [drm] RAM width 128bits DDR
[    3.166863] [TTM] Zone  kernel: Available graphics memory: 897202 kiB
[    3.166973] [TTM] Initializing pool allocator
[    3.167073] [TTM] Initializing DMA pool allocator
[    3.167253] [drm] radeon: 32M of VRAM memory ready
[    3.167329] [drm] radeon: 512M of GTT memory ready.
[    3.167471] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    3.331502] FUJITSU Extended Socket Network Device Driver - version 1.1 - Copyright (c) 2015 FUJITSU LIMITED
[    3.383438] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[    3.383552] [drm] PCIE GART of 512M enabled (table at 0x000000007BFA1000).
[    3.426821] radeon 0000:01:05.0: WB enabled
[    3.426934] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr 0x0000000080000000 and cpu addr 0xffff880006727000
[    3.427025] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.427097] [drm] Driver supports precise vblank timestamp query.
[    3.427173] radeon 0000:01:05.0: radeon: MSI limited to 32-bit
[    3.427407] radeon 0000:01:05.0: radeon: using MSI.
[    3.427572] [drm] radeon: irq initialized.
[    3.427676] [drm] Loading RS690/RS740 Microcode
[    3.438078] [drm] radeon: ring at 0x0000000080001000
[    3.595476] [drm:0xffffffffa00c54e2] *ERROR* radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
[    3.595571] [drm:0xffffffffa00c3a16] *ERROR* radeon: cp isn't working (-22).
[    3.595655] radeon 0000:01:05.0: failed initializing CP (-22).
[    3.595728] radeon 0000:01:05.0: Disabling GPU acceleration
[    3.749909] [drm:0xffffffffa00c3201] *ERROR* Wait for CP idle timeout, shutting down CP.
[    3.893949] Failed to wait GUI idle while programming pipes. Bad things might happen.
[    3.895349] [drm] radeon: cp finalized
[    3.902274] [drm] Radeon Display Connectors
[    3.902364] [drm] Connector 0:
[    3.902435] [drm]   DVI-I-1
[    3.902505] [drm]   HPD2
[    3.902578] [drm]   DDC: 0x7e40 0x7e60 0x7e44 0x7e64 0x7e48 0x7e68 0x7e4c 0x7e6c
[    3.902652] [drm]   Encoders:
[    3.902721] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    3.902792] [drm]     DFP2: INTERNAL_DDI
[    3.902861] [drm] Connector 1:
[    3.902931] [drm]   LVDS-1
[    3.903004] [drm]   DDC: 0x7e40 0x7e50 0x7e44 0x7e54 0x7e48 0x7e58 0x7e4c 0x7e5c
[    3.903076] [drm]   Encoders:
[    3.903146] [drm]     LCD1: INTERNAL_LVTM1
[    3.942960] e1000 0000:0e:07.0 eth1: (PCI:33MHz:32-bit) 90:e2:ba:27:65:eb
[    3.943066] e1000 0000:0e:07.0 eth1: Intel(R) PRO/1000 Network Connection
[    3.966385] [drm] fb mappable at 0xFC040000
[    3.966475] [drm] vram apper at 0xFC000000
[    3.966547] [drm] size 2211840
[    3.966619] [drm] fb depth is 8
[    3.966712] [drm]    pitch is 2048
[    3.967018] fbcon: radeondrmfb (fb0) is primary device
[    4.108001] Console: switching to colour frame buffer device 80x30
[    4.109313] radeon 0000:01:05.0: fb0: radeondrmfb frame buffer device
[    4.123382] [drm] Initialized radeon 2.46.0 20080528 for 0000:01:05.0 on minor 0

and
Code: [Select]
lsmod | grep radeon
radeon               1024000  1
drm_kms_helper         81920  1 radeon
ttm                    57344  1 radeon
drm                   212992  4 radeon,drm_kms_helper,ttm


how can i fix this ? the kernel is self compiled with the original TC kernel config, just added support for radeon (
did not removed the lib/firmware folder, is integrated into the corepure64.gz and i also had firmware-radeon.tcz as extension included.
thanks

    [EDIT]: Added code tags.  Rich
Title: Re: Ati RS690/RS740 dmesg error (ATI X1200)
Post by: curaga on August 23, 2017, 11:59:43 PM
Bug in the kernel radeon driver, but tracking down what exactly could be hard. You'd have to try newer kernel versions.
Title: Re: Ati RS690/RS740 dmesg error (ATI X1200)
Post by: halma on August 24, 2017, 02:24:40 PM
ok , same on Kernel 4.12.8 ...

do you have a link for the bugreport ? i want to know how to fix that.
Title: Re: Ati RS690/RS740 dmesg error (ATI X1200)
Post by: curaga on August 25, 2017, 01:50:23 AM
No link, probably nobody has reported it yet? The ones I found were from older kernels and marked fixed sometime in the 3.x series.