Bug 89578

Summary: [IVB CPU eDP] local flat panel stays blank
Product: DRI Reporter: Oleksij Rempel <linux>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: bryce, intel-gfx-bugs, jani.nikula
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: IVB i915 features: display/eDP
Attachments:
Description Flags
dmesg - no vga is attached.
none
dmesg - vga attached + switched to eDP in grub.
none
dmesg - vga attached
none
dmesg - no hdmi is attached.
none
dmesg - hdmi attached
none
dmesg - hdmi attached + switched to eDP in grub.
none
i915_opregion - no hdmi is attached.
none
i915_opregion - hdmi attached
none
i915_opregion - hdmi attached + switched to eDP in grub.
none
[PATCH] none

Description Oleksij Rempel 2015-03-14 08:30:24 UTC
This clean repost of Bug 48652, as was requested by Jani Nikula.

Short summary:
- reproducible with current drm-intel-nightly.git f7def439e21ca 14.03.2015

- affected hardware: Asus Zenbook ux31a
Vendor: 0x8086, Device: 0x0166, Revision: 0x09 (??)
render clock: unknown  sampler clock: unknown

- if external VGA is attached, internal eDP will stay blank.
- known workaround: switch from VGA to eDP in grub or BIOS
- it is not possible to configure BIOS to use eDP as default output.
Comment 1 Oleksij Rempel 2015-03-14 08:32:11 UTC
Created attachment 114306 [details]
dmesg - no vga is attached.
Comment 2 Oleksij Rempel 2015-03-14 08:33:06 UTC
Created attachment 114307 [details]
dmesg - vga attached + switched to eDP in grub.
Comment 3 Oleksij Rempel 2015-03-14 08:37:13 UTC
Created attachment 114308 [details]
dmesg - vga attached

This is actual bug + some more problems  probably depending on this bug.
In this case only VGA is working. eDP is blank with enabled backlight. X recognized two enabled outputs, but hanged after login.
Comment 4 Jani Nikula 2015-03-16 09:38:27 UTC
*** Bug 48652 has been marked as a duplicate of this bug. ***
Comment 5 Jani Nikula 2016-04-21 12:28:48 UTC
I appears we haven't had a clue, but we may have inadvertently fixed this anyway. 

Does the problem persist with latest kernels?
Comment 6 Oleksij Rempel 2016-04-22 14:21:43 UTC
Still same issue, may be even worse...
Comment 7 Ville Syrjala 2016-04-22 14:45:21 UTC
Can we get a set fresh dmesgs from latest drm-intel-nightly with drm.debug=0xe please (from all three scenarios)? Also a copy of /sys/kernel/debug/dri/0/i915_opregion would be good to have here.
Comment 8 Oleksij Rempel 2016-04-23 06:29:41 UTC
I didn't hadright now acassable VGA display, so i used HDMI port wich has same issue.
Comment 9 Oleksij Rempel 2016-04-23 06:30:36 UTC
Created attachment 123166 [details]
dmesg - no hdmi is attached.
Comment 10 Oleksij Rempel 2016-04-23 06:31:13 UTC
Created attachment 123167 [details]
dmesg - hdmi attached
Comment 11 Oleksij Rempel 2016-04-23 06:31:45 UTC
Created attachment 123168 [details]
dmesg - hdmi attached + switched to eDP in grub.
Comment 12 Oleksij Rempel 2016-04-23 06:33:11 UTC
Created attachment 123169 [details]
i915_opregion - no hdmi is attached.
Comment 13 Oleksij Rempel 2016-04-23 06:33:47 UTC
Created attachment 123170 [details]
i915_opregion - hdmi attached
Comment 14 Oleksij Rempel 2016-04-23 06:34:20 UTC
Created attachment 123171 [details]
i915_opregion - hdmi attached + switched to eDP in grub.
Comment 15 Ville Syrjala 2016-05-13 17:58:47 UTC
Created attachment 123724 [details] [review]
[PATCH]
Comment 16 Ville Syrjala 2016-05-13 18:02:31 UTC
We don't have too many details in this report about the symptom, so it's a bit hard to know what was happening. But unless I totally misread that earlier bug report, the problem gets fixed after a modeset?

If so, the patch I just attached might do something. In the bad case the BIOS left VDD on, and we never turn it off prior to enabling the eDP port. That does make sense since it's a good way to avoid the power cycled delay during boot, but in this case perhaps the panel is confused and we have to power it down first.
Comment 17 Oleksij Rempel 2016-05-14 14:34:47 UTC
Hi

suddenly this patch not fixing the problem.

I can workaround this problem by switching the screen in the grub (using Fn+F8), or by using Win7.. After linux kernel started Fn+F8 is not working any more.
Comment 18 Oleksij Rempel 2016-05-20 06:41:18 UTC
I found one more workaround:

After Linux is started (i used the kernel with "force edp vdd off at boot" patch), go to suspend S3 and then wake it.
After this both screen work normal.
Comment 19 Jari Tahvanainen 2017-03-28 11:35:20 UTC
Oleksij - I'm sorry about this long lead time until getting back to you. Does the problem persist with latest kernels?
Comment 20 Oleksij Rempel 2017-04-19 13:22:15 UTC
Hi,

i just gave this device to other people. So i can't test it any more :(

Any way, thank you for your work!
Comment 21 yann 2017-04-19 13:31:39 UTC
(In reply to Oleksij Rempel from comment #20)
> Hi,
> 
> i just gave this device to other people. So i can't test it any more :(
> 
> Any way, thank you for your work!

Thanks Oleksij Rempel, then assuming that it is fixed by now. In case it is occurring again, use lastest kernel and don't hesitate to re-open it with new logs.

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.