Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09055 Graphics Minor Always 21 days ago 18 days ago
Tester Augusto View Status Public Platform MAME (Unofficial Binary)
Assigned To Resolution Open OS Linux (64-bit)
Status [?] Confirmed Driver
Version 0.271 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 09055: BGFX using backend vulkan crash MAME
Description Hello.
Thanks for reading my topic.

If BGFX use backend vulkan happen an crash in MAME for some games.
When the game is totally loaded in sequence MAME is halted for several seconds and crash not returning to main UI.

That issue happen in games using the drivers below :

arsystems
artmagic
coinmstr
lethalj
konamigx
megaphx
pntnpuzl
upscope

In moment is better use backend opengl.
BGFX using opengl and vulkan has similar performance.

Have an good week and new happy year.
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
related to 08904Closed  fantjour, fantjoura and gokuparo: game not start 
Notes
6
User avatar
No.22724
hap
Developer
21 days ago
FWIW this still crashes for me, like I commented in the related MT report:
mame gokuparo -video bgfx -bgfx_backend vulkan

I haven't tried the other games you mention.
As I said there, maybe bgfx vulkan disagrees with the screen size somehow.
User avatar
No.22726
Augusto
Tester
21 days ago
I want known MAME games thus I had loaded an high number of games and drivers and the only issues was bgfx crashing if using vulkan and strange slowdown in only 3 drivers ( seibuspi bizarre bug not using totally the cpu, bublbobl and cedar_magnet).
BGFX support for vulkan was added in 2015 and I not remember if the games in the list had issues.
User avatar
No.22737
Robbbert
Moderator
21 days ago
I don't get any crashes, and I didn't test them all, but some of them produced a black screen instead of what should be there.

megaphx, gokuparo, lethalj.

So since there is an issue I'll confirm it (even though no crash dump has been provided).
User avatar
No.22743
Augusto
Tester
20 days ago
edited on: 20 days ago
Thanks Robbbert for your reply.
With you not happen crashes. Here all games in the list crashes. You use windows and nvidia GPU ? If yes only happen in Linux ?
Tested only in Ubuntu 24.04 with nvidia driver 470.
I not has information if happen with Radeon GPUs too.
User avatar
No.22757
Robbbert
Moderator
18 days ago
I'm using Windows 10 with a NVIDIA GeForce GT710.

You need to provide a crash dump if you want any progress.
User avatar
No.22758
hap
Developer
18 days ago
gokuparo crash doesn't give me any hints:

-----------------------------------------------------
Exception at EIP=00007ffed86ddca4 (__cxa_throw_bad_array_new_length+0x79940f4): ACCESS VIOLATION
While attempting to read memory at 0000000000000108
-----------------------------------------------------
RAX=0000000000000000 RBX=0000023f9d0dcb08 RCX=0000000000000003 RDX=00000000000004c0
RSI=0000023f9d0dc880 RDI=0000023f9773edf8 RBP=0000023f9d0dcd30 RSP=00000077e01ff010
 R8=0000000000000490 R9=0000023f9d0dca68 R10=0000000000000020 R11=0000023fa1671e30
R12=00000000000003a6 R13=0000023fa1671e30 R14=0000000000000000 R15=00000002079a0860
-----------------------------------------------------
Stack crawl:
  00000077e01ff090: 00007ffed86ddca4 (vkGetInstanceProcAddr+0x68934)
  00000077e01ff0f0: 00007ff6ce28f9aa (luaopen_lfs+0x9f222a)
  00000077e01ff7e0: 00007ff6ce299629 (luaopen_lfs+0x9fbea9)
  00000077e01ff840: 00007ff6cddaaea5 (luaopen_lfs+0x50d725)
  00000077e01ff880: 00007ff6cddb4492 (luaopen_lfs+0x516d12)
  00000077e01ff8b0: 00007ff6ce2290dc (luaopen_lfs+0x98b95c)
  00000077e01ff8e0: 00007fff1e457374 (BaseThreadInitThunk+0x0014)
  00000077e01ff960: 00007fff2023cc91 (RtlUserThreadStart+0x0021)