mamedev / mame

MAME
https://www.mamedev.org/
Other
7.78k stars 1.96k forks source link

Issues recording rendered video #7067

Open belegdol opened 3 years ago

belegdol commented 3 years ago

I have tried recording rendered video (with shift-alt-f12) with b9833903560 under Windows. It unfortunately does not appear to work. With bgfx opengl, dx11 a and dx12 backends black avi with nothing in it is recorded. With vulkan, mame window stops responding in addition (but a black video is rendered nonetheless). I built using the following parameters:

make SOURCES=src/mame/drivers/mitwunit.cpp,src/mame/drivers/naomi.cpp SYMBOLS=1 VERBOSE=1 -j12

and tested using the following ones:

mame64.exe -rompath foo -window -video bgfx -bgfx_screen_chains hlsl -bgfx_backend backend umk3

With d3d backed nothing happens when shift-alt-f12 is pressed but I am assuming this is expected.

angelosa commented 3 years ago

Cannot repro with 0.228, umk3 and dx12, haven't tried with SYMBOLS build.

belegdol commented 3 years ago

With current git I actually cannot build with SYMBOLS=1 due to relocation overflows. Having said that, I can still reproduce it with a no-symbols build. With the following parameters:

 .\mame64.exe -rompath foo -window -nounevenstretch -video bgfx -bgfx_backend dx12 -bgfx_screen_chains hlsl umk3

I uploaded the allegedly empty video to my dropbox: https://www.dropbox.com/s/rksz9m9qdlnk7fr/0004.avi?dl=0

happppp commented 3 years ago

I can repro it (both on vanilla MAME 0.228, and my local build)

cuavas commented 1 year ago

Can someone retest this with 6ff51387fa39a3a1b2a178b16ffcd687445dae83 or later to see if it’s still a thing?

happppp commented 1 year ago

No change. rendered screenshot: no file is created rendered video: large file, but it's empty (aka black)