Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird booting with amdgpu rx580
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wowpetr
n00b
n00b


Joined: 12 May 2018
Posts: 12

PostPosted: Sat May 12, 2018 2:58 pm    Post subject: Weird booting with amdgpu rx580 Reply with quote

Everything works fine, but I have really weird booting. Instead of getting beautiful Gentoo's output reporting of initialization all things I got black screen with some kind of a visual artifact that looks like white-black horizontal field in the middle of the screen and then after a while I can see only the ending of initialization. I have some experience with amdgpu that runs on at least two other machines, but the video cards differ and on all of them I can see much more better view while booting. I believe that the problem might be either with the firmware or the kernel. It looks like it's trying to switch to other video mode and there must be the Linux logo with penguins but it can't switch to it properly and only show the artifact. I even tried different kernels and firmware packages from stable to experimental and I tried changing lots of options in kernel and yet there's no luck.

Code:
 # lspci | grep "VGA"
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7)

# uname -r
4.15.18-gentoo

dmesg

Code:
[    2.225047] [drm] amdgpu kernel modesetting enabled.
[    2.225218] [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1DA2:0xE366 0xE7).
[    2.225229] [drm] register mmio base: 0xF7E00000
[    2.225229] [drm] register mmio size: 262144
[    2.225236] [drm] probing gen 2 caps for device 8086:151 = 261ad03/e
[    2.225237] [drm] probing mlw for device 8086:151 = 261ad03
[    2.225253] [drm] UVD is enabled in VM mode
[    2.225253] [drm] UVD ENC is enabled in VM mode
[    2.225261] [drm] VCE enabled in VM mode
[    2.225487] [drm] GPU post is not needed
[    2.225499] [drm] vm size is 64 GB, block size is 13-bit, fragment size is 9-bit
[    2.225508] [drm] Detected VRAM RAM=4096M, BAR=256M
[    2.225508] [drm] RAM width 256bits GDDR5
[    2.225552] [drm] amdgpu: 4096M of VRAM memory ready
[    2.225552] [drm] amdgpu: 4096M of GTT memory ready.
[    2.225557] [drm] GART: num cpu pages 65536, num gpu pages 65536
[    2.225598] [drm] PCIE GART of 256M enabled (table at 0x000000F400040000).
[    2.225666] [drm] amdgpu: irq initialized.
[    2.225682] [drm] Chained IB support enabled!
[    2.226566] [drm] Found UVD firmware Version: 1.130 Family ID: 16
[    2.227125] [drm] Found VCE firmware Version: 53.26 Binary ID: 3
[    2.277688] [drm] DM_PPLIB: values for Engine clock
[    2.277689] [drm] DM_PPLIB:    30000
[    2.277690] [drm] DM_PPLIB:    60000
[    2.277690] [drm] DM_PPLIB:    90000
[    2.277690] [drm] DM_PPLIB:    114500
[    2.277690] [drm] DM_PPLIB:    121500
[    2.277691] [drm] DM_PPLIB:    125700
[    2.277691] [drm] DM_PPLIB:    130000
[    2.277691] [drm] DM_PPLIB:    141100
[    2.277692] [drm] DM_PPLIB: Warning: using default validation clocks!
[    2.277692] [drm] DM_PPLIB: Validation clocks:
[    2.277692] [drm] DM_PPLIB:    engine_max_clock: 72000
[    2.277693] [drm] DM_PPLIB:    memory_max_clock: 80000
[    2.277693] [drm] DM_PPLIB:    level           : 0
[    2.277693] [drm] DM_PPLIB: reducing engine clock level from 8 to 2
[    2.277694] [drm] DM_PPLIB: values for Memory clock
[    2.277694] [drm] DM_PPLIB:    30000
[    2.277695] [drm] DM_PPLIB:    100000
[    2.277695] [drm] DM_PPLIB:    200000
[    2.277695] [drm] DM_PPLIB: Warning: using default validation clocks!
[    2.277695] [drm] DM_PPLIB: Validation clocks:
[    2.277696] [drm] DM_PPLIB:    engine_max_clock: 72000
[    2.277696] [drm] DM_PPLIB:    memory_max_clock: 80000
[    2.277696] [drm] DM_PPLIB:    level           : 0
[    2.277696] [drm] DM_PPLIB: reducing memory clock level from 3 to 1
[    2.277697] [drm] DC: create_links: connectors_num: physical:5, virtual:0
[    2.293073] [drm] Display Core initialized!
[    2.318046] [drm] SADs count is: -524, don't need to read it
[    2.318049] [drm] Acer GD245HQ: [Block 0]
[    2.318050] [drm] Acer GD245HQ: [Block 1]
[    2.318052] [drm] dc_link_detect: manufacturer_id = 7204, product_id = 125, serial_number = 190C87C, manufacture_week = 19, manufacture_year = 20, display_name = Acer GD245HQ, speaker_flag = 0, audio_mode_count = 0
[    2.318062] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.318062] [drm] Driver supports precise vblank timestamp query.
[    2.319387] [drm] ring test on 0 succeeded in 15 usecs
[    2.320032] [drm] ring test on 9 succeeded in 9 usecs
[    2.320051] [drm] ring test on 1 succeeded in 9 usecs
[    2.320067] [drm] ring test on 2 succeeded in 3 usecs
[    2.320074] [drm] ring test on 3 succeeded in 3 usecs
[    2.320082] [drm] ring test on 4 succeeded in 3 usecs
[    2.320093] [drm] ring test on 5 succeeded in 5 usecs
[    2.320101] [drm] ring test on 6 succeeded in 3 usecs
[    2.320108] [drm] ring test on 7 succeeded in 3 usecs
[    2.320116] [drm] ring test on 8 succeeded in 3 usecs
[    2.320159] [drm] ring test on 10 succeeded in 6 usecs
[    2.320166] [drm] ring test on 11 succeeded in 6 usecs
[    2.357170] [drm] ring test on 12 succeeded in 1 usecs
[    2.359195] [drm] ring test on 13 succeeded in 967 usecs
[    2.359209] [drm] ring test on 14 succeeded in 5 usecs
[    2.359209] [drm] UVD and UVD ENC initialized successfully.
[    2.470159] [drm] ring test on 15 succeeded in 7 usecs
[    2.470171] [drm] ring test on 16 succeeded in 4 usecs
[    2.470188] [drm] ring test on 17 succeeded in 3 usecs
[    2.470189] [drm] VCE initialized successfully.
[    2.470444] [drm] ib test on ring 0 succeeded
[    2.470598] [drm] ib test on ring 1 succeeded
[    2.470638] [drm] ib test on ring 2 succeeded
[    2.470673] [drm] ib test on ring 3 succeeded
[    2.470711] [drm] ib test on ring 4 succeeded
[    2.470752] [drm] ib test on ring 5 succeeded
[    2.470790] [drm] ib test on ring 6 succeeded
[    2.470825] [drm] ib test on ring 7 succeeded
[    2.470864] [drm] ib test on ring 8 succeeded
[    2.975042] [drm] ib test on ring 9 succeeded
[    2.975099] [drm] ib test on ring 10 succeeded
[    2.975135] [drm] ib test on ring 11 succeeded
[    2.976808] [drm] ib test on ring 12 succeeded
[    2.978803] [drm] ib test on ring 13 succeeded
[    2.980809] [drm] ib test on ring 14 succeeded
[    2.981041] [drm] ib test on ring 15 succeeded
[    2.984814] [drm] fb mappable at 0xE056A000
[    2.984814] [drm] vram apper at 0xE0000000
[    2.984815] [drm] size 24883200
[    2.984815] [drm] fb depth is 24
[    2.984816] [drm]    pitch is 7680
[    2.992752] [drm] {1920x1080, 2200x1125@148500Khz}
[    3.019139] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:01:00.0 on minor 0

[    2.225047] [drm] amdgpu kernel modesetting enabled.
[    2.225453] amdgpu 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
[    2.225504] amdgpu 0000:01:00.0: VRAM: 4096M 0x000000F400000000 - 0x000000F4FFFFFFFF (4096M used)
[    2.225505] amdgpu 0000:01:00.0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF
[    2.225552] [drm] amdgpu: 4096M of VRAM memory ready
[    2.225552] [drm] amdgpu: 4096M of GTT memory ready.
[    2.225640] amdgpu 0000:01:00.0: amdgpu: using MSI.
[    2.225666] [drm] amdgpu: irq initialized.
[    2.225679] amdgpu: [powerplay] amdgpu: powerplay sw initialized
[    2.225726] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000000400040, cpu addr 0x0000000024aa2a93
[    2.225754] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr 0x00000000004000c0, cpu addr 0x000000005b32b3b5
[    2.225783] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000000400140, cpu addr 0x00000000aefa7ebb
[    2.226037] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr 0x00000000004001c0, cpu addr 0x00000000214fcd1e
[    2.226067] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000000400240, cpu addr 0x0000000021d47226
[    2.226097] amdgpu 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000004002c0, cpu addr 0x00000000cdb7f804
[    2.226123] amdgpu 0000:01:00.0: fence driver on ring 6 use gpu addr 0x0000000000400340, cpu addr 0x00000000dd66b943
[    2.226148] amdgpu 0000:01:00.0: fence driver on ring 7 use gpu addr 0x00000000004003c0, cpu addr 0x0000000088f5e29c
[    2.226172] amdgpu 0000:01:00.0: fence driver on ring 8 use gpu addr 0x0000000000400440, cpu addr 0x00000000db5f5c4d
[    2.226187] amdgpu 0000:01:00.0: fence driver on ring 9 use gpu addr 0x00000000004004e0, cpu addr 0x00000000d1a3764f
[    2.226537] amdgpu 0000:01:00.0: fence driver on ring 10 use gpu addr 0x0000000000400560, cpu addr 0x000000009f106778
[    2.226557] amdgpu 0000:01:00.0: fence driver on ring 11 use gpu addr 0x00000000004005e0, cpu addr 0x00000000ff34700e
[    2.227081] amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr 0x000000f4001e7a80, cpu addr 0x00000000f1d45ec4
[    2.227100] amdgpu 0000:01:00.0: fence driver on ring 13 use gpu addr 0x00000000004006e0, cpu addr 0x0000000007afb12f
[    2.227117] amdgpu 0000:01:00.0: fence driver on ring 14 use gpu addr 0x0000000000400760, cpu addr 0x000000007ce628ec
[    2.227191] amdgpu 0000:01:00.0: fence driver on ring 15 use gpu addr 0x00000000004007e0, cpu addr 0x00000000d6513cc4
[    2.227211] amdgpu 0000:01:00.0: fence driver on ring 16 use gpu addr 0x0000000000400860, cpu addr 0x00000000a55c796d
[    2.227228] amdgpu 0000:01:00.0: fence driver on ring 17 use gpu addr 0x00000000004008e0, cpu addr 0x00000000b465a61b
[    2.984897] fbcon: amdgpudrmfb (fb0) is primary device
[    3.013401] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[    3.019139] [drm] Initialized amdgpu 3.23.0 20150101 for 0000:01:00.0 on minor 0


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Tue May 22, 2018 11:42 am    Post subject: Reply with quote

Is your system booting in EFI mode? Then you need a frame buffer, there's no text console in EFI mode, so you'll not get any boot messages until the video driver is loaded:
https://forums.gentoo.org/viewtopic-t-1066642-highlight-.html

I think the artifact is caused be the amdgpu module/driver, it does the same for me with ""Kabini [Radeon HD 8400 / R3 Series]" it's fine with the radeon driver.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum