Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08646 Interface Minor Always May 29, 2023, 12:10 May 30, 2023, 11:38
Tester ICEknight View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10/11 (64-bit)
Status [?] Confirmed Driver
Version 0.254 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 08646: UI: BGFX: "None" bgfx screen chain returns to default value when switching to/from fullscreen
Description While the current chain is normally kept when going fullscreen, this won't be the case if it's set as "None", which will revert to the default chain specified in mame.ini.
Steps To Reproduce -When using bgfx, move the "Window 0, Screen 0 Effect" all the way to the left, to "None".
-Press Alt+Enter. The value won't be "None" anymore and the screen will reflect the new chain.
Additional Information Might be somewhat related to issue 8636.
Github Commit
Flags
Regression Version
Affected Sets / Systems UI
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.21472
Robbbert
Senior Tester
May 30, 2023, 11:38
I started with this, but when I switched to full screen it crashed, probably due to MT8645. Not only that, the initial effect was hq3x which seems to have come out of thin air (my default is Unfiltered). After the crash, selecting the slider produced the correct Unfiltered without having to do anything.

So, after selecting None, you must press esc to get rid of the slider menu to stop the above crash. Now, pressing Alt-enter goes to full screen, and the slider has moved to Unfiltered by itself.

After a while, I tried all this again, and hq3x reappeared by itself as the initial value.

C:\MAME>mame pacman -video bgfx

-----------------------------------------------------
Exception at EIP=00007ff685c2288c (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x001c): ACCESS VIOLATION
While attempting to read memory at 0000001517d594c8
-----------------------------------------------------
RAX=000001fb9aaab45c RBX=0000007a516f93b0 RCX=0000007a516f93b0 RDX=0000001517d594c0
RSI=0000001517d594c0 RDI=0000007a516f93c0 RBP=0000007a516f93c0 RSP=0000007a516f9240
 R8=0000007a516f93b0 R9=0000000012345678 R10=00007ff68e59e990 R11=0000000000000000
R12=0000007a516f93c0 R13=0000007a516f95a0 R14=0000007a516f93b0 R15=0000007a516f9f40
-----------------------------------------------------
Stack crawl:
  0000007a516f9290: 00007ff685c2288c (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x001c)
  0000007a516f9310: 00007ff68e59e9d2 (luaopen_lfs+0x199e12)
  0000007a516f9490: 00007ff68e416c17 (luaopen_lfs+0x12057)
  0000007a516f9740: 00007ff68e40d6b2 (luaopen_lfs+0x8af2)
  0000007a516f97e0: 00007ff68e4102cb (luaopen_lfs+0xb70b)
  0000007a516f9910: 00007ff68e411acd (luaopen_lfs+0xcf0d)
  0000007a516f9970: 00007ff68e411ee4 (luaopen_lfs+0xd324)
  0000007a516f9a90: 00007ff68d3b1a19 (mame_ui_manager::update_and_render(render_container&)+0x0189)
  0000007a516f9b20: 00007ff68950272e (video_manager::frame_update(bool)+0x021e)
  0000007a516f9b90: 00007ff685dbdcc3 (screen_device::vblank_begin(int)+0x0233)
  0000007a516f9c00: 00007ff685dd65fb (device_scheduler::timeslice()+0x014b)
  0000007a516f9d80: 00007ff685dd37df (running_machine::run(bool)+0x01bf)
  0000007a516ff2b0: 00007ff68935945b (mame_machine_manager::execute()+0x024b)
  0000007a516ff6a0: 00007ff68d3e8cf6 (cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x03e6)
  0000007a516ff980: 00007ff68d3e931b (cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x007b)
  0000007a516ff9e0: 00007ff689353c19 (emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x0029)
  0000007a516ffda0: 00007ff68ef69643 (luaopen_lfs+0xb64a83)
  0000007a516ffe70: 00007ff6816d13b1 (__tmainCRTStartup+0x0231)
  0000007a516ffea0: 00007ff6816d14e6 (mainCRTStartup+0x0016)
  0000007a516ffed0: 00007ff8fbfb7614 (BaseThreadInitThunk+0x0014)
  0000007a516fff50: 00007ff8fd7826a1 (RtlUserThreadStart+0x0021)