FS#58010 - [sdlmame] bgfx broken, can't find shaders

Attached to Project: Community Packages
Opened by Patrick Winslow (pswinslow) - Thursday, 29 March 2018, 01:14 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 31 March 2018, 23:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
sdlmame doesn't find files in /usr/share/sdlmame. Path apparently set incorrectly. bgfx backend fails with the following errors:

Unable to open effect file bgfx/effects/gui_opaque.json
Unable to open effect file bgfx/effects/gui_blend.json
Unable to open effect file bgfx/effects/gui_multiply.json
Unable to open effect file bgfx/effects/gui_add.json
Unable to open effect file bgfx/effects/screen_opaque.json
Unable to open effect file bgfx/effects/screen_blend.json
Unable to open effect file bgfx/effects/screen_multiply.json
Unable to open effect file bgfx/effects/screen_add.json
Ignoring MAME exception: BGFX: Unable to load required shaders. Please check and reinstall the bgfx folder

Fatal error: BGFX: Unable to load required shaders. Please check and reinstall the bgfx folder

/usr/bin/sdlmame: line 56: 21553 Segmentation fault (core dumped) ./sdlmame "$@"

Workaround:
Set bgfx_path to /usr/share/sdlmame/bgfx and artpath to /usr/share/sdlmame/artwork in mame.ini.

Additional info:
* package version 0.195-4

Steps to reproduce:
Run sdlmame -video bgfx.
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 31 March 2018, 23:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  sdlmame 0.196-1

Loading...