Bug 30371 - [SNB drm-intel-next] blank VGA
Summary: [SNB drm-intel-next] blank VGA
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: high blocker
Assignee: Chris Wilson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-25 01:23 UTC by Yi Sun
Modified: 2017-10-06 14:53 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg with drm.debug=0xe (48.84 KB, text/plain)
2010-09-25 23:44 UTC, fangxun
no flags Details

Description Yi Sun 2010-09-25 01:23:42 UTC
Environment:
------------
platform: HuronRiver
kernel:         (drm-intel-next)38d922ba211c1efdbe00809c899f1ca4979c84c7

Libdrm:         (master)2.4.21-21-g7ec9a1effa4f551897f91f3b017723a8adf011d9
Mesa:           (7.9)83f5f50f2f69adae497c71ac48e4e0177979ebff
Xserver:                (master)xorg-server-1.9.0
Xf86_video_intel:               (master)2.12.0-87-g08c2caca48323d6d5701dcef3486f850619d7905
Cairo:          (master)cb0bc64c16b3a38cbf0c622830c18ac9ea6e2ffe
Libva:          (master)6772bdb4406edaf55da2e3604003c9eafff31c36


Bug detailed description:
--------------------------
Screen turns to black, while kernel boots up using the latest version. But we are able to login the machine with ssh.
If change the kernel to 2.6.35-rc4 the issue doesn't come out.
Comment 1 Chris Wilson 2010-09-25 01:38:01 UTC
With modesetting issues, always attach a drm.debug=0xe [at least] dmesg, so we know what we are dealing with. I suspect this will be another eDP, probably PCH_eDP, for which KMS is under active development.

Downgrading priority based on my eDP presumption and the likelihood that it will not get fixed within until we have eDP solid in -next and can start looking to backport fixes.
Comment 2 fangxun 2010-09-25 23:44:15 UTC
Created attachment 38958 [details]
dmesg with drm.debug=0xe 

The output type we used is VGA.
Comment 3 Chris Wilson 2010-09-26 00:36:10 UTC
[drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:VGA-1] probed modes :
[drm:drm_mode_debug_printmodeline], Modeline 24:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[drm:drm_mode_debug_printmodeline], Modeline 22:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 21:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 23:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
[drm:drm_mode_debug_printmodeline], Modeline 20:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa

Ok, they look like the default set of modes, so I guess an EDID read failure and we never apply a modeline the monitor can use.
Comment 4 Chris Wilson 2010-09-28 05:40:34 UTC
This should restore the probing:

commit cb8ea7527b813dd6e19fb07328f7867a5f0a8d0a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Sep 28 13:35:47 2010 +0100

    drm/i915: Use i2c bit banging instead of GMBUS
    
    There are several reported instances of GMBUS failing to successfully
    read the EDID, so revert back to bit banging until the issue is
    resolved.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30371
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 5 Ian Romanick 2010-10-05 17:36:21 UTC
Using [SNB] as the tag for bugs specific to Sandybridge hardware.
Comment 6 Gordon Jin 2010-10-13 01:17:31 UTC
I guess this is the -next regression mentioned by Zhenyu?

Promoting to P1, since SNB testing is moving to -next. It works with .36-rc7.
Comment 7 Yi Sun 2010-10-13 01:51:36 UTC
The issue still there. The screen turns to black when KMS step.

(In reply to comment #4)
> This should restore the probing:
> commit cb8ea7527b813dd6e19fb07328f7867a5f0a8d0a
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Tue Sep 28 13:35:47 2010 +0100
>     drm/i915: Use i2c bit banging instead of GMBUS
>     There are several reported instances of GMBUS failing to successfully
>     read the EDID, so revert back to bit banging until the issue is
>     resolved.
>     Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30371
>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 8 Gordon Jin 2010-10-24 19:30:55 UTC
Chris, any update?
Comment 9 Chris Wilson 2010-10-31 01:28:46 UTC
I can say that the SNB machine here successfully probed the EDID on the VGA. I will have to endure the noise to actually see whether the screen is no longer blank... But I suspect that it will require some of Zhenyu's FDI patches first.
Comment 10 Yi Sun 2010-11-01 19:39:26 UTC
We tried the latest kernel on drm-intel-next branch. The blank issue is fixed. But the KMS doesn't work. The KMS issue just likes the one on Piketon described by bug 31282.
Comment 11 Chris Wilson 2010-11-02 02:31:36 UTC
Marking this bug as closed for the time being. We can come back to this if fixing 31282 is not sufficient.
Comment 12 Yi Sun 2010-11-02 23:22:59 UTC
The KMS doesn't work. Just VGA mode after kernel boot up. The dmesg information is:
[drm:init_ring_common] *ERROR* render ring initialization failed ctl 00000000 head 00000000 tail 00000000 start 00000000
[drm:i915_driver_load] *ERROR* failed to init modeset
Comment 13 Chris Wilson 2010-11-03 02:36:59 UTC
(In reply to comment #12)
> The KMS doesn't work. Just VGA mode after kernel boot up. The dmesg information
> is:
> [drm:init_ring_common] *ERROR* render ring initialization failed ctl 00000000
> head 00000000 tail 00000000 start 00000000
> [drm:i915_driver_load] *ERROR* failed to init modeset

That's a completely different bug, so please file it separately and include an lspci. I am being evil and just seeing how many people had SNB machines that only ever returned 0 from the ring registers and forgot to mention it.
Comment 14 Yi Sun 2010-11-03 18:29:18 UTC
Ok,so verified it and file a new bug to track it.
Comment 15 Elizabeth 2017-10-06 14:53:44 UTC
Closing old verified.


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.