<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Can't turn on laptop screen without changing its resolution first"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70406">70406</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can't turn on laptop screen without changing its resolution first
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>reztho@archlinux.us
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=87520" name="attach_87520" title="dmesg output">attachment 87520</a> <a href="attachment.cgi?id=87520&action=edit" title="dmesg output">[details]</a></span>
dmesg output

Bug description:
I have a laptop, model Acer Aspire 5750G, connected to an external screen via
the VGA port and I setup my desktop manager (XFCE v4.10.1) to only use the
external screen. So the problem I have is when I want to activate the laptop
screen it doesn't work. It doesn't turn on. As a workaround, I have to change
the resolution two times in the laptop screen and then it works. So basically I
have these commands in a script to do it with a keyboard shortcut:
1. xrandr --output HDMI1 --off --output LVDS1 --mode 1024x768 --pos 1280x0
--rotate normal --output DP1 --off --output VGA1 --mode 1280x1024 --pos 0x0
--rotate normal
2. xrandr --output HDMI1 --off --output LVDS1 --mode 1366x768 --pos 1280x0
--rotate normal --output DP1 --off --output VGA1 --mode 1280x1024 --pos 0x0
--rotate normal

Only at 2nd step, the laptop screen turns on. If I just repeat the first step,
it remains off. After the workaround, I can use my desktop manager tools to
switch screens instead of this script.

The problem only happens as long as I boot the system with the external screen
connected. With it disconnected and after xorg is started, if I connect it, I
can turn on/off screens fine.

System environment:
-- chipset: Intel(R) HD Graphics 3000
-- system architecture: 64-bit
-- xf86-video-intel: 2.21.15
-- xserver: 1.14.3
-- mesa: 9.2.1
-- libdrm: 2.4.46
-- kernel: 3.11.4
-- Linux distribution: Archlinux
-- Machine or mobo model: Acer Aspire 5750G
    BIOS Information
    Vendor: Acer
    Version: V1.21
    Release Date: 08/09/2012
    BIOS Revision: 21.240

    Base Board Information
    Manufacturer: Acer
    Product Name: JE50_HR
-- Display connector: VGA / LVDS

Reproducing steps:
1. Connect an external screen to VGA port
2. Setup the desktop manager to only use the external screen
3. Reboot.
2. Try to turn on the laptop screen using xrandr.

Additional info:
1. This situation happens since a long time and several versions of the intel
driver, maybe from the very beginning I purchased this laptop, I don't remember
well.
2. I ran the intel reg dumper after each step above and at first boot, just in
case, it helps you better.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>