[Bug 50425] New: FiveM license check takes ages to complete since Wine 5.19
https://bugs.winehq.org/show_bug.cgi?id=50425 Bug ID: 50425 Summary: FiveM license check takes ages to complete since Wine 5.19 Product: Wine Version: 6.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: jordy(a)visser.gg Distribution: --- Since Wine version 5.19 the license check of the FiveM windows build will take minutes to complete. CPU usage on that moment is 100%. In Wine version 6.0 the CPU usage has improved during the license check but it still takes minutes to complete. The license check also returned a CURL 52 error a few times. All was working fine in Wine 5.18 or lower and the license check took 1 second to complete. To reproduce: 1. Install Wine 5.19 (staging) or higher 2. Install vcrun2019 3. Create a folder called: fxserver 4. Download the lastest server files and extract them inside the fxserver folder: https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/ 5. Start the application: wine64 ./fxserver/FXServer.exe +exec server.cfg -- 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=50425 --- Comment #1 from Jordy <jordy(a)visser.gg> --- CURL error: Empty reply from server - CURL error code 52 (Serve r returned nothing (no headers, no data)) -- 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=50425 --- Comment #2 from Jordy <jordy(a)visser.gg> --- Seems that all outgoing https request are slow or failing: Sending heartbeat to https://servers-ingress-live.fivem.net/ingress error submitting to ingress: Empty reply from server - CURL error code 52 (Serve r returned nothing (no headers, no data)) -- 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=50425 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net --- Comment #3 from Anastasius Focht <focht(a)gmx.net> --- Hello Jordy, I think your instructions miss essential parts. One obviously needs a 'server.cfg', some license and maybe even more for reproduce? You could have just provided a link to: https://docs.fivem.net/docs/server-manual/setting-up-a-server/ which seems to contain proper instructions. After following these, one gets: --- snip --- $ pwd /home/focht/Downloads/fxserver/server-data $ wine ../server/FXServer.exe +exec server.cfg ... Creating script environments for mapmanager Started resource mapmanager Creating script environments for yarn Started resource yarn Creating script environments for webpack Started resource webpack Creating script environments for chat Started resource chat Started resource spawnmanager Started gametype Freeroam Started resource basic-gamemode Creating script environments for hardcap Started resource hardcap Creating script environments for rconlog ... Started resource rconlog Warning: 'onesync' is read only. Try using `+set` in the command line. Authenticating server license key... cfx> 011c:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 011c:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 011c:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 011c:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) Started map fivem-map-hipster Started resource fivem-map-hipster ... Error: Assertion failure: io.Fonts->IsBuilt() && "Font atlas not built! It is generally built by the renderer backend. Missing call to renderer _NewFrame() function ? e.g. ImGui_ImplOpenGL3_NewFrame()." (C:\gl\builds\4ff63adb\0\cfx\fivem\code\components\conhost-v2\src\backends\imgui_impl_win32.cpp:321) --- snip --- which is obviously a different problem? Also when telling things like 'Install vcrun2019' always provide a reference to a bug report, explaining the "why". Installing native overrides without reason makes things potentially harder to track down. Regards -- 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=50425 --- Comment #4 from Jordy <jordy(a)visser.gg> --- Created attachment 69042 --> https://bugs.winehq.org/attachment.cgi?id=69042 Dockerfile + Entrypoint -- 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=50425 --- Comment #5 from Jordy <jordy(a)visser.gg> --- (In reply to Anastasius Focht from comment #3)
Hello Jordy,
I think your instructions miss essential parts. One obviously needs a 'server.cfg', some license and maybe even more for reproduce?
You could have just provided a link to:
https://docs.fivem.net/docs/server-manual/setting-up-a-server/
which seems to contain proper instructions. After following these, one gets:
--- snip --- $ pwd /home/focht/Downloads/fxserver/server-data
$ wine ../server/FXServer.exe +exec server.cfg ... Creating script environments for mapmanager Started resource mapmanager Creating script environments for yarn Started resource yarn Creating script environments for webpack Started resource webpack Creating script environments for chat Started resource chat Started resource spawnmanager Started gametype Freeroam Started resource basic-gamemode Creating script environments for hardcap Started resource hardcap Creating script environments for rconlog ... Started resource rconlog Warning: 'onesync' is read only. Try using `+set` in the command line. Authenticating server license key... cfx> 011c:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 011c:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 011c:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 011c:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) Started map fivem-map-hipster Started resource fivem-map-hipster ... Error: Assertion failure: io.Fonts->IsBuilt() && "Font atlas not built! It is generally built by the renderer backend. Missing call to renderer _NewFrame() function ? e.g. ImGui_ImplOpenGL3_NewFrame()." (C:\gl\builds\4ff63adb\0\cfx\fivem\code\components\conhost- v2\src\backends\imgui_impl_win32.cpp:321) --- snip ---
which is obviously a different problem?
Also when telling things like 'Install vcrun2019' always provide a reference to a bug report, explaining the "why". Installing native overrides without reason makes things potentially harder to track down.
Regards
Hello, Thanks for you feedback! I'm kinda new here. I was just playing arround because the Windows build of FiveM includes more bugfixes and is in general more stable. Unfortunately, I cannot solve this problem myself. Visual C++ Redistributable 2019 is required to run a FiveM server as decribed in the prerequisites here: https://docs.fivem.net/docs/server-manual/setting-up-a-server/ Without vcrun2019 the server will just crash missing VCRUNTIME140 ect.. So another important thing to say: I'm using docker so that might prevent me to see those winsock error messages. I have added my dockerfile in the attachments. Our problems may be related. -- 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=50425 --- Comment #6 from Jordy <jordy(a)visser.gg> --- Nevermind. My DEBUG settings where incorrect. I'm gettings the same errors as @Anastasius Focht now Authenticating server license key... cfx> 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0120:fixme:crypt:CryptProtectMemory (0000000018AFC250 16 00000000): stub 0120:fixme:crypt:CryptUnprotectMemory (0000000005DA3110 16 00000000): stub 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) 0100:fixme:winsock:server_ioctl_sock Unsupported ioctl 48000022 (device=4800 access=0 func=8 method=2) 0100:fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (_WSAIOR(IOC_WS2, 34)) Started map fivem-map-skater Started resource fivem-map-skater -- 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=50425 soredake <gi85qht0z(a)relay.firefox.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gi85qht0z(a)relay.firefox.com -- 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=50425 soredake <broaden_acid002(a)simplelogin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002(a)simplelogin | |.com | -- 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)
-
WineHQ Bugzilla