Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 08:13:29 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Turning off Direct Draw acceleration  (Read 3754 times)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Turning off Direct Draw acceleration
« on: April 09, 2009, 06:02:35 AM »
is there a way to programmatically toggle DirectDraw Acceleration other than the 'dxdiag' way? i'm looking for a way to temporarily disable DirectDraw Acceleration to trouble-shoot a game, maybe with a few DLL calls. any chance of doing that?

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,029
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Turning off Direct Draw acceleration
« Reply #1 on: April 09, 2009, 07:38:22 AM »
I don't think it's a good idea doing it programmatically. Sure, sucks having to ask your users to do it manually, but stil...
- carpe noctem

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Turning off Direct Draw acceleration
« Reply #2 on: April 09, 2009, 08:05:35 AM »
what if i put in a really big button that says 'caution' in all caps? :) actually it's related to my post here where i'm trying to get Grim Fandango to run on my PC without any graphical glitches. disabling hardware acceleration is one way to solve the problem but i loath to toggle manually each time.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Turning off Direct Draw acceleration
« Reply #3 on: April 13, 2009, 09:15:24 PM »
some quick registry comparison showed the these two keys are involved when 'DirectDraw' is turned off from the dxdiag applet (see image). i'm thinking of a batch file or an AHK script that toggles these settings but could anyone could verify this before i inadvertently bork my gfx drivers.. :-\

HKLM, SOFTWARE\Microsoft\Direct3D\Drivers, SoftwareOnly
HKLM, SOFTWARE\Microsoft\DirectDraw, EmulationOnly