[BUG] Double-buffering bug RADEON drivers (v15.7 - v19.3) on Windows 7


  1. Posts : 11
    Windows 7 SP1 x86
       #1

    [BUG] Double-buffering bug RADEON drivers (v15.7 - v19.3) on Windows 7


    Double-buffering bug RADEON drivers (v15.7 - v19.3, all versions) on Windows 7
    Classic theme or Windows Basic theme (any no AERO themes)


    This bug all new AMD cards 2014-2019 years:
    - Radeon HD 7XXX;
    - Radeon R5, R7, R9 series;
    - Radeon RX 400, RX 500 series
    with Radeon Driver - from Catalyst v15.7 to Radeon Adrenalin v19.3.1 (all versions)

    NVidia and Intel video cards there are no problems!
    Unfortunately, this problem is present on AMD drivers only.

    Using "double-buffering patch" increase RADEON driver performance up 10-30 times!
    Demonstration in the foobar2000 spectrum with FPS measurement using simpleGLUT.

    No patch (WS_EX_COMPOSITED = OFF)
    FPS = 25-60 (very big lags)

    Used "double-buffering patch" (WS_EX_COMPOSITED = ON)
    FPS = 850-920 (no lags)

    Video demonstration -


    Source code:
    Code:
        #include <windows.h>
        #define WS_EX_COMPOSITED 0x02000000L
        static BOOL WINAPI EnumProc (HWND hwnd, LPARAM param)
        {
            DWORD style;
            style = (DWORD)GetWindowLong (hwnd, GWL_EXSTYLE);
            // ON
            SetWindowLong (hwnd, GWL_EXSTYLE, style | WS_EX_COMPOSITED);
            // OFF
            //SetWindowLong (hwnd, GWL_EXSTYLE, style & ~WS_EX_COMPOSITED);
            return TRUE;
        }
    
        void BoostWindows (void)
        {
            EnumWindows (EnumProc, 0l);
        }
        int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int nShowCmd)
        {
            BoostWindows ();
            return 0;
        }
      My Computer


  2. Posts : 2,246
    Windows 7 Pro SP1 64 bit
       #2

    I just wanted to mention that a lot of the series you mention are now Legacy cards. The last driver for them is the Crimson 16.2.1 Beta. Not sure if that affects the problem you're referring to.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:25.
Find Us