[Bug 93523] New: [IVB] laptop display edp1 boots to letterboxed 1920x1080 instead of full screen 2560x1600 (Macbook 13 retina)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 28 11:16:09 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93523

            Bug ID: 93523
           Summary: [IVB] laptop display edp1 boots to letterboxed
                    1920x1080 instead of full screen 2560x1600 (Macbook 13
                    retina)
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: chris.bainbridge at gmail.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 120717
  --> https://bugs.freedesktop.org/attachment.cgi?id=120717&action=edit
dmesg-bad-boot-resolution

Kernel: 4.4.0-rc7
Distribution: Debian stable (jessie)

This is possibly a long standing kernel bug, perhaps exposed now by an OSX
firmware update, or a change in grub.

1. Grub boots and uses default 1920x1080 EFI GOP mode (looks like native
2560x1600 with 16:9 letterbox bars)
2. Linux boots and sets the video mode to 2560x1600

Result:
        After boot xrandr reports 2560x1600 but display is still 16:9 with
letterbox black bars at the top and bottom of the screen as if 1920x1080 were
still active.

Workaround:
        Suspend-to-ram and resume
        video mode is now correct 2560x1600 and display is 16:10 full screen
with no letterbox bars


It looks like some setting of the initial boot mode 1920x1080 fb (used by grub)
is preserved when the mode is set to 2560x1600 on first boot, but then cleared
when the video is reinitialised on suspend resume.


[    0.420299] [drm:drm_atomic_set_mode_for_crtc] Set [MODE:2560x1600] for CRTC
state ffff88008885f000
[    0.420379] [drm:drm_mode_debug_printmodeline] Modeline 0:"2560x1600" 60
268492 2560 2608 2640 2720 1600 1603 1609 1646 0x40 0xa
[    0.420382] [drm:drm_mode_debug_printmodeline] Modeline 0:"2560x1600" 60
268492 2560 2608 2640 2720 1600 1603 1609 1646 0x40 0xa
[    0.420383] [drm:intel_dump_crtc_timings] crtc timings: 268492 2560 2608
2640 2720 1600 1603 1609 1646, type: 0x40 flags: 0xa
[    0.420385] [drm:intel_dump_pipe_config] pipe src size: 1920x1080
[    0.420608] [drm:ironlake_get_initial_plane_config] pipe C with fb:
size=1920x1080 at 32, offset=0, pitch 7680, size 0x7e9000
[    0.427050] [drm:drm_mode_debug_printmodeline] Modeline 35:"2560x1600" 60
268500 2560 2608 2640 2720 1600 1603 1609 1646 0x48 0x9
[    0.596105] [drm:intel_fb_initial_config] connector eDP-1 on pipe C
[CRTC:29]: 2560x1600
[    0.596119] [drm:drm_setup_crtcs] desired mode 2560x1600 set on crtc 29
(0,0)
[    0.598222] [drm:intelfb_create] allocated 2560x1600 fb: 0x0084d000, bo
ffff880254a70000
[    0.598418] [drm:drm_atomic_set_mode_for_crtc] Set [MODE:2560x1600] for CRTC
state ffff8800888ec000
[    0.598454] [drm:drm_mode_debug_printmodeline] Modeline 0:"2560x1600" 60
268500 2560 2608 2640 2720 1600 1603 1609 1646 0x48 0x9
[    0.598456] [drm:drm_mode_debug_printmodeline] Modeline 0:"2560x1600" 60
268500 2560 2608 2640 2720 1600 1603 1609 1646 0x48 0x9
[    0.598457] [drm:intel_dump_crtc_timings] crtc timings: 268500 2560 2608
2640 2720 1600 1603 1609 1646, type: 0x48 flags: 0x9
[    0.598458] [drm:intel_dump_pipe_config] pipe src size: 2560x1600
[    0.598466] [drm:intel_dump_pipe_config]     FB:55, fb = 1920x1080 format =
0x34325258

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20151228/7f3e11b9/attachment-0001.html>


More information about the intel-gfx-bugs mailing list