Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-4360

Opengl32 fails to call DrvDescribePixelFormat in opengl ICD of XP video driver

    XMLWordPrintable

    Details

      Description

      Tested in rev. 42075, on real hardware. To replicate, you need a 3d accelerator or video card supporting opengl acceleration. You also need to install native XP video driver that supplies OpenGL ICD, and set this ICD as default opengl driver in registry.

      Then you just need to run any opengl app, for example CM090GL.exe from CrystalMark 2004.

      The bug appears in a failed call to ICD`s DrvDescribePixelFormat function:

      (drivers\storage\scsiport\scsiport.c:2834) unknown ioctl code: 0x4D0008
      (drivers\storage\scsiport\scsiport.c:2834) unknown ioctl code: 0x4D0008
      (dll\ntdll\ldr\utils.c:2242) Relocating (6b3a0000 -> 00431000) C:\ReactOS\system32\secur32.dll
      (dll\ntdll\ldr\utils.c:2242) Relocating (6b370000 -> 00660000) C:\ReactOS\system32\GLU32.dll
      (dll\win32\opengl32\opengl32.c:190) OpenGL32.DLL: DllMain: Info: Called!
      (dll\win32\opengl32\opengl32.c:197) OpenGL32.DLL: DllMain: Process attach
      (dll\win32\opengl32\opengl32.c:204) OpenGL32.DLL: DllMain: Thread attach
      (dll\win32\opengl32\opengl32.c:190) OpenGL32.DLL: DllMain: Info: Called!
      (dll\win32\opengl32\opengl32.c:204) OpenGL32.DLL: DllMain: Thread attach
      (dll\win32\opengl32\wgl.c:526) OpenGL32.DLL: rosglChoosePixelFormat: Called!
      (dll\win32\opengl32\opengl32.c:292) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Loading driver G400...
      (dll\win32\opengl32\opengl32.c:626) OpenGL32.DLL: OPENGL32_RegGetDriverInfo: Warning: Couldn't query Version value or not a DWORD
      (dll\win32\opengl32\opengl32.c:632) OpenGL32.DLL: OPENGL32_RegGetDriverInfo: Warning: Couldn't query DriverVersion value or not a DWORD
      (dll\win32\opengl32\opengl32.c:637) OpenGL32.DLL: OPENGL32_RegGetDriverInfo: Warning: Couldn't query Flags value or not a DWORD
      (dll\win32\opengl32\opengl32.c:314) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Dll = G400icd.dll
      (dll\win32\opengl32\opengl32.c:315) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Version = 0x00000001
      (dll\win32\opengl32\opengl32.c:316) OpenGL32.DLL: OPENGL32_LoadDriver: Info: DriverVersion = 0x00000000
      (dll\win32\opengl32\opengl32.c:317) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Flags = 0x00000000
      (dll\ntdll\ldr\utils.c:2242) Relocating (10000000 -> 01458000) C:\ReactOS\System32\DDRAW.dll
      (dll\ntdll\ldr\utils.c:2242) Relocating (10000000 -> 01497000) C:\ReactOS\System32\wined3d.dll
      (dll\win32\opengl32\wgl.c:526) OpenGL32.DLL: rosglChoosePixelFormat: Called!
      (dll\win32\opengl32\opengl32.c:292) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Loading driver G400...
      (dll\win32\opengl32\opengl32.c:626) OpenGL32.DLL: OPENGL32_RegGetDriverInfo: Warning: Couldn't query Version value or not a DWORD
      (dll\win32\opengl32\opengl32.c:632) OpenGL32.DLL: OPENGL32_RegGetDriverInfo: Warning: Couldn't query DriverVersion value or not a DWORD
      (dll\win32\opengl32\opengl32.c:637) OpenGL32.DLL: OPENGL32_RegGetDriverInfo: Warning: Couldn't query Flags value or not a DWORD
      (dll\win32\opengl32\opengl32.c:314) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Dll = G400icd.dll
      (dll\win32\opengl32\opengl32.c:315) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Version = 0x00000001
      (dll\win32\opengl32\opengl32.c:316) OpenGL32.DLL: OPENGL32_LoadDriver: Info: DriverVersion = 0x00000000
      (dll\win32\opengl32\opengl32.c:317) OpenGL32.DLL: OPENGL32_LoadDriver: Info: Flags = 0x00000000
      (dll\win32\opengl32\opengl32.c:332) OpenGL32.DLL: OPENGL32_LoadDriver: Info: ICD loaded.
      (dll\win32\opengl32\wgl.c:541) 0101006B 00000028 0055E768
      (dll\win32\opengl32\wgl.c:542) 690C76D0
      Entered debugger on embedded INT3 at 0x001b:0x7c9065aa.cont
      (dll\win32\opengl32\wgl.c:551) OpenGL32.DLL: rosglChoosePixelFormat: Error: DrvDescribePixelFormat failed (87)
      err:(dll\directx\wine\wined3d\directx.c:294) Can't find a suitable iPixelFormat
      err:(dll\directx\wine\wined3d\directx.c:4465) Failed to get a gl context for default adapter
      (subsystems\win32\win32k\objects\gdiobj.c:951) Attempted to lock object 0x0 of wrong type (Handle: 0x0, requested: 0x80000)
      (dll\win32\opengl32\opengl32.c:332) OpenGL32.DLL: OPENGL32_LoadDriver: Info: ICD loaded.
      (dll\win32\opengl32\wgl.c:541) 4A0101B7 00000028 0055FC9C
      (dll\win32\opengl32\wgl.c:542) 690C76D0
      Entered debugger on embedded INT3 at 0x001b:0x7c9065aa.
      kdb:> cont
      (dll\win32\opengl32\wgl.c:551) OpenGL32.DLL: rosglChoosePixelFormat: Error: DrvDescribePixelFormat failed (87)
      Unfreed memory blocks: 0
      (lib\rtl\heap.c:1007) Heap 00560000: invalid in-use arena magic for 00562EA8
      (dll\win32\opengl32\opengl32.c:190) OpenGL32.DLL: DllMain: Info: Called!
      (dll\win32\opengl32\opengl32.c:218) OpenGL32.DLL: DllMain: Process detach
      (dll\win32\opengl32\wgl.c:978) OpenGL32.DLL: rosglMakeCurrent: Called!
      (dll\win32\opengl32\wgl.c:446) OpenGL32.DLL: ROSGL_SetContextCallBack: Called!
      (dll\win32\opengl32\wgl.c:460) OpenGL32.DLL: ROSGL_SetContextCallBack: Unsetting current context
      (dll\win32\opengl32\wgl.c:482) OpenGL32.DLL: ROSGL_SetContextCallBack: Done.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zefklop zefklop
                Reporter:
                haos Haos
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: