I debugged a bit further on the waking from sleep issue - it actually
also happens when changing modes through xrandr so not really related to
waking from S3, just turning off/on the display.

The display in the UX302LG/LA needs to be run at 24-bit apparently - the
current intel-gfx code (including in drm-intel-nightly) is clamping to
18bpp due to the BIOS advertising such info in the VBT (the same
behavior is seen with CSM and nonCSM mode).

If you remove the clamping, then everything works (display up at boot, 
modesetting works, waking from sleep works)
 - you don't really need commit c26fe8e5eb34c18aa9ab60fcf4c3150663a52306 BTW, 
just removing the clamping to run the pipe at 24bpp fixes all the blank screen 
issues.

This behavior was noted on other laptops as described in the intel-gfx bug:
https://bugzilla.kernel.org/show_bug.cgi?id=59841

As you can see in the bug description above, the temporary solution that's been 
merged in 3.12 was this hack:
https://bugzilla.kernel.org/attachment.cgi?id=111321&action=diff

Not entirely sure why that is not working for the UX302LG/LA yet (in
fact I don't see dp_get_config called at all for some reason, so the
hack does not go into effect).


** Bug watch added: Linux Kernel Bug Tracker #59841
   http://bugzilla.kernel.org/show_bug.cgi?id=59841

** Patch added: "0001-i915-Ignore-eDP-clamping-to-BIOS-provided-VBT-value.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1265544/+attachment/3946655/+files/0001-i915-Ignore-eDP-clamping-to-BIOS-provided-VBT-value.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1265544

Title:
  8086:0a16 [UX302LG] black screen on boot 3.12.0-7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1265544/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to