English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 28 July 2010, 12:45   #1
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
8bit rtg fullscreen wrong colors

When choosing uaegfx:800x600 8bit as screen mode, the colors are all wrong. Looks like red, green and blue are mixed up when reading the palette.

Windowed display is ok. Truecolor fullscreen is ok, too.
Attached Thumbnails
Click image for larger version

Name:	fullscreen.png
Views:	355
Size:	282.9 KB
ID:	25969   Click image for larger version

Name:	windowed.png
Views:	363
Size:	332.6 KB
ID:	25970  
Attached Files
File Type: txt winuaebootlog.txt (11.4 KB, 222 views)
File Type: txt winuaelog.txt (13.9 KB, 216 views)
thomas is offline  
Old 28 July 2010, 12:50   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Interesting enough, running prefs/Palette corrects the colors. But then they are wrong in windowed mode. RGB then mixed in the other direction (i.e. blue sky is green instead purple). Running Palette again corrects colors as before with fullscreen = purple sky.
thomas is offline  
Old 28 July 2010, 14:39   #3
Bamiga2002
BlizzardPPC'less
 
Bamiga2002's Avatar
 
Join Date: May 2004
Location: Finland
Age: 46
Posts: 3,210
Send a message via MSN to Bamiga2002
What is that AmiDock-lookalike?
Bamiga2002 is offline  
Old 28 July 2010, 15:15   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
I can't duplicate. I tried multiple resolutions and both DD and D3D fullscreen. 8-bit RTG colors worked fine.
Toni Wilen is online now  
Old 28 July 2010, 15:15   #5
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Quote:
Originally Posted by Bamiga2002 View Post
What is that AmiDock-lookalike?
Self-written. Called WBDock. Runs on WB 1.2 and above.

Edit: added screenshot of wbdock on wb 1.3
Attached Thumbnails
Click image for larger version

Name:	wbdock_13.png
Views:	302
Size:	5.5 KB
ID:	25980  

Last edited by thomas; 28 July 2010 at 16:24.
thomas is offline  
Old 28 July 2010, 15:31   #6
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Quote:
Originally Posted by Toni Wilen View Post
I can't duplicate. I tried multiple resolutions and both DD and D3D fullscreen. 8-bit RTG colors worked fine.
I don't use D3D and I don't use filters (if that matters).

A little more testing revealed that the problem only happens when screen switches to fullscreen RTG and colors are corrected whenever a palette entry is changed by AmigaOS.

- it does not happen if both native and RTG are set to fullscreen.
- if native is windowed and RTG is fullscreen, during boot when Workbench screen opens I see a purple background for a very short time and when the Workbench window appears with the wbpattern picture, colors are correct again
- if RTG is set to windowed and I press Alt-F12, colors appear wrong.
- if both are set to fullscreen and I press Alt-F12, windowed colors are correct, but if I press Alt-F12 again, fullscreen colors are wrong.

So it seems the wrong colors are only set when WinUAE restores colors from its internal buffer (if there is such), but colors are set correctly when changed by AmigaOS.

BTW, when colors are wrong in the green direction, it appears that red is missing completely. Could it be an endianess problem?
Attached Thumbnails
Click image for larger version

Name:	windowed_green.png
Views:	294
Size:	239.7 KB
ID:	25977  

Last edited by thomas; 28 July 2010 at 15:36.
thomas is offline  
Old 28 July 2010, 15:45   #7
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
One more point to add: I tested it on two computers and it happens on both:

one has GeForce 8200 on XP-pro SP3 32bit and the other one Radeon HD 4800 on Vista-Home Premium SP2 64bit.

So it's probably not driver-related (IMHO).
thomas is offline  
Old 28 July 2010, 16:55   #8
Fabie
Banned
 
Join Date: Apr 2009
Location: France
Posts: 478
thomas,

there's no problem here on 800x600x8
it seems there's a problem with your WB installation
incorrect picture datatype or incorrect JPG datatype or something like that
Fabie is offline  
Old 28 July 2010, 17:35   #9
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Most likely it is emulation problem but it is difficult to fix without being able to duplicate it easily.

Since 1.6 or so RTG always uses selected native mode (16bit or 32bit), even in 8-bit RTG and internally converts colors and above problem can happen when internal palette is not updated for some unknown reason.

Does also ALT-TAB fix it? and if you enter and exit GUI?
Toni Wilen is online now  
Old 28 July 2010, 18:02   #10
yaqube
Registered User
 
Join Date: Mar 2008
Location: Poland
Posts: 159
I experience exactly the same issue as Thomas has described (wrong colours when switching between the windowed and the full screen RTG mode). Used to work correctly in earlier version of the WinUAE (with the same hardfile configuration).
yaqube is offline  
Old 28 July 2010, 18:50   #11
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Quote:
Does also ALT-TAB fix it? and if you enter and exit GUI?
No, neither Alt-Tab nor F12 fixes it.
thomas is offline  
Old 28 July 2010, 19:07   #12
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Ok, here is one to recreate it: use expanded high-end quickstart option, then insert the attached ADF. When Workbench is ready, press Alt-F12. Background color changes from grey in windowed mode to red in fullscreen.

And this arises another issue: when you try to put a FFS ADF into DF0 with the high-end quickstart, it tells you that this disk needs 2.04 or above and changes to A1200 basic config.

Oh and just another one, Vista-related: the print key is captured by Windows before WinUAE gets it. On XP I get a screenshot of the Amiga display, on Vista I get a screenshot of the entire Windows desktop. (Does not matter in fullscreen obviously.)

Edit: please read Ctrl-F12 wherever I wrote Alt-F12 in all of my posts above
Attached Thumbnails
Click image for larger version

Name:	bad.png
Views:	264
Size:	4.3 KB
ID:	25981  
Attached Files
File Type: zip p96boot.zip (190.2 KB, 187 views)
thomas is offline  
Old 28 July 2010, 20:29   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,519
Quote:
Originally Posted by thomas View Post
Ok, here is one to recreate it: use expanded high-end quickstart option, then insert the attached ADF. When Workbench is ready, press Alt-F12. Background color changes from grey in windowed mode to red in fullscreen.
Thanks, perfect. It is bug when fullscreen, 8-bit RTG, 32-bit Display panel setting and "match depth" setting enabled. It incorrectly selects 16-bit mode but uses 32-bit mode colors..

Quote:
And this arises another issue: when you try to put a FFS ADF into DF0 with the high-end quickstart, it tells you that this disk needs 2.04 or above and changes to A1200 basic config.
Will be fixed, I missed this when I added cd32 and others few betas ago..

Quote:
Oh and just another one, Vista-related: the print key is captured by Windows before WinUAE gets it. On XP I get a screenshot of the Amiga display, on Vista I get a screenshot of the entire Windows desktop. (Does not matter in fullscreen obviously.)
It seems rawinput does not override printscreen under Vista+. Quick workaround added: take screenshot when key is released, not when pressed..
Toni Wilen is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A1200 Wrong Colors Retrofan support.Hardware 71 25 September 2015 04:48
Virtual Karting wrong colors.... (whdload version) keropi support.Games 62 01 July 2014 14:14
A600 wrong colors fc.studio support.Hardware 46 20 July 2012 00:23
Trouble with Fullscreen RTG on secondary display vagrant support.WinUAE 2 07 May 2012 11:25
8Bit Screens -> Fullscreen ??? RetroMan support.WinUAE 9 10 March 2004 15:24

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

Top

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