English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 03 April 2023, 10:17   #1
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Programmed mode aspect ratio/integer scaling

I do have to repaeat my issue with integer scaling. As you can see in the attachment the image is scaled correctly vertically but not horizontally.


dblpal highres flicker free, 720x540 overcan, auto integer scaling

I have a 1920x1080 dispaly.
Attached Thumbnails
Click image for larger version

Name:	integer.jpg
Views:	155
Size:	301.8 KB
ID:	78499  

Last edited by bladecgn; 03 April 2023 at 10:24.
bladecgn is offline  
Old 03 April 2023, 17:13   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Quote:
Originally Posted by bladecgn View Post
I do have to repaeat my issue with integer scaling. As you can see in the attachment the image is scaled correctly vertically but not horizontally.


dblpal highres flicker free, 720x540 overcan, auto integer scaling

I have a 1920x1080 dispaly.
Link to previous post, thanks. Is that new bug or has it always been this way? (It sounds like it was always this way, some programmed modes are "problematic")
Toni Wilen is offline  
Old 03 April 2023, 18:35   #3
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Quote:
Originally Posted by Toni Wilen View Post
Link to previous post, thanks. Is that new bug or has it always been this way? (It sounds like it was always this way, some programmed modes are "problematic")

It is okay in 4.4.0.
I just tried 4.9 - there it is broken

What puzzles me in the screenshot I sent from the current beta is that the correct scaling (=2x, 540 times two = 1080)ist applied vertically but not horizontally (it stays at 1x).

Last edited by bladecgn; 04 April 2023 at 07:25.
bladecgn is offline  
Old 05 April 2023, 18:36   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Moved from beta thread (not beta specific)

Does https://www.winuae.net/files/b/winuae.7z fix it? ("VGA mode resolution autoswitch" should work better) and integer scale tries to fix aspect ratio if it is obviously wrong (because of weird programmed mode).
Toni Wilen is offline  
Old 07 April 2023, 10:58   #5
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Thanks for looking into this.


Unfortunately it doesnt fix it, looks the same as before.

Last edited by bladecgn; 07 April 2023 at 11:52.
bladecgn is offline  
Old 07 April 2023, 15:06   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Include screenshot of overscan prefs screen, thanks. (Exact vertical parameters can't be seen from overscan window)

Did you really have latest winuae.7z because Display panel "VGA mode resolution autoswitch" should have selected "hires", not "superhires" (=width halved). Does it look correct if you manually set it to hires? (and untick "VGA mode..")?
Toni Wilen is offline  
Old 07 April 2023, 19:51   #7
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Yes I used the latest (public beta 4).
"VGA mode resolution autoswitch" is selected.
Before I click the "Start" button to start up the emulation, "hires" ist selected.
It is changed to "superhires" by winuae while booting automatically.

If i turn off "VGA mode resolution autoswitch" then and change to "hires" manually, the display is fine.

When I turn on "VGA mode resolution autoswitch" again the display is changed to "superhires"by winuae and the image appears to be streched.

Overscan is 720x540 for both graphics and text on dplbal
bladecgn is offline  
Old 07 April 2023, 19:55   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Quote:
Originally Posted by bladecgn View Post
Yes I used the latest (public beta 4).
Does window title date show today or yesterday? (2023.04.06 or 2023.04.07)

Quote:
Overscan is 720x540 for both graphics and text on dplbal
Yes but there are at least 20 different positions for overscan height = 540. (540 is not max value)
Width is full width = only one possible setting.
Toni Wilen is offline  
Old 17 April 2023, 15:49   #9
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
2023.04.07 is the window title.

Attached is the overscan.prefs config file (from envarc:sys).

Sorry it took me so long to answer, I have been on vacation.

{Edit) Also tried Beta 6 today but no change, the problem remains.
Attached Files
File Type: rar overscan.rar (182 Bytes, 24 views)

Last edited by bladecgn; 18 April 2023 at 05:36.
bladecgn is offline  
Old 22 April 2023, 17:43   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Forgot to ask: which display API mode? GDI had a bug in positioning (winuae.7z from today should fix it), D3D11 also might have been affected.

EDIT: Interestingly display size is different on OS 3.2 when compared with 3.1 when using your overscan.prefs.. I still can't duplicate wrong aspect but at least I can see display is detected as having more than 540 lines and won't fit in 1080 display in 2x mode. At least I can debug this.

Last edited by Toni Wilen; 22 April 2023 at 17:55.
Toni Wilen is offline  
Old 22 April 2023, 18:34   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
Size is same after all, only screenmode prefs shows different values (probably correct values this time, it seemed to ignore overscan values, at least partially in 3.1)

Auto integer scale works fine here, correct aspect and 2x multiplier selected (plain integer scale selects 1x because display has border at the bottom)

If it still does not work, please attach config file and winuaelog.txt.

EDIT: No need for logs and config. I finally managed to duplicate it. It only happens under OS 3.2 and config is similar enough. (That mode is about 1Hz less than under OS 3.1 and both horizontal and vertical size has changed)

https://www.winuae.net/files/b/winuae.7z should finally fix it.

Last edited by Toni Wilen; 22 April 2023 at 19:01.
Toni Wilen is offline  
Old 25 April 2023, 07:46   #12
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Smile

I am happy to confirm that the problem is solved and everything works perfectly now.


Pixel perfect scaling is very important for me, the quality it superb as you can see in the attached screenshot (you should zoom in to see the full effect of pixel perfect scaling).



Thank you for looking into this and finding a solution. WinUAE is a work of art, especially since Toni took over!
Attached Thumbnails
Click image for larger version

Name:	Success.jpg
Views:	57
Size:	421.2 KB
ID:	78742  

Last edited by bladecgn; 25 April 2023 at 07:56.
bladecgn 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
Suggestion: Keep aspect ratio option when resizing winuae in windowed mode Srksi support.WinUAE 6 07 February 2019 17:46
Programmed modes and integer scaling Leandro Jardim support.WinUAE 5 17 April 2014 12:35
Custom ratio for aspect ratio correction? rsn8887 request.UAE Wishlist 4 16 April 2013 17:49
aspect ratio and scaling problem hexaae support.WinUAE 42 14 May 2009 19:01

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 02:44.

Top

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