Welcome, Guest.
Username: Password: Remember me

TOPIC: ReShade causing crashes with Project64

ReShade causing crashes with Project64 2 weeks 3 hours ago #1

Using ReShade with the most recent Project64 and GlideN64 (OpenGL) versions results in an "unable to find a suitable pixel format" error when loading a game, after which the emulator will close. The error also occurs with the Project64 video plugin, which gives an "error setting display mode" message and closes. The issue seems identical to the PCSX2 one here.

This error would occasionally happen with older GlideN64 builds and I could usually get around it by changing the Windows compatibility from 10 to 7 (or vice versa- just changing it seems to work) or by altering certain plugin settings, like disabling the stored shader cache or disabling framebuffer emulation. None of this works now, making ReShade totally incompatible with GlideN64.

The log shows "returned format: 0," which I assume is where things are going wrong:
17:52:27:383 [05236] | INFO | Initializing crosire's ReShade version '4.0.2.489' (32-bit) built on '2018-11-21 23:57:49' loaded from "C:\\Games\\Project64 2.3\\OPENGL32.dll" to "C:\\Games\\Project64 2.3\\Project64.exe" ...
17:52:27:446 [05236] | INFO | Registering hooks for "user32.dll" ...
17:52:27:446 [05236] | INFO | > Libraries loaded.
17:52:27:446 [05236] | INFO | > Found 13 match(es). Installing ...
17:52:27:462 [05236] | INFO | Registering hooks for "ws2_32.dll" ...
17:52:27:462 [05236] | INFO | > Libraries loaded.
17:52:27:462 [05236] | INFO | > Found 8 match(es). Installing ...
17:52:27:478 [05236] | INFO | Registering hooks for "C:\\WINDOWS\\system32\\d3d9.dll" ...
17:52:27:478 [05236] | INFO | > Delayed.
17:52:27:479 [05236] | INFO | Registering hooks for "C:\\WINDOWS\\system32\\d3d10.dll" ...
17:52:27:479 [05236] | INFO | > Delayed.
17:52:27:479 [05236] | INFO | Registering hooks for "C:\\WINDOWS\\system32\\d3d10_1.dll" ...
17:52:27:480 [05236] | INFO | > Delayed.
17:52:27:480 [05236] | INFO | Registering hooks for "C:\\WINDOWS\\system32\\d3d11.dll" ...
17:52:27:480 [05236] | INFO | > Delayed.
17:52:27:480 [05236] | INFO | Registering hooks for "C:\\WINDOWS\\system32\\dxgi.dll" ...
17:52:27:480 [05236] | INFO | > Delayed.
17:52:27:480 [05236] | INFO | Registering hooks for "C:\\WINDOWS\\system32\\opengl32.dll" ...
17:52:27:480 [05236] | INFO | > Delayed until first call to an exported function.
17:52:27:480 [05236] | INFO | Initialized.
17:52:27:724 [05236] | INFO | Redirecting 'RegisterClassA(000DFAE4)' ...
17:52:27:736 [05236] | INFO | Redirecting 'RegisterClassA(000DFAE4)' ...
17:53:11:139 [11152] | INFO | Installing delayed hooks for "C:\\WINDOWS\\system32\\d3d11.dll" (Just loaded via 'LoadLibrary(""ext-ms-win-mininput-inputhost-l1-1-1.dll"")') ...
17:53:11:139 [11152] | INFO | > Found 2 match(es). Installing ...
17:53:11:139 [05236] | WARN | Ignoring 'LoadLibrary(""HID.DLL"")' call to avoid possible deadlock.
17:53:11:139 [05236] | WARN | Ignoring 'LoadLibrary(""SETUPAPI.DLL"")' call to avoid possible deadlock.
17:53:11:139 [05236] | WARN | Ignoring 'LoadLibrary(""WINMM.DLL"")' call to avoid possible deadlock.
17:53:11:139 [05236] | WARN | Ignoring 'LoadLibrary(""USER32.DLL"")' call to avoid possible deadlock.
17:53:11:156 [11152] | INFO | Installing delayed hooks for "C:\\WINDOWS\\system32\\dxgi.dll" (Just loaded via 'LoadLibrary(""ext-ms-win-mininput-inputhost-l1-1-1.dll"")') ...
17:53:11:156 [11152] | INFO | > Found 7 match(es). Installing ...
17:53:11:756 [05236] | WARN | Ignoring 'LoadLibrary(""C:\\Windows\\USB_Vibration\\00791800\\EZFRD32.dll"")' call to avoid possible deadlock.
17:53:12:328 [04256] | INFO | Redirecting 'wglChoosePixelFormat(3F010E9E, 09B3FE50)' ...
17:53:12:328 [04256] | INFO | > Dumping pixel format descriptor:
17:53:12:328 [04256] | INFO | +
+
+
17:53:12:328 [04256] | INFO | | Name | Value |
17:53:12:328 [04256] | INFO | +
+
+
17:53:12:328 [04256] | INFO | | Flags | 0x25 |
17:53:12:328 [04256] | INFO | | ColorBits | 32 |
17:53:12:328 [04256] | INFO | | DepthBits | 32 |
17:53:12:328 [04256] | INFO | | StencilBits | 0 |
17:53:12:328 [04256] | INFO | +
+
+
17:53:12:329 [04256] | INFO | Installing export hooks for "C:\\WINDOWS\\system32\\opengl32.dll" ...
17:53:12:329 [04256] | INFO | > Found 360 match(es). Installing ...
17:53:12:718 [04256] | INFO | > Returned format: 0
17:53:14:262 [04256] | INFO | Redirecting 'wglMakeCurrent(00000000, 00000000)' ...
17:53:17:015 [05236] | INFO | Exiting ...
17:53:17:015 [05236] | INFO | Uninstalling 394 hook(s) ...
17:53:17:030 [05236] | INFO | Exited.

Is there anything that can be done to get around this on ReShade's end? The only solution I've found is to use an old GlideN64 version and fiddle with the settings until it loads, but the emulation quality is much poorer than the current builds. This is my system information:

Windows 10x64
Nvidia GTX 970
Intel i5 6600k
16GB DDR4
Last Edit: 2 weeks 3 hours ago by Nerrel.
The administrator has disabled public write access.