03 April 2023, 10:17 | #1 |
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. Last edited by bladecgn; 03 April 2023 at 10:24. |
03 April 2023, 17:13 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
|
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")
|
03 April 2023, 18:35 | #3 | |
Registered User
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
|
Quote:
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. |
|
05 April 2023, 18:36 | #4 |
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). |
07 April 2023, 10:58 | #5 |
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. |
07 April 2023, 15:06 | #6 |
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..")? |
07 April 2023, 19:51 | #7 |
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 |
07 April 2023, 19:55 | #8 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
|
Does window title date show today or yesterday? (2023.04.06 or 2023.04.07)
Quote:
Width is full width = only one possible setting. |
|
17 April 2023, 15:49 | #9 |
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. Last edited by bladecgn; 18 April 2023 at 05:36. |
22 April 2023, 17:43 | #10 |
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. |
22 April 2023, 18:34 | #11 |
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. |
25 April 2023, 07:46 | #12 |
Registered User
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
|
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! Last edited by bladecgn; 25 April 2023 at 07:56. |
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 |
|
|