https://bugs.winehq.org/show_bug.cgi?id=46222
Bug ID: 46222 Summary: Star Citizen hang on splash screen Product: Wine Version: 3.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernelbase Assignee: wine-bugs@winehq.org Reporter: vash63@gmail.com Distribution: ---
Created attachment 62908 --> https://bugs.winehq.org/attachment.cgi?id=62908 Full CLI output with winedebug enabled
Every time I attempt to start Star Citizen, the launcher works but the game itself goes defunct almost instantly (<1s CPU time) at the splash screen. This happens with and without esync/dxvk and against a non-Staging build with the patches included in bug #46099.
This is possibly a duplicate of #46099, but my symptoms are a bit different as even older versions of wine predating WaitOnAddress() are having the same issue.
https://bugs.winehq.org/show_bug.cgi?id=46222
George Gibbs vash63@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vash63@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #1 from George Gibbs vash63@gmail.com --- Created attachment 62910 --> https://bugs.winehq.org/attachment.cgi?id=62910 Debug log stopped shortly after the hang (more readable)
Same run as the initial attachment but with the debug log copied shortly after the application stalls, as the debug log grows significantly after that point. This one may be more readable.
https://bugs.winehq.org/show_bug.cgi?id=46222
George Gibbs vash63@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #62908|0 |1 is obsolete| |
--- Comment #2 from George Gibbs vash63@gmail.com --- Created attachment 62911 --> https://bugs.winehq.org/attachment.cgi?id=62911 Full CLI output with winedebug enabled
Original upload was cut early as it was too big. Gzipped to get under 5M limit.
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #3 from George Gibbs vash63@gmail.com --- As there's some indication this is hardware related, specs are:
Kernel: 4.19.4-arch1-1-ARCH AMD Ryzen 1700 Nvidia RTX 2080 w/ 415.18.02
Tested with older Nvidia drivers (410 series) and duplicated with many wine branches all the way back to 3.16. Also tried really old 3.0 and 3.5 builds in Lutris but those would crash at the launcher and could not get far enough to try and duplicate this.
Sample logs are direct from wine (no lutris) using WINEDEBUG=warn+all on 3.21 (built w/ esync but with WINEESYNC=0 for cleaner log output).
https://bugs.winehq.org/show_bug.cgi?id=46222
after-life mike.ramos58@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike.ramos58@gmail.com
--- Comment #4 from after-life mike.ramos58@gmail.com --- Created attachment 62929 --> https://bugs.winehq.org/attachment.cgi?id=62929 Full CLI output with winedebug enabled
Kernel: 4.18.0-11-generic AMD Threadripper 2950x Nvidia GTX 1080TI w/ 396.54.09
Similar symptoms to OP. Launcher seems to work fine but hangs on the splash image after launch. I can confirm that the game starts up fine on my Intel based systems. I verified this by both swapping the SSD from the 2950x/1080TI system to the i5-6600k/GTX1080 system and also doing a clean Star Citizen install on the i7-8750H/GTX1070MAX-Q system.
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #5 from George Gibbs vash63@gmail.com --- (In reply to after-life from comment #4)
Created attachment 62929 [details] Full CLI output with winedebug enabled
Kernel: 4.18.0-11-generic AMD Threadripper 2950x Nvidia GTX 1080TI w/ 396.54.09
Similar symptoms to OP. Launcher seems to work fine but hangs on the splash image after launch. I can confirm that the game starts up fine on my Intel based systems. I verified this by both swapping the SSD from the 2950x/1080TI system to the i5-6600k/GTX1080 system and also doing a clean Star Citizen install on the i7-8750H/GTX1070MAX-Q system.
Just a note if you're trying to help reproduce this, it has a lot of overlap with bug #46099 - similar symptom but different root cause as this issue predates that one on my system. Make sure you're using the patches from that bug when testing, or test with 3.17/3.18 before that bug was introduced.
If you're on Arch, you can use the patch set with the '_starcitizen_fix' variable set from this PKGBUILD: https://github.com/Tk-Glitch/PKGBUILDS/blob/master/wine-tkg-git/PKGBUILD
Or you could use either the RtlWaitOnAddress-race.patch (for wine master) or the starcitizen.patch (for wine staging) files in that same directory on github.
https://bugs.winehq.org/show_bug.cgi?id=46222
Greg Smith codedonewell@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |codedonewell@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=46222
George Gibbs vash63@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|3.21 |4.0-rc7 URL| |https://robertsspaceindustr | |ies.com/star-citizen/fly-no | |w
--- Comment #6 from George Gibbs vash63@gmail.com --- Re-tested with 4.0rc7 - still able to duplicate. Looking online it seems this may only impact AMD Zen based CPUs.
https://bugs.winehq.org/show_bug.cgi?id=46222
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|4.0-rc7 |3.21
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #7 from Greg Smith codedonewell@gmail.com --- I've had some success at finding causes with the following WINEDEBUG setting: fixme+all,trace+all,trace-heap,+relay
I have the following RelayExclude setting: ntdll.RtlEnterCriticalSection;ntdll.RtlTryEnterCriticalSection;ntdll.RtlLeaveCriticalSection;kernel32.48;kernel32.49;kernel32.94;kernel32.95;kernel32.96;kernel32.97;kernel32.98;kernel32.TlsGetValue;kernel32.TlsSetValue;kernel32.FlsGetValue;kernel32.FlsSetValue;kernel32.SetLastError;KERNEL32.GetWindowsDirectoryW;KERNEL32.SetCurrentDirectoryW;advapi32.RegSetValueExW;advapi32.RegCreateKeyExW;advapi32.RegCloseKey;ucrtbase.memcmp;ucrtbase.malloc;ucrtbase.free;ntdll.RtlAllocateHeap;ntdll.RtlFreeHeap;KERNEL32.lstrcmpA;KERNEL32.LocalAlloc;ntdll.RtlReAllocateHeap;ucrtbase.memcpy;ucrtbase.memmove;ucrtbase.isspace;ucrtbase.memchr;ucrtbase._dtest;ucrtbase.memset;ucrtbase.realloc;ucrtbase.memset;KERNEL32.GetLocaleInfoA;KERNEL32.GetLocaleInfoW;ntdll.RtlReleaseSRWLockExclusive;ntdll.RtlAcquireSRWLockExclusive;ntdll.RtlReleaseSRWLockShared;ntdll.RtlAcquireSRWLockShared;ucrtbase.floorf;user32.GetKeyState;ucrtbase.ceilf;ucrtbase._lrotl;ucrtbase.round;ucrtbase._lrotr
I redirect the output to a file. As you may expect the log file is huge (70-160Gb). I have scripts to split the threads and timestamp the names, to make it easier to jump around, but I have no short cut for the log work of crawling over the log files.
If you want to work together on this, join LUG in starcitizen and lets chat. I do not have the problem, so you will need to create the logs, compress them and put them somehwere where we can both look at them.
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #8 from Greg Smith codedonewell@gmail.com --- Also, could you please prove an example with the latest launcher? With the previous settings is OK for now, but a LOT changed in the 1.1 series launcher/patcher.
https://bugs.winehq.org/show_bug.cgi?id=46222
manumerique@zaclys.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |manumerique@zaclys.net
--- Comment #9 from manumerique@zaclys.net --- Same problem here, but with a not Ryzen CPU CPU : AMD FX 8350 GPU : AMD RX 580 RAM 16Go SSD Ubuntu 18.04 Kernel 4.20.6 Mesa 18.3.3 Wine 4.2 staging Star Citizen 3.4.3 Launched through a terminal, the Launcher works great, Star Citizen starts in windowed mode, but is stuck on a black screen. Last messages I got (but not sure it's relevant) :
0097:fixme:d3d11:d3d11_device_CheckFormatSupport iface 0xf86a8, format 56, format_support 0x22ccc0 partial-stub! 0097:fixme:d3d11:wined3d_depth_stencil_view_desc_from_d3d11 Unhandled depth stencil view flags 0x3. 00bf:fixme:d3d11:d3d_blend_state_create Per-rendertarget blend not implemented. 00bf:fixme:d3d11:d3d_blend_state_create Per-rendertarget blend not implemented. 0097:fixme:heap:RtlSetHeapInformation 0x7fb005430000 0 0x22cb00 4 stub 00bf:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x800000c2. ... (a lot more) 00bf:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier 0x00155543. 0097:fixme:thread:SetThreadIdealProcessor (0x240): stub
If I can test further, no problem, just ask me and tell me what to do !
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #10 from George Gibbs vash63@gmail.com --- I haven't been able to test this in a while as my issue has regressed even further than before. Now I cannot even get them launcher to detect the game as installed. Once it gets to the delta patcher stage (required for both verifying existing files or installing it fresh), it crashes with:
[17:01:53.947] [info] Starting delta update (SC (LIVE 3.4.3-live.1049749) in Z:\mnt\steam\StarCitizen [17:01:53.960] [info] { event: 'INSTALLER@INSTALL', data: { gameInformation: { channwine: Unhandled exception 0x80000003 in thread b0 at address 0x1f46b9d (thread 00b0), starting debugger... elId: 'LIVE', gameId: 'SC', version: '1049749', versionLabel: '3.4.3-live.1049749' } } }
So at the moment I can't even see if the splash screen issue still exists.
https://bugs.winehq.org/show_bug.cgi?id=46222
rawfox rawfox@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rawfox@freenet.de
--- Comment #11 from rawfox rawfox@freenet.de --- All problems should have been solved by wine-4.2 or higher, except the webcam issue.
The blackscreen issue maybe from this: 0048:warn:winsock:wsaErrno errno 101, (Network is unreachable)
I suggest you make a new prefix and install corefonts and dxvk only with winetricks and reinstall the game, or you can also use the Lutris installer, people reporting success with Lutris.
.NET is not needed to run the game, just windbg.exe wants it, i did not install any dotnet at all, but im using wine-staging for 2 or 3 extra fps :D
Wonder if something Ubuntu related causes trouble here, but people should all be able to play it with Lutris.
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #12 from rawfox rawfox@freenet.de --- (In reply to George Gibbs from comment #10)
I haven't been able to test this in a while as my issue has regressed even further than before. Now I cannot even get them launcher to detect the game as installed. Once it gets to the delta patcher stage (required for both verifying existing files or installing it fresh), it crashes with:
[17:01:53.947] [info] Starting delta update (SC (LIVE 3.4.3-live.1049749) in Z:\mnt\steam\StarCitizen [17:01:53.960] [info] { event: 'INSTALLER@INSTALL', data: { gameInformation: { channwine: Unhandled exception 0x80000003 in thread b0 at address 0x1f46b9d (thread 00b0), starting debugger... elId: 'LIVE', gameId: 'SC', version: '1049749', versionLabel: '3.4.3-live.1049749' } } }
So at the moment I can't even see if the splash screen issue still exists.
I may be wrong, but i mean to remember the game wont run from a mounted windows drive. Just a guess, but is /mnt/steam your Windows/Linux shared steam drive ? Anyways i would not recommend to run it from /mnt and not from a NTFS drive. Keep it in your user directory (/home/you/) will make sure its working.
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #13 from George Gibbs vash63@gmail.com --- /mnt/steam is a native Linux disk. My root disk is a small SSD that doesn't have room for Star Citizen. Anyway, 4.4 + staging patches still crashing in the same place - clean wine bottle pointed again to my install files copied from Windows (not a FUSE-mounted disk, native linux fs). Errors are a bit different now though:
[00:24:23.322] [info] Starting delta update (SC (LIVE 3.4.3-live.1049749) in Z:\mnt\steam\StarCitizen 002b:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2 [00:24:23.335] [info] { event: 'INSTALLER@INSTALL', data: { gameInform0067:fixme:msvcp:_Mtx_init_in_situ unknown flags ignored: 2 ation: { channelId: 'LIVE', gwine: Unhandled exception 0x80000003 in thread 9a at address 0xa7a6b9d (thread 009a), starting debugger... ameId: 'SC', version: '1049749', versionLabel: '3.4.3-live.1049749' } } }
https://bugs.winehq.org/show_bug.cgi?id=46222
George Gibbs vash63@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #14 from George Gibbs vash63@gmail.com --- Just tried going to 4.2 without staging patches - everything is working now. I had tried 4.0 without staging and was still having issues with the patcher, but it seems those are resolved now. Only problem now is music doesn't play in the patcher but it did in the staging wine, so not sure there, but either way I think that's a separate issue and this bug is resolved. Thanks for the updates wine team!
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #15 from manumerique@zaclys.net --- (In reply to rawfox from comment #11)
All problems should have been solved by wine-4.2 or higher, except the webcam issue.
The blackscreen issue maybe from this: 0048:warn:winsock:wsaErrno errno 101, (Network is unreachable)
I suggest you make a new prefix and install corefonts and dxvk only with winetricks and reinstall the game, or you can also use the Lutris installer, people reporting success with Lutris.
.NET is not needed to run the game, just windbg.exe wants it, i did not install any dotnet at all, but im using wine-staging for 2 or 3 extra fps :D
Wonder if something Ubuntu related causes trouble here, but people should all be able to play it with Lutris.
Already tried with Lutris, doesn't work (Lutris people in the comments report the same black screen issue) My blackscreen issue is not related to 0048:warn:winsock:wsaErrno errno 101, (Network is unreachable), as I dont have this error on my log (and my connection is very stable and solid) I was already under wine-staging 4.2 My game is installed under my /home/.wine/drive_c... folder Still maybe related to AMD processors (Mine is FX 8350), but don't have the hardware to test
Question : Which is the right command to install corefonts and dxvk with winetricks ? I read 'winetricks dxvk' but this doesnt work with winetricks from wine-staging, the first parameter cant be an application list
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #16 from rawfox rawfox@freenet.de ---
Question : Which is the right command to install corefonts and dxvk with winetricks ? I read 'winetricks dxvk' but this doesnt work with winetricks from wine-staging, the first parameter cant be an application list
Sounds like your winetricks command is out of date, can that be possible ?
I got mine from the git here https://github.com/Winetricks/winetricks Thats cloned to my /home/rawfox/src/winetricks directory, from where i linked it to /usr/local/bin.
There is also a distribution package of winetricks, maybe its just too old as the winetricks updates fairly often. You want uninstall the distribution winetricks package before using winetricks from git.
The correct command should be indeed just "winetricks corefonts" or "winetricks dxvk" or "winetricks corefonts dxvk" but you can open the winetricks window just by calling "winetricks" from the commandline.
/home/you/.wine is the default prefix and if you did not export anything else, all wine related actions should affect that prefix.
Your CPU is fine, im on a fx8150, but what is your gfx drivers ?
Im on Nvidia and get my driver from here; https://developer.nvidia.com/vulkan-driver The problem with this is, i had to uninstall the distro supported driver and install this vulkan drivers while booting the PC into runlevel 3 and started the install as root from bash. Nontheless i hear from other users they use the default Nvidia driver /shrug
https://bugs.winehq.org/show_bug.cgi?id=46222
--- Comment #17 from rawfox rawfox@freenet.de --- (In reply to George Gibbs from comment #14)
Just tried going to 4.2 without staging patches - everything is working now. I had tried 4.0 without staging and was still having issues with the patcher, but it seems those are resolved now. Only problem now is music doesn't play in the patcher but it did in the staging wine, so not sure there, but either way I think that's a separate issue and this bug is resolved. Thanks for the updates wine team!
Nice :) Yeah, wine-4.2 is the minimum version, since that it installs and works. Just checked my launcher, music is working .. /hmm
https://bugs.winehq.org/show_bug.cgi?id=46222
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #18 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.5.
https://bugs.winehq.org/show_bug.cgi?id=46222
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |-unknown