https://bugs.winehq.org/show_bug.cgi?id=50288
Bug ID: 50288 Summary: Warcraft 3: Crashing on Wayland (mutter/gnome) Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: thesleort@gmail.com Distribution: ---
Created attachment 68856 --> https://bugs.winehq.org/attachment.cgi?id=68856 Wayland cinematics bug
I just installed Warcraft 3 (cd version) and I am mostly unable to play Warcraft 3 on Wayland, but not in X11.
There are two errors. Both only occurs in Wayland and are fixable by playing the game in X11 first. Both bugs happens on all my laptops (Ubuntu 20.10) and my Vega 56 machine (Ubuntu 20.04 LTS)
Error 1: The game will not start, since it plays a intro-video in the beginning the first time it is launched. This can be circumvented by launching the game in X11 first and then launching it in Wayland afterwards, since it is not shown in launches afterwards. This error occurs every time a video/cinematic is played in the game, so it also happens when starting the Human campaign. Again the fix is to play in X11 first, since it follows the same "mechanic" as the intro video when launching the game.
Error 2: This error appears to happen when the game is forcefully shut down and then trying to launch it again. Not entirely sure why, but in the logs it appears as if it is not able to initialize some output. It also will not "reset" itself by doing wineserver -k. Instead I have to log out of the current session and then I can launch the game again.
--- I have installed gstreamer1.0-plugins-*:386 packages, which are required to reach the cinematic bug. Otherwise wine will complain that gstreamer is not installed. When i386 packages of gstreamer are installed it reaches the aforementioned cinematic bug.
Also X11 is not able to playback the cinematics in-game, however, in contrast to Wayland it recovers and I am able to advance further in the game.
--- sha1sum Warcraft\ III.exe a4c13b9a075548347a4c63d0a292b1a500ba34b7 Warcraft III.exe --- My current computer: Wine version: wine-staging 6.0-rc1 (from winehq repos) Ubuntu 20.10
CPU: Intel i5-6200U (4) @ 2.800GHz GPU: Intel Skylake GT2 [HD Graphics]
$ glxinfo | grep OpenGL OpenGL vendor string: Intel OpenGL renderer string: Mesa Intel(R) HD Graphics 520 (SKL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.1 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.1 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.1 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions: