You are not logged in.
I have a PC with a dual monitor setup with arch and using KDE (x11) as a windows manager. This was all working fine until a few weeks ago where if my monitors went to sleep, my secondary monitor would no longer wake (I assume this is due to an update I have done). Power cycling the monitor does not work and the only way to re enable the monitor again is to go into display setting and enable the monitor (I would always have to do this twice for some reason). However, today I did this and for some reason my main monitor has been disabled as well.
When I start my PC the login screen shows on both monitors and I can log in through TTY, however if I login through graphical interface both monitors are disabled. How do I re-enable my main monitor through the TTY command line for use in KDE?
Does anyone know of the issue of monitors not waking back up after suspend being reported? I know this is not an issue with the monitor as I duel boot and it works fine in other partitions. I am wondering if this could be a driver issue as I read another post saying this can happen when using the proprietary Nvidia drivers, but there was no solution.
Last edited by speeder1987 (2022-12-02 12:52:30)
Offline
How do I re-enable my main monitor through the TTY command line for use in KDE?
export DISPLAY=:0
# record the status quo
xrandr -q | curl -F 'file=@-' 0x0.st
xrandr --output OUTPUT --auto # w/ OUTPUT being st. like HDMI-0, check the xrandr -q outputI duel boot
"duel" booting is shockinly accurate, see the 3rd link below
I am wondering if this could be a driver issue as I read another post saying this can happen when using the proprietary Nvidia drivers, but there was no solution.
Please post your xorg log, https://wiki.archlinux.org/title/Xorg#General
Offline
How do I re-enable my main monitor through the TTY command line for use in KDE?
export DISPLAY=:0 # record the status quo xrandr -q | curl -F 'file=@-' 0x0.st xrandr --output OUTPUT --auto # w/ OUTPUT being st. like HDMI-0, check the xrandr -q outputI duel boot
"duel" booting is shockinly accurate, see the 3rd link below
Maybe OP actually wants Lord Windows and Sir Arch to engage a fight ![]()
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Thanks for the help. Upon restarting the PC this time my main monitor was enabled without following the commands you gave me.
Here is the output of xorg log. For reference the Samsung monitor is my main display that typically works and the dell display is the display which is periodically disabled. Both are connected via display port. I can see from the log that there are lots of instances of displays being disconnected although I am not sure if this is standard as it is always displays 1,2,4,5,6,7 which are disconnected..
I will look at the links you posted about booting alongside windows as well.
Offline
Please post the xrandr outputs if/when the situation re-emerges.
Offline
Here is the XRANDR output currently where my main monitor is enabled, but my secondary monitor is blank.
After running:
xrandr --output DP-2 --autoThe secondary monitor is now on again and mirroring display 1. Display settings shows the second monitor as enabled, but not as mirrored. I will let you know if the monitor gets disabled again upon sleeping.
Last edited by speeder1987 (2022-12-01 17:11:35)
Offline
Maybe, I always assumed that Windows would not be an issue in the setup I have. I have a hardrive with Windows and Mint side by side with a grub bootloader which used to be my daily machine. Windows faststartup and secureboot are disabled. I have arch on a separate hard drive with its own bootloader (as I wasn't sure I would get on with it) although I now use it as my daily machine.
Yes this sounds like a pain, but I rarely use the other systems now so for me it works.
If you were wondering whence went your post, You hit 'report' not 'reply'
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Apologies
, as you guessed I did not mean to report d.ALT but hit the wrong button.
Last edited by speeder1987 (2022-12-01 17:14:11)
Offline
No worries. Happens more than you might think
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Mirroring fixed using xrandr:
xrandr --output HDMI-1 --right-of VGA-1I am using the computer today so will let you know if this has fixed the monitor being disabled when sleeping.
Thanks for the help
Offline
Still having the same issue, after the monitors have gone to sleep, upon waking them up the secondary monitor is now disabled. The XRANDR output you requested can be seen here: link
Any other ideas that I can try? If worst comes to the worst I could turn off the power saving on the monitors to stop them sleeping but I would rather avoid this.
Offline
<EDIT>
The correct post is: https://bbs.archlinux.org/viewtopic.php … 0#p1972540
See below the deleted link (which is wrong).
</EDIT>
I am wondering if this could be a driver issue as I read another post saying this can happen when using the proprietary Nvidia drivers, but there was no solution.
https://bbs.archlinux.org/viewtopic.php?id=262207
If worst comes to the worst I could turn off the power saving on the monitors to stop them sleeping but I would rather avoid this.
# xset s off -dpms (https://wiki.archlinux.org/title/Displa … _a_command)
Last edited by d.ALT (2022-12-02 10:54:14)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
I'd rather disable the kscreen kded module.
What likely happens in is that DPMS kicks in, the outputs (one or both) feel invited to power down and unregister, kscreen notices that the outputs disappeared, changes the config and when they power on again, they're not re-activated.
Both outputs are available in the posted randr, so it's a mere matter of "xrandr --output DP-2 --auto", in doubt you could use https://aur.archlinux.org/packages/x-on-resize but I assume disablign kscreen will do as well.
Edit, @d.Alt, your thread includes a workaround that changes the HDMI resolution forth and back, so the output is likely considered active by the system, but the HDCP handshake fails.
That would be a different (and usually very HDMI related) condition.
Last edited by seth (2022-12-02 10:36:30)
Offline
Thanks both. I have disabled the kscreen-2 module and will test to see if this has solved the issue.
Offline
Edit, @d.Alt, your thread includes a workaround that changes the HDMI resolution forth and back, so the output is likely considered active by the system, but the HDCP handshake fails.
That would be a different (and usually very HDMI related) condition.
Thanks for pointing it, seth.
Anyway, I gave a wrong indication (sorry for that). To what I'm actually referring to is this post only.
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Disabling kscreen has solved the issue. Thanks for taking the time to solve this issue.
Offline