Jump to content

  • Log In with Google      Sign In   
  • Create Account


No vsync without Aero composition; cannot turn on Aero on CreateDesktop() made desktop


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Prune   Members   -  Reputation: 216

Like
0Likes
Like

Posted 27 February 2013 - 06:36 PM

My stuff is sandboxed so I use CreateDesktop() to prevent shatter attacks. However, the new desktop has no Aero composition when created for whatever reason (though the default one does) and trying to enable it with DwmEnableComposition() fails. I have no idea why, or how to solve this problem. DwmEnableComposition() works fine on the default desktop. Is there any way to get vs vsync to work without composition? I can't get it to do so, even when forced from nvidia's driver control panel. What's the solution here?

 

I'm using Windows 7. In Windows 8, they say one cannot disable composition, so I'm wondering if this problem will not be present anymore there.

 

Edit: I forgot to mention I'm using OpenGL.


Edited by Prune, 27 February 2013 - 06:36 PM.

"But who prays for Satan? Who, in eighteen centuries, has had the common humanity to pray for the one sinner that needed it most?" --Mark Twain

~~~~~~~~~~~~~~~Looking for a high-performance, easy to use, and lightweight math library? http://www.cmldev.net/ (note: I'm not associated with that project; just a user)

Sponsor:

#2 Prune   Members   -  Reputation: 216

Like
0Likes
Like

Posted 01 March 2013 - 04:49 PM

Any help?


"But who prays for Satan? Who, in eighteen centuries, has had the common humanity to pray for the one sinner that needed it most?" --Mark Twain

~~~~~~~~~~~~~~~Looking for a high-performance, easy to use, and lightweight math library? http://www.cmldev.net/ (note: I'm not associated with that project; just a user)

#3 mrhodes   Members   -  Reputation: 315

Like
1Likes
Like

Posted 05 March 2013 - 01:38 AM

I think I know ....

 

On the 26th Microsoft put out an update that made the Windows 7 desktop work like the Windows 8 desktop.

 

Basically, DWM always runs.  It cannot be turned off now.  Also, the whole display is rendered with DirectX.

 

I have been looking into this stuff because I use Fraps to record my desktop.. but that no longer works :(

 

See if anything here helps

http://msdn.microsoft.com/en-us/library/windows/desktop/aa969538(v=vs.85).aspx

 

good luck


Michael RhodesTiger Studios Web Designhttp://tigerstudios.net

#4 Prune   Members   -  Reputation: 216

Like
0Likes
Like

Posted 07 March 2013 - 08:07 PM

Thanks for that info. Do you know which update it was? The only update I see available that's not earlier than that date is the optional KB2670838 but I can't tell if it's that one. I haven't installed it yet as, when I tried recently along with some other updates (keyboard and mouse) it failed, Windows would boot with a black screen, and I had to do system restore. But I don't know if it was this update or the driver ones.

 

[Edit:] I installed the KB2670838 update (the date was 2/27/2013) and there's still no composition in the CreateDesktop() desktop. Not sure if that's the right one, but I don't see any other...


Edited by Prune, 07 March 2013 - 09:24 PM.

"But who prays for Satan? Who, in eighteen centuries, has had the common humanity to pray for the one sinner that needed it most?" --Mark Twain

~~~~~~~~~~~~~~~Looking for a high-performance, easy to use, and lightweight math library? http://www.cmldev.net/ (note: I'm not associated with that project; just a user)

#5 Prune   Members   -  Reputation: 216

Like
0Likes
Like

Posted 08 March 2013 - 01:29 PM

Hmm I can still disable composition on the default desktop after I've installed all updates. Still haven't found the update you mention...

 

This seems to be about the same KB I already mentioned, also from the 27th: http://msdn.microsoft.com/library/windows/apps/jj863687.aspx

Nothing about composition in there, however.


Edited by Prune, 08 March 2013 - 01:38 PM.

"But who prays for Satan? Who, in eighteen centuries, has had the common humanity to pray for the one sinner that needed it most?" --Mark Twain

~~~~~~~~~~~~~~~Looking for a high-performance, easy to use, and lightweight math library? http://www.cmldev.net/ (note: I'm not associated with that project; just a user)




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS