https://bugs.winehq.org/show_bug.cgi?id=48088
Bug ID: 48088 Summary: DIB engine does not work on a 256-color X server Product: Wine Version: 1.5.13 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 65646 --> https://bugs.winehq.org/attachment.cgi?id=65646 Regedit in Xephyr
To reproduce, run `Xephyr :1 -ac -screen 800x600x8` in one terminal window and `DISPLAY=:1 wine regedit` in another. The window colors are positively psychedelic.
A regression test on a Debian 6.0 Squeeze virtual machine revealed:
33ac850c80634c891b0c157bbffa612f70954a40 is the first bad commit commit 33ac850c80634c891b0c157bbffa612f70954a40 Author: Alexandre Julliard julliard@winehq.org Date: Thu Sep 6 12:39:34 2012 +0200
winex11: Use window surfaces for rendering top-level windows.
It can be disabled by setting "ClientSideGraphics"="n".
:040000 040000 704eac5fc311e63d373e399c63a2488a6b3dedca 33fb0e5963c1326f8765334e4714060c89b21b5e M dlls
And indeed, creating the registry key "HKEY_CURRENT_USER\Software\Wine\X11 Driver\ClientSideGraphics" with the value "N" or "n" allows the window to be displayed normally (except for some unsightly dithering).