Debug assertion failed Line 200

Post Reply
iDunno
Posts: 27
Joined: 2016-02-21 20:16

Debug assertion failed Line 200

Post by iDunno »

I installed the game again after a long time and i get this debug assertion




Module: RenDX9
File:c/dice/Projects/BF2Branches/Patch_1_50/code/BF2/RenDX9
/RenDX9Draw.cpp
Line:200
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2176
Joined: 2016-10-12 13:25
Location: Poland

Re: Debug assertion failed Line 200

Post by Suchar »

This crash may be caused by a few things but missing DX9 components is not one of them.

Go to PRLauncher and click Support. Wait for the launcher to load all required information (it may take up to a few seconds), then once the Launcher finishes loading data, the `Copy To Clipboard` button will become clickable. Click it,then paste the content here and post it.
Image
iDunno
Posts: 27
Joined: 2016-02-21 20:16

Re: Debug assertion failed Line 200

Post by iDunno »

Suchar wrote:This crash may be caused by a few things but missing DX9 components is not one of them.

Go to PRLauncher and click Support. Wait for the launcher to load all required information (it may take up to a few seconds), then once the Launcher finishes loading data, the `Copy To Clipboard` button will become clickable. Click it,then paste the content here and post it.



Code: Select all

System Information
------------------
    Operating System: Microsoft Windows 11 Home (10.0.22621)
        Architecture: 64-bittinen
     Current Culture: Finnish (Finland)
         Motherboard: ASUSTeK COMPUTER INC. PRIME Z690-P D4
           Processor: 12th Gen Intel(R) Core(TM) i7-12700K (Physical: 12, Logical: 20)
              Memory: 16,00 GB
        DIMM Modules: Controller0-ChannelA-DIMM1: 8,00 GB @ 2400 MHz
                      Controller1-ChannelA-DIMM1: 8,00 GB @ 2400 MHz
           Page File: 1,94 GB
      .NET Framework: 4.6+ Release Build: 533320, Runtime: 4.0.30319.42000

Display Information
-------------------
   Display Device(s): Generic PnP Monitor on Intel(R) UHD Graphics 770
     Display Mode(s): 2560 x 1440 (32 bit) @ 144 Hz
      Driver Version: 31.0.101.3302
      Display Memory: 1024,00 MB
       Multisampling: 2, 4, 8
                 DPI: 96 (100%)

Audio Information
-----------------
    Primary Playback: Microsoft Sound Mapper
   Primary Recording: Mikrofoni (HyperX Cloud Revolve
    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: D:\Project reality
                      Free: 393,60 GB, Total: 931,51 GB, FS: NTFS, SSD: True
            Mod Path: D:\Project reality\mods\pr
                      Free: 393,60 GB, Total: 931,51 GB, FS: NTFS, SSD: True
       Profiles Path: C:\Users\samih\Documents\ProjectReality\Profiles
                      Free: 375,94 GB, Total: 464,53 GB, FS: NTFS, SSD: True
      Update DL Path: C:\Users\samih\AppData\Local\Project Reality\Project Reality BF2\Downloads
                      Free: 375,94 GB, Total: 464,53 GB, FS: NTFS, SSD: True
     Update Log Path: C:\Users\samih\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs
                      Free: 375,94 GB, Total: 464,53 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: iDunnon
                Type: Online
   Last Used Profile: True
          View Intro: True
          Fullscreen: True
        Display Mode: 2560x1440@144Hz
  Display Mode Valid: True
     Graphics Scheme: Medium
       Multisampling: Off
               VSync: False
     Terrain Quality: Low
     Effects Quality: High
    Geometry Quality: Low
     Texture Quality: Medium
    Lighting Quality: Low
     Dynamic Shadows: Medium
      Dynamic Lights: Medium
   Texture Filtering: Medium
   Statics Lod-Scale: 1,0
Overgrowth Lod-Scale: 1,0
Use advanced shaders: True
      Audio Provider: Hardware
      Provider Valid: True
       Audio Quality: High
                 EAX: True

        Profile 0002: Pagevan
                Type: Online
          View Intro: True
          Fullscreen: True
        Display Mode: 2560x1440@144Hz
  Display Mode Valid: True
     Graphics Scheme: Medium
       Multisampling: 8x
               VSync: False
     Terrain Quality: Low
     Effects Quality: High
    Geometry Quality: Low
     Texture Quality: Medium
    Lighting Quality: Low
     Dynamic Shadows: Medium
      Dynamic Lights: Medium
   Texture Filtering: Medium
   Statics Lod-Scale: 1,0
Overgrowth Lod-Scale: 1,0
Use advanced shaders: True
      Audio Provider: Hardware
      Provider Valid: True
       Audio Quality: Medium
                 EAX: True
PRLauncher.log
-------------------
Project Reality Log File
PRLauncher.exe started at: 2023-07-10T12:44:51

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:


iDunno
Posts: 27
Joined: 2016-02-21 20:16

Re: Debug assertion failed Line 200

Post by iDunno »

i tried messing around with graphics settings because, first time i launched it i got into the menu but i closed the game and changed some graphic settings and after that it started displaying that debug assertion line
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2176
Joined: 2016-10-12 13:25
Location: Poland

Re: Debug assertion failed Line 200

Post by Suchar »

Do you have a dedicated GPU? Support info only shows Intel(R) UHD Graphics 770. If you have a dedicated one, you need to set power management to high performance in windows settings.
Image
iDunno
Posts: 27
Joined: 2016-02-21 20:16

Re: Debug assertion failed Line 200

Post by iDunno »

Suchar wrote:Do you have a dedicated GPU? Support info only shows Intel(R) UHD Graphics 770. If you have a dedicated one, you need to set power management to high performance in windows settings.
yeh i have RTX 3080, you really think the problem is windows related ? like switching to high performance
iDunno
Posts: 27
Joined: 2016-02-21 20:16

Re: Debug assertion failed Line 200

Post by iDunno »

SemlerPDX wrote:You're missing DX9 components.

Follow instructions in this thread:
https://www.realitymod.com/forum/showthread.php?t=152140
what made you think am missing some DX9 components?
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2176
Joined: 2016-10-12 13:25
Location: Poland

Re: Debug assertion failed Line 200

Post by Suchar »

iDunno wrote:yeh i have RTX 3080, you really think the problem is windows related ? like switching to high performance
Yes


1234567
Image
iDunno
Posts: 27
Joined: 2016-02-21 20:16

Re: Debug assertion failed Line 200

Post by iDunno »

Suchar wrote:Yes


1234567
i tried it didnt fix it, still the same debug window comes up
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2176
Joined: 2016-10-12 13:25
Location: Poland

Re: Debug assertion failed Line 200

Post by Suchar »

Show a screenshot of your settings
Image
iDunno
Posts: 27
Joined: 2016-02-21 20:16

Re: Debug assertion failed Line 200

Post by iDunno »

https://imgur.com/a/sPcPgo2 here is link to it i cant get screenshot working here, i have arrow pointing at the "high performance setting"
PvtNewb
Support Technician
Posts: 131
Joined: 2018-04-26 23:50

Re: Debug assertion failed Line 200

Post by PvtNewb »

iDunno wrote:https://imgur.com/a/sPcPgo2 here is link to it i cant get screenshot working here, i have arrow pointing at the "high performance setting"
Not the high performance powerplan, Suchar meant setting the game executable to use the high performance GPU inside the Graphics Settings menu on windows settings
Image

Also consider updating your GPU drivers, including your intel iGPU as well.
Last edited by PvtNewb on 2023-07-11 23:09, edited 2 times in total.
Reason: Clarity
Image
iDunno
Posts: 27
Joined: 2016-02-21 20:16

Re: Debug assertion failed Line 200

Post by iDunno »

PvtNewb wrote:Not the high performance powerplan, Suchar meant setting the game executable to use the high performance GPU inside the Graphics Settings menu on windows settings
Image

Also consider updating your GPU drivers, including your intel iGPU as well.
Oh wow dumb mistake by me, its my first time i have to change that setting for any game. It fixed the issue and the game works fine now thank you!
PvtNewb
Support Technician
Posts: 131
Joined: 2018-04-26 23:50

Re: Debug assertion failed Line 200

Post by PvtNewb »

iDunno wrote:Oh wow dumb mistake by me, its my first time i have to change that setting for any game. It fixed the issue and the game works fine now thank you!
No prob and enjoy the game 8-)
Image
Post Reply

Return to “General Technical Support”