Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HDMI Monitor off then on kills display (FIXED -- sort of)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1027
Location: Tujunga, CA

PostPosted: Wed Feb 04, 2015 5:37 pm    Post subject: HDMI Monitor off then on kills display (FIXED -- sort of) Reply with quote

If my monitor times out and turns off (or I turn it off manually), when turned back on there is no display. I can get to a console and I can see there that the display manager (tried slim and lightdm on an xfce4 system) is running. The only way I have found to get my desktop again is to kill the display manager and rerun it. Of course the previous state of things is lost. Any ideas? Thanks,
Fred


Last edited by Fred Krogh on Thu Feb 19, 2015 6:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1027
Location: Tujunga, CA

PostPosted: Sat Feb 14, 2015 12:24 am    Post subject: Reply with quote

I'm still hoping someone has some ideas. What part of the system would be responsible for shutting down X just because the monitor was turned of manually? Maybe there is a configuration fille for X, something in the kernel, something for the Nvidia card, ...? I should note that X and xfce all have multiple processes running. They are just all sleeping and I can think of no say to get them out of their sleep mode.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1707

PostPosted: Sat Feb 14, 2015 5:11 am    Post subject: Reply with quote

I don't know if it would work, but you could maybe make a entry in your xorg.cond for your monitor (if you don't already have one), so that xorg doesn't forget about the monitor.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1027
Location: Tujunga, CA

PostPosted: Sat Feb 14, 2015 5:12 am    Post subject: Reply with quote

Thanks for the thought. But that was done long ago.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1707

PostPosted: Sat Feb 14, 2015 5:37 am    Post subject: Reply with quote

I'll play around with my hdmi monitor/tv attached to my nvidia card and see if I can see anything going on, maybe produce it on my system too (I am running ~amd64, so don't know if that'll have an effect or not).

Only other thing from the web I saw that may help, is using
Code:
xrandr -d :0 --output HDMI1 --auto
to try getting the display manager to turn the monitor back on (adjust the HDMI1 to what ever xrandr lists for the HDMI port as necessary).

An old post, may or may not help any.
http://askubuntu.com/questions/405645/how-to-enable-monitor-from-terminal
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1027
Location: Tujunga, CA

PostPosted: Sat Feb 14, 2015 4:49 pm    Post subject: Reply with quote

I liked your suggestions. Unfortunately my computer feels otherwise. If I type
Quote:
xrandr -d :0 --output HDMI-0 --auto
in a terminal window nothing happens,. But with the monitor off, and in a console, this gives the following errror
Code:
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Serial number of failed request:  46
  Current serial number in output stream:  47
Perhps this has some meaning to someone. Other trys at running xrandr got complains about no display.

The other suggestion of removing (in my case) ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml, and rebooting had no effect. That file was not there on the reboot. It contained
Quote:
<?xml version="1.0" encoding="UTF-8"?>

<channel name="displays" version="1.0">
<property name="Notify" type="bool" value="false"/>
</channel>
I have now restored this file. Perhaps someone has suggestions for changes to make in this file.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1027
Location: Tujunga, CA

PostPosted: Thu Feb 19, 2015 6:04 pm    Post subject: Reply with quote

I have discovered something that can serve as a fix. Start with <cntr><????><F1> to get to a console window. Turn off the monitor. .... Turn on the monitor, and <cntr><???> to get back into X, and all is still there!! A little bit of a nuisance, but much better that having to restore all the work spaces after logging out and then logging back in.
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1733
Location: St. Wendel

PostPosted: Thu Feb 19, 2015 6:54 pm    Post subject: Reply with quote

Till now i saw this only with DisplayPort, would you like to post your xrandr output?
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1027
Location: Tujunga, CA

PostPosted: Thu Feb 19, 2015 7:46 pm    Post subject: Reply with quote

Happy to to this. xrandr gives
Code:
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 16384 x 16384
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 1095mm x 616mm
   3840x2160     30.00*+  29.97    23.98 
   4096x2160     29.97    24.00    23.98 
   1920x1080    119.88    60.00    59.94    23.97    60.00 
   1280x720      60.00    59.94 
   720x480       59.94 
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
Unknown-0 disconnected (normal left inverted right x axis y axis)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum