English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 15 December 2021, 20:13   #1
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
WinUAE 4.9.0 distorted aspect ratio in DblPal OS3.1

I recently tried to upgrade from WinUAE 4.4.0 to WinUAE 4.9.0. However, I noticed a distorted aspect ratio when displaying standard DblPal screen mode in Workbench3.1 (other higher freqency modes might be affected as well; I had not time to check them all). In DblPal, I use maximum overscan (720x550). In WinUAE 4.9.0, the displayed area is too narrow (not cropped, just horizontally shrunken) so that the aspect ratio is distorted. In WinUAE 4.4.0, everything is displayed with correct aspect ratio. Any idea why this happens?
coachman is offline  
Old 15 December 2021, 20:29   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
I can't duplicate. I checked every monitor before release and all of them worked as expected.

Which DBLPAL mode exactly? How many colors? Does it happen even without overscan?

Screenshot please.

EDIT: run with log window open (-log command line parameter), copy and paste this part from your log (it is not necessarily identical and have same lines):

Code:
28-008 [116 000-008]: Programmed mode autores = 1 -> 2 (2)
28-040 [117 000-000]: SNDRATE 591.0*122.0*49.192741=3546895.039993
28-040 [117 000-000]: NTSC mode dblscan V=49.1927Hz H=29072.9102Hz (122x590+1) IDX=-1 (<?>) D=0 RTG=0/0
28-041 [117 000-000]: RTGFREQ: 590*49.1927 = 29023.7168 / 49.2 = 590
28-041 [117 000-000]: BEAMCON0=1B88 VTOTAL=589 HTOTAL=121 (079)
28-042 [117 000-000]:  HS=000B-0015 HB=0001-0021 HC=0047
28-042 [117 000-000]:  VS=0008-0016 VB=0590-0024
28-042 [117 000-000]:  HSYNCSTART=0085.0 HSYNCEND=001B.0
28-043 [117 000-000]:  Lines=12-598
28-043 [117 000-000]: PC=00f8293a COP=0005ab9c
Perhaps you have some adjustments done to monitor driver or it isn't original monitor driver.

EDIT2: if possible, zip and attach sys:prefs/env-archive/sys/screenmode.prefs and overscan.prefs + your config file.

Last edited by Toni Wilen; 15 December 2021 at 20:58.
Toni Wilen is offline  
Old 15 December 2021, 21:45   #3
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
Screenshots of my Workbench 3.1 screen in WinUAE 4.4.0 (correct aspect ratio) and WinUAE 4.9.0 (distorted).
Attached Thumbnails
Click image for larger version

Name:	WinUAE_440.png
Views:	147
Size:	155.3 KB
ID:	74088   Click image for larger version

Name:	WinUAE_490.png
Views:	146
Size:	160.2 KB
ID:	74089  
coachman is offline  
Old 15 December 2021, 21:47   #4
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
WinUAE 4.4.0 and 4.9.0 logs (hopefully I found the relevant parts correctly).
Attached Files
File Type: txt winuae_440_gfx_log.txt (2.0 KB, 45 views)
File Type: txt winuae_490_gfx_log.txt (3.1 KB, 48 views)
coachman is offline  
Old 15 December 2021, 21:50   #5
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
My screenmode.prefs and overscan.prefs from Workbench 3.1
Attached Files
File Type: zip screenmode_prefs.zip (718 Bytes, 49 views)
coachman is offline  
Old 15 December 2021, 21:53   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Could you also include your uae config file? Screenshot looks like there is some extra scaling which core display emulation can't cause.
Toni Wilen is offline  
Old 15 December 2021, 21:55   #7
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
...and final remark: I use standard monitor drivers from the official Workbench 3.1 installation disks.


Thanks for any ideas what could be the reason for that distortion...
coachman is offline  
Old 15 December 2021, 21:57   #8
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
My winuae configuration...
Attached Files
File Type: uae A1200 HDD real 68040 RTG K3.1.uae (15.5 KB, 54 views)
coachman is offline  
Old 16 December 2021, 18:42   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Ah, "default" filtering option. It isn't meant to be used with "non-standard" modes and can cause unexpected blurriness depending on native resolution. But there was also a bug, internally calculated programmed mode width was too large.

Does https://download.abime.net/winuae/files/b/winuae.7z fix it?
Toni Wilen is offline  
Old 17 December 2021, 19:56   #10
Rotareneg
Registered User
 
Rotareneg's Avatar
 
Join Date: Sep 2017
Location: Kansas, USA
Posts: 329
With stock double NTSC or PAL modes I get a similar effect, even with that winuae.7z you posted, default quickstart config.

Code:
Programmed mode autores = 1 -> 2 (2)
SNDRATE 479.0*130.0*57.484261=3579544.905014
NTSC mode dblscan V=57.4843Hz H=27534.9609Hz (130x478+1) IDX=-1 (<?>) D=0 RTG=0/0
RTGFREQ: 478*57.4843 = 27477.4766 / 57.5 = 478
BEAMCON0=1B88 VTOTAL=477 HTOTAL=129 (081)
 HS=000B-0015 HB=0001-0021 HC=004B
 VS=0007-0014 VB=0478-0022
 HSYNCSTART=008D.0 HSYNCEND=001B.0
 Lines=11-485
PC=00fcfe32 COP=00015dd4
Attached Thumbnails
Click image for larger version

Name:	Double NTSC WinUAE.png
Views:	94
Size:	46.3 KB
ID:	74101  
Rotareneg is offline  
Old 17 December 2021, 20:08   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
Which can be normal. Did you compare it against 4.4?
Toni Wilen is offline  
Old 18 December 2021, 19:59   #12
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
Quote:
Originally Posted by Toni Wilen View Post
Ah, "default" filtering option. It isn't meant to be used with "non-standard" modes and can cause unexpected blurriness depending on native resolution. But there was also a bug, internally calculated programmed mode width was too large.

Does https://download.abime.net/winuae/files/b/winuae.7z fix it?

Hi Toni, thanks for your efforts. I checked the referenced WinUAE 4.9.1 beta. The aspect ratio has improved compared to 4.9.0 but still it is not exact - see the attached pictures.
Attached Thumbnails
Click image for larger version

Name:	WinUAE_440.png
Views:	65
Size:	155.3 KB
ID:	74120   Click image for larger version

Name:	WinUAE_490.png
Views:	58
Size:	160.2 KB
ID:	74121   Click image for larger version

Name:	WinUAE_491.png
Views:	69
Size:	115.4 KB
ID:	74123  
coachman is offline  
Old 18 December 2021, 20:11   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
I don't think this can be matched fully with 4.4 because programmed modes are now emulated much more accurately that made internal handling different.

Change filter panel "default" to "no scaling" (or 2x+ or integer scaling modes). You probably want integer pixel mapping anyway when using WB.
Toni Wilen is offline  
Old 18 December 2021, 21:48   #14
coachman
Registered User
 
Join Date: Dec 2021
Location: Prague / Czechia
Posts: 32
Quote:
Originally Posted by Toni Wilen View Post
I don't think this can be matched fully with 4.4 because programmed modes are now emulated much more accurately that made internal handling different.

Change filter panel "default" to "no scaling" (or 2x+ or integer scaling modes). You probably want integer pixel mapping anyway when using WB.

I see that there are many filtering options for the output and in the end I found a suitable one that gave correct aspect ratio but still I would expect that the "default" option works reasonably well out of the box.



Thank you anyway for your time and assistance.
coachman is offline  
Old 30 December 2021, 20:01   #15
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,574
This is possibly fixed now, check 4.9.1 beta thread.
Toni Wilen 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
Suggestion: Keep aspect ratio option when resizing winuae in windowed mode Srksi support.WinUAE 6 07 February 2019 17:46
The real aspect ratio? brakenwagen support.WinUAE 41 21 July 2017 02:00
Aspect ratio wrong? Leandro Jardim support.WinUAE 2 24 September 2013 10:13
Custom ratio for aspect ratio correction? rsn8887 request.UAE Wishlist 4 16 April 2013 17:49
Keep Aspect Ratio + RTG reenstix support.WinUAE 15 15 February 2011 11:41

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

Top

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