<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:maxtram95@gmail.com" title="Maxim Mikityanskiy <maxtram95@gmail.com>"> <span class="fn">Maxim Mikityanskiy</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - X server comes up with black screen if screensaver is activated on another X server"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88960">bug 88960</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>NOTABUG
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - X server comes up with black screen if screensaver is activated on another X server"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88960#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - X server comes up with black screen if screensaver is activated on another X server"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88960">bug 88960</a>
from <span class="vcard"><a class="email" href="mailto:maxtram95@gmail.com" title="Maxim Mikityanskiy <maxtram95@gmail.com>"> <span class="fn">Maxim Mikityanskiy</span></a>
</span></b>
<pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=88960#c2">comment #2</a>)
<span class="quote">> 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.</span >
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@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@laptop ~ % xrandr --auto
max@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?</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>