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

ReactOS BSOD 0xB4 after nvidia riva 128 xp driver installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Drivers: Other

    Description

      I'm testing the following self compiled msvc build:

      https://github.com/reactos/reactos/commit/e7354f244ca12abfd37c67bfacfffea586751749

      with a STB Velocity 128zx AGP video card.

      after installing the nvidia riva 128 drivers bundled with windows xp and rebooting ReactOS gets a BSOD:

      (ntoskrnl\mm\ARM3\sysldr.c:170) Loading: \SystemRoot\System32\nv3.dll at F5538000 with 1f pages
      WARNING:  getMacAddress at base\services\dcomlaunch\network.c:32 is UNIMPLEMENTED!
      (base\services\dcomlaunch\network.c:136) Failed finding a proper MAC address, will generate seed
      (ntoskrnl\mm\ARM3\sysldr.c:2592) ImageBase 0xF5538000 ImageSize 0x1e380 Section 6 VA 0x1df00 Raw 0x480 virt 0x44c
      WARNING:  LDEVOBJ_bUnloadImage at win32ss\gdi\eng\ldevobj.c:290 is UNIMPLEMENTED!
      (ntoskrnl\ke\bug.c:280) RealFrameCount =10
      <nv3.sys: 00006E36>
      <nv3.sys: 00004BC6>(base\system\services\services.c:185) ScmLogEvent: RegisterEventSourceW failed 1722<nv3.sys: 000051C3>
      <VIDEOPRT.SYS: 00006277>
      <VIDEOPRT.SYS: 0000487C>
      <ntoskrnl.exe: 00088BB7>
      <win32k.sys: 00011414>
      <nv3.dll: 000138B8>
      <nv3.dll: 0000839C>
      <nv3.dll: 0000CD7B>
      <user32.dll: 0005B4DC>
      <user32.dll: 00057F9B>
      <user32.dll: 0005B04A>
      <msgina.dll: 000049C7>
      <kernel32.dll: 0002871D>
      (ntoskrnl\mm\ARM3\virtual.c:5774) MM:MmGetPhysicalAddressFailed base address was E160C000
      (win32ss\gdi\eng\surface.c:164) Overflow calculating size: cjWidth 195948556, cy 2158
      (win32ss\gdi\eng\surface.c:328) SURFACE_AllocSurface failed. (STYPE_BITMAP, sizl.cx=1920, sizl.cy=2158, iFormat=4, fl=1, lWidth=195948557, pvBits=0x0BADF00D)
      (win32ss\gdi\eng\surface.c:575) Could not reference surface 00000000 to delete
      (win32ss\gdi\eng\pdevobj.c:325) err: Failed to create PDEV surface!
      (win32ss\gdi\eng\pdevobj.c:601) err: Failed to create surface
      WARNING:  LDEVOBJ_bUnloadImage at win32ss\gdi\eng\ldevobj.c:290 is UNIMPLEMENTED!
      (win32ss\gdi\eng\pdevobj.c:942) err: Failed to create new MDEV
      (win32ss\user\ntuser\winsta.c:270) err: PDEVOBJ_lChangeDisplaySettings() failed.*** Fatal System Error: 0x000000b4
                             (0x00000000,0x00000000,0x00000000,0x00050000) 

      I also have a full debug log:

      nvidia_riva_128_badf00d.txt

      Simone does have a fix for this problem and applying it gets as far as setting the initial video mode and displaying the desktop version number.

      win32ss\gdi\eng\surface.c: line 146
      if (pvBits && cjWidth)
      to
      if (pvBits && cjWidth && cjWidth != 0xbadf00d) 

      the next bug encountered has to do with hardware cursor support in ReactOS:

      nvidia_riva_128_surface.txt

      This problem can also be worked around by forcing the use of a software cursor. I did try using the registry work around first but it failed to fix the problem.

      applying another fix by Simone resolves this and boots to desktop:

      win32ss/gdi/eng/mouse.c: line 635
      if (pfnSetPointerShape)
      to
      if (pfnSetPointerShape && FALSE)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Zombiedeth Zombiedeth
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: