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

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 hostFile: ......\Engine\ArenaWeb\CoherentUi\AwCohContext.cpp(331)App: Gw2-64.exePid: 8Cmdline: -dx9singleBaseAddr: 0000000140000000ProgramId: 101Build: 89447When: 2018-06-11T02:31:45Z 2018-06-10T19:31:45-07:00Uptime: 0 days 0:00:02Flags: 0

--> System <--Name: 56744074IpAddr: 192.168.0.10Processors: 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: 2132MBCommitLimit: 13756MBCommitPeak: 0MBSystemCache: 0MBHandleCount: 544ProcessCount: 6ThreadCount: 44

--> Process Memory <--Private: 0MBWorkingSet: 113MBPeakWorkingSet: 183MBPageFaults: 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.exeC:\windows\system32\ntdll.dllC:\windows\system32\KERNEL32.dllC:\windows\system32\user32.dllC:\windows\system32\gdi32.dllC:\windows\system32\advapi32.dllC:\windows\system32\version.dllC:\windows\system32\ws2_32.dllC:\windows\system32\wtsapi32.dllC:\windows\system32\winmm.dllC:\windows\system32\wintrust.dllC:\windows\system32\crypt32.dllC:\windows\system32\bcrypt.dllC:\windows\system32\psapi.dllC:\windows\system32\ole32.dllC:\windows\system32\rpcrt4.dllC:\windows\system32\oleaut32.dllC:\windows\system32\shell32.dllC:\windows\system32\shlwapi.dllC:\windows\system32\aclui.dllC:\windows\system32\comctl32.dllC:\windows\system32\usp10.dllC:\windows\system32\imm32.dllC:\windows\system32\msacm32.dllC:\windows\system32\gdiplus.dllC:\windows\system32\msimg32.dllC:\windows\system32\secur32.dllC:\windows\system32\netapi32.dllC:\windows\system32\iphlpapi.dllC:\windows\system32\winex11.drvC:\windows\system32\uxtheme.dllC:\windows\system32\kerberos.dllC:\windows\system32\api-ms-win-core-synch-l1-2-0.dllC:\windows\system32\api-ms-win-core-fibers-l1-1-1.dllC:\windows\system32\api-ms-win-core-localization-l1-2-1.dllC:\windows\system32\dbghelp.dllC:\windows\system32\api-ms-win-appmodel-runtime-l1-1-1.dllC:\windows\system32\opengl32.dllC:\windows\system32\ddraw.dllC:\windows\system32\wined3d.dllC:\windows\system32\gameux.dllC:\windows\system32\api-ms-win-core-sysinfo-l1-2-1.dllC:\windows\system32\msctf.dllC:\windows\system32\windowscodecs.dllC:\windows\system32\propsys.dllC:\windows\system32\shcore.dllC:\GW2\bin64\CoherentUI64.dllC:\windows\system32\d3d9.dllC:\windows\system32\imagehlp.dllC:\windows\system32\rsaenh.dll

--> Game Context <--MapId: 0Flags: 0x241ElapsedTime: 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=000000000255d580rdx=00000001416a63e0 rsi=000000000000014b rdi=000000000255dab0rip=00000001401c3d0d rsp=000000000255d520 rbp=000000000255dde0r8=000000000000014b r9=00000001414e6b88 r10=00001cda595baa52r11=000000000255d9e0 r12=0000000001531ca0 r13=0000000000000000r14=00000001800c2880 r15=00000001800c3940cs=0033 ss=002b ds=0000 es=0000 fs=0000 gs=0000 efl=00000202

rbx-32 00000001416A63C0 0000000140c38440 0000000140c37814 0000000140c38910 0000000140c37bf0rbx +0 00000001416A63E0 2e2e5c2e2e5c2e2e 5c656e69676e455c 626557616e657241 6e657265686f435crbx+32 00000001416A6400 6f4377415c695574 747865746e6f4368 000000007070632e 662e736d61726170rcx-32 000000000255D560 00000001401c3d0d 000000000255d520 000000000255dde0 000000000000001drcx +0 000000000255D580 0000000000000000 0000000000000000 0000000000000000 000000000255d6e0rcx+32 000000000255D5A0 0000000000000000 000000007bc73509 00009fa00001000f 0000000000000033rdx-32 00000001416A63C0 0000000140c38440 0000000140c37814 0000000140c38910 0000000140c37bf0rdx +0 00000001416A63E0 2e2e5c2e2e5c2e2e 5c656e69676e455c 626557616e657241 6e657265686f435crdx+32 00000001416A6400 6f4377415c695574 747865746e6f4368 000000007070632e 662e736d61726170r9-32 00000001414E6B68 0000000000784573 0000001200000002 0000001200000002 0000001200000002r9 +0 00000001414E6B88 0000001200000002 0000000e00000000 6572727543746547 67616b636150746er9+32 00000001414E6BA8 0000000000644965 0000001200000003 49656c6946746547 6974616d726f666e

--> Code <--00000001401c3ced 488bf941 8bf0488d 0da6dfb3 01488bda H..A..H......H.. 00000001401c3cfd e82e7cfe ff488d4c 2460ff15 2b562a01 ..|..H.L$..+V*. 00000001401c3d0d 488b8424 58010000 4c8d0514 ce2b0148 H..$X...L....+.H00000001401c3d1d 89442440 4885db48 8b8424f8 00000044 .D$@H..H..$....D 00000001401c3d2d 8bce4889 4424484c 0f45c348 8b842400 ..H.D$HL.E.H..$.00000001`401c3d3d 01000048 8bd74889 44245033 c9488d44 ...H..H.D$P3.H.D

--> Stack <--000000000255d520 000000000255dacd 0000000000000200 000000000000001d 0000000000000000 ..U............................. 000000000255d540 000000000255d560 000000000255d580 0000000000000000 000000000255d508 .U.......U...............U..... 000000000255d560 00000001401c3d0d 000000000255d520 000000000255dde0 000000000000001d .=.@.... .U.......U.............000000000255d580 0000000000000000 0000000000000000 0000000000000000 000000000255d6e0 ..........................U..... 000000000255d5a0 0000000000000000 000000007bc73509 00009fa00001000f 0000000000000033 .........5.{............3.......000000000255d5c0 00000202002b0000 0000000000000000 0000000000000000 00000000011800a8 ..+............................. 000000000255d5e0 00000000011800b0 0000000020202020 0000000000000000 0000000000000001 ........ ....................000000000255d600 000000000255d580 00000001416a63e0 00000001416a63e0 000000000255d520 ..U......cjA.....cjA.... .U..... 000000000255d620 000000000255dde0 000000000000014b 000000000255dab0 000000000000014b ..U.....K.........U.....K.......000000000255d640 00000001414e6b88 00001cda595baa52 000000000255d9e0 0000000001531ca0 .kNA....R.[Y......U.......S..... 000000000255d660 0000000000000000 00000001800c2880 00000001800c3940 00000001401c3d0d .........(......@9.......=.@....000000000255d680 000000000000027f 0000000000000000 0000000000000000 0000ffff00009fa0 ................................ 000000000255d6a0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................000000000255d6c0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 000000000255d6e0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................000000000255d700 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 000000000255d720 0000000000000000 0000000000000000 636f72702074736f 000a0d292e737365 ................ost process.)...000000000255d740 0000000000000000 0000000000000000 44414f4c454e4957 2f7665642f005245 ................WINELOADER./dev/ 000000000255d760 002d006400360062 0032003200300065 0063006200650030 003400350065002d b.6.d.-.e.0.2.2.0.e.b.c.-.e.5.4.000000000255d780 2020202020202020 2020202020202020 0000000000000000 0000000000000000 ................ 000000000255d7a0 0064256570615400 0064256d6f726443 0000000000000000 0000000000000000 .Tape%d.Cdrom%d.................000000000255d7c0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 000000000255d7e0 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................000000000255d800 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ................................ 000000000255d820 000000000255d9a0 0000000000000000 0000000000000020 000000000255d911 ..U............. .........U.....000000000255d840 000000000255dda8 000000018005103a 00000000011896d0 000000000255d8d0 ..U.....:.................U..... 000000000255d860 000000000255d880 000000000255dd39 0000000000000004 000000000118002c ..U.....9.U.............,.......000000000255d880 ffffffffffffff00 000000000255dd28 0000000000000000 000000000255dda8 ........(.U...............U..... 000000000255d8a0 ffffffffffffff00 000000000255dd28 00000000011896d0 0000000001180d80 ........(.U.....................000000000255d8c0 000000000255da90 fffffffffffffffe ffffffffffffff00 000000000255dd28 ..U.....................(.U..... 000000000255d8e0 000000000255d900 00000000011896d0 0000000000000000 000000000000000f ..U.............................000000000255d900 0000000000000000 0000012f3bb8b746 000000000255dda8 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:

@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 crashedFile: ......\Engine\ArenaWeb\CoherentUi\AwCohContext.cpp(325)App: Gw2-64.exePid: 8Cmdline: -dx9singleBaseAddr: 0000000140000000ProgramId: 101Build: 89447When: 2018-06-13T22:28:49Z 2018-06-13T15:28:49-07:00Uptime: 0 days 0:00:05Flags: 0

--> System <--Name: 56744074IpAddr: 192.168.0.10Processors: 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: 2673MBCommitLimit: 13756MBCommitPeak: 0MBSystemCache: 0MBHandleCount: 800ProcessCount: 6ThreadCount: 39

--> Process Memory <--Private: 0MBWorkingSet: 198MBPeakWorkingSet: 220MBPageFaults: 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): stub0009:fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fd00 4 stub0009:fixme:heap:RtlSetHeapInformation 0x360000 0 0x23fce0 4 stub0009:fixme:heap:RtlSetHeapInformation 0x360000 1 (nil) 0 stub002d:fixme:ver:GetCurrentPackageId (0xc1fdd0 (nil)): stub002d:fixme:thread:SetThreadStackGuarantee (0xc1fdd0): stub0009: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 Stub003c:fixme:d3d9:D3DPERF_GetStatus (void) : stub003c: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 directory0043: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 found0043:err:module:attach_dlls Importing dlls for L"C:\GW2\bin64\CoherentUI_Host.exe" failed, status c0000135003c: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): stub0009:fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fd00 4 stub0009:fixme:heap:RtlSetHeapInformation 0x360000 0 0x23fce0 4 stub0009:fixme:heap:RtlSetHeapInformation 0x360000 1 (nil) 0 stub002d:fixme:ver:GetCurrentPackageId (0xc1fdd0 (nil)): stub002d:fixme:thread:SetThreadStackGuarantee (0xc1fdd0): stub0009: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 Stub003c:fixme:d3d9:D3DPERF_GetStatus (void) : stub003c: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 directory0043: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 found0043:err:module:attach_dlls Importing dlls for L"C:\GW2\bin64\CoherentUI_Host.exe" failed, status c0000135003c: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?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 (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.9999CPU: FX-6300GPU: R9 270xSSD: 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): stub0009:fixme:heap:RtlSetHeapInformation 0x10000 0 0x23fd00 4 stub0009:fixme:heap:RtlSetHeapInformation 0x360000 0 0x23fce0 4 stub0009:fixme:heap:RtlSetHeapInformation 0x360000 1 (nil) 0 stub002d:fixme:ver:GetCurrentPackageId (0xc1fdd0 (nil)): stub002d:fixme:thread:SetThreadStackGuarantee (0xc1fdd0): stub0009: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 Stub003c:fixme:d3d9:D3DPERF_GetStatus (void) : stub003c: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 directory0043: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 found0043:err:module:attach_dlls Importing dlls for L"C:\GW2\bin64\CoherentUI_Host.exe" failed, status c0000135003c: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

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...