LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-09-2023, 09:43 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192

Rep: Reputation: 276Reputation: 276Reputation: 276
Unblanking powered-down HDMI displays


I have an HDMI display for the first time. I have setterm power displays down after 60 minutes. It's supposed to come back on when I use the keyboard or mouse. It doesn't. When I have it connected to my laptop, which also uses its local display, it does. Powering it down then up doesn't make it work. If it matters, the computer has a DisplayPort output, I use a DP-HDMI adaptor.
 
Old 09-09-2023, 12:35 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966

Rep: Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887
this is usually a problem with the software on that computer. It couldn't handle that situation properly. But without details hard to say more. But also it can be that DP-HDMI adaptor too.
I have a similar problem with a HP docking station, sometimes I have to switch it off and on again to make the monitor work again.
 
Old 09-09-2023, 01:51 PM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192

Original Poster
Rep: Reputation: 276Reputation: 276Reputation: 276
Quote:
Originally Posted by pan64 View Post
this is usually a problem with the software on that computer. It couldn't handle that situation properly.
It's Linux, kernel 6.5.2, Slackware up-to-date. What do you have in mind? It happens with no apps running.

Quote:
Originally Posted by pan64 View Post
without details hard to say more.
What details do you want?

Quote:
Originally Posted by pan64 View Post
But also it can be that DP-HDMI adaptor too.
When I plug it into my laptop, which has an HDMI output, it disconnects with the slightest bump, but re-attaching makes it work immediately. No amount of fussing has made it restart with the new computer. DP has the virtue of locking connectors. I'm going to buy a DP cable, hope it works.


Quote:
Originally Posted by pan64 View Post
I have a similar problem with a HP docking station, sometimes I have to switch it off and on again to make the monitor work again.
The monitor or the docking station or the computer?
 
Old 09-10-2023, 02:20 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966

Rep: Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887
Quote:
Originally Posted by RandomTroll View Post
It's Linux, kernel 6.5.2, Slackware up-to-date. What do you have in mind? It happens with no apps running.
This is usually the app which manages the video output, it is the display driver, or something similar (X server, desktop...). Unfortunately it is not that simple. And I don't really know which one is responsible for it.
A wake up event (keyboard, mouse) should trigger the reconnection to the monitor, but it fails. To diagnose it we would need to check the logs. I guess it is not an easy case.
Probably much better to buy a cable and forget that adaptor.

Quote:
Originally Posted by RandomTroll View Post
The monitor or the docking station or the computer?
Sometimes the monitor, but sometimes the docking station should be switched off/on. And the reboot of the computer helps too.
 
Old 09-10-2023, 03:18 AM   #5
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,468

Rep: Reputation: 502Reputation: 502Reputation: 502Reputation: 502Reputation: 502Reputation: 502
When it happens, does 'xrandr -q' list the monitor as connected? Does running 'xset -display :0 dpms force on' turns the monitor on?
 
Old 09-10-2023, 07:23 AM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192

Original Poster
Rep: Reputation: 276Reputation: 276Reputation: 276
Quote:
Originally Posted by pan64 View Post
reboot of the computer helps too.
That's not really a solution.

Quote:
Originally Posted by lvm_ View Post
When it happens, does 'xrandr -q' list the monitor as connected? Does running 'xset -display :0 dpms force on' turns the monitor on?
X isn't running. The screen is blank, which would make it hard to read the output of any program.
 
Old 09-10-2023, 08:33 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966

Rep: Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887
Quote:
Originally Posted by RandomTroll View Post
That's not really a solution.
totally agree with you

Quote:
Originally Posted by RandomTroll View Post
X isn't running. The screen is blank, which would make it hard to read the output of any program.
for that you can use screen (which can log the output into a file) or you can directly do that for example by implementing a shell script which will execute all of your test commands and keep the logs/results in a file. Just for troubleshooting.
 
Old 09-10-2023, 10:46 AM   #8
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,468

Rep: Reputation: 502Reputation: 502Reputation: 502Reputation: 502Reputation: 502Reputation: 502
Quote:
Originally Posted by RandomTroll View Post
That's not really a solution.


X isn't running. The screen is blank, which would make it hard to read the output of any program.
Obviously you ssh to the stricken computer to do this - why else would I specify display explicitly? And the fact that the screen is blank doesn't mean that X isn't running.
 
Old 09-10-2023, 06:35 PM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
Blog Entries: 1

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
If your X session is asleep on tty7, and you do Ctrl-Alt-F3, pause, Alt-F7, does it wake after either action? If it does not, try booting using video= on Grub's kernel cmdline specifying a valid supported mode lower than normally used in X, then try them again.
 
Old 09-10-2023, 10:06 PM   #10
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192

Original Poster
Rep: Reputation: 276Reputation: 276Reputation: 276
Quote:
Originally Posted by pan64 View Post
you can use screen (which can log the output into a file) or you can directly do that for example by implementing a shell script which will execute all of your test commands and keep the logs/results in a file. Just for troubleshooting.
I was doing the latter with previous problems. Still, it's a pain.

Quote:
Originally Posted by lvm_ View Post
Obviously you ssh to the stricken computer to do this
This is possible now that I have 2 computers. It'll take more work.

Quote:
Originally Posted by lvm_ View Post
that the screen is blank doesn't mean that X isn't running.
I was explaining, not upbraiding.

Quote:
Originally Posted by mrmazda View Post
If your X session is asleep on tty7
No X.
 
Old 09-11-2023, 03:24 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966

Rep: Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887Reputation: 7887
just a comment, you can use an ssh client on your phone, tablet to connect to your computer (if you wish).
 
Old 09-11-2023, 08:54 AM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
Blog Entries: 1

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Unintentionally it seems I may have reproduced this on a desktop PC normally using only one display. If I did, it would seem either DisplayPort or software is likely the culprit. I've been using the same display with DVI cable and PC for quite a number of years. The motherboard provided HDMI, DVI and VGA outputs, while the display lacks HDMI input. A month or so ago I replaced the motherboard with one that also has a DisplayPort output. In an attempt to be able to get sound into the display's speakers via the video cable yesterday, I replaced the DVI cable with a DP cable without rebooting before or after using it the rest of the day.

I normally turn the display off when I go to bed, which I did last night after saving journal for the boot and dmesg to disk. The Energy Star DE powersave settings have been set to standby, suspend and power off all at 120 min for farther back than I can remember. When I got up this AM earlier than normal, no amount of fiddling would wake the display up for the tty7 Xorg session. Instead, it just played dead, unless I switched to any of tty[1-6], where it worked normally. I connected a second display via HDMI, which didn't help one bit. I logged in as alternate user on tty5 and startx worked normally for both displays, but I still couldn't get tty7 to light up. Eventually I gave up, kill -9'd the browser sessions, then rebooted. I logged into GUI as alternate user successfully, then turned the display back off and went back to bed. On arising again 3 hours later and logging in as normal user, all seems to be working normally so far. When the neighbor's tree trimmers stop, I'm going back to bed, hopefully for at least 120 min, but anxious to see what happens when I turn the display back on.
 
Old 09-11-2023, 08:05 PM   #13
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
Blog Entries: 1

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Same failure repeated after more than 3 more hours sleeping. I had to do a long shopping today, so I ran the test again, after switching back to DVI cable from DisplayPort. All found to behave normally on return more than 4 hours later.
 
Old 09-12-2023, 10:23 AM   #14
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192

Original Poster
Rep: Reputation: 276Reputation: 276Reputation: 276
Quote:
Originally Posted by mrmazda View Post
I logged into GUI as alternate user successfully, then turned the display back off and went back to bed. On arising again 3 hours later and logging in as normal user, all seems to be working normally so far.
I don't understand what you did. Coincidentally, I had the experience you described for the first time: X wouldn't unblank but non-X would. I only had to kill X (ctrl-alt-backspace) and restart it, not reboot.
 
Old 09-12-2023, 11:17 AM   #15
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
Blog Entries: 1

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Killing X would have been enough, but I've been having trouble with SeaMonkey refusing to close entirelly, so instead of trying to find its PID to kill, I often choose to reboot instead. On NVME, rebooting is seriously fast. Most of the delay is waiting for UEFI BIOS to do its things, responsible for probably 70%+ of reboot time. Also, rebooting ensures all RAM cruft is eradicated.

What are your GPU and display driver? When I try the DP cable test again, and find it won't light up again even with a different display or DP cable, if I can't find any existing bug report, I'll be creating one, and would want to refer to your similar experience. Also, are you using 15.0's Xorg 1.20.14, or something newer?
Code:
> inxi -Gxx --vs
inxi 3.3.29-00 (2023-08-15)
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Gigabyte driver: i915 v: kernel
    arch: Gen-9.5 ports: active: HDMI-A-2 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-3
    bus-ID: 00:02.0 chip-ID: 8086:5912
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa alternate: intel dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 120
  Monitor-1: HDMI-A-2 mapped: HDMI-2 model: Samsung SMS24A850 res: 1920x1200
    dpi: 94 diag: 611mm (24.1")
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: $99 HDMI stick turns displays into virtual desktops LXer Syndicated Linux News 0 05-21-2013 09:30 AM
Samsung LN-T3253H TV no longer displays computer's HDMI 1080p (1920×1080) resolution Geremia Linux - Hardware 6 12-31-2012 03:12 AM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
[SOLVED] less displays binary but cat displays ascii? ahtoot Linux - Newbie 3 01-25-2011 08:38 PM
Dual monitors, separate X displays; want firefox in both displays bforbes Linux - Desktop 7 10-15-2008 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration