Всем привет!
Сегодня поставил GOG The Witcher EE Director’s Cut под WINE 2.13. AMD FX 6350 + Radeon HD 5850. Обнаружил кучу графических багов:
- странные черные линии повсюду, появляются из ниоткуда и в никуда пропадают
- очень плохое освещение, источники света гуляют, тени не дорисованы
- черные текстуры деревьев, в домах черные полы, черные бороды у друидов
Потратил 6 часов на исследования, в итогу - играю с Наслаждением! Вот скрины после всех мытарств: http://www.filedropper.com/afterresearch
Вот найденное решение, надеюсь оно будет полезным:
-
Open regedit for wine (I’v installed q4wine): /usr/bin/q4wine-cli -p “Default” -d “system” -i “regedit”
-
Create subfolder: HKEY_CURRENT_USER\Software\Wine\Direct3D
-
Make string variables there: CheckFloatConstants=enabled, VideoMemorySize=1024 (your_video_carb_memory_size in MB)
-
In console: winetricks d3dx9
-
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]