English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 27 February 2013, 22:23   #1
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
DPMS screen blanking

VESA DPMS screen blanking allows the computer to tell the monitor to go into a lower-power state by disabling one or both video sync signals.

Some Amiga programs (well, Debian Linux is probably the only Amiga program) can disable the horizontal and/or vertical sync signals. Debian does that by setting HSSTRT and HSSTOP (in the case of disabling horizontal sync) to the same value which is outside the displayed range.

WinUAE seems to handle that okay. When I tested it the Amiga screen shows as all black when blanked. Or maybe Debian sets the screen to all black before turning off the sync(s), and WinUAE continues to display the Amiga image?

It would be good if there could be some indication in the status bar when H/V syncs are disabled, so the user can tell whether there is just a blank screen on the Amiga side, or the DPMS screen blanker has activated. You could also stop rendering into the emulation window when one of the syncs is disabled which could reduce CPU use slightly I guess.
mark_k is offline  
Old 28 February 2013, 17:19   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
WinUAE will still display the image, at least it attempts but I guess nothing would be shown (even if display wasn't blanked first) due to weird sync positions.

Not worth the trouble unless there is AmigaOS compatible version of blanking program
Toni Wilen is online now  
Old 28 February 2013, 18:15   #3
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,343
To get DPMS blanking to work in AmigaOS I think you'd need the monitor driver to support it (poking custom registers from a user program is probably not a good idea...).

If you want to experiment, you can boot the Aminet Debian HDF. Log in as root, then quit X by typing /etc/init.d/xdm stop
Log in as root then run this command: setterm -blank 1 -powersave hsync -powerdown 2

After a minute of inactivity horizontal sync signals are disabled. WinUAE log says:
Code:
PAL mode dblscan V=55.3710Hz H=31113.1140Hz (114x561+1) IDX=10 (PAL) D=1 RTG=0
P96FREQ: 561*55.3710 = 31063.1579 / 55.4 = 561
BEAMCON0=5BB6 VTOTAL=0230  HTOTAL=0071
  HSSTOP=0074 HBSTRT=0001  HBSTOP=0023
  VSSTOP=000E VBSTRT=0230  VBSTOP=0030
  HSSTRT=0074 VSSTRT=000C HCENTER=0045
PAL mode dblscan V=55.3710Hz H=31113.1140Hz (114x561+1) IDX=10 (PAL) D=1 RTG=0
P96FREQ: 561*55.3710 = 31063.1579 / 55.4 = 561
After another couple of minutes:
Code:
BEAMCON0=5BB6 VTOTAL=0230  HTOTAL=0071
  HSSTOP=0074 HBSTRT=0001  HBSTOP=0023
  VSSTOP=000E VBSTRT=0230  VBSTOP=0030
  HSSTRT=0074 VSSTRT=0233 HCENTER=0045
BEAMCON0=5BB6 VTOTAL=0230  HTOTAL=0071
  HSSTOP=0074 HBSTRT=0001  HBSTOP=0023
  VSSTOP=0233 VBSTRT=0230  VBSTOP=0030
  HSSTRT=0074 VSSTRT=0233 HCENTER=0045
BEAMCON0=5BB6 VTOTAL=0230  HTOTAL=0071
  HSSTOP=0074 HBSTRT=0001  HBSTOP=0023
  VSSTOP=0233 VBSTRT=0230  VBSTOP=0030
  HSSTRT=0074 VSSTRT=0233 HCENTER=0045
Buffer size (656*1) Native
D3D9Ex: working texture allocated pre 656*1, post 768*576, bits per pixel 16
D3D9Ex: 656*1 texture allocated, bits per pixel 16
PAL mode dblscan V=55.3710Hz H=31113.1140Hz (114x561+1) IDX=10 (PAL) D=1 RTG=0
P96FREQ: 561*55.3710 = 31063.1579 / 55.4 = 561
POS (0 0 768 576) - (-56 -287 712 289)[768,576] (0 0)
BEAMCON0=5BB6 VTOTAL=0230  HTOTAL=0071
  HSSTOP=0074 HBSTRT=0001  HBSTOP=0023
  VSSTOP=0233 VBSTRT=0230  VBSTOP=0030
  HSSTRT=0074 VSSTRT=0233 HCENTER=0045
PAL mode dblscan V=55.3710Hz H=31113.1140Hz (114x561+1) IDX=10 (PAL) D=1 RTG=0
P96FREQ: 561*55.3710 = 31063.1579 / 55.4 = 561
mark_k is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multimonitor blanking Dr.Venom request.UAE Wishlist 3 08 July 2012 17:58
Horizontal Blanking sandruzzo Coders. General 18 17 January 2012 09:27
Wanted - Blanking plates for Elbox Power Tower fitzsteve MarketPlace 0 21 October 2010 11:49
Indivision AGA support DPMS? RogerWilco09 support.Hardware 3 14 May 2009 23:08
[Wanted] Amiga 4000 5.25" blanking plate jimbo100 MarketPlace 16 20 June 2007 17:27

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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:23.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07180 seconds with 13 queries