Error in the RendDX9Draw.cpp file

If you find a bug within PR:BF2 (including PRSP), please report it here.
Post Reply
LoLiLo
Posts: 6
Joined: 2023-10-15 23:59

Error in the RendDX9Draw.cpp file

Post by LoLiLo »

When I start my game it crashes after sometime passes in a black screen, leading me to this message:

Erro

Debug assertion failed!

Version: 1.7.4.5
Module: RendDX9
File: C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\RendDX9\RendDX9Draw.cpp
Line: 200

Text: Present returned unknown error. An invalid parameter war passed to the returning function

Current file:


I played the game for 3 days after that I changed the Anti-Aliasing and now it's not working anymore
I don't know how to solve it :o ops:
Last edited by LoLiLo on 2023-10-16 00:13, edited 1 time in total.
Reason: Image did not work
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: Error in the RendDX9Draw.cpp file

Post by Mats391 »

Please post the support info. Also did you try to disable Anti-Aliasing again?
Image

Mineral: TIL that Wire-guided missiles actually use wire
LoLiLo
Posts: 6
Joined: 2023-10-15 23:59

Re: Error in the RendDX9Draw.cpp file

Post by LoLiLo »

I deactivated it and tried other numbers but did not worked, deleted the folder of PR and re-installed but nothing changed and tried installing DirectX 9 again.

Support Info:

Code: Select all

System Information
------------------
    Operating System: Microsoft Windows 10 Home Single Language (10.0.19045)
        Architecture: 64 bits
     Current Culture: Portuguese (Brazil)
         Motherboard: SAMSUNG ELECTRONICS CO., LTD. NP730QED-KS2BR
           Processor: 12th Gen Intel(R) Core(TM) i7-1255U (Physical: 10, Logical: 12)
              Memory: 16,00 GB
        DIMM Modules: Controller0-ChannelA: 2,00 GB @ 4267 MHz
                      Controller0-ChannelB: 2,00 GB @ 4267 MHz
                      Controller0-ChannelC: 2,00 GB @ 4267 MHz
                      Controller0-ChannelD: 2,00 GB @ 4267 MHz
                      Controller1-ChannelA: 2,00 GB @ 4267 MHz
                      Controller1-ChannelB: 2,00 GB @ 4267 MHz
                      Controller1-ChannelC: 2,00 GB @ 4267 MHz
                      Controller1-ChannelD: 2,00 GB @ 4267 MHz
           Page File: 3,11 GB
      .NET Framework: 4.6+ Release Build: 533325, Runtime: 4.0.30319.42000

Display Information
-------------------
   Display Device(s): Generic PnP Monitor on Intel(R) Iris(R) Xe Graphics
     Display Mode(s): 1920 x 1080 (32 bit) @ 60 Hz
      Driver Version: 31.0.101.4648
      Display Memory: 1024,00 MB
       Multisampling: 2, 4, 8
                 DPI: 144 (150%)

Audio Information
-----------------
    Primary Playback: Microsoft Sound Mapper
   Primary Recording: Grupo de microfones (Tecnologia
    Open AL Renderer: Software
                 EAX: True
             EAX 1.0: False
             EAX 2.0: True
             EAX 3.0: False
             EAX 4.0: False
             EAX 5.0: False
               X-RAM: False

Disk Information
----------------
        Install Path: C:\Program Files (x86)\Project Reality\Project Reality BF2
                      Free: 56,62 GB, Total: 458,67 GB, FS: NTFS, SSD: True
            Mod Path: C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr
                      Free: 56,62 GB, Total: 458,67 GB, FS: NTFS, SSD: True
       Profiles Path: C:\Users\Murilo\Documents\ProjectReality\Profiles
                      Free: 56,62 GB, Total: 458,67 GB, FS: NTFS, SSD: True
      Update DL Path: C:\Users\Murilo\AppData\Local\Project Reality\Project Reality BF2\Downloads
                      Free: 56,62 GB, Total: 458,67 GB, FS: NTFS, SSD: True
     Update Log Path: C:\Users\Murilo\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                      Free: 56,62 GB, Total: 458,67 GB, FS: NTFS, SSD: True

Game Information
----------------
      Installed Mods: pr
         Current Mod: pr
             Version: Standalone - 1.0
          PR Version: 1.7.4.5
            Language: english
     Debug Available: False
       Large Address: True
  Supported Hardware: None
Missing dependencies: None
Ignored dependencies: None

Profile Information
-------------------
        Profile 0001: LoLiLo
                Type: Online
   Last Used Profile: True
          View Intro: False
          Fullscreen: True
        Display Mode: 1920x1080@60Hz
  Display Mode Valid: True
     Graphics Scheme: Custom
       Multisampling: 4x
               VSync: False
     Terrain Quality: Low
     Effects Quality: High
    Geometry Quality: Low
     Texture Quality: Medium
    Lighting Quality: Low
     Dynamic Shadows: Low
      Dynamic Lights: Low
   Texture Filtering: Medium
   Statics Lod-Scale: 2,0
Overgrowth Lod-Scale: 2,0
Use advanced shaders: False
      Audio Provider: Software
      Provider Valid: True
       Audio Quality: High
                 EAX: True
PRLauncher.log
-------------------
Project Reality Log File
PRLauncher.exe started at: 2023-10-15T21:30:59

Warning: Error keep alive request returned NULL
Error: Debug assertion failed!

Version: 1.7.4.5
Module: RendDX9
File: C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\RendDX9\RendDX9Draw.cpp
Line: 200

Text: Present returned unknown error.  An invalid parameter was passed to the returning function

Current confile:

Warning: Failed keep alive: 1010: No session found

PvtNewb
Support Technician
Posts: 131
Joined: 2018-04-26 23:50

Re: Error in the RendDX9Draw.cpp file

Post by PvtNewb »

Hmm I see that your driver is pretty old, install the latest driver from here https://www.intel.com/content/www/us/en/download/785597/intel-arc-iris-xe-graphics-windows.html, the newest driver for Xe graphics are version 4887, and you're right now on 4648, so, please update.
Image
LoLiLo
Posts: 6
Joined: 2023-10-15 23:59

Re: Error in the RendDX9Draw.cpp file

Post by LoLiLo »

I've ubpdated it but still nothing, this really strange beacuse I played the game for some days and just stopped working. I changed some other configurations to solve itbut did not worked.

Here is the Support Info:

Code: Select all

System Information
------------------
    Operating System: Microsoft Windows 10 Home Single Language (10.0.19045)
        Architecture: 64 bits
     Current Culture: Portuguese (Brazil)
         Motherboard: SAMSUNG ELECTRONICS CO., LTD. NP730QED-KS2BR
           Processor: 12th Gen Intel(R) Core(TM) i7-1255U (Physical: 10, Logical: 12)
              Memory: 16,00 GB
        DIMM Modules: Controller0-ChannelA: 2,00 GB @ 4267 MHz
                      Controller0-ChannelB: 2,00 GB @ 4267 MHz
                      Controller0-ChannelC: 2,00 GB @ 4267 MHz
                      Controller0-ChannelD: 2,00 GB @ 4267 MHz
                      Controller1-ChannelA: 2,00 GB @ 4267 MHz
                      Controller1-ChannelB: 2,00 GB @ 4267 MHz
                      Controller1-ChannelC: 2,00 GB @ 4267 MHz
                      Controller1-ChannelD: 2,00 GB @ 4267 MHz
           Page File: 2,38 GB
      .NET Framework: 4.6+ Release Build: 533325, Runtime: 4.0.30319.42000

Display Information
-------------------
   Display Device(s): Generic PnP Monitor on Intel(R) Iris(R) Xe Graphics
     Display Mode(s): 1920 x 1080 (32 bit) @ 60 Hz
      Driver Version: 31.0.101.4887
      Display Memory: 1024,00 MB
       Multisampling: 2, 4, 8
                 DPI: 144 (150%)

Audio Information
-----------------
    Primary Playback: Microsoft Sound Mapper
   Primary Recording: Grupo de microfones (Tecnologia
    Open AL Renderer: Software
                 EAX: True
             EAX 1.0: False
             EAX 2.0: True
             EAX 3.0: False
             EAX 4.0: False
             EAX 5.0: False
               X-RAM: False

Disk Information
----------------
        Install Path: C:\Program Files (x86)\Project Reality\Project Reality BF2
                      Free: 52,99 GB, Total: 458,67 GB, FS: NTFS, SSD: True
            Mod Path: C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr
                      Free: 52,99 GB, Total: 458,67 GB, FS: NTFS, SSD: True
       Profiles Path: C:\Users\Murilo\Documents\ProjectReality\Profiles
                      Free: 52,99 GB, Total: 458,67 GB, FS: NTFS, SSD: True
      Update DL Path: C:\Users\Murilo\AppData\Local\Project Reality\Project Reality BF2\Downloads
                      Free: 52,99 GB, Total: 458,67 GB, FS: NTFS, SSD: True
     Update Log Path: C:\Users\Murilo\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                      Free: 52,99 GB, Total: 458,67 GB, FS: NTFS, SSD: True

Game Information
----------------
      Installed Mods: pr
         Current Mod: pr
             Version: Standalone - 1.0
          PR Version: 1.7.4.5
            Language: english
     Debug Available: False
       Large Address: True
  Supported Hardware: None
Missing dependencies: None
Ignored dependencies: None

Profile Information
-------------------
        Profile 0001: LoLiLo
                Type: Online
   Last Used Profile: True
          View Intro: True
          Fullscreen: True
        Display Mode: 1920x1080@60Hz
  Display Mode Valid: True
     Graphics Scheme: Custom
       Multisampling: 4x
               VSync: False
     Terrain Quality: Low
     Effects Quality: High
    Geometry Quality: Low
     Texture Quality: Medium
    Lighting Quality: Low
     Dynamic Shadows: Low
      Dynamic Lights: Low
   Texture Filtering: Medium
   Statics Lod-Scale: 1,5
Overgrowth Lod-Scale: 1,5
Use advanced shaders: False
      Audio Provider: Hardware
      Provider Valid: True
       Audio Quality: Low
                 EAX: True
PRLauncher.log
-------------------
Project Reality Log File
PRLauncher.exe started at: 2023-10-16T22:56:05

Error: Debug assertion failed!

Version: 1.7.4.5
Module: RendDX9
File: C:\dice\Projects\BF2Branches\Patch_1_50\Code\BF2\RendDX9\RendDX9Draw.cpp
Line: 200

Text: Present returned unknown error.  An invalid parameter was passed to the returning function

Current confile:


NicolasZ
Posts: 9
Joined: 2021-08-11 04:17

Re: Error in the RendDX9Draw.cpp file

Post by NicolasZ »

I have the same situation and I can only run it in windowed mode.
LoLiLo
Posts: 6
Joined: 2023-10-15 23:59

Re: Error in the RendDX9Draw.cpp file

Post by LoLiLo »

NicolasZ wrote:I have the same situation and I can only run it in windowed mode.
I tried in other resolutions too, fullscreen or windowned mode, I really dont know what is happening
NicolasZ
Posts: 9
Joined: 2021-08-11 04:17

Re: Error in the RendDX9Draw.cpp file

Post by NicolasZ »

Hope the devs could fix this bug soon,really love this game :razz:
Post Reply

Return to “PR:BF2 Bugs”