Electron Windows application running in Wine is not rendered (black screen) with Intel driver
I've checked this with both mesa 20.0.8 and 20.2.1, but I didn't notice any difference.
Launching the Fitbit OS simulator under wine leads to a full black window (that you can interact with, so just a rendering problem) when the Intel driver is used.
Instead, it works properly (even though there are still some "black" flickering) when using LIBGL_ALWAYS_SOFTWARE=1
.
You can easily test this using this docker image (particularly this digest)
When you create the image with:
docker container create \
-it \
--net="host" \
--env="DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
--ipc="host" \
--name fitbit-sim-starter-socket-net \
bingtimren/fitbit-simulator:linux_wine_v0_9_0
And start with:
docker start -i -a fitbit-sim-starter-socket-net
env -u LIBGL_ALWAYS_SOFTWARE bash /root/start.sh # the image sets it to 1 by default
Once installed (ignore wine crashes, if any), you'll get this:
That is interactive, but of course impossible to use.
Nothing change basing the image on the latest version of wine and or mesa, so I'm quite sure the problem is related to the drivers.