[Bug 9832] New: Crysis Beta cannot connect to servers
http://bugs.winehq.org/show_bug.cgi?id=9832 Summary: Crysis Beta cannot connect to servers Product: Wine Version: 0.9.45. Platform: PC URL: http://www.fileplanet.com/144808/140000/fileinfo/Crysis- Beta-Client OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-net AssignedTo: wine-bugs(a)winehq.org ReportedBy: l_bratch(a)yahoo.co.uk I have linked to the Beta, but I believe you may need a FilePlanet subscription to download. If so I can provide any traces or anything... The game gets as far as the server list, and can see all the servers and all the information about them, however never actually connects. All other networking functionality such as the built in chat works, except for connecting to servers. When you click connect, the terminal outputs this (every time): fixme:winsock:_remap_optname Unknown optname 22, can't remap! fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000016 I'll attach the full +winsock output too, but it's very big which is why I pasted the seperately. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #1 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-09-29 13:46:50 --- Created an attachment (id=8292) --> (http://bugs.winehq.org/attachment.cgi?id=8292) +winsock output You can see some successful connections in here, they are the logon process, and pulling down the list of available servers. The game has a built in chat too, which just seems to be based on IRC, which is also filling up the log. Towards the bottom I made some attempts to connect to a few servers. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 Chris Spencer <spencercw(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spencercw(a)googlemail.com --- Comment #2 from Chris Spencer <spencercw(a)googlemail.com> 2007-09-30 13:20:35 --- Luke: Did you do anything in particular to get the game to start? I am trying to get it working in Wine and I get as far as an unhandled page fault upon startup (this is with the SecuROM patch and after activating it). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #3 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-09-30 13:45:01 --- Hi Chris This is exactly what I do to get the game running, starting from a fresh ~/.wine. Firstly - Wine version 0.9.46, with these hacks applied: http://bugs.winehq.org/attachment.cgi?id=8235 http://bugs.winehq.org/attachment.cgi?id=8005 http://bugs.winehq.org/show_bug.cgi?id=881#c20 Probably the only one related is the Securom one, but I have included the others just in case. - Set Windows version to XP - Set audio driver to ALSA - Set these registry keys: - - HKEY_CURRENT_USER\Software\Wine\Direct3D\OffscreenRenderingMode = fbo - - HKEY_CURRENT_USER\Software\Wine\Direct3D\UseGLSL = enabled - - HKEY_CURRENT_USER\Software\Wine\Direct3D\VideoMemorySize = 512 - - (512 is my value, set to your own) - Ensure also that HKEY_LOCAL_MACHINE\System\MountedDevices has been created by the Securom hack - Run wine vcredist_x86.exe got from http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-... - cp d3dx9_35.dll to ~/.wine/drive_c/windows/system32/ (Google for this, I'm not sure if it can be distributed or not) - cp xinput1_3.dll to ~/.wine/drive_c/windows/system32/ (Google for this, I'm not sure if it can be distributed or not) - cd to the directory (i.e. don't call it from a different directory) - Run wine Crysis.exe There is one issue though - every time you start the game, ~/My\ Games/Crysis_MP_DEMO/ is created, and game will crash when starting if this exists. So delete ~/My\ Games/ before you attempt to start the game every time. Sometimes it still crashes, but just keep deleting the directory and trying again (has taken up to 10 tries for me). Luke -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #4 from Chris Spencer <spencercw(a)googlemail.com> 2007-09-30 14:17:14 --- Thanks Luke, I have got the game started, and I also have the same problem when trying to join a server, though I also get an "unknown optname 14." fixme:winsock:_remap_optname Unknown optname 22, can't remap! fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000016 fixme:winsock:_remap_optname Unknown optname 14, can't remap! fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x0000000e -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #5 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-09-30 14:22:35 --- I just checked my own trace again, and I do indeed also get 14 like Chris (not just 22), which can be seen in my attachment. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 Andras Kovacs <andras(a)csevego.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andras(a)csevego.net --- Comment #6 from Andras Kovacs <andras(a)csevego.net> 2007-10-02 10:43:49 --- i get these too -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov(a)gmail.com --- Comment #7 from Damjan Jovanovic <damjan.jov(a)gmail.com> 2007-10-03 00:59:54 --- 14 is IP_DONTFRAGMENT. I don't think Linux has an equivalent flag, but chances are it can be safely ignored (at the moment, it fails with an error, probably confusing the app). 22 is IP_RECEIVE_BROADCAST. "Allows or blocks broadcast reception," says the MSDN. Broadcasts? What broadcasts :-) ? If they mean UDP broadcasts, that's a different flag. Try setting your Windows version to 2000 or earlier, IP_RECEIVE_BROADCAST wasn't implemented then and maybe the app won't use it. I'll see what I can do about a patch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #8 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 02:11:19 --- Thanks Damjan, but setting the Windows version to 2000 just causes it to page fault on startup. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #9 from Andras Kovacs <andras(a)csevego.net> 2007-10-03 02:20:47 --- (In reply to comment #7)
14 is IP_DONTFRAGMENT. I don't think Linux has an equivalent flag, but chances are it can be safely ignored (at the moment, it fails with an error, probably confusing the app).
22 is IP_RECEIVE_BROADCAST. "Allows or blocks broadcast reception," says the MSDN. Broadcasts? What broadcasts :-) ? If they mean UDP broadcasts, that's a different flag.
Try setting your Windows version to 2000 or earlier, IP_RECEIVE_BROADCAST wasn't implemented then and maybe the app won't use it. I'll see what I can do about a patch.
Look a the log, there are some winsock errors. trace:winsock:WSARecvFrom socket 0940, wsabuf 0x43e844, nbufs 1, flags 0, from (nil), fromlen -1, ovl (nil), func (nil) trace:winsock:WSARecvFrom fd=330, options=0 warn:winsock:WSARecvFrom -> ERROR 10035 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #10 from Damjan Jovanovic <damjan.jov(a)gmail.com> 2007-10-03 02:57:18 --- Created an attachment (id=8361) --> (http://bugs.winehq.org/attachment.cgi?id=8361) silently ignore WS_IP_DONTFRAGMENT Try this patch, if the other flag also needs work I'll make another. (BTW error 10035 is a perfectly normal EWOULDBLOCK ;-) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #11 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-03 04:45:29 --- Created an attachment (id=8362) --> (http://bugs.winehq.org/attachment.cgi?id=8362) +winsock with attachment 9832 applied No improvement sadly, normal terminal output is now: fixme:winsock:_remap_optname Unknown optname 22, can't remap! fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000016 fixme:winsock:_remap_optname Unknown optname 14, can't remap! fixme:winsock:WS_setsockopt IP_DONTFRAGMENT is silently ignored! fixme:winsock:convert_aiflag_w2u Unhandled windows AI_xxx flags 18 And +winsock is attached. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #12 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-03 07:51:07 --- There's actually a new version of this Beta out (third release, same URL), and it works! It works with Damjan's patch, but I will do testing later to see if it does without. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #13 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 07:59:32 --- Luke: Ah nice, I didn't know there was a new version. How far do you get? Can you join a server and play? Or does it screw up somewhere else? I'm stuck in a 40 minute queue at Fileplanet, I got my beta key in a competition so I'm not actually a subscriber, so I still get the slow downloads. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #14 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-03 08:05:21 --- You can indeed get all the way into the game, and play. The graphics are completely messed up, so you can't really tell what's going on most of the time, and the mouse escpapes the window when you move to the edges, but it technically works. When you get the game down can you try without Damjan's patch first? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #15 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 08:12:05 --- Luke: Too bad the graphics are screwed up, though tbh I was kind of expecting that. I will try it without the patch when I finish the download. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #16 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 10:05:37 --- Hm, well I installed the new version, but now I get an unhandled page fault after the EA video. Thing is, I also updated Wine to the current git, so I don't know what broke it... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #17 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-03 10:11:50 --- Hi Chris, I was also testing with the latest Git, with no problems. That crashing problem sounds just like the one I have been having with the ~/My\ Games directory already existing when the game loads. Try deleting that, and try again a few times. Also ensure you are set to Windows XP mode (nothing else starts for me). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #18 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 10:31:16 --- Ok here is the result of my testing with the new version: 1. The game page faults after the EA video if the ALSA driver is enabled (which is very unfortunate because there is no sound with OSS). (Countless tries with various different settings.) 2. I still can't join any games, I tried 5 servers, and they all got stuck on the connecting screen. With and without the patch. 3. The game now loads without having to delete ~/My Games. Though this might be because I have disabled ALSA. Also the intro videos are no longer skippable, but I'm fairly sure that's by design. So in summary, it's worse than before. :( -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #19 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-03 10:33:01 --- Hi Chris Strange, I'm running fine with ALSA. As for joining servers, how long are you leaving it to connect? It's taking almost a minute for me, but does succeed in the end. Luke -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #20 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 10:37:15 --- Ok I just tried again and I managed to get into a game. Not sure why it worked this time. :\ This was with the patch applied, but I don't know if that helped. And damn you're right about the graphics, they are majorly screwed up. Of course we can't post screenshots (NDA). It will be impossible to play as it is. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #21 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 10:38:33 --- Also there is a constant stream of these in game: err:d3d_draw:drawStridedInstanced Two streams specify a different number of instances. Got 33, new is 0 fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet fixme:d3d:state_zfunc D3DCMP_NOTEQUAL and D3DCMP_EQUAL do not work correctly yet fixme:d3d_draw:depth_copy Not supported with fixed up depth stencil fixme:d3d_draw:depth_copy Not supported with fixed up depth stencil fixme:d3d_draw:depth_copy Not supported with fixed up depth stencil Don't know if that means anything to anyone. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #22 from Kai Blin <blin(a)gmx.net> 2007-10-03 11:27:14 --- Folks, separate issues to separate bugs please. Can anyone please check if that patch is really needed or not? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #23 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-03 11:51:45 --- Ok I did a test, 5 tries each with and without the patch. Here are the results: Without the patch: 1. 2 mins, no connection 2. 2 mins, no connection 3. 2 mins, no connection 4. 2 mins, no connection 5. 2 mins, no connection With the patch: 1. 5 seconds, connected 2. 5 seconds, connected 3. 5 seconds, connected 4. 14 seconds, connected 5. 5 seconds, connected So unless it's some extrondinary coincidence, looks like the patch is needed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #24 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-03 15:13:51 --- Nice one Chris, looks like it's needed. Was that with the second or third beta release though? I get the feeling that it needs the patch /and/ the new version, which just happened to appear the same time. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #25 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-09 07:43:59 --- This was fixed some time ago [ http://source.winehq.org/git/wine.git/?a=commit;h=5591c969a61b03dab2b0aa379d... ] and should be closed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 Luke Bratch <l_bratch(a)yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #26 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-09 07:47:24 --- Resolved, fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 Stefan Dösinger <stefandoesinger(a)gmx.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefandoesinger(a)gmx.at --- Comment #27 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-10-09 12:39:09 --- Is there a follow up bug for the d3d issues? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #28 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-09 12:43:01 --- Not as far as I know, I assumed whatever rendering issues it has would come under the gradual implementation of d3d. If not, I'll create one with debug logs/screenshots? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #29 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-09 12:44:09 --- I think it's best to just leave it until we get the demo because we can't post screenshots from the beta (NDA). That is why I haven't already opened a bug for it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #30 from Stefan Dösinger <stefandoesinger(a)gmx.at> 2007-10-09 12:56:03 --- You could open up a bug and try to debug by log, or just have one empty for the start. It would be cool to support this game by the time it ships. But make sure you understand the NDA properly, and make sure you're allowed to poste wine logs. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #31 from Chris Spencer <spencercw(a)googlemail.com> 2007-10-09 13:05:01 --- I agree, would be great to have it working on release, I'll take a look at the NDA and open a new bug if it's ok. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 --- Comment #32 from Luke Bratch <l_bratch(a)yahoo.co.uk> 2007-10-09 13:10:34 --- Chris/Stefan, The NDA doesn't really say anything specific about posting anything like this, but I've emailed Crysis/FilePlanet just in case. If all is well with the response, I'll post some logs/shots. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=9832 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #33 from Dan Kegel <dank(a)kegel.com> 2008-01-28 05:41:05 --- Closing all RESOLVED FIXED bugs older than four weeks. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=9832 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5591c969a61b03dab2b0aa379d1 | |b321c4762b85a -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org