Re: OpenBSD Monitor Sleep No Response

2020-12-22 Thread telsh

Hi Ben,
I do have the same issue and though I was neither able to find a root 
cause or even some helpful logs, this is the workaround that doesn't 
bother me too much:
The power save features are all turned off, the monitor does not blank 
or turn off at all, and as soon as I want to lock the screen, I pull the 
power plug of the monitor after locking it.


When I want to continue to work, I press CTRL and enter the password, 
then plug the power of the monitor back in. And then I'm back at the 
desktop...


Sounds a bit complicated, but as written, I am not even sure where the 
issue happens and I suspect the monitor behaving badly as I did not have 
that kind of issue in the past.


Hope this helps and kind regards,
telsh

On 21.12.20 03:26, ben wrote:

Hello, misc;

I've been having an issue with my OpenBSD install, specifically when the system
turns off the monitor after a period of no use. After the monitor goes blank I
can't use the start using the machine and must restart, that is after keypress
and mouse movement the system does not show anything on the monitor. I suspect
something is wrong due to hardware. I've checked the logs, nothing seems to be
off. I've turned off apmd as to not interfer with power management and still no
response after the monitor goes to sleep.

Here's a list of the hardware:

  - AMD Ryzen 5 3400G Processor
  - Asus Prime B550M-A/CSM Motherboard
  - Radeon RX 580 POLARIS10 GPU

Has anyone else experience any issues with like this? Is there still no support
for polaris GPUs? Thank you in advance.


Ben Raskin





Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread Ricky Cintron
As previously mentioned, you can use xset(1) to disable DPMS (and the 
screensaver,
if necessary). I use the following commands to disable and re-enable these
temporarily.

xset s off -dpms
xset s on +dpms

Since your keyboard also becomes unresponsive, it looks like you're problem is
something else, but if that problem is triggered when your display enters power
saving mode, this could help until you find a solution.


Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Monday, December 21, 2020 5:09 PM, ben  wrote:

> > Did you see Jordan's reply?
>
> Yes, I did. My keyboard is also non-responsive after the monitor goes off, so
> CTRL-ALT-F* is not an option.
>
> Ben Raskin




Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread Mitch K.
ben  wrote on Mon [2020-Dec-21 16:09:28 -0500]:
> >Did you see Jordan's reply?
> 
> Yes, I did. My keyboard is also non-responsive after the monitor goes off, so
> CTRL-ALT-F* is not an option.
> 
> 
> Ben Raskin

Hi Ben,

Definitely puzzling. Does the motherboard have onboard graphics to try?

Mitch K.



Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread ben
>Did you see Jordan's reply?

Yes, I did. My keyboard is also non-responsive after the monitor goes off, so
CTRL-ALT-F* is not an option.


Ben Raskin



Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread Mitch K.
ben  wrote on Mon [2020-Dec-21 15:28:38 -0500]:
> >This is a long shot but, do you have your keyboard/mouse connected to
> >the monitor instead of directly to the motherboard ?
> 
> What's weird is that my keyboard is connected directly to the motherboard of
> the machine. I've tried reconnecting the keyboard to a different usb port and
> it still didn't work.
> 
> I'm going to try and expose the machine via SSH, wait for the system to go to
> sleep and stop waking up the monitor and try and access it to see whether or
> not it's just Xenodm or the whole machine.
> 
> I'll also try using xset as mentioned in a previous email.

Hi Ben,

Did you see Jordan's reply? He had the same issue and found a
workaround:

>>I've found the only way I can get output to the screen again is by switching
>>consoles with CTRL+ALT+F1 and then switching back to the xorg console with
>>CTRL+ALT+F5.

Mitch



Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread ben
>This is a long shot but, do you have your keyboard/mouse connected to
>the monitor instead of directly to the motherboard ?

What's weird is that my keyboard is connected directly to the motherboard of
the machine. I've tried reconnecting the keyboard to a different usb port and
it still didn't work.

I'm going to try and expose the machine via SSH, wait for the system to go to
sleep and stop waking up the monitor and try and access it to see whether or
not it's just Xenodm or the whole machine.

I'll also try using xset as mentioned in a previous email.


Ben Raskin



Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread Paco Esteban
On Mon, 21 Dec 2020, ben wrote:

> Hello;
> 
> >You could try typing your password to see if it wakes up.
> 
> For whatever reason my keyboard shuts off as well, as in I can't type 
> anything.
> I've tried entering my password, trying caps and num lock, and yet nothing
> seems to work.
> 
> >Last thought, maybe there's a relevant BIOS setting?
> 
> I've disabled everything that could be problematic in the BIOS, such as secure
> boot, and a bunch of other built in features which could cause problems.
> 
> Is there a way to just shut off the screensaver in OpenBSD? I've tried taking 
> a
> look at the output of sysctl(8) and I couldn't find any relevant information.

This is a long shot but, do you have your keyboard/mouse connected to
the monitor instead of directly to the motherboard ?  (Some monitors
like mine have a USB hub).  In that case when the monitor "suspends" it
removes power from the USB hub, at least my monitor does that.  Touching
any button on the monitor brings back everything.

As I said, long shot ...

Cheers,

-- 
Paco Esteban.
0x5818130B8A6DBC03



Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread Paul de Weerd
On Mon, Dec 21, 2020 at 09:46:34AM -0500, ben wrote:
| Hello;
| 
| >You could try typing your password to see if it wakes up.
| 
| For whatever reason my keyboard shuts off as well, as in I can't type 
anything.
| I've tried entering my password, trying caps and num lock, and yet nothing
| seems to work.
| 
| >Last thought, maybe there's a relevant BIOS setting?
| 
| I've disabled everything that could be problematic in the BIOS, such as secure
| boot, and a bunch of other built in features which could cause problems.
| 
| Is there a way to just shut off the screensaver in OpenBSD? I've tried taking 
a
| look at the output of sysctl(8) and I couldn't find any relevant information.

You may want to have a look at https://man.openbsd.org/xset.1#s

Cheers,

Paul 'WEiRD' de Weerd

-- 
>[<++>-]<+++.>+++[<-->-]<.>+++[<+
+++>-]<.>++[<>-]<+.--.[-]
 http://www.weirdnet.nl/ 



Re: OpenBSD Monitor Sleep No Response

2020-12-21 Thread ben
Hello;

>You could try typing your password to see if it wakes up.

For whatever reason my keyboard shuts off as well, as in I can't type anything.
I've tried entering my password, trying caps and num lock, and yet nothing
seems to work.

>Last thought, maybe there's a relevant BIOS setting?

I've disabled everything that could be problematic in the BIOS, such as secure
boot, and a bunch of other built in features which could cause problems.

Is there a way to just shut off the screensaver in OpenBSD? I've tried taking a
look at the output of sysctl(8) and I couldn't find any relevant information.


Ben Raskin



Re: OpenBSD Monitor Sleep No Response

2020-12-20 Thread Jordan Geoghegan




On 12/20/20 6:26 PM, ben wrote:

Hello, misc;

I've been having an issue with my OpenBSD install, specifically when the system
turns off the monitor after a period of no use. After the monitor goes blank I
can't use the start using the machine and must restart, that is after keypress
and mouse movement the system does not show anything on the monitor. I suspect
something is wrong due to hardware. I've checked the logs, nothing seems to be
off. I've turned off apmd as to not interfer with power management and still no
response after the monitor goes to sleep.

Here's a list of the hardware:

  - AMD Ryzen 5 3400G Processor
  - Asus Prime B550M-A/CSM Motherboard
  - Radeon RX 580 POLARIS10 GPU

Has anyone else experience any issues with like this? Is there still no support
for polaris GPUs? Thank you in advance.


Ben Raskin



I've had this issue as well with a Ryzen machine with an R9290x graphics 
card (ie not supported by AMDGPU). My monitor is using DisplayPort but 
the same behaviour is present when using HDMI monitors as well.


I've found the only way I can get output to the screen again is by 
switching consoles with CTRL+ALT+F1 and then switching back to the xorg 
console with CTRL+ALT+F5.


Not sure what the cause is, but I've always assumed it was an issue the 
the radeon driver.


Regards,

Jordan



Re: OpenBSD Monitor Sleep No Response

2020-12-20 Thread Lexical
ben  wrote on Sun [2020-Dec-20 21:26:14 -0500]:
> Hello, misc;
> 
> I've been having an issue with my OpenBSD install, specifically when the 
> system
> turns off the monitor after a period of no use. After the monitor goes blank I
> can't use the start using the machine and must restart, that is after keypress
> and mouse movement the system does not show anything on the monitor. I suspect
> something is wrong due to hardware. I've checked the logs, nothing seems to be
> off. I've turned off apmd as to not interfer with power management and still 
> no
> response after the monitor goes to sleep.
> 
> Here's a list of the hardware:
> 
>  - AMD Ryzen 5 3400G Processor
>  - Asus Prime B550M-A/CSM Motherboard
>  - Radeon RX 580 POLARIS10 GPU
> 
> Has anyone else experience any issues with like this? Is there still no 
> support
> for polaris GPUs? Thank you in advance.
> 
> 
> Ben Raskin
 
Hello,

No firm ideas but a few suggestions...

Is a screen software lock possibly in play, with a "blank" screensaver?

You could try typing your password to see if it wakes up.

I mention that because it wasn't entirely clear from your description if
the monitor is truly hiberating. Some screen locks default to a totally
blank screen.

Also have you tried unplugging/replugging the video cable from the
computer when this happens?

Last thought, maybe there's a relevant BIOS setting?

Mitch K.



OpenBSD Monitor Sleep No Response

2020-12-20 Thread ben
Hello, misc;

I've been having an issue with my OpenBSD install, specifically when the system
turns off the monitor after a period of no use. After the monitor goes blank I
can't use the start using the machine and must restart, that is after keypress
and mouse movement the system does not show anything on the monitor. I suspect
something is wrong due to hardware. I've checked the logs, nothing seems to be
off. I've turned off apmd as to not interfer with power management and still no
response after the monitor goes to sleep.

Here's a list of the hardware:

 - AMD Ryzen 5 3400G Processor
 - Asus Prime B550M-A/CSM Motherboard
 - Radeon RX 580 POLARIS10 GPU

Has anyone else experience any issues with like this? Is there still no support
for polaris GPUs? Thank you in advance.


Ben Raskin