[SOLVED] IL2 1946 SetPixelFormat issue.
- BrokenGL
- Topic Author
Really old OpenGL engined flight simulator is failing to start with ReShade. Log indicates invalid pixel format when createcontext is called.
Game uses 32 colour bits, 24 depth bits and 8 stencil bits.
I know it's a case of diminishing returns to keep catching and creating workarounds for ancient game engines especially when it seems that ReShades goal is to be a generic framework, but this was the game I tested reshade on so here's the bug report.
05/02/2015 16:28:43,968 [2172] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
05/02/2015 16:28:43,968 [2172] | INFO | > Delayed.
05/02/2015 16:28:43,968 [2172] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
05/02/2015 16:28:43,969 [2172] | INFO | > Delayed.
05/02/2015 16:28:43,969 [2172] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
05/02/2015 16:28:43,969 [2172] | INFO | > Delayed.
05/02/2015 16:28:43,969 [2172] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
05/02/2015 16:28:43,970 [2172] | INFO | > Delayed.
05/02/2015 16:28:43,970 [2172] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
05/02/2015 16:28:43,970 [2172] | INFO | > Delayed.
05/02/2015 16:28:43,970 [2172] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
05/02/2015 16:28:43,970 [2172] | INFO | > Delayed.
05/02/2015 16:28:43,970 [2172] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
05/02/2015 16:28:43,970 [2172] | INFO | > Delayed.
05/02/2015 16:28:43,970 [2172] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
05/02/2015 16:28:43,971 [2172] | INFO | > Libraries loaded.
05/02/2015 16:28:43,976 [2172] | INFO | > Found 4 match(es). Installing ...
05/02/2015 16:28:43,988 [2172] | INFO | > Installed 4 hook(s).
05/02/2015 16:28:43,988 [2172] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
05/02/2015 16:28:43,989 [2172] | INFO | > Libraries loaded.
05/02/2015 16:28:43,990 [2172] | INFO | > Found 8 match(es). Installing ...
05/02/2015 16:28:44,013 [2172] | INFO | > Installed 8 hook(s).
05/02/2015 16:28:44,014 [2172] | INFO | Initialized.
05/02/2015 16:28:44,020 [2172] | INFO | Redirecting 'RegisterClassW(0018F924)' ...
05/02/2015 16:28:44,020 [2172] | INFO | Installing delayed hooks for "C:\Windows\system32\opengl32.dll" ...
05/02/2015 16:28:44,029 [2172] | INFO | > Found 360 match(es). Installing ...
05/02/2015 16:28:44,029 [2172] | INFO | > Installed 360 hook(s).
05/02/2015 16:28:44,050 [2172] | INFO | Redirecting 'wglChoosePixelFormat(ED01183D, 0018F94C)' ...
05/02/2015 16:28:44,123 [2172] | INFO | Redirecting 'wglSetPixelFormat(ED01183D, 9, 0018F94C)' ...
05/02/2015 16:28:44,125 [2172] | INFO | Redirecting 'wglCreateContext(ED01183D)' ...
05/02/2015 16:28:44,125 [2172] | WARN | > 'wglCreateContext' failed with error code 2000!
05/02/2015 16:28:44,184 [2172] | INFO | Exiting ...
05/02/2015 16:28:44,184 [2172] | INFO | Uninstalling 374 hook(s) ...
05/02/2015 16:28:44,263 [2172] | INFO | Exited.
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- BrokenGL
- Topic Author
07/02/2015 14:42:08,726 [2564] | INFO | Redirecting 'wglChoosePixelFormat(BE0119DC, 0018F94C)' ...
07/02/2015 14:42:08,727 [2564] | TRACE | > Dumping pixel format descriptor:
07/02/2015 14:42:08,727 [2564] | TRACE | +-----------------------------------------+-----------------------------------------+
07/02/2015 14:42:08,727 [2564] | TRACE | | Name | Value |
07/02/2015 14:42:08,727 [2564] | TRACE | +-----------------------------------------+-----------------------------------------+
07/02/2015 14:42:08,727 [2564] | TRACE | | Flags | 0x21 |
07/02/2015 14:42:08,727 [2564] | TRACE | | ColorBits | 32 |
07/02/2015 14:42:08,727 [2564] | TRACE | | DepthBits | 24 |
07/02/2015 14:42:08,727 [2564] | TRACE | | StencilBits | 8 |
07/02/2015 14:42:08,727 [2564] | TRACE | +-----------------------------------------+-----------------------------------------+
07/02/2015 14:42:08,811 [2564] | TRACE | > Returned format: 9
07/02/2015 14:42:08,811 [2564] | INFO | Redirecting 'wglSetPixelFormat(BE0119DC, 9, 0018F94C)' ...
07/02/2015 14:42:08,813 [2564] | INFO | Redirecting 'wglCreateContext(BE0119DC)' ...
07/02/2015 14:42:08,813 [2564] | WARN | > 'wglCreateContext' failed with error code 2000!
07/02/2015 14:42:08,872 [2564] | INFO | Exiting ...
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- BrokenGL
- Topic Author
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- BrokenGL
- Topic Author
Please Log in or Create an account to join the conversation.
- Jake53
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- Jake53
Please Log in or Create an account to join the conversation.
- crosire
I plan to have it fixed with 0.16.0.Jake53 wrote: Alright cool, what should I look for in future change logs that will indicate the solution is included?
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.