AMDGPU: without cable attached videocard shuts down and does not wake up again, log prints "[drm] Cannot find any crtc or sizes"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-amdgpu (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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
In order to workaround this issue I have to pass Linux the parameter amdgpu.runpm=0.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xserver-
Uname: Linux 5.10.10-
.tmp.unity_
ApportVersion: 2.20.11-
Architecture: amd64
BootLog:
CasperMD5CheckR
CompizPlugins: No value set for `/apps/
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read kernel buffer failed: Operation not permitted
Date: Mon Mar 8 16:53:25 2021
DistroCodename: focal
DistroVariant: ubuntu
GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/
Subsystem: Sapphire Technology Limited Nitro+ Radeon RX 570/580/590 [1da2:e366]
InstallationDate: Installed on 2014-06-05 (2467 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Micro-Star International Co., Ltd. MS-7B79
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xserver-
UpgradeStatus: Upgraded to focal on 2020-04-26 (315 days ago)
dmi.bios.date: 06/11/2020
dmi.bios.release: 5.14
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: H.60
dmi.board.
dmi.board.name: X470 GAMING PLUS MAX (MS-7B79)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 3.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7B79
dmi.product.sku: To be filled by O.E.M.
dmi.product.
dmi.sys.vendor: Micro-Star International Co., Ltd.
version.compiz: compiz 1:0.9.14.
version.libdrm2: libdrm2 2.4.102-
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Mon Feb 4 17:21:56 2019
xserver.configfile: default
xserver.errors:
[drm] Failed to open DRM device for pci:0000:01:00.0: -19
open /dev/dri/card0: No such file or directory
open /dev/dri/card0: No such file or directory
Screen 0 deleted because of no matching config section.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
xserver.version: 2:1.20.1-3ubuntu2.1