[mythtv-users] Display weirdness

DryHeat122 dryheat122 at gmail.com
Sun Sep 13 21:47:39 UTC 2020

On Sun, Sep 13, 2020 at 1:56 PM DryHeat122 <dryheat122 at gmail.com> wrote:

> On Sun, Sep 13, 2020 at 8:27 AM alain <alain at alain.homeunix.org> wrote:
>> Hi,
>> I've had this problem on two different system in the past and currently
>> on my main mythfrontend.
>> Do ssh back to your computer and check the output of xrandr. In
>> particular, the display being used.
>> After blanking the screen, when restoring the display, on some
>> driver/hardware/software version, the X output is reconnected to the wrong
>> screen. If you have more than one interface on your graphic card, the odds
>> are that this is your problem.
>> You can verify by either connecting a display on the other port or by
>> using xrandr to switch to another screen.
>> I've written a script which monitors the output of xrandr and fixes the
>> problem when it detects the problem.
>> Alain
> For the black screen problem, when I tried from the SSH terminal xrandr
> returns "Can't open display"

I figured out the proper command is xrandr -d :0, which resulted in a
listing of two outputs (DVI-I-1 and VGA), and a whole bunch of size
options for the former.  I rebooted and it booted to a black screen, again
and again.  So I searched on the error and wound-up here
I followed the advice about adding nomodeset to the grub config.  Now it
will boot, but the resolution is 1280 x 1024 and the display app won't
allow setting to any other resolution.  xrandr -d :0 returns:

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected primary 1280x1024+0+0 0mm x 0mm
   1280x1024     77.00*

Whereas before it listed the monitor name "Samsung TV" and as I said a
whole bunch of possible resolutions and the DVI and VGA outputs on the
video card.  I looked up this issue and somebody said to make sure you
don't have nomodeset in the grub config!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200913/393886d7/attachment.htm>

More information about the mythtv-users mailing list