linuxmint / muffin

The window management library for the Cinnamon desktop (libmuffin) and its sample WM binary (muffin)
GNU General Public License v2.0
193 stars 90 forks source link

muffin-4.0.7 breaks some wine windows #501

Open artik opened 5 years ago

artik commented 5 years ago
 * libmuffin0 4.0.7+tessa
 * Distribution - Mint 19.1
 * Nvidia GTX 1080 nvidia driver 430
 * 64 bit

Issue

Some Winehq (all versions) windows are not drawn properly anymore after an update from cinnamon-muffin 4.0.5 to 4.0.7. (screenshot attachment)

Steps to reproduce

Install Photoshop CS6, and display secondary toolbox windows

Expected behaviour

Proper display of the windows

Other information

It works properly on 4.0.5 version. I didn't try the 4.0.6.

screenshot01 (1)

clefebvre commented 5 years ago

Is there a free app we can test this with?

clefebvre commented 5 years ago

4.0.6 would be more or less the same as 4.0.5, it doesn't affect how things render, so this is pretty much a 4.0.7 regression.

artik commented 5 years ago

Yes, I checked the commit and was pretty sure the 4.0.7 is affected by the regression. The installer is free for 30 trial days.

I'm going to look for a free app that could also be affected, with no garantee of a result

leigh123linux commented 5 years ago

Are you sure it isn't a regression in nvidia driver 430?

artik commented 5 years ago

I tried on:

Wine 4.0, 4.8 Wine-staging 4.1, 4.7 Wine-devel latest version.

I also tried with:

Nvidia proprietary drivers 390, 410, 430 Nouveau open source drivers 1:1.0.15

To target the guilty, I reinstalled a fresh copy of Mint 19.1, and spent all the afternoon to update the packages one by one till I found it was muffin 4.0.7.

jaszhix commented 5 years ago

I can't reproduce this in Photoshop CC on master. There is one PR open for the maintenance branch that might fix this (#483) on 4.0.

photoshop_cc

$ wine --version
wine-4.0.1
$ glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1080 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 430.14
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 430.14
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 430.14
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
jaszhix commented 5 years ago

Update - I tested Photoshop CC on 4.0.7-maintenance, and not observing any difference in window rendering. Reverted back to 4.0.6. No difference, but the toolbar flickers black randomly, and the input is misaligned with the window.