24 May 2009, 16:58 | #1 |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Unstable display in Native mode.
I'm able to duplicate this very easily.
The left side of the Amiga display wiggles back and forth randomly about 1 mm in Native modes with the following settings. 1. NTSC or PAL machine. 2. Full-screen with vysnc or not. Switch to windowed with ctr-f12 stops, starts again when switch back to full-screen. 3. Windows res mode=1280x1024, 1024x768 is stable. Only two I've tried. Windows and RTG at 1280x1024 are stable. 4. FS, Auto-scale is stable. 5. Aspect-ratio and KAR enabled, either vga or tv, either disabled is stable. 6. NTSC or PAL WB screen. 7. Filters that are not stable. Scale2x, hq2x/3x/4x, SuperEagle, Super2xsaI, 2xSaI. The rest I never saw be unstable. Scale2x seems to be the best at being unstable. I even got it to be unstable using the 4000 quick start, using a box stock 3.9. I hope this enough to reproduce. |
25 May 2009, 18:17 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,576
|
Can reproduce but only if 5:4 aspect ratio is selected.
|
25 May 2009, 22:29 | #3 |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
|
07 June 2009, 16:44 | #4 |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
With 1610b1 instability was still only with 5:4 aspect-ratio setting.
With 1610b2 instability is now only with 15:9, 5:4 aspect-ratio is stable. Other then that change it's still the same as my first post of this thread. Persnally I think all the aspect ratios are broken and the ones that work, work by luck. Maybe some odd timing thing. |
08 June 2009, 08:16 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,576
|
I think it must be those filters messing up with FPU mode/state causing different double/float->int conversion results in filter scaling calculations..
|
08 June 2009, 15:44 | #6 | |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Quote:
1.99999999999999 -> 1 2.00000000000001 -> 2 Both numbers are basically the same but converted to integer a lot different. The trick would be to round before converting to an int. if(num<0.0) num=ceil(num-0.5); else num=floor(num+0.5); |
|
08 June 2009, 16:10 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,576
|
Actually the problem is that emulated FPU state is mirrored to real FPU state. (FPU emulation uses host FPU which means rounding states must match)
I guess rounding mode must be reset temporarily when doing filter calculations.. How boring.. Originally filtering calculations used fixed point math but it was getting too ugly.. |
08 June 2009, 17:09 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,576
|
Does http://www.winuae.net/files/b/winuae.zip fix it? (I couldn't duplicate the problem anymore, not even if I used previous version..)
|
09 June 2009, 16:08 | #9 | |
Registered User
Join Date: Sep 2007
Location: Las Cruces, USA
Age: 71
Posts: 351
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
native in screen display problem | turrican3 | support.WinUAE | 1 | 29 September 2012 05:22 |
Native mode scanlines grey, not black... | mingle | support.WinUAE | 1 | 05 February 2012 02:02 |
Option to reposition 'Native on-screen display' | NoX1911 | request.UAE Wishlist | 2 | 27 February 2011 17:07 |
Native display is scaled although it shouldn't be | thomas | support.WinUAE | 18 | 15 October 2010 09:56 |
MMU/JIT toggle on native mode | jotd | request.UAE Wishlist | 3 | 18 September 2009 20:36 |
|
|