Forum Discussion

Re: Apex Legends not starting in DX12 mode

same here dx12 wont launch, i'm aware of the new -anticheat_settings=SettingsDX12.json launch parameter

from (\SteamLibrary\steamapps\common\Apex Legends\Crashpad\db\) i got this:

 

KEY_VALUES_STRING: 1

    Key  : AV.Dereference
    Value: NullPtr

    Key  : AV.Fault
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 2031

    Key  : Analysis.Elapsed.mSec
    Value: 87026

    Key  : Analysis.IO.Other.Mb
    Value: 5

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 49

    Key  : Analysis.Init.CPU.mSec
    Value: 952

    Key  : Analysis.Init.Elapsed.mSec
    Value: 132984

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 365

    Key  : Failure.Bucket
    Value: NULL_POINTER_READ_c0000005_r5apex_dx12.exe!Unknown

    Key  : Failure.Hash
    Value: {b74fd9eb-7c40-b27d-d8ea-5b99273e68eb}

    Key  : Timeline.Process.Start.DeltaSec
    Value: 22

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 1.0.0.0


FILE_IN_CAB:  b4d5d294-5fe4-4bf0-affe-014b86274bca.dmp

CONTEXT:  (.ecxr)rax=0000000000058160 rbx=0000023223aff080 rcx=0000000000000000
rdx=000000519288a8f0 rsi=0000023223aff088 rdi=0000000000000000
rip=00007ff757c8bc4f rsp=000000519288a800 rbp=000000519288a900
 r8=0000000000000000  r9=00000051928e33e0 r10=00000232633cae80
r11=00000051928e2950 r12=0000023223bd83c0 r13=00000051928e33e0
r14=0000023223aff080 r15=0000000000000000
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
r5apex_dx12!ffxGetCommandListDX12+0x135e0f:
00007ff7`57c8bc4f 498b07          mov     rax,qword ptr [r15] ds:00000000`00000000=????????????????
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)ExceptionAddress: 00007ff757c8bc4f (r5apex_dx12!ffxGetCommandListDX12+0x0000000000135e0f)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: 0000000000000000
Attempt to read from address 0000000000000000

PROCESS_NAME:  r5apex_dx12.exe

READ_ADDRESS:  0000000000000000 

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000000

EXCEPTION_PARAMETER2:  0000000000000000

STACK_TEXT:  
00000051`9288a800 00007ff7`57c82a5a     : 00000232`23bd83c0 00000051`928e33e0 00000051`928e33e0 00000051`928e33e0 : r5apex_dx12!ffxGetCommandListDX12+0x135e0f
00000051`928e29a0 00007ff7`57c8b99f     : 00000051`928e33e0 00000232`23aff088 00000000`00001000 00000000`00000000 : r5apex_dx12!ffxGetCommandListDX12+0x12cc1a
00000051`928e2a00 00007ff7`57e037f7     : 00000232`23c21800 00000051`928e33e0 00000232`00000001 00000000`00000000 : r5apex_dx12!ffxGetCommandListDX12+0x135b5f
00000051`928e2b50 00007ff7`5858e2a8     : 00000232`56662c78 00000232`00000004 00000000`ff000002 00000051`928ff450 : r5apex_dx12!ffxGetCommandListDX12+0x2ad9b7
00000051`928ff430 00007ff7`57e9a252     : 00007ff7`00000000 00000000`00000182 00007ff7`60d01940 00000232`56662c78 : r5apex_dx12!ffxGetCommandListDX12+0xa38468
00000051`928ff4a0 00007ff7`57e9a740     : 00000000`00000000 00000051`928ff6a0 00000000`ffffffff 00000000`00000000 : r5apex_dx12!ffxGetCommandListDX12+0x344412
00000051`928ff4d0 00007ff7`57e985d9     : 00000000`00000000 00000000`00000000 ffffffff`ffffffff ffffffff`ffffffff : r5apex_dx12!ffxGetCommandListDX12+0x344900
00000051`928ff5a0 00007ff7`57e9b0ff     : 00000000`00000000 00000000`00000000 ffffffff`ffffffff ffffffff`ffffffff : r5apex_dx12!ffxGetCommandListDX12+0x342799
00000051`928ff900 00007ff8`2a527374     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : r5apex_dx12!ffxGetCommandListDX12+0x3452bf
00000051`928ff980 00007ff8`2b1fcc91     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000051`928ff9b0 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21


SYMBOL_NAME:  r5apex_dx12+135e0f

MODULE_NAME: r5apex_dx12

IMAGE_NAME:  r5apex_dx12.exe

STACK_COMMAND:  ~17s; .ecxr ; kb

FAILURE_BUCKET_ID:  NULL_POINTER_READ_c0000005_r5apex_dx12.exe!Unknown

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  1.0.0.0

FAILURE_ID_HASH:  {b74fd9eb-7c40-b27d-d8ea-5b99273e68eb}

Followup:     MachineOwner

dx11 works just fine but in dx12 nothing happens after loading the anticheat

3 Replies

Replies have been turned off for this discussion
  • Umlauut's avatar
    Umlauut
    2 years ago

    I have the same problem with dx11 everything goes fine but when I try to use dx12 it doesn't work and just closes.

  • kxrxlxstxd's avatar
    kxrxlxstxd
    2 years ago

    I asked ChatGPT and it says this:

    Based on the analysis result you provided, here's a detailed breakdown of the crash:

    Summary of the Crash

    • Exception Code: c0000005 (Access Violation)
    • Exception Address: 00007ff757c8bc4f (Address within r5apex_dx12.exe)
    • Exception Description: The program attempted to read from a null pointer (address 0x0000000000000000).
    • Process Name: r5apex_dx12.exe (Likely related to Apex Legends running in DirectX 12 mode)

    Key Values:

    • Dereference: NullPtr (Indicates a null pointer dereference)
    • Fault: Read (The error occurred during a read operation)
    • Failure Bucket: NULL_POINTER_READ_c0000005_r5apex_dx12.exe!Unknown
    • Failure Hash: {b74fd9eb-7c40-b27d-d8ea-5b99273e68eb}

    Context:

    The provided register context shows the state of the CPU registers at the time of the crash. Specifically:

    • Instruction Pointer (RIP): 00007ff757c8bc4f
    • Attempt to read from address: 0000000000000000

    Stack Trace:

    The stack trace shows the function calls leading up to the crash:

    1. r5apex_dx12!ffxGetCommandListDX12+0x135e0f
    2. r5apex_dx12!ffxGetCommandListDX12+0x12cc1a
    3. r5apex_dx12!ffxGetCommandListDX12+0x135b5f
    4. r5apex_dx12!ffxGetCommandListDX12+0x2ad9b7
    5. r5apex_dx12!ffxGetCommandListDX12+0xa38468
    6. r5apex_dx12!ffxGetCommandListDX12+0x344412
    7. r5apex_dx12!ffxGetCommandListDX12+0x344900
    8. r5apex_dx12!ffxGetCommandListDX12+0x342799
    9. r5apex_dx12!ffxGetCommandListDX12+0x3452bf
    10. kernel32!BaseThreadInitThunk+0x14
    11. ntdll!RtlUserThreadStart+0x21

    Interpretation:

    The crash occurred due to a null pointer dereference in the r5apex_dx12.exe module, specifically in the function ffxGetCommandListDX12. This is a common type of error where the program attempts to access memory that hasn't been initialized or has been set to null.