[Bug 88960] X server comes up with black screen if screensaver is activated on another X server

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 4 02:56:43 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88960

Maxim Mikityanskiy <maxtram95 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NOTABUG                     |---

--- Comment #3 from Maxim Mikityanskiy <maxtram95 at gmail.com> ---
(In reply to Chris Wilson from comment #2)
> The driver inherits the video modes as set by the user. If the user has
> turned off all outputs, that is what the user must want and we wait until
> the user requests something different.

Please explain some things. I understand that if I turn off my output (e.g.
xrandr --output LVDS1 --off), I will get second X server with blank screen. But
I'm just activating screensaver, it doesn't turn off the output, as I can see
from xrandr --current:

# screen is on:
Screen 0: minimum 8 x 8, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x
129mm
   1024x600      60.00*+  65.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

# after xrandr --output LVDS1 --off:
Screen 0: minimum 8 x 8, current 8 x 8, maximum 32767 x 32767
LVDS1 connected (normal left inverted right x axis y axis)
   1024x600      60.00 +  65.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

# after xset s activate:
Screen 0: minimum 8 x 8, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x
129mm
   1024x600      60.00*+  65.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

As you can see, "xset s activate" does not turn off LVDS1 like "xrandr --output
LVDS1 --off" does, because "xrandr --current" output is the same for working
screen and for activated screensaver.

So when screensaver is working, video output is not actually turned off, so
second Xorg should inherit current video mode, doesn't it?

But instead of it, driver detects video output states absolutely wrongly:

xrandr: Output LVDS1 is not disconnected but has no modes
xrandr: Output VGA1 is not disconnected but has no modes
xrandr: Output VIRTUAL1 is not disconnected but has no modes
Screen 0: minimum 8 x 8, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected (normal left inverted right x axis y axis)
VGA1 connected (normal left inverted right x axis y axis)
VIRTUAL1 connected (normal left inverted right x axis y axis)

Why are they all connected? Looks like a bug, huh.

--

Also just now I experienced similar problem with detecting video output states
just after boot (no second Xorg, just started first):

max at laptop ~ % xrandr --current             
xrandr: Output VGA1 is not disconnected but has no modes
xrandr: Output VIRTUAL1 is not disconnected but has no modes
Screen 0: minimum 8 x 8, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x
130mm
   1024x600      60.00*+
VGA1 connected (normal left inverted right x axis y axis)
VIRTUAL1 connected (normal left inverted right x axis y axis)
max at laptop ~ % xrandr --auto   
max at laptop ~ % xrandr --current
Screen 0: minimum 8 x 8, current 1024 x 600, maximum 32767 x 32767
LVDS1 connected 1024x600+0+0 (normal left inverted right x axis y axis) 220mm x
129mm
   1024x600      60.00*+  65.00  
   800x600       60.32    56.25  
   640x480       59.94  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

As you can see, after a boot driver thought that VGA1 and VIRTUAL1 are
connected, but they are not connected, and after xrandr --auto driver
determined actual state. Is it also not a bug?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150204/4c3f4498/attachment-0001.html>


More information about the intel-gfx-bugs mailing list