http://bugs.winehq.org/show_bug.cgi?id=58793
--- Comment #13 from Rémi Bernon rbernon@codeweavers.com --- Ah nevermind, I see that it is initializing X11. So probably the issue comes from the EGL library trying to target a wayland display.
As you have an NVIDIA GPU, this might be related to some missing egl-x11 platform (https://github.com/NVIDIA/egl-x11) although this is normally available in the 580 driver series. Are you using the Ubuntu provided package or installed from the NVIDIA installer?
You should be able check whether EGL is working by running `eglinfo`.
Otherwise, and in the meantime you can disable the use of EGL and force using GLX by running the following command in the prefix:
wine reg add "HKCU\Software\Wine\X11 Driver" /v UseEGL /d N /f