View Issue Details

IDProjectCategoryView StatusLast Update
0000252FSSCPOpenGLpublic2006-05-27 16:47
ReporterThe Grim Reaper Assigned Totaylor  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000252: Background turns green if a window pops up e.g. pause, tips etc
DescriptionUnder OGL each time a window is openned ontop of the main view the main view goes completely green i.e when the tips window is displayed the entire flightdeck is solid green same goes for pause, ESC and quit windows.
Dis/enabling features in the launcher has no efect on it.

Using SCP 3.6 and Launcher 5.0 on ATi Radeon 9800Pro with Catalyst 4.8.
TagsNo tags attached.

Activities

2004-09-03 21:29

 

taylor

2004-12-17 07:18

administrator   ~0001431

Have you gotten anywhere with this? Does 3.6.5 beta work any better?

The Grim Reaper

2004-12-22 07:57

reporter   ~0001444

Still green with the 3.6.5 beta, now with Cats 4.12.

SuperCoolAl

2004-12-22 08:47

reporter   ~0001445

Does it for me aswell, Omega Cats 4.12 beta

The Grim Reaper

2004-12-25 16:38

reporter   ~0001452

Installed 3.6.5 final today, fired up FS2 and noticed that everything was 16bit eventhough I had 1024x768x32 selected in the launcher. So, I exited and switched to 1024x768x16, launched again and everythung was 32bits and the greenery is gone.

The Grim Reaper

2005-01-26 20:11

reporter   ~0001583

Goober's 20050125 build has fixed the problems, using cats 5.1, btw.

taylor

2005-01-30 13:20

administrator   ~0001603

Hmm. I've made a few changes to the OpenGL code but nothing that directly relates to the green screen problem. Can others please verify that this is fixed. I'm still leaning towards a driver issue since I've never seen this myself and have tested it on nearly 20 different systems.

Fractux

2005-02-27 05:04

reporter   ~0001691

Last edited: 2005-02-27 05:05

I can verify that this problem is present in your 20050212, the 20050103 build, and 3.6.5. (using 5.02CAT's - i also had this problem on 4.12 cats as well)

On top of the Green Screen, the initial loading screen is always garbled, or shows the last image seen before exiting FS2.

edited on: 02-27-05 00:05

StratComm

2005-02-28 23:33

reporter   ~0001703

I've seen this as well, though the spash screen seems to be getting saved somewhere that gets called up whenever OGL gets initialized. The green has gone away though in recent builds (using Catalyst 5.2). If it's still a problem under Cat 4.x, I'd think that upgrading is in order.

Sesquipedalian

2005-03-02 22:36

reporter   ~0001721

I get this too, but it isn't necessarily green. For me it is just random garbage. Updating drivers doesn't help.

ATI Radeon IGP 340M (an integrated laptop chip).

taylor

2005-03-03 00:01

administrator   ~0001723

Last edited: 2005-03-03 02:54

Is there any difference in how it behaves when you run in 16-bit vs. 32-bit color modes? Or in a window rather than fullscreen?

edited on: 03-02-05 21:54

Fractux

2005-03-03 04:22

reporter   ~0001725

Just tested this using build T-20050103 & 5.02 cats on 9800

32-bit fullscreen : Green screen / Loading screen garbled
32-bit windowed : No problems
16-bit fullscreen : No problems
16-bit windowed : No problems

taylor

2005-03-03 04:28

administrator   ~0001726

Last edited: 2005-03-03 05:15

Ooh, now we're getting somewhere. I'm going to try a few different things and see what I come up with. Looks like something with the pixel format, I just need to figure out exactly what and get around it without breaking anything else. I do see a couple of possible issues though so I'll try and post a build here for everyone to test as soon as I can.

EDIT:
I don't hold out much hope but give this a try: http://icculus.org/~taylor/fso/willrobinson/20050302-win32r.zip

edited on: 03-03-05 00:15

administrator

2005-03-13 19:25

administrator   ~0001825

Last edited: 2005-03-13 19:25

Never mind, thought this was new without comments, assigning to taylor.

edited on: 03-13-05 14:25

Fractux

2005-03-15 03:27

reporter   ~0001955

OK, I just tested this out and here's what happened.

-32-bit fullscreen : Loading screen fine BUT green screen shows up when you press escape to exit and you get the exit confirmation window.

-32-bit windowed : No problems

-16-bit fullscreen : Same as 32 bit fuill screen. Loading screen fine BUT green screen shows up when you press escape to exit and you get the exit confirmation window.

-16-bit windowed : No problems

taylor

2005-03-15 03:29

administrator   ~0001956

Alright I'll try a few other things and report back. I'm still trying to find a way to consistently reproduce the problem. Have done it a couple of times but not enough to get a fix.

kasperl

2005-04-15 08:30

developer   ~0002140

I just spotted this under D3D, as well as OGL.
fs2_open_r_20050414.exe -spec -glow -jpgtga -d3dmipmap -nomotiondebris -2d_poof -snd_preload -env -alpha_env -fps -fov 0.39
(Goobs latest)
Radeon X800 Pro
AMD64 3000+
1GB RAM
17 inch TFT.
Windows XP Home

Also, in my case it looks more blueish. RGB: 0,237,242 according to PSP7 after a screenie. Spotted the same thing on an older build on another computer, same colour.

Pentium 4 1,2Ghz
384MB Rambus RAM
Some kind of geforce.
15 inch TFT.
windows ME.


I can't really test on either comp, because on is my brothers and the other one is my dad's.

taylor

2005-04-19 06:36

administrator   ~0002171

If it just showed up in D3D can you go back and tell me what the last build was that worked? If a recent code change caused this for D3D then maybe that will help track down the OGL cause too.

StratComm

2005-04-19 06:44

reporter   ~0002172

I'm not seeing this any more at all. The most that happens in OGL is that the background behind a popup is blown up if I'm playing at a nonstandard res (and D3D is just screwed up with higher res) but the background is always visible in some form.

kasperl

2005-04-19 09:04

developer   ~0002178

Can't test on either machine since neither is mine. I only played with the new stuff for a few minutes.

taylor

2005-04-19 09:21

administrator   ~0002180

@StratComm: I thought that I fixed the OGL blow up problem already. Would only be in builds that came out after 03/05/05 though. If you are using a newer build and still have the problem let me know.

StratComm

2005-04-19 19:29

reporter   ~0002183

You're right, it's gone in the newest builds. I've not been up to date with builds for about a month prior to the current wave, and I hadn't noticed one way or the other yet. But everything released this month looks good.

StratComm

2005-04-26 03:44

reporter   ~0002262

Update: Back as of Goob's builds of 4-23 and 4-25.

Goober5000

2005-05-25 02:05

administrator   ~0002486

Howabout more recent builds?

taylor

2005-06-08 08:14

administrator   ~0002618

Got a possible fix for this but haven't tested it on a computer with the problem yet. Check my next build (few days away) and see if it's fixed now. Still not really sure why this fix would work, but after a lot of Googling, it could get the job done.

taylor

2005-06-13 21:20

administrator   ~0002637

I made several changes to my latest build to try and fix this so give it a try and let me know if it's better or not.

http://dynamic.gamespy.com/~freespace/forums/showthread.php?s=&threadid=33250

taylor

2005-06-29 13:55

administrator   ~0002707

Two people say it's ok now so it's either a fluke or actually fixed. If anyone still sees this the just reopen the bug.

And just so we can keep track of what changed: GL_TEXTURE_2D is disabled before the glReadPixels call and re-enabled right after. After a lot of google searching and reading on opengl.org it appeared that some people were getting certain solid colors with the gl*Pixel operations when GL_TEXTURE_2D was enabled. I'm still not 100% sure this is all it takes to fix this but since I've only heard positives and no negatives I'll assume that it is.


Fixered.

The Grim Reaper

2005-08-21 14:39

reporter   ~0003077

The greenery is back with Goober's last two builds, 20050728 and the one before it, both with Cat 5.7 and 5.8.

kasperl

2005-08-23 09:39

developer   ~0003106

Does it happen on Sticks's build?

The Grim Reaper

2005-08-23 11:14

reporter   ~0003109

yes

kasperl

2005-08-24 11:08

developer   ~0003119

I'm opening this bug again, and keeping it assigned to Taylor since he was working on it. Sorry for adding more work to your list, but you seem to know the code.

taylor

2005-12-26 09:21

administrator   ~0004051

Ok I think this might be really fixed now (if warpcore allows me to commit any time soon). Screenshots appeared to messing up like this same thing so since that code is a bit easier to change I made a few tests there. It would seem like the ATI drivers don't like glReadPixels with a BGR format, but I have no concrete basis for that. It worked as far as screenshots go though. So, I changed the popup code to also use RGB (instead of BGRA), swap by hand back to BGR, and I think it's happy now. And it uses less memory.

Assuming that the server starts working and I can finally commit this change we'll see if it works. It will proably be in the very next CVS build. Let me know whether it works or not.

The Grim Reaper

2005-12-30 23:22

reporter   ~0004077

I'm sorry but I can't test your fix, I'm currently stuck with a Radeon 8500 and it's not going to change anytime soon.

taylor

2005-12-30 23:52

administrator   ~0004078

???

The fix is for Radeon cards (all of them)...

Wanderer

2005-12-31 08:32

developer   ~0004086

With WMCs 29/12 build i'm getting green background in pause and options (esc) screen. With ATI Radeon 9800Pro.

taylor

2006-01-01 10:31

administrator   ~0004087

Do screenshots work?

Wanderer

2006-01-01 10:54

developer   ~0004088

Just tested it. Odd, with 22/12 CVS build i could take good screenshots and they were saved in the mod folder but now they seem to be saved in totally different folder (freespace2/screenshots) and are all green. With WMCs fs2_open_r-20051229.exe (standard build).

taylor

2006-01-02 08:19

administrator   ~0004097

Ok, the code that previously fixed screenshots is back in CVS now. Same basic thing done for popups, though I'm sure it going to look strange unless you run in a window rather than fullscreen.

If it works (single-color problem gone) in the next available build then please run a debug build, go to the mission simulator, exit, and attach the debug log here. I have an idea of what the problem might be (I hope so anyway) and the debug log will have a line or two that I need to find out for sure.

2006-01-07 09:48

 

fs.log (11,688 bytes)

Wanderer

2006-01-07 09:51

developer   ~0004132

I didn't see any green background in mission load screen (during the pop-up), in game with pause or in screenshots. fs.log has been added as an attachment.

taylor

2006-01-07 11:14

administrator   ~0004133

So it's working fine now then? The popups show the correct background?

Please also double check it running in a window too since it will behave a little differently.

Wanderer

2006-01-07 11:42

developer   ~0004134

No green backgrounds in popups, pause screens, or in screenshots. Tests were made with OGL 1024 x 768 x 32 (windowed & normal) and 640 x 480 x 32 (windowed only). So atleast for me it is looking pretty good. Background pics also seem to be the correct ones (pause screen shows a 'screenshot' from the moment game was 'paused').

taylor

2006-01-07 13:53

administrator   ~0004135

Nice. Ok, I'll leave this bug open a little longer for any others to comment. If it looks fixed across the board (ie, it still works on NVIDIA cards) then I'll resolve it. I've got a mental note about the problem/fix now so if this crops up again then it shouldn't be too difficult to deal with.

taylor

2006-01-13 22:45

administrator   ~0004253

No bad news. Guess it's really fixed this time. :D


Fixered.

taylor

2006-05-23 22:08

administrator   ~0005600

IT'S BACK!!!!

Shotman

2006-05-24 13:51

reporter   ~0005608

Please someone good should look at this bug, I need to make screenshots for debugging 3.6.8.zeta

Shotman

2006-05-24 14:30

reporter   ~0005610

Last edited: 2006-05-24 14:35

I use catalyst 5.8 and when i run fs2_open_C05212005_d-P4 in fullscreen I experience the same bug, but when i run in a window and make screenshot it looks weird look at screen0034.jpg. I used opengl/cannot launch d3d/. MediaVPs are 3.6.8.zeta, on delta it was ok. Heres my cmd line:
D:\Hry\Freespace2\fs2_open_C05212005_d-P4.exe -spec -glow -jpgtga -mipmap -nomotiondebris -2d_poof -missile_lighting -dualscanlines -orbradar -warp_flash -snd_preload -env -alpha_env -fps -window -fov 0.50 -ambient_factor 75 -no_warn

I know it happens also on FS2_Open_KARA_20060517 maybe other builds too.
I posted also my fs.log/shotman_fs.log/ Maybe it helps, good luck.

edited on: 05-24-06 10:35

2006-05-24 14:31

 

screen0034.jpeg (35,023 bytes)   
screen0034.jpeg (35,023 bytes)   

2006-05-24 14:31

 

shotman_fs.log (26,888 bytes)

Goober5000

2006-05-24 16:52

administrator   ~0005611

Shotman, try not to double-post. :p

Duplicate posts deleted.

taylor

2006-05-26 00:58

administrator   ~0005626

Just a quick note that this is verified as once again fixed in private test builds. The fix won't hit CVS until some time this weekend though when I have a chance to commit my other code changes.

taylor

2006-05-27 16:47

administrator   ~0005651

Should be re-fixed in CVS. If anyone still problems with the next build then just reopen this and I'll take another look.


Fixered.

Issue History

Date Modified Username Field Change
2004-09-03 21:29 The Grim Reaper New Issue
2004-09-03 21:29 The Grim Reaper File Added: fs2_open_3_6 2004-09-04 01-27-33-20.JPG
2004-12-17 07:18 taylor Note Added: 0001431
2004-12-22 07:57 The Grim Reaper Note Added: 0001444
2004-12-22 08:47 SuperCoolAl Note Added: 0001445
2004-12-25 16:38 The Grim Reaper Note Added: 0001452
2005-01-26 20:11 The Grim Reaper Note Added: 0001583
2005-01-30 13:20 taylor Note Added: 0001603
2005-02-27 05:04 Fractux Note Added: 0001691
2005-02-27 05:05 Fractux Note Edited: 0001691
2005-02-28 23:33 StratComm Note Added: 0001703
2005-03-02 22:36 Sesquipedalian Note Added: 0001721
2005-03-03 00:01 taylor Note Added: 0001723
2005-03-03 02:54 taylor Note Edited: 0001723
2005-03-03 04:22 Fractux Note Added: 0001725
2005-03-03 04:28 taylor Note Added: 0001726
2005-03-03 05:15 taylor Note Edited: 0001726
2005-03-13 19:25 administrator Note Added: 0001825
2005-03-13 19:25 administrator Note Edited: 0001825
2005-03-13 19:26 administrator Assigned To => taylor
2005-03-13 19:26 administrator Status new => assigned
2005-03-15 03:27 Fractux Note Added: 0001955
2005-03-15 03:29 taylor Note Added: 0001956
2005-04-15 08:30 kasperl Note Added: 0002140
2005-04-19 06:36 taylor Note Added: 0002171
2005-04-19 06:44 StratComm Note Added: 0002172
2005-04-19 09:04 kasperl Note Added: 0002178
2005-04-19 09:21 taylor Note Added: 0002180
2005-04-19 19:29 StratComm Note Added: 0002183
2005-04-26 03:44 StratComm Note Added: 0002262
2005-05-25 02:05 Goober5000 Note Added: 0002486
2005-06-08 08:14 taylor Note Added: 0002618
2005-06-13 21:20 taylor Note Added: 0002637
2005-06-22 20:02 taylor Status assigned => feedback
2005-06-29 13:55 taylor Status feedback => resolved
2005-06-29 13:55 taylor Resolution open => fixed
2005-06-29 13:55 taylor Note Added: 0002707
2005-08-21 14:39 The Grim Reaper Status resolved => feedback
2005-08-21 14:39 The Grim Reaper Resolution fixed => reopened
2005-08-21 14:39 The Grim Reaper Note Added: 0003077
2005-08-23 09:39 kasperl Note Added: 0003106
2005-08-23 11:14 The Grim Reaper Note Added: 0003109
2005-08-24 11:08 kasperl Note Added: 0003119
2005-08-24 11:08 kasperl Status feedback => assigned
2005-12-26 09:21 taylor Note Added: 0004051
2005-12-30 23:22 The Grim Reaper Note Added: 0004077
2005-12-30 23:52 taylor Note Added: 0004078
2005-12-31 08:32 Wanderer Note Added: 0004086
2006-01-01 10:31 taylor Note Added: 0004087
2006-01-01 10:54 Wanderer Note Added: 0004088
2006-01-02 08:19 taylor Note Added: 0004097
2006-01-07 09:48 Wanderer File Added: fs.log
2006-01-07 09:51 Wanderer Note Added: 0004132
2006-01-07 11:14 taylor Note Added: 0004133
2006-01-07 11:42 Wanderer Note Added: 0004134
2006-01-07 13:53 taylor Note Added: 0004135
2006-01-13 22:45 taylor Status assigned => resolved
2006-01-13 22:45 taylor Resolution reopened => fixed
2006-01-13 22:45 taylor Note Added: 0004253
2006-05-23 22:08 taylor Status resolved => feedback
2006-05-23 22:08 taylor Resolution fixed => reopened
2006-05-23 22:08 taylor Note Added: 0005600
2006-05-24 13:51 Shotman Note Added: 0005608
2006-05-24 14:30 Shotman Note Added: 0005610
2006-05-24 14:31 Shotman File Added: screen0034.jpeg
2006-05-24 14:31 Shotman File Added: shotman_fs.log
2006-05-24 14:35 Shotman Note Edited: 0005610
2006-05-24 16:52 Goober5000 Note Added: 0005611
2006-05-26 00:03 Goober5000 Summary Background turns green if a window pops up i.e pause, tips etc => Background turns green if a window pops up e.g. pause, tips etc
2006-05-26 00:58 taylor Note Added: 0005626
2006-05-27 16:47 taylor Status feedback => resolved
2006-05-27 16:47 taylor Resolution reopened => fixed
2006-05-27 16:47 taylor Note Added: 0005651