After running the command DISPLAY= winecfg
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0088:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0088:err:winediag:nodrv_CreateWindow: "The explorer process failed to start."0088:err:systray:initialize_systray Could not create tray window. 0118:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0118:err:winediag:nodrv_CreateWindow: "The graphics driver is missing. Check your build!"
While command DISPLAY=:1 winecfg
runs the Wine setup program correctly. The Wine registers are set correctly:
[HKEY_CURRENT_USER\Software\Wine\Drivers] "Graphics"="x11,wayland"
Is there any other driver needed for Wayland, or is setting the DISPLAY environment variable necessary for wine 9.0.0.0~jammy-1?