From: Rémi Bernon rbernon@codeweavers.com
Loading the driver the first time will call update_display_cache again, and will need to enter the lock.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57506 --- dlls/win32u/sysparams.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/win32u/sysparams.c b/dlls/win32u/sysparams.c index 230c3faa262..2d383778060 100644 --- a/dlls/win32u/sysparams.c +++ b/dlls/win32u/sysparams.c @@ -2254,7 +2254,7 @@ static BOOL lock_display_devices( BOOL force ) return TRUE; }
- if (!force) get_display_driver(); /* make sure at least to load the user driver */ + get_display_driver(); /* make sure to load the user driver before entering display_lock */
pthread_mutex_lock( &display_lock );