Advertisement
Guest User

Wine Nvidia fix

a guest
Feb 13th, 2022
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.85 KB | None | 0 0
  1. --- a/dlls/winex11.drv/xrandr.c
  2. +++ b/dlls/winex11.drv/xrandr.c
  3. @@ -378,7 +375,6 @@
  4.      XRRScreenResources *screen_resources;
  5.      XRROutputInfo *output_info;
  6.      XRRModeInfo *first_mode;
  7. -    INT major, event, error;
  8.      INT output_idx, i, j;
  9.      BOOL only_one_mode;
  10.  
  11. @@ -429,15 +425,6 @@
  12.  
  13.          if (!only_one_mode)
  14.              continue;
  15. -
  16. -        /* Check if it is NVIDIA proprietary driver */
  17. -        if (XQueryExtension( gdi_display, "NV-CONTROL", &major, &event, &error ))
  18. -        {
  19. -            ERR_(winediag)("Broken NVIDIA RandR detected, falling back to RandR 1.0. "
  20. -                           "Please consider using the Nouveau driver instead.\n");
  21. -            pXRRFreeScreenResources( screen_resources );
  22. -            return TRUE;
  23. -        }
  24.      }
  25.      pXRRFreeScreenResources( screen_resources );
  26.      return FALSE;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement