Jump to content
  • Sign Up

Playing Guild Wars 2 on Linux - Performance optimizations and more.


Recommended Posts

A small performance tip for Nvidia users regarding on-Disk Shader Cache:

 

By default the Nvidia driver saves the shader cache of all games in a pool of 128MB. If you play only GW2 this would be fine for the most part, but if you're like me and have over 15 games installed on your PC, then 128MB will feel really small and once that's full, the game will have to compile the shaders on the fly each time you launch it which causes a bit of in game stutter until it finishes. However with the help of an environment variable in the Nvidia driver you can set a personalized cache folder, giving 128MB shader cache for each game instead of a shared one.

 

In the case of GW2 it can be done like this:

 

1) In terminal: mkdir $HOME/.nv/gw2 (this creates the folder where the GW2 shader cache will be saved to)

2) Run GW2 with the: __GL_SHADER_DISK_CACHE_PATH="$HOME/.nv/gw2" at the beginning of your launch parameter.

 

**Note:**(The above steps can be done for any other game)

 

**Note 2:** Updating the drivers seems to also rebuild the games' cache from scratch, feel free to empty the cache folders to free up space after a new update. If you're handy with the terminal you can write a simple script that empties these folders.

 

Technically speaking this feature has been in the Nvidia driver since 2011 but at the time there weren't as many graphically intensive Linux games as today so 128MB was acceptable.

Link to comment
Share on other sites

  • Replies 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

I am trying to run GW2 on my Ubuntu 18.04, which is basically freshly installed (all I set up so far is Python and Sublime Text). I download the .zip , extract, and run the two bash scripts ( setup.sh and play.sh). The Client starts downloading and runs into an error shortly after. (GW2.exe - a serious error has occured) I pasted the error message below.

Plus, my console prints : " /lib/ld-linux.so.2: could not open"

 

Has anyone had this error?

 

Any help is appreciated :)

---------------------------------------------------------------------------------------------------------------------

*--> Crash <--*

Assertion: Failed to start Coherent host

File: ..\..\..\Engine\ArenaWeb\CoherentUi\AwCohContext.cpp(331)

App: Gw2-64.exe

Pid: 8

Cmdline: -dx9single

BaseAddr: 0000000140000000

ProgramId: 101

Build: 89447

When: 2018-06-11T02:31:45Z 2018-06-10T19:31:45-07:00

Uptime: 0 days 0:00:02

Flags: 0

 

*--> System <--*

Name: 56744074

IpAddr: 192.168.0.10

Processors: 4 [GenuineIntel:6:13:4]

OSVersion: Windows 6.1 (64 bit)

 

*--> System Memory <--*

Physical: 9854MB/11708MB 84%

Paged: 11902MB/13756MB 86%

Virtual: 134217727MB/134217727MB 3%

Load: 15%

CommitTotal: 2132MB

CommitLimit: 13756MB

CommitPeak: 0MB

SystemCache: 0MB

HandleCount: 544

ProcessCount: 6

ThreadCount: 44

 

*--> Process Memory <--*

Private: 0MB

WorkingSet: 113MB

PeakWorkingSet: 183MB

PageFaults: 0

 

*--> Memory Category Usage (Inclusive) <--*

[Category] [size(MB)] [Count]

Root 19.77 6294

Uncategorized 11.51 4866

Collide Havok 6.45 755

Collide 6.45 755

Programmer Data 1.81 673

I/O 1.39 414

File Service 1.24 12

Networking 0.11 14

Collections 0.10 72

Dictionary 0.09 40

Archive 0.08 24

Asset Service 0.07 373

Event 0.07 3

UI 0.06 70

Web Browser 0.06 56

Game 0.04 55

Content 0.02 1

Engine 0.02 8

Threading 0.01 14

Model-Programmer 0.01 1

BTree 0.00 6

CharClient 0.00 5

Services 0.00 8

File Core 0.00 2

 

*--> Memory Category Usage (Exclusive) <--*

[Category] [size(MB)] [Count]

Uncategorized 11.51 4866

Collide Havok 6.45 755

File Service 1.24 12

Networking 0.11 9

Dictionary 0.09 40

Archive 0.08 24

Asset Service 0.07 373

Event 0.07 3

Web Browser 0.06 56

Game 0.02 45

Content 0.02 1

Threading 0.01 14

Model-Programmer 0.01 1

Collections 0.01 25

Engine 0.00 2

BTree 0.00 6

CharClient 0.00 5

Services 0.00 8

File Core 0.00 2

Text 0.00 1

Download 0.00 3

UI 0.00 14

Programmer Data 0.00 2

String 0.00 9

 

*--> DllList <--*

C:\GW2\GW2.exe

C:\windows\system32\ntdll.dll

C:\windows\system32\KERNEL32.dll

C:\windows\system32\user32.dll

C:\windows\system32\gdi32.dll

C:\windows\system32\advapi32.dll

C:\windows\system32\version.dll

C:\windows\system32\ws2_32.dll

C:\windows\system32\wtsapi32.dll

C:\windows\system32\winmm.dll

C:\windows\system32\wintrust.dll

C:\windows\system32\crypt32.dll

C:\windows\system32\bcrypt.dll

C:\windows\system32\psapi.dll

C:\windows\system32\ole32.dll

C:\windows\system32\rpcrt4.dll

C:\windows\system32\oleaut32.dll

C:\windows\system32\shell32.dll

C:\windows\system32\shlwapi.dll

C:\windows\system32\aclui.dll

C:\windows\system32\comctl32.dll

C:\windows\system32\usp10.dll

C:\windows\system32\imm32.dll

C:\windows\system32\msacm32.dll

C:\windows\system32\gdiplus.dll

C:\windows\system32\msimg32.dll

C:\windows\system32\secur32.dll

C:\windows\system32\netapi32.dll

C:\windows\system32\iphlpapi.dll

C:\windows\system32\winex11.drv

C:\windows\system32\uxtheme.dll

C:\windows\system32\kerberos.dll

C:\windows\system32\api-ms-win-core-synch-l1-2-0.dll

C:\windows\system32\api-ms-win-core-fibers-l1-1-1.dll

C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll

C:\windows\system32\dbghelp.dll

C:\windows\system32\api-ms-win-appmodel-runtime-l1-1-1.dll

C:\windows\system32\opengl32.dll

C:\windows\system32\ddraw.dll

C:\windows\system32\wined3d.dll

C:\windows\system32\gameux.dll

C:\windows\system32\api-ms-win-core-sysinfo-l1-2-1.dll

C:\windows\system32\msctf.dll

C:\windows\system32\windowscodecs.dll

C:\windows\system32\propsys.dll

C:\windows\system32\shcore.dll

C:\GW2\bin64\CoherentUI64.dll

C:\windows\system32\d3d9.dll

C:\windows\system32\imagehlp.dll

C:\windows\system32\rsaenh.dll

 

*--> Game Context <--*

MapId: 0

Flags: 0x241

ElapsedTime: 00:00:01

 

*--> World State <--*

 

[DbgHelp.dll is C:\windows\system32\dbghelp.dll]

[DbgHelp.dll version 6.1.7601.17514 (64/32-bit compatible)]

 

*--> ClientContextThreadProc Thread 0x3c <--*

 

*--> Trace <--*

Pc Rt : Args

 

*--> Thread registers <--*

rax=0000000000000001 rbx=00000001416a63e0 rcx=000000000255d580

rdx=00000001416a63e0 rsi=000000000000014b rdi=000000000255dab0

rip=00000001401c3d0d rsp=000000000255d520 rbp=000000000255dde0

r8=000000000000014b r9=00000001414e6b88 r10=00001cda595baa52

r11=000000000255d9e0 r12=0000000001531ca0 r13=0000000000000000

r14=00000001800c2880 r15=00000001800c3940

cs=0033 ss=002b ds=0000 es=0000 fs=0000 gs=0000 efl=00000202

 

rbx-32 00000001416A63C0 00000001`40c38440 00000001`40c37814 00000001`40c38910 00000001`40c37bf0

rbx +0 00000001416A63E0 2e2e5c2e`2e5c2e2e 5c656e69`676e455c 62655761`6e657241 6e657265`686f435c

rbx+32 00000001416A6400 6f437741`5c695574 74786574`6e6f4368 00000000`7070632e 662e736d`61726170

rcx-32 000000000255D560 00000001`401c3d0d 00000000`0255d520 00000000`0255dde0 00000000`0000001d

rcx +0 000000000255D580 00000000`00000000 00000000`00000000 00000000`00000000 00000000`0255d6e0

rcx+32 000000000255D5A0 00000000`00000000 00000000`7bc73509 00009fa0`0001000f 00000000`00000033

rdx-32 00000001416A63C0 00000001`40c38440 00000001`40c37814 00000001`40c38910 00000001`40c37bf0

rdx +0 00000001416A63E0 2e2e5c2e`2e5c2e2e 5c656e69`676e455c 62655761`6e657241 6e657265`686f435c

rdx+32 00000001416A6400 6f437741`5c695574 74786574`6e6f4368 00000000`7070632e 662e736d`61726170

r9-32 00000001414E6B68 00000000`00784573 00000012`00000002 00000012`00000002 00000012`00000002

r9 +0 00000001414E6B88 00000012`00000002 0000000e`00000000 65727275`43746547 67616b63`6150746e

r9+32 00000001414E6BA8 00000000`00644965 00000012`00000003 49656c69`46746547 6974616d`726f666e

 

*--> Code <--*

00000001`401c3ced 488bf941 8bf0488d 0da6dfb3 01488bda H..A..H......H..

00000001`401c3cfd e82e7cfe ff488d4c 2460ff15 2b562a01 ..|..H.L$`..+V*.

00000001`401c3d0d 488b8424 58010000 4c8d0514 ce2b0148 H..$X...L....+.H

00000001`401c3d1d 89442440 4885db48 8b8424f8 00000044 .D$@H..H..$....D

00000001`401c3d2d 8bce4889 4424484c 0f45c348 8b842400 ..H.D$HL.E.H..$.

00000001`401c3d3d 01000048 8bd74889 44245033 c9488d44 ...H..H.D$P3.H.D

 

*--> Stack <--*

00000000`0255d520 00000000`0255dacd 00000000`00000200 00000000`0000001d 00000000`00000000 ..U.............................

00000000`0255d540 00000000`0255d560 00000000`0255d580 00000000`00000000 00000000`0255d508 `.U.......U...............U.....

00000000`0255d560 00000001`401c3d0d 00000000`0255d520 00000000`0255dde0 00000000`0000001d .=.@.... .U.......U.............

00000000`0255d580 00000000`00000000 00000000`00000000 00000000`00000000 00000000`0255d6e0 ..........................U.....

00000000`0255d5a0 00000000`00000000 00000000`7bc73509 00009fa0`0001000f 00000000`00000033 .........5.{............3.......

00000000`0255d5c0 00000202`002b0000 00000000`00000000 00000000`00000000 00000000`011800a8 ..+.............................

00000000`0255d5e0 00000000`011800b0 00000000`20202020 00000000`00000000 00000000`00000001 ........ ....................

00000000`0255d600 00000000`0255d580 00000001`416a63e0 00000001`416a63e0 00000000`0255d520 ..U......cjA.....cjA.... .U.....

00000000`0255d620 00000000`0255dde0 00000000`0000014b 00000000`0255dab0 00000000`0000014b ..U.....K.........U.....K.......

00000000`0255d640 00000001`414e6b88 00001cda`595baa52 00000000`0255d9e0 00000000`01531ca0 .kNA....R.[Y......U.......S.....

00000000`0255d660 00000000`00000000 00000001`800c2880 00000001`800c3940 00000001`401c3d0d .........(......@9.......=.@....

00000000`0255d680 00000000`0000027f 00000000`00000000 00000000`00000000 0000ffff`00009fa0 ................................

00000000`0255d6a0 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................

00000000`0255d6c0 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................

00000000`0255d6e0 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................

00000000`0255d700 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................

00000000`0255d720 00000000`00000000 00000000`00000000 636f7270`2074736f 000a0d29`2e737365 ................ost process.)...

00000000`0255d740 00000000`00000000 00000000`00000000 44414f4c`454e4957 2f766564`2f005245 ................WINELOADER./dev/

00000000`0255d760 002d0064`00360062 00320032`00300065 00630062`00650030 00340035`0065002d b.6.d.-.e.0.2.2.0.e.b.c.-.e.5.4.

00000000`0255d780 20202020`20202020 20202020`20202020 00000000`00000000 00000000`00000000 ................

00000000`0255d7a0 00642565`70615400 0064256d`6f726443 00000000`00000000 00000000`00000000 .Tape%d.Cdrom%d.................

00000000`0255d7c0 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................

00000000`0255d7e0 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................

00000000`0255d800 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 ................................

00000000`0255d820 00000000`0255d9a0 00000000`00000000 00000000`00000020 00000000`0255d911 ..U............. .........U.....

00000000`0255d840 00000000`0255dda8 00000001`8005103a 00000000`011896d0 00000000`0255d8d0 ..U.....:.................U.....

00000000`0255d860 00000000`0255d880 00000000`0255dd39 00000000`00000004 00000000`0118002c ..U.....9.U.............,.......

00000000`0255d880 ffffffff`ffffff00 00000000`0255dd28 00000000`00000000 00000000`0255dda8 ........(.U...............U.....

00000000`0255d8a0 ffffffff`ffffff00 00000000`0255dd28 00000000`011896d0 00000000`01180d80 ........(.U.....................

00000000`0255d8c0 00000000`0255da90 ffffffff`fffffffe ffffffff`ffffff00 00000000`0255dd28 ..U.....................(.U.....

00000000`0255d8e0 00000000`0255d900 00000000`011896d0 00000000`00000000 00000000`0000000f ..U.............................

00000000`0255d900 00000000`00000000 0000012f`3bb8b746 00000000`0255dda8 00000000`00000000 ........F..;/.....U.............

 

*--> Error Logs <--*

Failed to start Coherent host: (OSError=1359, Error=Could not start Coherent UI host process.)

 

 

Link to comment
Share on other sites

> @"dieterengelhardt.8759" said:

> I am trying to run GW2 on my Ubuntu 18.04, which is basically freshly installed (all I set up so far is Python and Sublime Text). I download the .zip , extract, and run the two bash scripts ( setup.sh and play.sh). The Client starts downloading and runs into an error shortly after. (GW2.exe - a serious error has occured) I pasted the error message below.

> Plus, my console prints : " /lib/ld-linux.so.2: could not open"

 

You're missing the 32bit libraries, once you install those it will run fine. Technically the game is 64bit but it still relies on some 32bit components.

Link to comment
Share on other sites

> @"ArmoredVehicle.2849" said:

> > @"dieterengelhardt.8759" said:

> > I am trying to run GW2 on my Ubuntu 18.04, which is basically freshly installed (all I set up so far is Python and Sublime Text). I download the .zip , extract, and run the two bash scripts ( setup.sh and play.sh). The Client starts downloading and runs into an error shortly after. (GW2.exe - a serious error has occured) I pasted the error message below.

> > Plus, my console prints : " /lib/ld-linux.so.2: could not open"

>

> You're missing the 32bit libraries, once you install those it will run fine. Technically the game is 64bit but it still relies on some 32bit components.

 

I am new to wine - would you mind explaining real quick ?

Link to comment
Share on other sites

> @"dieterengelhardt.8759" said:

> > @"ArmoredVehicle.2849" said:

> > > @"dieterengelhardt.8759" said:

> > > I am trying to run GW2 on my Ubuntu 18.04, which is basically freshly installed (all I set up so far is Python and Sublime Text). I download the .zip , extract, and run the two bash scripts ( setup.sh and play.sh). The Client starts downloading and runs into an error shortly after. (GW2.exe - a serious error has occured) I pasted the error message below.

> > > Plus, my console prints : " /lib/ld-linux.so.2: could not open"

> >

> > You're missing the 32bit libraries, once you install those it will run fine. Technically the game is 64bit but it still relies on some 32bit components.

>

> I am new to wine - would you mind explaining real quick ?

 

In your package manager you need to search and install the package called "libc6:i386", this contains the basic files required to launch 32bit software on your system. It's used by any 32bit program that you try to launch (not just Wine). Let me know if you get stuck any further, I'll try my best to help.

Link to comment
Share on other sites

Hey ! Thank you for your help. I did install the package as per your recommendation. It did change the error message, but it is not working as of right now.

 

Currently, the launcher starts, immediately shows the " GW2.exe" serious error message, this time with no output in the console.

I attached the error message again.

 

BTW: I really appreciate your help at this point, whether or not its working. I am thankful for your effort :)

*--> Crash <--*

Assertion: Coherent host crashed

File: ..\..\..\Engine\ArenaWeb\CoherentUi\AwCohContext.cpp(325)

App: Gw2-64.exe

Pid: 8

Cmdline: -dx9single

BaseAddr: 0000000140000000

ProgramId: 101

Build: 89447

When: 2018-06-13T22:28:49Z 2018-06-13T15:28:49-07:00

Uptime: 0 days 0:00:05

Flags: 0

 

*--> System <--*

Name: 56744074

IpAddr: 192.168.0.10

Processors: 4 [GenuineIntel:6:13:4]

OSVersion: Windows 6.1 (64 bit)

 

*--> System Memory <--*

Physical: 8733MB/11708MB 74%

Paged: 10781MB/13756MB 78%

Virtual: 134217727MB/134217727MB 3%

Load: 25%

CommitTotal: 2673MB

CommitLimit: 13756MB

CommitPeak: 0MB

SystemCache: 0MB

HandleCount: 800

ProcessCount: 6

ThreadCount: 39

 

*--> Process Memory <--*

Private: 0MB

WorkingSet: 198MB

PeakWorkingSet: 220MB

PageFaults: 0

 

*--> Memory Category Usage (Inclusive) <--*

 

*--> Memory Category Usage (Exclusive) <--*

 

 

*--> DllList <--*

 

*--> Game Context <--*

 

*--> World State <--*

 

[DbgHelp.dll is C:\windows\system32\dbghelp.dll]

[DbgHelp.dll version 6.1.7601.17514 (64/32-bit compatible)]

 

*--> ClientContextThreadProc Thread 0x3c <--*

 

*--> Trace <--*

 

*--> Code <--*

 

*--> Stack <--*

 

*--> Error Logs <--*

Coherent host process crash: (OSError=0, Error=Coherent UI host process has crashed)

 

 

Link to comment
Share on other sites

> @"dieterengelhardt.8759" said:

> Hey ! Thank you for your help. I did install the package as per your recommendation. It did change the error message, but it is not working as of right now.

>

> Currently, the launcher starts, immediately shows the " GW2.exe" serious error message, this time with no output in the console.

> I attached the error message again.

>

>

 

Go into the folder where you unpacked the package > enter in the "bin" folder and with a text editor open the file called "user_run".

 

Inside you will find a line where it says "export WINEDEBUG=-all", change it to "#export WINEDEBUG=-all", save the file and close it. Launch the game again from terminal and copy and paste the log here, most likely you're missing some packages.

 

 

Link to comment
Share on other sites

Here it is. Seems I am indeed missing a few dlls.....

 

000b:fixme:winediag:start_process Wine Staging 3.7 is a testing version containing experimental patches.

000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

0009:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7fab3c59e7a0,(nil): stub

0009:fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fd00 4 stub

0009:fixme:heap:RtlSetHeapInformation 0x360000 0 0x23fce0 4 stub

0009:fixme:heap:RtlSetHeapInformation 0x360000 1 (nil) 0 stub

002d:fixme:ver:GetCurrentPackageId (0xc1fdd0 (nil)): stub

002d:fixme:thread:SetThreadStackGuarantee (0xc1fdd0): stub

0009:err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.

0009:fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.

0009:err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.

0009:fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.

0031:fixme:d3d_perf:wined3d_buffer_heap_create PBA: using GL_CLIENT_STORAGE_BIT quirkPBA: using GL_CLIENT_STORAGE_BIT quirkInitialized PBA (geo_heap_size: 536870912, cb_heap_size: 134217728, ub_align: 32)

0009:fixme:gameux:GameExplorerImpl_VerifyAccess (0x12e2080, L"C:\\GW2\\GW2.exe", 0x23f170)

003c:fixme:msctf:ThreadMgrSource_AdviseSink (0x1428bf0) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}

003c:fixme:imm:ImmDisableTextFrameService Stub

003c:fixme:d3d9:D3DPERF_GetStatus (void) : stub

003c:fixme:ntdll:NtQueryInformationJobObject stub: 0x218 2 0x255dbb0 64 (nil)

003c:fixme:ntdll:NtQueryInformationJobObject stub: 0x218 9 0x255dbf0 144 (nil)

0043:err:module:load_builtin_dll failed to load .so lib for builtin L"wininet.dll": libz.so.1: cannot open shared object file: No such file or directory

0043:err:module:import_dll Loading library wininet.dll (which is needed by L"C:\\windows\\system32\\urlmon.dll") failed (error c000007a).

0043:err:module:import_dll Library urlmon.dll (which is needed by L"C:\\GW2\\bin64\\CoherentUI_Host.exe") not found

0043:err:module:attach_dlls Importing dlls for L"C:\\GW2\\bin64\\CoherentUI_Host.exe" failed, status c0000135

003c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

 

Link to comment
Share on other sites

> @"dieterengelhardt.8759" said:

> Here it is. Seems I am indeed missing a few dlls.....

>

> 000b:fixme:winediag:start_process Wine Staging 3.7 is a testing version containing experimental patches.

> 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

> 0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

> 0009:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7fab3c59e7a0,(nil): stub

> 0009:fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fd00 4 stub

> 0009:fixme:heap:RtlSetHeapInformation 0x360000 0 0x23fce0 4 stub

> 0009:fixme:heap:RtlSetHeapInformation 0x360000 1 (nil) 0 stub

> 002d:fixme:ver:GetCurrentPackageId (0xc1fdd0 (nil)): stub

> 002d:fixme:thread:SetThreadStackGuarantee (0xc1fdd0): stub

> 0009:err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.

> 0009:fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.

> 0009:err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.

> 0009:fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.

> 0031:fixme:d3d_perf:wined3d_buffer_heap_create PBA: using GL_CLIENT_STORAGE_BIT quirkPBA: using GL_CLIENT_STORAGE_BIT quirkInitialized PBA (geo_heap_size: 536870912, cb_heap_size: 134217728, ub_align: 32)

> 0009:fixme:gameux:GameExplorerImpl_VerifyAccess (0x12e2080, L"C:\\GW2\\GW2.exe", 0x23f170)

> 003c:fixme:msctf:ThreadMgrSource_AdviseSink (0x1428bf0) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}

> 003c:fixme:imm:ImmDisableTextFrameService Stub

> 003c:fixme:d3d9:D3DPERF_GetStatus (void) : stub

> 003c:fixme:ntdll:NtQueryInformationJobObject stub: 0x218 2 0x255dbb0 64 (nil)

> 003c:fixme:ntdll:NtQueryInformationJobObject stub: 0x218 9 0x255dbf0 144 (nil)

> 0043:err:module:load_builtin_dll failed to load .so lib for builtin L"wininet.dll": libz.so.1: cannot open shared object file: No such file or directory

> 0043:err:module:import_dll Loading library wininet.dll (which is needed by L"C:\\windows\\system32\\urlmon.dll") failed (error c000007a).

> 0043:err:module:import_dll Library urlmon.dll (which is needed by L"C:\\GW2\\bin64\\CoherentUI_Host.exe") not found

> 0043:err:module:attach_dlls Importing dlls for L"C:\\GW2\\bin64\\CoherentUI_Host.exe" failed, status c0000135

> 003c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

>

 

@"dieterengelhardt.8759" Ok so it seems you're missing 2 packages, try installing these 2 and retry: "libtxc-dxtn-s2tc0" and "zlib1g". Let me know how it goes.

 

@"VAHNeunzehnsechundsiebzig.3618": Disabling GLSL was my doing, I set it to disabled by default to reduce stutter when using an Nvidia GPU.

Link to comment
Share on other sites

Can someone tell me what's that about?

![](https://i.imgur.com/Ih14AUc.png "")

 

Every time the launcher gets to the login screen and starts downloading the game, my PC becomes pretty much unusable because of the high CPU usage and I have to kill the GW2 process. I had exactly the same problem with the [Lutris version](https://lutris.net/games/guild-wars-2/) (64bit), which also freezes the desktop if I don't turn on the "Virtual Desktop" option.

 

No other process does that.

 

Trying to limit the priority level with "renice -n 19" doesn't fix it.

 

It doesn't matter if I try to install the game on an HDD or SSD, there is no difference.

 

Searching for Guild Wars 2 launcher / GW2 wine / Xorg high CPU usage, etc., doesn't show anything useful and I have no idea what else to search for.

 

I'm using:

OS: Solus 3.9999

CPU: FX-6300

GPU: R9 270x

SSD: 860 EVO (250GB)

HDD: WD Blue 1TB

Link to comment
Share on other sites

> @"VAHNeunzehnsechundsiebzig.3618" said:

> yeah, had that problem for a while, but at some point overcame it. One thing, if you dont want to play with virt desktop is: autologin and autostart. That way, you don't even have to care to click anything... The problem is caused by the launcher spamming screen refreshs..

 

Adding "-nopatchui" to the command line arguments in "bin/user_run" seems to fix the problem, now CPU usage is under 100% but I can't see the download progress. I guess adding "-email" and "-password" should take care of that problem. Thanks!

 

Edit: Had to enable GLSL in "data/user_reg" line 710, the game crashes on start otherwise.

Link to comment
Share on other sites

> @"JagdCake.5609" said:

> > @"VAHNeunzehnsechundsiebzig.3618" said:

> > yeah, had that problem for a while, but at some point overcame it. One thing, if you dont want to play with virt desktop is: autologin and autostart. That way, you don't even have to care to click anything... The problem is caused by the launcher spamming screen refreshs..

>

> Adding "-nopatchui" to the command line arguments in "bin/user_run" seems to fix the problem, now CPU usage is under 100% but I can't see the download progress. I guess adding "-email" and "-password" should take care of that problem. Thanks!

>

> Edit: Had to enable GLSL in "data/user_reg" line 710, the game crashes on start otherwise.

 

Hmm, so AMD also needs GLSL enabled to run, always thought it's just an Intel prerequisite. If you're using a recent version of Mesa (18 or 18.x) you can make use of the On-Disk Shader cache feature which reduces a lot of stutter.

Link to comment
Share on other sites

> Adding "-nopatchui" to the command line arguments in "bin/user_run" seems to fix the problem, now CPU usage is under 100% but I can't see the download progress. I guess adding "-email" and "-password" should take care of that problem. Thanks!

>

> Edit: Had to enable GLSL in "data/user_reg" line 710, the game crashes on start otherwise.

Just to clarify how to fix the problem:

 

1. To hide the launcher but still allow it to download the game, line 10 of "bin/user_run" should look like this:

- `"../../../bin/wine64" ./GW2.exe -image -nopatchui & disown`

2. To keep track of the download progress:

- `ls -lh /path/to/GW2 dir/data/drive_c/GW2/Gw2.dat` (should be done if it's ~38G)

3. To autostart the game, "bin/user_run" line 10:

- `"../../../bin/wine64" ./GW2.exe -dx9single -email "email" -password "password" -nopatchui & disown`

4. To update the game, go to step 1

 

 

Link to comment
Share on other sites

> @"ArmoredVehicle.2849" said:

> > @"dieterengelhardt.8759" said:

> > Here it is. Seems I am indeed missing a few dlls.....

> >

> > 000b:fixme:winediag:start_process Wine Staging 3.7 is a testing version containing experimental patches.

> > 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.

> > 0009:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

> > 0009:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7fab3c59e7a0,(nil): stub

> > 0009:fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fd00 4 stub

> > 0009:fixme:heap:RtlSetHeapInformation 0x360000 0 0x23fce0 4 stub

> > 0009:fixme:heap:RtlSetHeapInformation 0x360000 1 (nil) 0 stub

> > 002d:fixme:ver:GetCurrentPackageId (0xc1fdd0 (nil)): stub

> > 002d:fixme:thread:SetThreadStackGuarantee (0xc1fdd0): stub

> > 0009:err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.

> > 0009:fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.

> > 0009:err:winediag:wined3d_dll_init The GLSL shader backend has been disabled. You get to keep all the pieces if it breaks.

> > 0009:fixme:d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn software support unavailable.

> > 0031:fixme:d3d_perf:wined3d_buffer_heap_create PBA: using GL_CLIENT_STORAGE_BIT quirkPBA: using GL_CLIENT_STORAGE_BIT quirkInitialized PBA (geo_heap_size: 536870912, cb_heap_size: 134217728, ub_align: 32)

> > 0009:fixme:gameux:GameExplorerImpl_VerifyAccess (0x12e2080, L"C:\\GW2\\GW2.exe", 0x23f170)

> > 003c:fixme:msctf:ThreadMgrSource_AdviseSink (0x1428bf0) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}

> > 003c:fixme:imm:ImmDisableTextFrameService Stub

> > 003c:fixme:d3d9:D3DPERF_GetStatus (void) : stub

> > 003c:fixme:ntdll:NtQueryInformationJobObject stub: 0x218 2 0x255dbb0 64 (nil)

> > 003c:fixme:ntdll:NtQueryInformationJobObject stub: 0x218 9 0x255dbf0 144 (nil)

> > 0043:err:module:load_builtin_dll failed to load .so lib for builtin L"wininet.dll": libz.so.1: cannot open shared object file: No such file or directory

> > 0043:err:module:import_dll Loading library wininet.dll (which is needed by L"C:\\windows\\system32\\urlmon.dll") failed (error c000007a).

> > 0043:err:module:import_dll Library urlmon.dll (which is needed by L"C:\\GW2\\bin64\\CoherentUI_Host.exe") not found

> > 0043:err:module:attach_dlls Importing dlls for L"C:\\GW2\\bin64\\CoherentUI_Host.exe" failed, status c0000135

> > 003c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

> >

>

> @"dieterengelhardt.8759" Ok so it seems you're missing 2 packages, try installing these 2 and retry: "libtxc-dxtn-s2tc0" and "zlib1g". Let me know how it goes.

>

> @"VAHNeunzehnsechundsiebzig.3618": Disabling GLSL was my doing, I set it to disabled by default to reduce stutter when using an Nvidia GPU.

 

I installed the two packages you recommended, now my system does only boot to a command line, so I guess ill have to fix my system first :P

Link to comment
Share on other sites

> @"dieterengelhardt.8759" said:

>

> I installed the two packages you recommended, now my system does only boot to a command line, so I guess ill have to fix my system first

 

It shouldn't cause that, **zlib1g** is a compression library (similar to 7zip), while **s2tc0** is a texture compression. Hopefully you'll get it up and running again :-)

Link to comment
Share on other sites

Current Project Status:

 

Ever since I started this little project I've been heavily focused on Nvidia since it's my daily driver (and also the one I'm most experienced with). I've recently been running some tests on the Core i3-7100 CPU with it's integrated HD 630 GPU, results have been better than I expected so the next package update will focus on Mesa users.

 

What you can expect -

 

1) A dedicated package for Intel/AMD users. Due to different environment variables and registry settings, I will be offering 2 versions of the package, 1 for Nvidia users and the other for Intel/AMD.

 

2) Out of the box On-Disk Shader Cache support for Intel GPU's - Until Mesa 18.0 the On-Disk Shader Cache is disabled by default on Intel GPU's, so if you're not on Mesa 18.1 or higher yet, fear not as this feature will be enabled out of the box. In a previous post I covered what Disk Shader Cache does (mainly reduces stutter and loads the game faster).

 

3) GLSL enabled by default for Intel/AMD. In my current package the GLSL feature in Wine is disabled by default since it benefits Nvidia, Intel and AMD users had to re-enable this manually otherwise the game would refuse to run (my apologies for this). This is also one of the main reasons why I want to offer a separate package.

 

You can expect the update either tomorrow or by Friday :)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...