Bug 107493

Summary: Screen goes blank while loading drm driver
Product: DRI Reporter: Sebastian Luncan <esebaro>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: low    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
xorg log
none
dmesg none

Description Sebastian Luncan 2018-08-06 10:38:51 UTC
I have a PC with:
MB: Asrock AM1B-ITX
CPU: AMD Kabini Athlon 5350 APU
iGPU: Radeon HD 8400 / R3 Series
Displays: DVI Asus, HDMI Samsung

Kernels: 4.12/4.14/4.15/4.16/4.17
Drivers: radeon, amdgpu, amdgpu-dc

Booting in UEFI mode, EFIFB/SimpleFB

When the drm driver is loaded on system boot or when is loaded manually the screen goes blank. The screen content reappears after the driver has been loaded.
I assume switching from efifb/simblefb to radeon/amdgpudrmfb causes this.
Comment 1 Alex Deucher 2018-08-06 16:13:36 UTC
Please attach your xorg log and dmesg output.  What display connectors are on your system and which are you using?  Are you using DVI and HDMI at the same time?
Comment 2 Sebastian Luncan 2018-08-06 18:32:59 UTC
Created attachment 140984 [details]
xorg log
Comment 3 Sebastian Luncan 2018-08-06 18:36:45 UTC
Created attachment 140985 [details]
dmesg

The mainboard has two video ports, DVI and HDMI. I use the DVI port. I can test the HDMI port too if that helps.
Comment 4 Michel Dänzer 2018-08-15 15:31:30 UTC
(In reply to Sebastian Luncan from comment #0)
> When the drm driver is loaded on system boot or when is loaded manually the
> screen goes blank. The screen content reappears after the driver has been
> loaded.

So this report is about the screen temporarily blanking while the driver initializes? If so, that's not really a bug, getting rid of that would be an enhancement.
Comment 5 Sebastian Luncan 2018-08-15 18:37:22 UTC
(In reply to Michel Dänzer from comment #4)
> So this report is about the screen temporarily blanking while the driver
> initializes? If so, that's not really a bug, getting rid of that would be an
> enhancement.

Yes.
I didn't know that's how AMD drivers load.
Starting with 4.14 there's also a screen wide artifact when loading the driver so I thought the screen blanking is a bug.
Comment 6 Michel Dänzer 2018-08-16 07:30:51 UTC
(In reply to Sebastian Luncan from comment #5)
> Starting with 4.14 there's also a screen wide artifact when loading the
> driver [...]

Those artifacts should be fixed as of 4.18.
Comment 7 Sebastian Luncan 2018-08-16 09:24:15 UTC
(In reply to Michel Dänzer from comment #6)
> Those artifacts should be fixed as of 4.18.
OK, thanks.
Comment 8 Martin Peres 2019-11-19 08:46:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/472.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.