Skip to contentSkip to conversation

New: [Raven Ridge] console disappears after framebuffer device loads

Bug 216806 [email protected] 1 participant 9 messages Dec 13, 2022 – Sep 30, 2023

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216806

            Bug ID: 216806
           Summary: [Raven Ridge] console disappears after framebuffer
                    device loads
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.0.8
          Hardware: AMD
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 303402
--> https://bugzilla.kernel.org/attachment.cgi?id=303402&action=edit
dmesg - debug drm, no dc

I have an HP c645 Chromebook with Ryzen 3 3250C APU.
Everytime, when the FB/DRM loads and vgaconsole get's deactivated, the console freezes. I tried many common kernel parameters so far with no luck. By default it freezes back in the boot sequence,
using amdgpu.dc=0 it freezes after the tty shows the login text. I attached the logs with debug drm flags, with disabling the Display Core driver, the last message is some BT device load message and right after that I found the DRM load.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216806] [Raven Ridge] console disappears after framebuffer device loads

https://bugzilla.kernel.org/show_bug.cgi?id=216806

Alex Deucher ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher ([email protected]) --- please make sure CONFIG_DRM_FBDEV_EMULATION is set in your kernel config.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216806] [Raven Ridge] console disappears after framebuffer device loads

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216806

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 216806] [Raven Ridge] console disappears after framebuffer device loads

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216806

--- Comment #2 from Balazs Vinarz ([email protected]) --- Hello Alex,
it's set:

$ zgrep DRM_FBDEV /proc/config.gz 
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
I just got a hint to use the iommu=pt, but that one didn't work too.
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 216806] [Raven Ridge] console disappears after framebuffer device loads

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216806

--- Comment #4 from Balazs Vinarz ([email protected]) ---
Just some more information to share here. I gave it another try, and the console freezes exactly at the moment when drm enables the kernel modesetting.

[    6.329371] [drm] amdgpu kernel modesetting enabled.

With nomodesetting it works like it should, the vgaconsole remain active and useable.
Do we know somebody who has some knowledge to understand the DRM logs? Otherwise these lines are pretty strange for me:

[    6.330490] amdgpu: Ignoring ACPI CRAT on non-APU system
.
.
.
[    6.515889] [drm] failed to load ucode RLC_RESTORE_LIST_CNTL(0x28) 
[    6.515892] [drm] psp gfx command LOAD_IP_FW(0x6) failed and response status
is (0xFFFF300F)
[    6.516529] [drm] failed to load ucode RLC_RESTORE_LIST_GPM_MEM(0x29) 
[    6.516531] [drm] psp gfx command LOAD_IP_FW(0x6) failed and response status
is (0xFFFF000F)
[    6.517064] [drm] failed to load ucode RLC_RESTORE_LIST_SRM_MEM(0x2A) 
[    6.517066] [drm] psp gfx command LOAD_IP_FW(0x6) failed and response status

is (0xFFFF000F)
.
.
.

[    6.549311] [drm] psp gfx command LOAD_ASD(0x4) failed and response status
is (0x34)
[    6.549317] amdgpu 0000:04:00.0: amdgpu: RAS: optional ras ta ucode is not
available
[    6.550582] [drm] psp gfx command LOAD_TA(0x1) failed and response status is
(0x34)
[    6.551810] [drm] psp gfx command LOAD_TA(0x1) failed and response status is

(0x34)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 216806] [Raven Ridge] console disappears after framebuffer device loads

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216806

--- Comment #5 from Balazs Vinarz ([email protected]) --- The latest 6.5.5-arch1-1 kernel just turned the display into a full white screen with high brightness.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 216806] [Raven Ridge] console disappears after framebuffer device loads

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216806

Artem S. Tashkinov ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |CLOSED
         Resolution|---                         |ANSWERED

--- Comment #6 from Artem S. Tashkinov ([email protected]) --- Please repost here:

https://gitlab.freedesktop.org/drm/amd/-/issues

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 216806] [Raven Ridge] console disappears after framebuffer device loads

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216806

--- Comment #7 from Balazs Vinarz ([email protected]) --- It turned out with the latest kernel the amd_iommu=off did the trick.
https://gitlab.freedesktop.org/drm/amd/-/issues/2884

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.