Previous Thread
Next Thread
Print Thread
Page 3 of 3 1 2 3
Re: A regression on HP IPC? [Re: fulivi] #116266 10/23/19 06:34 PM
Joined: May 2009
Posts: 1,820
J
Just Desserts Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,820
No, the fact that the following is commented out in drawbgfx.cpp should indicate as much:

Code
//		else if (backend == "dx12" || backend == "d3d12")
//		{
//			init.type = bgfx::RendererType::Direct3D12;
//		}

Re: A regression on HP IPC? [Re: fulivi] #116267 10/23/19 06:42 PM
Joined: May 2009
Posts: 1,820
J
Just Desserts Offline
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 1,820
I've just pushed a change which uncomments those lines. The crash which originally occurred on exit on Win7 no longer occurs, so it seems perfectly alright now.

Re: A regression on HP IPC? [Re: fulivi] #116268 10/23/19 06:55 PM
Joined: Mar 2004
Posts: 648
belegdol Online Content
Senior Member
Online Content
Senior Member
Joined: Mar 2004
Posts: 648
It is me who put the commented section in - the idea was that if somebody wants to debug dx12 they just need to uncomment it. It does still crash on exit on Windows 10:
Code
PS C:\Users\beleg\source\repos\belegdol\mame> .\mame64.exe -rompath \\ODROIDXU4\julian\emu\mame\roms -window -nounevenstretch -video bgfx -bgfx_debug -bgfx_screen_chains hlsl -bgfx_backend dx12 invqix
-----------------------------------------------------
Exception at EIP=00007ffb157638f0 (register_frame_ctor+0x13595af0): ACCESS VIOLATION
While attempting to read memory at 0000000000000018
-----------------------------------------------------
RAX=0000000000000000 RBX=000000005172dce0 RCX=000000005172dbd8 RDX=0000000059405c40
RSI=0000000000000001 RDI=0000000059405c40 RBP=000000005172dc39 RSP=000000005172dba0
 R8=000000005949a780  R9=000000005172dcd0 R10=0000000059405c40 R11=0000000058f3f901
R12=0000000000000000 R13=0000000000000000 R14=0000000058f03cc0 R15=0000000007811cd4
-----------------------------------------------------
Stack crawl:
  000000005172dc90: 00007ffb157638f0 (OpenAdapter12+0x1448e0)
  000000005172e5a0: 00007ffb158e1b68 (OpenAdapter12+0x2c2b58)
  000000005172e5d0: 00007ffb1639f31e (NVAPI_Thunk+0x3d34ce)
  000000005172e650: 00007ffb1639c235 (NVAPI_Thunk+0x3d03e5)
  000000005172ef10: 00007ffb1639d107 (NVAPI_Thunk+0x3d12b7)
  000000005172ef50: 00007ffb1588823f (OpenAdapter12+0x26922f)
  000000005172eff0: 00007ffb355b1f04 (D3D12PIXReportCounter+0xc5cd4)
  000000005172f070: 0000000001e3a180 (bgfx::d3d12::RendererContextD3D12::clear(bgfx::Clear const&, float const (*) [4], tagRECT const*, unsigned int)+0x00c0)
  000000005172fea0: 0000000000d9f06a (bgfx::d3d12::RendererContextD3D12::submit(bgfx::Frame*, bgfx::ClearQuad&, bgfx::TextVideoMemBlitter&)+0x11ea)
  000000005172fee0: 0000000001e3dbbb (bgfx::Context::renderThread(bx::Thread*, void*)+0x010b)
  000000005172ff20: 0000000000e222b5 (bx::ThreadInternal::threadFunc(void*)+0x0035)
  000000005172ff50: 00007ffb53437bd4 (BaseThreadInitThunk+0x0014)
  000000005172ffd0: 00007ffb5524ced1 (RtlUserThreadStart+0x0021)
PS C:\Users\beleg\source\repos\belegdol\mame>

Last edited by belegdol; 10/23/19 06:55 PM.
Page 3 of 3 1 2 3

Who's Online Now
3 registered members (Pernod, Praxis, AJR), 150 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,712
Posts114,515
Members4,869
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3