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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-09-2023, 09:43 AM
|
#1
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192
|
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.
|
|
|
09-09-2023, 12:35 PM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966
|
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.
|
|
|
09-09-2023, 01:51 PM
|
#3
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192
Original Poster
|
Quote:
Originally Posted by pan64
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
without details hard to say more.
|
What details do you want?
Quote:
Originally Posted by pan64
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
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?
|
|
|
09-10-2023, 02:20 AM
|
#4
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966
|
Quote:
Originally Posted by RandomTroll
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
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.
|
|
|
09-10-2023, 03:18 AM
|
#5
|
Senior Member
Registered: Jul 2020
Posts: 1,468
|
When it happens, does 'xrandr -q' list the monitor as connected? Does running 'xset -display :0 dpms force on' turns the monitor on?
|
|
|
09-10-2023, 07:23 AM
|
#6
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192
Original Poster
|
Quote:
Originally Posted by pan64
reboot of the computer helps too.
|
That's not really a solution.
Quote:
Originally Posted by lvm_
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.
|
|
|
09-10-2023, 08:33 AM
|
#7
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966
|
Quote:
Originally Posted by RandomTroll
That's not really a solution.
|
totally agree with you
Quote:
Originally Posted by RandomTroll
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.
|
|
|
09-10-2023, 10:46 AM
|
#8
|
Senior Member
Registered: Jul 2020
Posts: 1,468
|
Quote:
Originally Posted by RandomTroll
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.
|
|
|
09-10-2023, 06:35 PM
|
#9
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
|
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.
|
|
|
09-10-2023, 10:06 PM
|
#10
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192
Original Poster
|
Quote:
Originally Posted by pan64
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_
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_
that the screen is blank doesn't mean that X isn't running.
|
I was explaining, not upbraiding.
Quote:
Originally Posted by mrmazda
If your X session is asleep on tty7
|
No X.
|
|
|
09-11-2023, 03:24 AM
|
#11
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,966
|
just a comment, you can use an ssh client on your phone, tablet to connect to your computer (if you wish).
|
|
|
09-11-2023, 08:54 AM
|
#12
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
|
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.
|
|
|
09-11-2023, 08:05 PM
|
#13
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
|
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. 
|
|
|
09-12-2023, 10:23 AM
|
#14
|
Senior Member
Registered: Mar 2010
Distribution: Slackware
Posts: 2,192
Original Poster
|
Quote:
Originally Posted by mrmazda
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.
|
|
|
09-12-2023, 11:17 AM
|
#15
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,412
|
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
|
|
|
All times are GMT -5. The time now is 07:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|