Bug 117411 - [radeon][HD5650][REDWOOD][bisected] X.Org multiple delays during server start
Summary: [radeon][HD5650][REDWOOD][bisected] X.Org multiple delays during server start
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-30 10:32 UTC by no.spam.to.me
Modified: 2016-06-12 21:45 UTC (History)
0 users

See Also:
Kernel Version: since 4.3-rc4
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Xorg log for 4.4.0 kernel (32.99 KB, text/x-log)
2016-04-30 10:32 UTC, no.spam.to.me
Details
dmesg for 4.4.0 (54.58 KB, text/plain)
2016-04-30 11:25 UTC, no.spam.to.me
Details

Description no.spam.to.me 2016-04-30 10:32:07 UTC
Created attachment 214751 [details]
Xorg log for 4.4.0 kernel

Hi there!

I'm running Debian testing with kernel 4.5.0-1-amd64.

Before this I ran Debian Jessie with 3.16.0-4-amd64.

After upgrading to testing I noticed a highly increased boot delay of roughly one minute (that was already kernel 4.4.0).

In Xorg log I can see that there is three times a gap of about roughly 12 seconds (maybe because my card has three connectors [HDMI/LVDS/VGA]?).

When the kernel loads the radeon module there is also a long "black period".

Now I found out that by setting radeon.dpm=0 the delay is gone- together with power management.
Comment 1 no.spam.to.me 2016-04-30 11:25:28 UTC
Created attachment 214761 [details]
dmesg for 4.4.0
Comment 2 no.spam.to.me 2016-04-30 11:27:58 UTC
Look here:
[   24.114256] Bluetooth: BNEP socket layer initialized
[   35.249644] Console: switching to colour frame buffer device 170x48

That seems to be the "black period"
Comment 3 no.spam.to.me 2016-05-17 15:19:52 UTC
After Bisecting the Kernel I got the commit that introduces the extra 40s Xorg delay:

8c70e1cda04b966b50ddfefafbd0ea376ed8edd5 is the first bad commit
commit 8c70e1cda04b966b50ddfefafbd0ea376ed8edd5
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Fri Oct 2 16:52:58 2015 -0400

    drm/radeon: restore the fbdev mode in lastclose
    
    restore the fbdev state if a drm app like X is killed.
    
    Tested-by: Michel Dänzer <michel.daenzer@amd.com>
    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
    Reviewed-by: Christian König <christian.koenig@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

:040000 040000 d67406e169b8003fc72edf4d26f206ff2e164bf0 5e053c1de5f504e876daffef19a59850a8b6015e M	drivers

But I don't know how to identify the delay at boot.
Comment 4 no.spam.to.me 2016-05-25 06:26:14 UTC
I open another Bug for the Kernel delay stuff, think this are two separate bugs.
Comment 5 no.spam.to.me 2016-06-12 21:45:38 UTC
Compiled 4.7.0-rc2 today and it is fixed in there.

Note You need to log in before you can comment on or make changes to this bug.