https://bugs.winehq.org/show_bug.cgi?id=55843
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- From a "wine notepad" I receive a few of this "Failed to read display config" for this processes: wineboot.exe, start.exe, conhost.exe
This message get printed before this processes reach the functions `init_user`/`sysparams_init`, where the static config_key would get initialized (mentioned in #55511).
Following modification will leave update_display_cache when the static config_key is not yet set. This avoids the messages and feels like startup is also getting faster again.
--- a/dlls/win32u/sysparams.c +++ b/dlls/win32u/sysparams.c @@ -2031,2 +2031,6 @@ BOOL update_display_cache( BOOL force )
+ /* leave early when config_key is not yet set */ + if (!config_key) + return TRUE; + /* services do not have any adapters, only a virtual monitor */