Author Topic: Code blocks in 32bpp windows black screen  (Read 6576 times)

fredo974

  • Guest
Code blocks in 32bpp windows black screen
« on: October 29, 2005, 11:18:25 am »
Hi all, I m using code::blocks since one week wih VSToolkit 2003. I's nice but I face a very strange problem, mainly when expanding a tree item like a project or a class, my screen becomes entirely black for one or two seconds. It's generally followed by a refresh problem and a part of the screen stays gray.
It does NEVER happen if I hide the left panel with SHIFT-F2 or if I run in 16bpp or f I disable hardware acceleration.
I believe this is wxwidget related. I know my problem is specific, but if there is a way to use sort of other video mode, I would be interested.
« Last Edit: October 29, 2005, 11:20:11 am by fredo974 »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Code blocks in 32bpp windows black screen
« Reply #1 on: October 29, 2005, 01:36:59 pm »
nVidia desktop manager by any chance?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

fredo974

  • Guest
Re: Code blocks in 32bpp windows black screen
« Reply #2 on: October 30, 2005, 09:03:35 am »
I have it but haven't found anything that could help! I just set up my mind and now work in 16bpp.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Code blocks in 32bpp windows black screen
« Reply #3 on: October 30, 2005, 11:20:10 am »
Since you have a fullscreen blackout (Code::Blocks cannot access the entire screen on its own), I suggested it might be that. Try what happens if you turn off Desktop Manager.

Having nVidia Desktop Manager enabled causes all kinds of weird things on my machine (which is otherwise perfectly stable and reliable).
For example, windows open on the wrong display or in ridiculous sizes (~ 100x40), or applications which I certainly never maximise start maximised (or vice versa). To make it more confusing, this happens with some applications (Explorer, Firefox, Gaim, Code::Blocks, Tortoise) but not with all (for example Word, Blender, Thunderbird, and Inkscape are always good). And it is not reproducable either - on some days, it works!
Given the small benefits offered by Desktop Manager and the big inconveniences, I have it always disabled now, and see no problems any more.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

fredo974

  • Guest
Re: Code blocks in 32bpp windows black screen
« Reply #4 on: November 03, 2005, 08:56:34 pm »
It didn't work!
I found some rare forumer talking about similar problem with nvidia geforce mx video card, but no solution.
Thanks anyway

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Code blocks in 32bpp windows black screen
« Reply #5 on: November 03, 2005, 10:22:08 pm »
Hmmm are you sure you have ACTUALLY removed it? Look in the registry, startup, etc. Also try changing your screen resolution and/or color depth. I know, I'm shooting in the dark, but who knows? It might just work.