English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 18 July 2022, 10:41   #1
PoulpSquad
Registered User
 
PoulpSquad's Avatar
 
Join Date: Aug 2012
Location: Torelló, Spain
Age: 47
Posts: 93
RTG Centered Integer Scaling

Good morning,

Is it possible to set WinUAE RTG mode as centered integer scaling?

My monitor is ultra-wide and capable of displaying 3440x1440 but nothing is readable at that resolution.

I've set a custom resolution in NVIDIA control panel (1280x960x32 @ 60Hz) and things are better, but WinUAE stretches the screen vertically to 1440.

How can I force WinUAE to keep the RTG output centered and integer-scaled?


Thank you for your time reading this!
PoulpSquad is offline  
Old 18 July 2022, 12:29   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
RTG manual integer scaling multipliers and automatic integer scaling are already implemented in current development version.
Toni Wilen is offline  
Old 18 July 2022, 12:34   #3
PoulpSquad
Registered User
 
PoulpSquad's Avatar
 
Join Date: Aug 2012
Location: Torelló, Spain
Age: 47
Posts: 93
Forever grateful for your stellar work on WinUAE.

Thank you very much!
PoulpSquad is offline  
Old 20 July 2022, 01:41   #4
falken
Amiga Lover
 
falken's Avatar
 
Join Date: Feb 2018
Location: Spain
Posts: 197
Quote:
Originally Posted by Toni Wilen View Post
RTG manual integer scaling multipliers and automatic integer scaling are already implemented in current development version.
I understand that this development version is not yet public, right?
falken is offline  
Old 20 July 2022, 19:53   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
Latest alpha version is here: https://www.winuae.net/files/b/winuae.7z
Sometimes it might crash immediately, nothing guaranteed.
Toni Wilen is offline  
Old 20 July 2022, 23:24   #6
PoulpSquad
Registered User
 
PoulpSquad's Avatar
 
Join Date: Aug 2012
Location: Torelló, Spain
Age: 47
Posts: 93
Thank you for the alpha binary.

So far I didn't notice any difference in behavior compared to the non-integer version.

I need to make a new ad-hoc configuration file tomorrow.
PoulpSquad is offline  
Old 21 July 2022, 10:57   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
RTG panel -> Integer scaling (uses window size as defined in Display panel), don't tick other scaling check boxes. Make sure Misc panel gfx mode is Direct3D9 or 11.
Toni Wilen is offline  
Old 21 July 2022, 13:19   #8
PoulpSquad
Registered User
 
PoulpSquad's Avatar
 
Join Date: Aug 2012
Location: Torelló, Spain
Age: 47
Posts: 93
I've made a new configuration file and I am using Amiga Forever 9 directories that came straight from the ISO, so I get everything I need to check stuff.

I've set a screen size of 800x600 in Workbench, which would fit x2 vertically on my monitor (1440 vertical pixels) and leave black bars on top and bottom.

What I'm seeing is that RTG is stretched vertically to fit the monitor.

I'll attach the configuration (I based it on the A1200 config from Quickstart and changed some values to make it compatible with RTG).
Attached Files
File Type: zip TEST.zip (3.0 KB, 58 views)
PoulpSquad is offline  
Old 21 July 2022, 14:32   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
Fixed. Integer scaling only worked in windowed mode.

btw, unless you need to change refresh rate or use vsync (which is rarely needed in RTG modes), I recommend using full-window instead of exclusive full screen. If you want to use exclusive fullscreen, make sure Display panel fullscreen resolution is set correctly. In integer scaling mode native resolution is always whatever Display panel is set, even when using RTG modes.
Toni Wilen is offline  
Old 21 July 2022, 16:09   #10
PoulpSquad
Registered User
 
PoulpSquad's Avatar
 
Join Date: Aug 2012
Location: Torelló, Spain
Age: 47
Posts: 93
Thank you Toni.

I'll make sure to set it as full-window.

Edit:

I just checked the updated binary and that is exactly what I had in mind!

My test setting is now full-window using software DirectX 11.

800x600 is nearly perfect, screen is doubled on X and Y axis with letterboxing and correct aspect ratio, even with aspect correction turned off.

There is a bit of an artifact on the right edge of the screen, I'll attach a screenshot.

Can't wait for the next release of WinUAE, thanks a lot mister!
Attached Thumbnails
Click image for larger version

Name:	800x600.jpg
Views:	94
Size:	355.1 KB
ID:	76063  

Last edited by PoulpSquad; 21 July 2022 at 21:39. Reason: Edit after checking new bins
PoulpSquad is offline  
Old 22 July 2022, 20:59   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
Quote:
Originally Posted by PoulpSquad View Post
There is a bit of an artifact on the right edge of the screen, I'll attach a screenshot.
Does it only appear in integer scaling mode? (I can't duplicate it)
Toni Wilen is offline  
Old 22 July 2022, 22:55   #12
PoulpSquad
Registered User
 
PoulpSquad's Avatar
 
Join Date: Aug 2012
Location: Torelló, Spain
Age: 47
Posts: 93
No, it does the same with aspect correction=automatic and Filter/RTG/No Scaling also.

The interesting thing is that it doesn't happen in 16 nor 32 bit modes.

I copied over my usual configuration file with the matched hdf, which has P96 updated to version 3.3.1. Same behavior, 16/32 bit modes are ok, 8 bit modes have the artefact, with or without integer scaling.

Speaking of integer scaling, I noticed something weird when I ran ShapeShifter.

It is set to use an RTG screen of 640x480x8, and there is a scaling artifact in the middle of the screen.

I think that is weird, because my monitor does 3440x1440, so ShapeShifter screen should be stretched exactly 3 times vertically and horizontally, leaving 2 black bars 760 pixels wide on both sides. The artifact is 5 monitor pixels wide instead of 3 like all the others, and happens seemingly exactly in the middle.
Attached Thumbnails
Click image for larger version

Name:	4.9.2B - RTG Integer Scaling.png
Views:	72
Size:	118.1 KB
ID:	76069  

Last edited by PoulpSquad; 23 July 2022 at 17:20.
PoulpSquad is offline  
Old 24 July 2022, 10:42   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,507
Both bugs should be fixed now.
Toni Wilen is offline  
Old 24 July 2022, 12:22   #14
PoulpSquad
Registered User
 
PoulpSquad's Avatar
 
Join Date: Aug 2012
Location: Torelló, Spain
Age: 47
Posts: 93
Thank you for looking into this.

ShapeShifter RTG screen and upper right corner issues are fixed!

I applied a similar pattern to the Workbench as the MacOS one, as it makes scaling issues obvious.

Screenshots attached. Resolution=960x720x32 and 800x600, both with Aspect Correction=Auto.

Disabling aspect correction now stretches the screen outside monitor bounds

I just noticed that the screenshot with aspect correction disabled is 2331x976

EDIT:

640x480 works fine. I guess you have fixed 640x480 first and will apply the fix to other modes later?
Attached Thumbnails
Click image for larger version

Name:	960x720 AR=AUTO.png
Views:	67
Size:	618.9 KB
ID:	76085   Click image for larger version

Name:	800x600 AR=AUTO.png
Views:	64
Size:	514.7 KB
ID:	76086   Click image for larger version

Name:	800x600 AR=OFF.jpg
Views:	59
Size:	936.2 KB
ID:	76087   Click image for larger version

Name:	MacOS 640x480x8 Aspect Correction=Auto.png
Views:	60
Size:	36.1 KB
ID:	76092   Click image for larger version

Name:	MacOS 640x480x8 Aspect Correction=OFF.png
Views:	59
Size:	484.7 KB
ID:	76093  


Last edited by PoulpSquad; 24 July 2022 at 21:01.
PoulpSquad 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
No Scaling vs Automatic Integer Scaling cybermat support.WinUAE 5 01 December 2020 02:27
Programmed modes and integer scaling Leandro Jardim support.WinUAE 5 17 April 2014 12:35
Integer Scaling FreakyDan support.WinUAE 3 12 May 2012 15:43
Integer scaling bug Leandro Jardim support.WinUAE 2 14 February 2012 20:46
WinUAE Integer Scaling Crash Schlachtwerk support.WinUAE 1 11 November 2011 17:04

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 22:35.

Top

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