I'm not sure why but the latest svn code disables Windows7 Aero them and switches to Basic. The precompiled binaries for the latest release work fine and do not disable the Aero theme. Any ideas how to fix this so it does not disable the Aero theme?
Thanks,
Darren
Comments
Re: SVN Code Disables Windows7 Aero
OpenTK doesn't actually interact with Aero directly.
Re: SVN Code Disables Windows7 Aero
I followed the HowTo create a glControl WinForm tutorial. It happens on load. Here's my sample code
I also see it in the Examples - didn't test all of them but here's a few. Immediate Mode does *NOT* switch to Basic. DisplayLists does it. TextureMapping does it. StencilCSG does it. JuliaSetFractals does it.
Re: SVN Code Disables Windows7 Aero
Can you please test those same examples with 1.0 (not SVN)? Do they also disable Aero?
Also, what video card and OS are you using (Vista/7, 32-/64-bit). The result of
GL.GetString(StringName.Vendor/Renderer/Version)might help pin down the issue.Re: SVN Code Disables Windows7 Aero
None of the 1.0 samples disable Aero.
I'm running Windows7 32-bit and using a NVidia Quadro FX770M, drivers 226.58
Re: SVN Code Disables Windows7 Aero
Thanks, this gives me a hint on where to look. The logic behind GraphicsMode selection has changed between 1.0 and trunk and it now (presumably) selects a mode that's not compatible with Aero.
Let me take a look and I'll let you know what I find.
Re: SVN Code Disables Windows7 Aero
We just switched from OpenTK-1.0-beta-2 to the latest in the svn trunk about a week ago.
All of our Win 7 Enterprise 64 bit development machines experience a momentary blip where all screens go Black when OpenTK creates the glcontext through the GLControl and again when the glcontext is destroyed when the application exits.
These laptops all have Quadro FX 3700M video with NVidia's 2.66.58 drivers installed.
Disabling Aero seems to avoid the black screens.
One further note, we migrated from .Net 3.5 to .Net 4 at the same time as since we were at a break in the development schedule.
Edit: We are using the forward compatible GLcontext
Edit 2: Looks like we are on svn rev 3064 at the moment.
Re: SVN Code Disables Windows7 Aero
Let me see if I can reproduce this on my Nvidia system (my Ati system doesn't exhibit this).
Re: SVN Code Disables Windows7 Aero
Does anyone have other data on this issue? I just encountered it for the first time today (just started using the SVN build rather than 1.0) and what I'm experiencing is very similar to djk -- aero being disabled upon context creation and being restored when the application exits. In my case I'm using a GameWindow rather than GLControl.
My system is Win7-64 using a Quadro 2000 card (now running with the latest release drivers as I thought this might be the culprit).
Re: SVN Code Disables Windows7 Aero
see my post here