https://bugzilla.kernel.org/show_bug.cgi?id=211981
Bug ID: 211981 Summary: AMDGPU: without cable attached videocard shuts down and does wake up again, log prints "[drm] Cannot find any crtc or sizes" Product: Drivers Version: 2.5 Kernel Version: 5.10.10 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: raulvior.bcn@gmail.com Regression: No
Created attachment 295505 --> https://bugzilla.kernel.org/attachment.cgi?id=295505&action=edit Dmesg when no output is attached. Framebuffer not initalized.
Linux boot shows the message in the title of this bug report if the videocard does not have any output attached. The computer boots up and when Linux starts loading, the card shuts down: fans stop spinning and the LED of the logo turns off. It's a Sapphire Radeon RX 580. If I attach the cable past this point the card does not turn on again. Pressing keys on the keyboard, moving the mouse or turning off and on the monitor does not awake the GPU.
amdgpu 0000:27:00.0: amdgpu: SE 4, SH per SE 1, CU per SH 9, active_cu_number 36 amdgpu 0000:27:00.0: [drm] Cannot find any crtc or sizes [drm] Initialized amdgpu 3.40.0 20150101 for 0000:27:00.0 on minor 0
If there's an output device attached to the videocard, then it prints this text:
amdgpu 0000:27:00.0: amdgpu: SE 4, SH per SE 1, CU per SH 9, active_cu_number 36 [drm] fb mappable at 0xE0BEB000 [drm] vram apper at 0xE0000000 [drm] size 7299072 [drm] fb depth is 24 [drm] pitch is 6912 fbcon: amdgpudrmfb (fb0) is primary device EDAC amd64: F17h detected (node 0). EDAC amd64: Node 0: DRAM ECC disabled. Console: switching to colour frame buffer device 210x65 amdgpu 0000:27:00.0: [drm] fb0: amdgpudrmfb frame buffer device [drm] Initialized amdgpu 3.40.0 20150101 for 0000:27:00.0 on minor 0
https://bugzilla.kernel.org/show_bug.cgi?id=211981
raul (raulvior.bcn@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|AMDGPU: without cable |AMDGPU: without cable |attached videocard shuts |attached videocard shuts |down and does wake up |down and does not wake up |again, log prints "[drm] |again, log prints "[drm] |Cannot find any crtc or |Cannot find any crtc or |sizes" |sizes"
https://bugzilla.kernel.org/show_bug.cgi?id=211981
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher (alexdeucher@gmail.com) --- Does setting amdgpu.runpm=0 fix it?
https://bugzilla.kernel.org/show_bug.cgi?id=211981
--- Comment #2 from raul (raulvior.bcn@gmail.com) --- (In reply to Alex Deucher from comment #1)
Does setting amdgpu.runpm=0 fix it?
Yes, it does.
dri-devel@lists.freedesktop.org