[SOLVED] Phantasy Star Online 2 (Classic/Base) crashed since Reshade 5.0

  • nagatoyuki
  • Topic Author
More
3 years 11 months ago - 3 years 11 months ago #1 by nagatoyuki Phantasy Star Online 2 (Classic/Base) crashed since Reshade 5.0 was created by nagatoyuki
From the reply here:
reshade.me/releases/8444-5-5#44789

Just a heads-up for after the holidays, but it seems that Phantasy Star Online 2 has issues with any 5.x build (addon-enabled and not) for most users, from 5.0 all the way up to 5.5.2.

Some useful information I've gathered so far:
  • The crashes occur under all ReShade 5 builds from 5.0.0 to 5.5.2, addon enabled and not.
  • The crashes do not occur under ReShade 4.9.1.
  • Adjusting the library which is wrapped does not prevent the crashes (dxgi.dll, d3d11.dll, dinput8.dll).
  • The crashes occur even without any shader or texture paths defined (and thus loaded).
  • The crashes occur only when logging into Phantasy Star Online 2, not Phantasy Star Online 2 New Genesis. Note that the two share a game engine/client, and which you log into is determined on character selection or from in-game teleporter pylons. Completing the tutorial for New Genesis is required to access old PSO 2 which has the crashing issue.
  • The crashes occur on all versions of the game, Japan, Global (Windows Store), and Global (Steam).
  • The crashes occur independent of GPU manufacturer, individual GPU model, and driver version.
  • The only users not crashing appear to be on Windows 11, but it seems to be only a small subset of Windows 11 users that do not crash.

I checked the log (last few lines) from Reshade 4.9.1 which does not has this bug:
Code:
18:11:25:751 [19384] | INFO | Redirecting RegisterClassExW(lpWndClassEx = 0000007DA2F2EDD0 { PHANTASY STAR ONLINE 2 NEW GENESIS }) ... 18:11:25:751 [19384] | INFO | > Adding 'CS_OWNDC' window class style flag to 'PHANTASY STAR ONLINE 2 NEW GENESIS'. 18:11:25:815 [19384] | INFO | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 0000007DA2F2AD00) ... 18:11:25:817 [19384] | INFO | Installing export hooks for "C:\WINDOWS\system32\dxgi.dll" ... 18:11:25:817 [19384] | INFO | > Found 5 match(es). Installing ... 18:11:25:835 [19384] | INFO | Redirecting D3D11CreateDeviceAndSwapChain(pAdapter = 0000000000000000, DriverType = 1, Software = 0000000000000000, Flags = 0, pFeatureLevels = 0000007DA2F2E840, FeatureLevels = 2, SDKVersion = 7, pSwapChainDesc = 0000007DA2F2AD60, ppSwapChain = 00000185D04B4A20, ppDevice = 0000007DA2F2AD10, pFeatureLevel = 00000185D04B4BB0, ppImmediateContext = 0000007DA2F2ACF8) ... 18:11:25:835 [19384] | INFO | Redirecting CreateDXGIFactory2(Flags = 0x80000000, riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 0000007DA2F2A558) ... 18:11:25:916 [03912] | WARN | Ignoring LoadLibrary("api-ms-win-appmodel-runtime-l1-1-2") call to avoid possible deadlock. 18:11:25:916 [20416] | WARN | Ignoring LoadLibrary("api-ms-win-appmodel-runtime-l1-1-2") call to avoid possible deadlock. 18:11:25:916 [22204] | WARN | Ignoring LoadLibrary("api-ms-win-appmodel-runtime-l1-1-2") call to avoid possible deadlock. 18:11:25:916 [02180] | WARN | Ignoring LoadLibrary("api-ms-win-appmodel-runtime-l1-1-2") call to avoid possible deadlock. 18:11:25:916 [09284] | WARN | Ignoring LoadLibrary("api-ms-win-appmodel-runtime-l1-1-2") call to avoid possible deadlock. 18:11:25:923 [19384] | INFO | > Using feature level 0xb100. 18:11:25:923 [19384] | INFO | > Calling IDXGIFactory::CreateSwapChain: 18:11:25:924 [19384] | INFO | Redirecting IDXGIFactory::CreateSwapChain(this = 00000185D521A010, pDevice = 00000185D5406C80, pDesc = 0000007DA2F2AD60, ppSwapChain = 00000185D04B4A20) ... 18:11:25:924 [19384] | INFO | > Dumping swap chain description: 18:11:25:924 [19384] | INFO | +-----------------------------------------+-----------------------------------------+ 18:11:25:924 [19384] | INFO | | Parameter | Value | 18:11:25:924 [19384] | INFO | +-----------------------------------------+-----------------------------------------+ 18:11:25:924 [19384] | INFO | | Width | 1920 | 18:11:25:924 [19384] | INFO | | Height | 1080 | 18:11:25:925 [19384] | INFO | | RefreshRate | 60 1 | 18:11:25:925 [19384] | INFO | | Format | DXGI_FORMAT_R8G8B8A8_UNORM | 18:11:25:925 [19384] | INFO | | ScanlineOrdering | 0 | 18:11:25:925 [19384] | INFO | | Scaling | 0 | 18:11:25:925 [19384] | INFO | | SampleCount | 1 | 18:11:25:925 [19384] | INFO | | SampleQuality | 0 | 18:11:25:925 [19384] | INFO | | BufferUsage | 0x20 | 18:11:25:925 [19384] | INFO | | BufferCount | 3 | 18:11:25:925 [19384] | INFO | | OutputWindow | 0000000000230B1C | 18:11:25:925 [19384] | INFO | | Windowed | TRUE | 18:11:25:925 [19384] | INFO | | SwapEffect | 4 | 18:11:25:925 [19384] | INFO | | Flags | 0x2 | 18:11:25:925 [19384] | INFO | +-----------------------------------------+-----------------------------------------+ 18:11:26:078 [19384] | INFO | Running on NVIDIA GeForce RTX 2060 SUPER 18:11:26:079 [19384] | INFO | Recreated runtime environment on runtime 00000185D55A08E0. 18:11:26:089 [19384] | INFO | Loading image files for textures ... 18:11:26:627 [22516] | WARN | Ignoring LoadLibrary("msasn1.dll") call to avoid possible deadlock. 18:11:26:628 [22516] | WARN | Ignoring LoadLibrary("cryptnet.dll") call to avoid possible deadlock. 18:11:27:851 [19384] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\d3d12.dll" (Just loaded via LoadLibrary("api-ms-win-core-synch-l1-2-0")) ... 18:11:27:851 [19384] | INFO | > Found 7 match(es). Installing ... 18:11:58:174 [19384] | INFO | Redirecting IDXGISwapChain::SetFullscreenState(this = 00000185D36241E0, Fullscreen = FALSE, pTarget = 0000000000000000) ... 18:11:58:201 [19384] | INFO | Destroyed runtime environment on runtime 00000185D55A08E0. 18:11:58:447 [19384] | WARN | Reference count for ID3D11DeviceContext1 object 00000185D53875E0 is inconsistent. 18:11:59:905 [19384] | INFO | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 0000007DA2F2ABF0) ... 18:11:59:907 [19384] | INFO | Redirecting D3D11CreateDeviceAndSwapChain(pAdapter = 0000000000000000, DriverType = 1, Software = 0000000000000000, Flags = 0, pFeatureLevels = 0000007DA2F2E730, FeatureLevels = 2, SDKVersion = 7, pSwapChainDesc = 0000007DA2F2AC50, ppSwapChain = 000001858756D9C0, ppDevice = 0000007DA2F2AC00, pFeatureLevel = 000001858756DB50, ppImmediateContext = 0000007DA2F2ABE8) ... 18:11:59:907 [19384] | INFO | Redirecting CreateDXGIFactory2(Flags = 0x80000000, riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 0000007DA2F2A448) ... 18:11:59:944 [19384] | INFO | > Using feature level 0xb100. 18:11:59:945 [19384] | INFO | > Calling IDXGIFactory::CreateSwapChain: 18:11:59:945 [19384] | INFO | Redirecting IDXGIFactory::CreateSwapChain(this = 000001861950F000, pDevice = 00000185D525D3F0, pDesc = 0000007DA2F2AC50, ppSwapChain = 000001858756D9C0) ... 18:11:59:945 [19384] | INFO | > Dumping swap chain description: 18:11:59:945 [19384] | INFO | +-----------------------------------------+-----------------------------------------+ 18:11:59:945 [19384] | INFO | | Parameter | Value | 18:11:59:945 [19384] | INFO | +-----------------------------------------+-----------------------------------------+ 18:11:59:945 [19384] | INFO | | Width | 1920 | 18:11:59:945 [19384] | INFO | | Height | 1080 | 18:11:59:945 [19384] | INFO | | RefreshRate | 60 1 | 18:11:59:946 [19384] | INFO | | Format | DXGI_FORMAT_R8G8B8A8_UNORM | 18:11:59:946 [19384] | INFO | | ScanlineOrdering | 0 | 18:11:59:946 [19384] | INFO | | Scaling | 0 | 18:11:59:946 [19384] | INFO | | SampleCount | 1 | 18:11:59:946 [19384] | INFO | | SampleQuality | 0 | 18:11:59:946 [19384] | INFO | | BufferUsage | 0x20 | 18:11:59:946 [19384] | INFO | | BufferCount | 3 | 18:11:59:946 [19384] | INFO | | OutputWindow | 0000000000230B1C | 18:11:59:946 [19384] | INFO | | Windowed | TRUE | 18:11:59:946 [19384] | INFO | | SwapEffect | 4 | 18:11:59:946 [19384] | INFO | | Flags | 0x2 | 18:11:59:946 [19384] | INFO | +-----------------------------------------+-----------------------------------------+ 18:12:00:080 [19384] | INFO | Running on NVIDIA GeForce RTX 2060 SUPER 18:12:00:081 [19384] | INFO | Recreated runtime environment on runtime 00000185AA6DE020. 18:12:00:090 [19384] | INFO | Loading image files for textures ...



and the log after 5.0.0 before clash there are just few lines:
Code:
12:38:31:492 [22028] | INFO | Redirecting RegisterClassExW(lpWndClassEx = 000000C650EFF480 { "PHANTASY STAR ONLINE 2 NEW GENESIS", style = 0 }) ... 12:38:31:492 [22028] | INFO | > Adding 'CS_OWNDC' window class style flag to "PHANTASY STAR ONLINE 2 NEW GENESIS". 12:38:31:531 [22028] | INFO | Redirecting CreateDXGIFactory1(riid = {770AAE78-F26F-4DBA-A829-253C83D1B387}, ppFactory = 000000C650EFB3B0) ... 12:38:31:534 [22028] | INFO | Installing export hooks for "C:\WINDOWS\system32\dxgi.dll" ... 12:38:31:535 [22028] | INFO | > Found 5 match(es). Installing ... 12:38:31:550 [22028] | INFO | Redirecting D3D11CreateDeviceAndSwapChain(pAdapter = 0000000000000000, DriverType = 1, Software = 0000000000000000, Flags = 0, pFeatureLevels = 000000C650EFEEF0, FeatureLevels = 2, SDKVersion = 7, pSwapChainDesc = 000000C650EFB410, ppSwapChain = 0000028058A94A20, ppDevice = 000000C650EFB3C0, pFeatureLevel = 0000028058A94BB0, ppImmediateContext = 000000C650EFB3A8) ... 12:38:31:551 [22028] | INFO | Redirecting CreateDXGIFactory2(Flags = 0x80000000, riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 000000C650EFAB38) ... 12:38:31:621 [22028] | INFO | Using feature level 0xb100. 12:38:31:621 [22028] | INFO | Searching for add-ons (*.addon) in "D:\PHANTASYSTARONLINE2\pso2_bin\.\gshade-addons" ... 12:38:31:621 [22028] | INFO | Calling IDXGIFactory::CreateSwapChain: 12:38:31:622 [22028] | INFO | Redirecting IDXGIFactory::CreateSwapChain(this = 000002805BA53BB0, pDevice = 000002805DE2F4C8, pDesc = 000000C650EFB410, ppSwapChain = 0000028058A94A20) ... 12:38:31:622 [22028] | INFO | > Dumping swap chain description: 12:38:31:622 [22028] | INFO | +-----------------------------------------+-----------------------------------------+ 12:38:31:622 [22028] | INFO | | Parameter | Value | 12:38:31:622 [22028] | INFO | +-----------------------------------------+-----------------------------------------+ 12:38:31:622 [22028] | INFO | | Width | 1920 | 12:38:31:622 [22028] | INFO | | Height | 1080 | 12:38:31:622 [22028] | INFO | | RefreshRate | 60 1 | 12:38:31:622 [22028] | INFO | | Format | DXGI_FORMAT_R8G8B8A8_UNORM | 12:38:31:622 [22028] | INFO | | ScanlineOrdering | 0 | 12:38:31:622 [22028] | INFO | | Scaling | 0 | 12:38:31:622 [22028] | INFO | | SampleCount | 1 | 12:38:31:622 [22028] | INFO | | SampleQuality | 0 | 12:38:31:622 [22028] | INFO | | BufferUsage | 0x20 | 12:38:31:622 [22028] | INFO | | BufferCount | 3 | 12:38:31:622 [22028] | INFO | | OutputWindow | 0000000000050A26 | 12:38:31:622 [22028] | INFO | | Windowed | TRUE | 12:38:31:622 [22028] | INFO | | SwapEffect | 4 | 12:38:31:622 [22028] | INFO | | Flags | 0x2 | 12:38:31:624 [22028] | INFO | +-----------------------------------------+-----------------------------------------+ 12:38:32:028 [22028] | INFO | Running on NVIDIA GeForce RTX 2060 SUPER. 12:38:33:647 [22028] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\d3d12.dll" (Just loaded via LoadLibrary("C:\Windows\System32\d3d12.dll")) ... 12:38:33:647 [22028] | INFO | > Found 8 match(es). Installing ... 12:39:34:233 [22028] | INFO | Redirecting IDXGISwapChain::SetFullscreenState(this = 000002805D99BBB0, Fullscreen = FALSE, pTarget = 0000000000000000) ... 12:39:35:425 [22028] | WARN | Reference count for ID3D11Device1 object 000002805DE2F4C8 (000002805D7C3E90) is inconsistent (1).




I just guess that the hook fail somewhere between Reshare and dx11.dll while PSO2 Classic reset the dxgi device chain from dxgi factory interface.
Just after IDXGISwapChain::SetFullscreenState then crash, no anything like CreateDXGIFactory1 & CreateDXGIFactory2 is done.

Switching between PSO2 Base/Classic and PSO2 NGS would reset the whole graphic system with time (there is a moment of "hanging" and cursor spinning blue circle)



Code:
Log Name: Application Source: Windows Error Reporting Date: 26/12/2022 10:47:18 am Event ID: 1001 Task Category: None Level: Information Keywords: User: Computer: Description: Fault bucket 1412546676813273888, type 4 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: pso2.exe P2: 0.0.0.0 P3: 63915c51 P4: d3d11.dll P5: 10.0.22621.608 P6: a6d4f418 P7: c0000005 P8: 000000000001e682 P9: P10: Attached files: \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.b56c9c2b-07bb-4df2-8422-4acaba8a72c6.tmp.dmp \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.4489cc0b-0175-4334-9316-0974cea277bb.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.56136d78-ae38-466e-8e36-ea4add75dfcf.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.82448da2-7c1b-47bf-85e2-4236fff9aedb.tmp.txt \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.b7c2a4c0-a01a-4bd6-91e5-5b6df75b4358.tmp.xml These files may be available here: \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_pso2.exe_c7fe2d39d8a1c689f28520b92584a6a63d6764_59ceca0b_33b162c3-bd82-4198-b317-2756078c18cf Analysis symbol: Rechecking for solution: 0 Report Id: b4288ccf-fbf7-48d2-93fa-61f9e8b4d758 Report Status: 268435456 Hashed bucket: 0ad736443b47182ec39a5fb7f41d1b20 Cab Guid: 0 Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Windows Error Reporting" Guid="{0ead09bd-2157-539a-8d6d-c87f95b64d70}" /> <EventID>1001</EventID> <Version>0</Version> <Level>4</Level> <Task>0</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000000</Keywords> <TimeCreated SystemTime="2022-12-26T02:47:18.7894225Z" /> <EventRecordID>27532</EventRecordID> <Correlation /> <Execution ProcessID="19360" ThreadID="13472" /> <Channel>Application</Channel> <Computer></Computer> <Security UserID="" /> </System> <EventData> <Data Name="Bucket">1412546676813273888</Data> <Data Name="BucketType">4</Data> <Data Name="EventName">APPCRASH</Data> <Data Name="Response">Not available</Data> <Data Name="CabId">0</Data> <Data Name="P1">pso2.exe</Data> <Data Name="P2">0.0.0.0</Data> <Data Name="P3">63915c51</Data> <Data Name="P4">d3d11.dll</Data> <Data Name="P5">10.0.22621.608</Data> <Data Name="P6">a6d4f418</Data> <Data Name="P7">c0000005</Data> <Data Name="P8">000000000001e682</Data> <Data Name="P9"> </Data> <Data Name="P10"> </Data> <Data Name="AttachedFiles"> \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.b56c9c2b-07bb-4df2-8422-4acaba8a72c6.tmp.dmp \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.4489cc0b-0175-4334-9316-0974cea277bb.tmp.WERInternalMetadata.xml \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.56136d78-ae38-466e-8e36-ea4add75dfcf.tmp.csv \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.82448da2-7c1b-47bf-85e2-4236fff9aedb.tmp.txt \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.b7c2a4c0-a01a-4bd6-91e5-5b6df75b4358.tmp.xml</Data> <Data Name="StorePath">\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_pso2.exe_c7fe2d39d8a1c689f28520b92584a6a63d6764_59ceca0b_33b162c3-bd82-4198-b317-2756078c18cf</Data> <Data Name="AnalysisSymbol"> </Data> <Data Name="Rechecking">0</Data> <Data Name="ReportId">b4288ccf-fbf7-48d2-93fa-61f9e8b4d758</Data> <Data Name="ReportStatus">268435456</Data> <Data Name="HashedBucket">0ad736443b47182ec39a5fb7f41d1b20</Data> <Data Name="CabGuid">0</Data> </EventData> </Event>





 
Last edit: 3 years 11 months ago by nagatoyuki.

Please Log in or Create an account to join the conversation.

  • crosire
More
3 years 10 months ago #2 by crosire Replied by crosire on topic Phantasy Star Online 2 (Classic/Base) crashed since Reshade 5.0

Please Log in or Create an account to join the conversation.