[bug] screen is black after xrandr rotate command

Bug #1446979 reported by XiongZhang
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Medium
Timo Aaltonen
linux (Ubuntu)
Fix Released
Medium
Timo Aaltonen
Vivid
Fix Released
Medium
Timo Aaltonen

Bug Description

When running "xrandr --output xxxxx --rotate inverted " on intel platforms with ubuntu 15.04, screen becomes black.

Steps to reproduce:
1. install ubuntu 15.04 with intel graphic card and boot up into desktop
2. run xrandr --output eDP1 --rotate inverted

Expect result:
eDP screen rotate inverted

Actual result:
eDP screen is black.

Revision history for this message
XiongZhang (xiong-y-zhang) wrote :

 The following two commits from 4.0 kernel could fix this issue.
ecb7e16 drm: add helper to get crtc timings (v5)
455a680 drm/i915: remove intel_pipe_set_base() (v4)

Please backport these two commits to vivid kernel.

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1446979

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Changed in linux (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

My BDW seems to rotate fine with current vivid. The kernel already has ecb7e16 backported for i915_bpo (used by CHV and SKL).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

also, there's a separate bug I filed for adding rotation support for SKL, bug 1447143

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Mainline commit ecb7e16 is in 15.04 as of the Ubuntu-3.19.0-12.12 kernel as commit b610fbd:
b610fbd drm: add helper to get crtc timings (v5)

Mainline commit 455a680 may not be needed. Can you test the latest 15.04 kernel and see if this bug still exists? The latest version is 3.19.0-15.15.

Thanks, in advance!

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Ah.. I didn't try inverted, just 90/270 degrees.. yes, inverted gives black screen on BDW, tested on 3.19.0-14

Revision history for this message
XiongZhang (xiong-y-zhang) wrote :

3.19.0-15.15 still has such issue on BDW, you should backport 455a680.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

verified that the commit fixed it for BDW

Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu Vivid):
assignee: nobody → Timo Aaltonen (tjaalton)
Brad Figg (brad-figg)
Changed in linux (Ubuntu Vivid):
status: Triaged → Fix Committed
Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-vivid' to 'verification-done-vivid'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-vivid
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (17.8 KiB)

This bug was fixed in the package linux - 3.19.0-17.17

---------------
linux (3.19.0-17.17) vivid; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1452000

  [ Damien Lespiau ]

  * SAUCE: i915_bpo: drm/i915/skl: Fix stepping check for a couple of W/As
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Implement WaDisableVFUnitClockGating
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Add the INIT power domain to the MISC
    I/O power well
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Fix the CTRL typo in the DPLL_CRTL1
    defines
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Make the Misc I/O power well part of the
    PLLS domain
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Deinit/init the display at
    suspend/resume
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Change CDCLK behind PCU's back
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: gen6+ platforms support runtime PM
    - LP: #1449469

  [ Imre Deak ]

  * SAUCE: i915_bpo: drm/i915/gen9: fix PIPE_CONTROL flush for
    VS_INVALIDATE
    - LP: #1449469

  [ Leann Ogasawara ]

  * [Config] Set CONFIG_XEN_MAX_DOMAIN_MEMORY defaults

  [ Matt Roper ]

  * SAUCE: i915_bpo: drm/i915: Switch to full atomic helpers for plane
    updates/disable, take two
    - LP: #1449469

  [ Sonika Jindal ]

  * SAUCE: i915_bpo: drm/i915/skl: Allow universal planes to position
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Support for 90/270 rotation
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Add back HDMI translation table
    - LP: #1449469

  [ Stefan Bader ]

  * SAUCE: vesafb: Set mtrr:3 (write-combining) as default
    - LP: #1434581

  [ Timo Aaltonen ]

  * SAUCE: Call i915_bpo specific functions from the hda driver
    - LP: #1449464
  * SAUCE: i915_bpo: Use get_display_clock_speed
    - LP: #1449469
  * SAUCE: i915_bpo: Add a few register definitions
    - LP: #1449469

  [ Upstream Kernel Changes ]

  * Revert "sparc/PCI: Clip bridge windows to fit in upstream windows"
    - LP: #1446316
  * Revert "PM / hibernate: avoid unsafe pages in e820 reserved regions"
    - LP: #1446316
  * Revert "libceph: use memalloc flags for net IO"
    - LP: #1446316
  * Revert "net: Reset secmark when scrubbing packet"
    - LP: #1451996
  * ASoC: da732x: Fix control-less DAPM routes
    - LP: #1446316
  * ASoC: ak4671: Fix control-less DAPM routes
    - LP: #1446316
  * ASoC: sn95031: Fix control-less DAPM routes
    - LP: #1446316
  * ASoC: sgtl5000: remove useless register write clearing CHRGPUMP_POWERUP
    - LP: #1446316
  * ASoC: pcm1681: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: cs4271: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: es8238: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: wm8960: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: tas5086: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: wm8731: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: wm2000: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: wm8903: Fix wrong value referen...

Changed in linux (Ubuntu):
status: Triaged → Fix Released
tags: added: verification-done-vivid
removed: verification-needed-vivid
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this commit causes GM45 failing to start X:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1455575

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

..so it'll be reverted from the kernel

tags: added: verification-needed-vivid
removed: verification-done-vivid
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (18.1 KiB)

This bug was fixed in the package linux - 3.19.0-18.18

---------------
linux (3.19.0-18.18) vivid; urgency=low

  [ Luis Henriques ]

  * Release Tracking Bug
    - LP: #1456732

  [ Upstream Kernel Changes ]

  * Revert "drm/i915: remove intel_pipe_set_base() (v4)"
    - LP: #1453593

linux (3.19.0-17.17) vivid; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1452000

  [ Damien Lespiau ]

  * SAUCE: i915_bpo: drm/i915/skl: Fix stepping check for a couple of W/As
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Implement WaDisableVFUnitClockGating
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Add the INIT power domain to the MISC
    I/O power well
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Fix the CTRL typo in the DPLL_CRTL1
    defines
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Make the Misc I/O power well part of the
    PLLS domain
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Deinit/init the display at
    suspend/resume
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Change CDCLK behind PCU's back
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: gen6+ platforms support runtime PM
    - LP: #1449469

  [ Imre Deak ]

  * SAUCE: i915_bpo: drm/i915/gen9: fix PIPE_CONTROL flush for
    VS_INVALIDATE
    - LP: #1449469

  [ Leann Ogasawara ]

  * [Config] Set CONFIG_XEN_MAX_DOMAIN_MEMORY defaults

  [ Matt Roper ]

  * SAUCE: i915_bpo: drm/i915: Switch to full atomic helpers for plane
    updates/disable, take two
    - LP: #1449469

  [ Sonika Jindal ]

  * SAUCE: i915_bpo: drm/i915/skl: Allow universal planes to position
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Support for 90/270 rotation
    - LP: #1449469
  * SAUCE: i915_bpo: drm/i915/skl: Add back HDMI translation table
    - LP: #1449469

  [ Stefan Bader ]

  * SAUCE: vesafb: Set mtrr:3 (write-combining) as default
    - LP: #1434581

  [ Timo Aaltonen ]

  * SAUCE: Call i915_bpo specific functions from the hda driver
    - LP: #1449464
  * SAUCE: i915_bpo: Use get_display_clock_speed
    - LP: #1449469
  * SAUCE: i915_bpo: Add a few register definitions
    - LP: #1449469

  [ Upstream Kernel Changes ]

  * Revert "sparc/PCI: Clip bridge windows to fit in upstream windows"
    - LP: #1446316
  * Revert "PM / hibernate: avoid unsafe pages in e820 reserved regions"
    - LP: #1446316
  * Revert "libceph: use memalloc flags for net IO"
    - LP: #1446316
  * Revert "net: Reset secmark when scrubbing packet"
    - LP: #1451996
  * ASoC: da732x: Fix control-less DAPM routes
    - LP: #1446316
  * ASoC: ak4671: Fix control-less DAPM routes
    - LP: #1446316
  * ASoC: sn95031: Fix control-less DAPM routes
    - LP: #1446316
  * ASoC: sgtl5000: remove useless register write clearing CHRGPUMP_POWERUP
    - LP: #1446316
  * ASoC: pcm1681: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: cs4271: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: es8238: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: wm8960: Fix wrong value references for boolean kctl
    - LP: #1446316
  * ASoC: tas5086: Fix wrong value references for boolean kctl
    - ...

Changed in linux (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Till Schäfer (till2-schaefer) wrote :

this bug is still happening here:

kernel 3.19.0-20-generic

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)

yoga 2 13

Revision history for this message
larry (ludovic-bernard) wrote :

Same here,
I think it started when I upgraded from ubuntu 14.04 to 14.10

Kernel 3.16.0-41-generic

Yoga 2 13

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

reopening, as the commit got reverted

Changed in linux (Ubuntu Vivid):
status: Fix Released → Triaged
tags: removed: verification-needed-vivid
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Xiong: any suggestions how to fix this and not break GM45 in the process?

Keng-Yu Lin (lexical)
Changed in hwe-next:
assignee: nobody → Timo Aaltonen (tjaalton)
status: New → Fix Released
importance: Undecided → Medium
status: Fix Released → Triaged
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

For this issue, I can reproduce it on 201411-16162
On 3.19.0-25 (14.04.3 stock image) and the 3.19.0-26
With Intel Haswell-ULT [8086:0a16] graphic controller.

However, I noticed that this issue does not exist in 14.04.2 stock image (3.16 kernel), it's affect with the double cursor issue there (bug 1443345)

tags: added: 201411-16162 blocks-hwcert taipei-lab
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Also affects 201412-16318 - Dell Latitude 3150 [8086:0f31]

tags: added: 201412-16318
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this is fixed in 3.19.0-30

Changed in linux (Ubuntu Vivid):
status: Triaged → Fix Released
Changed in hwe-next:
status: Triaged → Fix Released
Revision history for this message
Zuhayer Tahir (zuhayer171288) wrote :

I am still having this problem, Kindly guide. Thanks.

sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
Output: R0240V2
04/12/2011

uname -a
Output: Linux zuhayer171288 3.19.0-49-generic #55~14.04.1-Ubuntu SMP Fri Jan 22 11:24:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
penalvch (penalvch) wrote :

Zuhayer Tahir, given the scope of this report is fixed already, it doesn't have anything to do with your problem.

However, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Zuhayer Tahir (zuhayer171288) wrote : Re: [Bug 1446979] Re: [bug] screen is black after xrandr rotate command

Thanks for your prompt response, I will read the procedure and file a new
report in a few days.

Thanks,

On Sat, Feb 20, 2016 at 11:30 PM, Christopher M. Penalver <
<email address hidden>> wrote:

> Zuhayer Tahir, given the scope of this report is fixed already, it
> doesn't have anything to do with your problem.
>
> However, it will help immensely if you filed a new report with the Ubuntu
> repository kernel (not mainline/upstream) via a terminal:
> ubuntu-bug linux
>
> Please feel free to subscribe me to it.
>
> For more on why this is helpful, please see
> https://wiki.ubuntu.com/ReportingBugs.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1446979
>
> Title:
> [bug] screen is black after xrandr rotate command
>
> Status in HWE Next:
> Fix Released
> Status in linux package in Ubuntu:
> Fix Released
> Status in linux source package in Vivid:
> Fix Released
>
> Bug description:
> When running "xrandr --output xxxxx --rotate inverted " on intel
> platforms with ubuntu 15.04, screen becomes black.
>
> Steps to reproduce:
> 1. install ubuntu 15.04 with intel graphic card and boot up into desktop
> 2. run xrandr --output eDP1 --rotate inverted
>
> Expect result:
> eDP screen rotate inverted
>
> Actual result:
> eDP screen is black.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hwe-next/+bug/1446979/+subscriptions
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.