GOG The Witcher EE Director's Cut in WINE

Hi to all!

Today I’ve installed GOG The Witcher Enhanced Edition Director’s Cut under WINE 2.13. AMD FX 6350 + Radeon HD 5850. And there were a lot of graphical bugs:

  • strange black lines every were around
  • bad shadows and lights
  • black textures, black trees, black druids bread

After 6 hours of research, I found solutions and now I can play with pleasure!!! Here are screenshots in archive: http://www.filedropper.com/afterresearch

Here is a solution. I hope It will be useful:

  1. Open regedit for wine (I’v installed q4wine): /usr/bin/q4wine-cli -p “Default” -d “system” -i “regedit”

  2. Create subfolder: HKEY_CURRENT_USER\Software\Wine\Direct3D

  3. Make string variables there: CheckFloatConstants=enabled, VideoMemorySize=1024 (your_video_carb_memory_size in MB)

  4. In console: winetricks d3dx9

  5. Winecfg: Windows version=Windows 7, DLLS: d3dx9_36 = native

cat /etc/X11/xorg.conf.d/50-device.conf

Section “Device”
Identifier “Device0”
Driver “radeon”
Option “monitor-DVI-0” “Default Monitor”
Option “EnablePageFlip” “on”
Option “DRI” “3”
Option “TearFree” “on”
Option “ColorTiling2D” “on”
Option “AccelMethod” “EXA” #valid options are XAA, EXA and Glamor. EXA is the default.
Option “RenderAccel” “on” #enabled by default on all radeon hardware
Option “ColorTiling” “on” #enabled by default on RV300 and later radeon cards.
Option “EXAVSync” “on” #default is off, otherwise on. Only works if EXA activated
Option “EXAPixmaps” “on” #when on icreases 2D performance, but may also cause artifacts on some old cards. Only works if EXA activated
Option “AccelDFS” “on” #default is off, read the radeon manpage for more information
EndSection

My system by glxinfo is:

direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4

client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:

[FONT=arial]Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org (0x1002)
Device: AMD CYPRESS (DRM 2.49.0 / 4.4.76-1-default, LLVM 3.8.0) (0x6899)
Version: 17.0.5
Accelerated: yes
Video memory: 1024MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.1
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CYPRESS (DRM 2.49.0 / 4.4.76-1-default, LLVM 3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 17.0.5
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

[/FONT]