You are not logged in.

#1 2014-09-21 13:13:33

Lensor
Member
Registered: 2014-09-21
Posts: 2

[SOLVED] Trying to get CSMT to run with GuildWars2, freezes on startup

Hi!

I have been running Guild Wars 2 through Wine on PlayOnLinux since beta, but seem to be unable to get it to run with the CSMT patch. No matter what I do, the game will freeze immediately at the launcher, in fact the entire session freezes (although I can go to another session to manage tasks etc. so it is not freezing up the computer as such). Since CSMT according to other GuildWars2 players improves performance and gets rid of some pesky texture issues, I'd love to get it to work.


Base stats:
3.16.2-1-ARCH
Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz
GeForce GTX 770
12Gb memory

What does work:
1.5.12-GuildWars2 wine build. (provided by PlayOnLinux)
PulseAudio 4.0-6 (later versions crash PlayOnLinux 32 bit programs due to...something)

What does not work:
1.5.28-GuildWars2 (provided by PlayOnLinux. Not CSMT, but include it for information)
1.7.4-CSMT (provided by PlayOnLinux)
wine-1.7.18-CSMT-GW2 (provided by user allenskd at gamersonlinux http://www.gamersonlinux.com/forum/thre … ance.745/)
1.7.18-2014 (provided by Boxedfoxsoft http://projects.boxedfox.org/, specificallt for GW2)

Commands added:

export WINEDEBUG=-all
export LD_PRELOAD="libpthread.so.0 libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=0
export __GL_SYNC_TO_VBLANK=1
export __GL_YIELD="NOTHING"
export CSMT=enabled

Strict Draw Ordering is disabled
GLSL Support I have tried enabled or disabled, no difference
Since I have NVIDIA version 340.32-2 I tried export __GL_THREADED_OPTIMIZATIONS=1, still freezes.
Increasing GPU for Playonlinux does not make a difference.


I really am at the end of my rope here, so hoping someone can point me in the right direction. Personally I suspect there is something in my Arch that is interfering with something being updated in wine between version 1.5.12 and 1.5.28 (and which still is there), since other people seems to get it to work rather straight-forwardly.


[EDIT] After searching some more, I found the solution to be the stupidest thing imaginable. Setting wine to "emulate virtual desktop" lets the game run!. Typical that after all that searching and trouble shooting and finally posting here, it turns out to be something that simple. Well, I am leaving this thread here anyway, maybe someone else will have the same problem as me and find it useful.

Last edited by Lensor (2014-09-21 22:42:00)

Offline

#2 2014-09-21 14:12:03

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] Trying to get CSMT to run with GuildWars2, freezes on startup

 I usually try different settings of those below. You already mentioned two. Try changing the rest. Is that a clean prefix?

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\APPLICATION.exe\Direct3D]
"AlwaysOffscreen"="enabled"
"DirectDrawRenderer"="opengl"
"OffscreenRenderingMode"="fbo"
"PixelShaderMode"="enabled"
"RenderTargetLockMode"="default"
"SoftwareEmulation"="disabled"
"StrictDrawOrdering"="disabled"
"UseGLSL"="enabled"
"VideoMemorySize"="1024"
"VertexShaderMode"="hardware"

Edit: Ah, you solved it.

Edit2: Please mark the thread as solved.

Last edited by emeres (2014-09-21 14:29:14)

Offline

#3 2014-09-22 02:06:43

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: [SOLVED] Trying to get CSMT to run with GuildWars2, freezes on startup

works for me without "emulate virtual desktop"

with , more/less your hardware
i7-920 stock
gtx770
12Gb Ram

tested with Wine from Stefan Dösinger repository (CSMT creator) (with commit reverted for view 360º) with wine32 and wine64 prefixes

my config:

export LD_PRELOAD="libpthread.so.0 libGL.so.1"
export __GL_THREADED_OPTIMIZATIONS=1
export __GL_SYNC_TO_VBLANK=1
export __GL_YIELD="NOTHING"
export CSMT=enabled

regedit:

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine]
"Version"="win7"

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"PixelShaderMode"="enabled"
"VertexShaderMode"="hardware"
"CSMT"="enabled"
"StrictDrawOrdering" = "disabled"

greetings

Last edited by sl1pkn07 (2014-09-22 02:09:50)

Offline

Board footer

Powered by FluxBB