Guild Wars 2 for wine - what is needed?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Illiander
Level 2
Level 2
Posts: 16
Joined: Thu Apr 26, 2012 12:53 pm

Post by Illiander »

Morphemass a fix for the mouse look on the official forum. Cross-posting it here.

GW2 has switched to raw input.

Wine 1.5.4-xliveless3-rawinput3 works. (PlayOnLinux is the only way I could get package that to work)


So, what needs doing for rawinput to get fixed in trunk?
Astohan
Level 1
Level 1
Posts: 8
Joined: Wed Apr 25, 2012 6:14 am

Re: I can't run the Beta Client at all!

Post by Astohan »

Codin wrote:Help please!

I tried versions 1.5.6, 1.5.8 and 1.5.9 and all had the same behavior.
I am running on Mac 10.6.8
Processor: 2.8 GHz Intel Core i7
Memory: 8GB
Video: ATI Radeon HD 4850
Try to run the game with -useoldlauncher suffix in a terminal or through the shortcut of Gw2.exe.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Post by J V »

I actually tried that wine version (And several others) the problem with the ones that work with rawinput is that they get the crash with hundreds of error windows...

Code: Select all

*--> Crash <--*
Assertion: GetRawInputData( (HRAWINPUT)osInputInOut->lParam, RID_INPUT, byteBuffer, &size, sizeof(RAWINPUTHEADER) ) == size
Illiander
Level 2
Level 2
Posts: 16
Joined: Thu Apr 26, 2012 12:53 pm

Post by Illiander »

J V wrote:I actually tried that wine version (And several others) the problem with the ones that work with rawinput is that they get the crash with hundreds of error windows...

Code: Select all

*--> Crash <--*
Assertion: GetRawInputData( (HRAWINPUT)osInputInOut->lParam, RID_INPUT, byteBuffer, &size, sizeof(RAWINPUTHEADER) ) == size
Correct, but they're not that frequent (at least for me, it's only on loading screens), so it's useable for this weekend.

We do know we need to fix raw input for release. (Or convince ANet to give us a toggle somewhere to use the old mouse detection - I've asked in the forums, but I'm not going to wait for it)

If someone with more experience than me would be willing to give me a starting point, I'm willing and probably able to help out with getting it working.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Post by J V »

The crash happens instantly for me - with the versions from playonlinux the -raw3 version crashes when I rightclick in game (But not in char select) and with the -xliveless3-rawinput3 it crashes as soon as char select shows up just from moving the mouse.

It isn't frequent, it's instant.
Fibonacci
Newbie
Newbie
Posts: 3
Joined: Sat Jul 21, 2012 11:05 pm

Post by Fibonacci »

I'm playing Gw2 beta with WINE 1.5.5, and have found that the fog in some areas looks so thick as to make the whole area unplayable. E.g. the mine in Molensk looks like this:
Image
The lake on the same mine looks like this:
Image
Hoelbrak, which is a main city, looks exactly the same.

Aside from that, the audio is always stuttering and much slower than it's supposed to be. When playing with WINE 1.4, Alt+Tabbing to another (non-WINE) app sometimes solved the problem. Not anymore.

Is there any way to fix this?

Hardware:
CPU: Intel Core i5-2500 CPU @ 3.3 GHz
GPU: nVidia GeForce GTS 250
RAM: 8 GB
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Post by J V »

No such bugs here - update your drivers and restart your pulseaudio server - maybe tweak with the graphics settings.mm
Fibonacci
Newbie
Newbie
Posts: 3
Joined: Sat Jul 21, 2012 11:05 pm

Post by Fibonacci »

J V wrote:No such bugs here - update your drivers and restart your pulseaudio server - maybe tweak with the graphics settings.mm
My graphics drivers are already at the latest version provided by my distro. I already tried changing the graphics settings within the game, but the fog is not even changing.
MilwaukeesBest
Newbie
Newbie
Posts: 1
Joined: Mon Jul 23, 2012 1:46 pm

Post by MilwaukeesBest »

Login>Play>User Agreement, Accept>Crash
I'm not sure what to do. Running on Mac OS Lion 10.7.4
Now that beta is over i can't really test anything. But when the game releases will there be a solution or will it just work again. I know that people using Crossover are having the same issue.
Illiander
Level 2
Level 2
Posts: 16
Joined: Thu Apr 26, 2012 12:53 pm

Post by Illiander »

J V wrote:The crash happens instantly for me - with the versions from playonlinux the -raw3 version crashes when I rightclick in game (But not in char select) and with the -xliveless3-rawinput3 it crashes as soon as char select shows up just from moving the mouse.

It isn't frequent, it's instant.
Did you find time to apply the raw input patch manually to latest wine? I'd be very interested to know if that stopped the crashes.
RobertPattinson
Newbie
Newbie
Posts: 4
Joined: Mon Jul 16, 2012 2:42 am

Post by RobertPattinson »

Playing with various wine settings, I end up with situation where Gw2.exe would crash in Updater screen after downloading 8 MB update.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

Did you find time to apply the raw input patch manually to latest wine? I'd be very interested to know if that stopped the crashes.
Nope - but it will be on my todo list when the game is about to be released.
Playing with various wine settings, I end up with situation where Gw2.exe would crash in Updater screen after downloading 8 MB update.
I'm pretty sure it's based on the ulimit - either up your ulimit or just start it again, it will continue.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

Overclocked ivy bridge quad core and a GTX 680 gets 10fps in LA while other people with more modest machines claim 60-ish...

Also: While changing from lowest to highest settings (including supersampling) makes no difference in places with decent framerates, in LA lowest settings bump me up to 30fps...

I'm thinking there's a serious performance bug in wine, since I'm effectively getting 10% of what windows users are.

Edit: On closer inspection reflections shadows and supersampling (All things anet said would lower performance in the betas) are halving my framerate.

Aditionally, the game still doesn't appear to be threaded as I'm not seeing any cpu usage from wineserver

Edit: I was going to use a modified raw3 patch from this guy here but apparently as of precise ubuntu can't compile 32bit wine from a 64bit system without chrooting a complete install... The stress test will be done by then.
Illiander
Level 2
Level 2
Posts: 16
Joined: Thu Apr 26, 2012 12:53 pm

Re: Guild Wars 2 for wine - what is needed?

Post by Illiander »

It's not very well documented, but setting WINEARCH=win32 as an environment variable makes 64bit wine pretend to be 32bit wine.

No Chrooting needed.

Also, it's possibly to install 32bit wine in any 64bit distro that supports 32bit apps (I did that on multilib Gentoo) Again, it's not very well documented; we really need to fix that chroot nonsence being the only thing that people find for this issue.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

It's the compiling I'm having trouble with...
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

I was planning on doing some performance analysis this beta but it seems that the launcher has stopped working entirely. It now just shows black...

Conky says it's downloading updates though...
Freeze_XJ
Level 2
Level 2
Posts: 12
Joined: Fri Jul 20, 2012 1:35 pm

Re: Guild Wars 2 for wine - what is needed?

Post by Freeze_XJ »

Launching works with the -useoldlauncher option, seems they're using unhandled DirectDraw calls... see also http://appdb.winehq.org/objectManager.p ... ngId=72096 first comment right now.


Currently getting the following errors:

Code: Select all

fixme:heap:HeapSetInformation 0x1cd2000 0 0x32fd98 4
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:GetLogicalProcessorInformation (0x32f294,0x32f8c0): stub
fixme:gameux:GameExplorerImpl_VerifyAccess (0x18ff40, L"Z:\\usr\\games\\GW2\\Gw2.exe", 0x32f628)
fixme:thread:SetThreadStackGuarantee (0x331ee9d0): stub
fixme:process:GetLogicalProcessorInformation ((nil),0x339edd0c): stub                                // the old error, responsible for the downloading crashes? 
fixme:process:GetLogicalProcessorInformation (0x339edd34,0x339edd0c): stub
fixme:process:GetLogicalProcessorInformation ((nil),0x339edd14): stub
fixme:process:GetLogicalProcessorInformation (0x339edd3c,0x339edd14): stub
fixme:process:GetLogicalProcessorInformation ((nil),0x339edd08): stub
fixme:process:GetLogicalProcessorInformation (0x339edd30,0x339edd08): stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x195100,0x339ee510: stub
fixme:winsock:WS_getsockopt WS_SO_CONNECT_TIME - faking results
fixme:win:EnumDisplayDevicesW ((null),0,0x339e9bc4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x339e8a34,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x339e8974,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.                        // here things go wrong
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a760-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:msctf:ThreadMgrSource_AdviseSink (0x195228) Unhandled Sink: {ea1ea136-19df-11d7-a6d2-00065b84435c}
fixme:imm:ImmDisableTextFrameService Stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x5002a 0x00000000
fixme:win:RegisterRawInputDevices (pRawInputDevices=0x339e9e38, uiNumDevices=1, cbSize=12) stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.                              // common error, was already there in old GW
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x36fae9b8): stub
err:winediag:shader_generate_glsl_declarations The hardware does not support enough uniform components to run this shader, it may not render correctly.
Running this on an olde 4770, with current drivers, that may explain the last error message... Can anyone with a newer GPU confirm? Performance is somewhat OK, 10 FPS in LA.
Senephar
Newbie
Newbie
Posts: 1
Joined: Thu Aug 09, 2012 2:04 pm

Re: Guild Wars 2 for wine - what is needed?

Post by Senephar »

Well I'm getting 23 fps in the login screen with an GTX580

Can't say about ingame yet, still trying to get past the character selection.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

useoldlauncher worked. The game is CPU bound on linux machines. It is not threaded (Idk if it is on windows) and I Get 10fps at max settings in LA even though I have an overclocked high-end ivy bridge and a GTX 680

If it will let me log in I'll use sysprof to find the bottleneck (If there is one obvious choice) - it keeps crashing me to login screen whenever I manage to get a char in..

Performance check from the login screen shows what the GW1 client does too - most of the resources are spent calling "RtlRaiseException" - I have no idea what this is but it's using approx 38% of my system resources on the login screen and 50% when in game and settings are low

Edit: Setting shaders to high is what kicks me from the game with an unceremonious:

Code: Select all

fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #448:
fixme:d3d_shader:print_glsl_info_log     Vertex info
fixme:d3d_shader:print_glsl_info_log     -----------
fixme:d3d_shader:print_glsl_info_log     0(9) : warning C7050: "R2.y" might be used before being initialized
My bad, working with max settings now... must be server issues...

Performance has... changed... It used to go between 10fps and 40fps if I tweaked reflections/shadows/supersampling but now it's firmly between 15fps and 30fps no matter what I have it set to.
Last edited by J V on Thu Aug 09, 2012 3:14 pm, edited 3 times in total.
Freeze_XJ
Level 2
Level 2
Posts: 12
Joined: Fri Jul 20, 2012 1:35 pm

Re: Guild Wars 2 for wine - what is needed?

Post by Freeze_XJ »

Getting a healthy freeze whenever I try to type something, complete window freezes, and I have to kill it. No CPU-use when frozen though... cannot find the actual bug yet, am trying to catch it.
[edit] Can't find any message in error logs, nothing out of ordinary 0x08-flags (rendering issue) or keyboard-fixmes telling me my layout isn't supported. Meh :(
Chris-WF
Level 2
Level 2
Posts: 30
Joined: Sun Dec 12, 2010 5:30 am

Re: Guild Wars 2 for wine - what is needed?

Post by Chris-WF »

Yes, i confirm the freeze if i use the chat! Its with my rawpatched wine and with crossover the same. So the rawpatch is not the source. I suppose Network issues? For me the game run terrible i get less performance then the last stresstest.

Edit: Oh and write a Letter Message also...
Last edited by Chris-WF on Thu Aug 09, 2012 3:25 pm, edited 1 time in total.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

On a more positive note, I can confirm that playonlinux build 1.5.9-raw3 fixes the mouse movement!

However, when moving the camera framerate in LA drops from customary 20fps to sub 1 fps :(

edit: Silly me, d3d_shader was piping out a ton of errors when moving the camera. WINEDEBUG="-all" gives me a stable 20fps average, stable 15fps average when moving the camera.

Once we fix the NtPerformanceWhatsitFunctionThatIsn'tImplemented and the typing issue it's plat :)

So to sum up the changes since last stress test
  • Mouse movement works with POL build
  • Performance is about twice as good as last stress test
  • All settings maxed (Including supersampling) gets me 20fps in LA (Which is the worst I've seen in the game)
  • Game is still CPU bound so if you have a decent modern CPU you should get the same performance as me
  • Lowering reflections slightly increases framerate (They appear to be CPU locked atm)
  • Now typing is broken
Chris-WF
Level 2
Level 2
Posts: 30
Joined: Sun Dec 12, 2010 5:30 am

Re: Guild Wars 2 for wine - what is needed?

Post by Chris-WF »

Game is still CPU bound so if you have a decent modern CPU you should get the same performance as me.
This is no GW2-Beta-Bug, it is a Wine-Bug isn't it?
Used WINEDEBUG="-all", and got 20-40 fps. Medium/Low Settings. Same System with Windows Vista brings 50 fps. Hey my CPU is lame..: E8300 Quad Core 2.50GHz.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Guild Wars 2 for wine - what is needed?

Post by J V »

Not on my system. I have a powerful overclocked CPU and a GTX 680 - but I get the same performance as you on max settings (And slightly higher, about 10-15fps more, on min settings)

There is definitely a performance issue - people have had 3 times my framerate in LA with lesser equipment, and the wiki page on performance says that any less than 50% of the windows performance is probably a bug.
bossinc
Level 1
Level 1
Posts: 7
Joined: Fri Aug 10, 2012 1:16 pm

Re: Guild Wars 2 for wine - what is needed?

Post by bossinc »

Any help with this errors please!! im trying to run GW2 on my MAC OSX Lion 10.7.4

Code: Select all

ynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
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.
fixme:heap:HeapSetInformation 0x1de2000 0 0x32fdd8 4
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:GetLogicalProcessorInformation (0x32f2d4,0x32f900): stub
fixme:process:GetLogicalProcessorInformation (0x0,0x33cfe98c): stub
fixme:process:GetLogicalProcessorInformation (0x33cfe9b4,0x33cfe98c): stub
fixme:process:GetLogicalProcessorInformation (0x0,0x33cfe994): stub
fixme:process:GetLogicalProcessorInformation (0x33cfe9bc,0x33cfe994): stub
fixme:process:GetLogicalProcessorInformation (0x0,0x33cfe988): stub
fixme:process:GetLogicalProcessorInformation (0x33cfe9b0,0x33cfe988): stub
fixme:winsock:WS_getsockopt WS_SO_CONNECT_TIME - faking results
pc190111128097:~ BoSSINC$ 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.
fixme:heap:HeapSetInformation 0x1de2000 0 0x33fdd8 4
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:GetLogicalProcessorInformation (0x33f2d4,0x33f900): stub
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.
fixme:heap:HeapSetInformation 0x1de2000 0 0x33fdd8 4
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:GetLogicalProcessorInformation (0x33f2d4,0x33f900): stub
fixme:process:GetLogicalProcessorInformation (0x0,0x33cfe98c): stub
fixme:process:GetLogicalProcessorInformation (0x33cfe9b4,0x33cfe98c): stub
fixme:process:GetLogicalProcessorInformation (0x0,0x33cfe994): stub
fixme:process:GetLogicalProcessorInformation (0x33cfe9bc,0x33cfe994): stub
fixme:process:GetLogicalProcessorInformation (0x0,0x33cfe988): stub
fixme:process:GetLogicalProcessorInformation (0x33cfe9b0,0x33cfe988): stub
fixme:winsock:WS_getsockopt WS_SO_CONNECT_TIME - faking results
fixme:win:EnumDisplayDevicesW ((null),0,0x33cfa84c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33cf92bc,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33cf91cc,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a760-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
err:avicap:query_video_device Video 4 Linux support not enabled
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:imm:ImmDisableTextFrameService Stub
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50062 0x00000000
fixme:win:RegisterRawInputDevices (pRawInputDevices=0x33cfaab8, uiNumDevices=1, cbSize=12) stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0x372ff638): stub
err:winediag:shader_generate_glsl_declarations The hardware does not support enough uniform components to run this shader, it may not render correctly.

I´M NEW TO WINE, SO ANY HELP WOULD BE MORE THAN APPRECIATED 
Locked