Results 1 to 4 of 4

Thread: How do I to fix SDLMAME fatal error: BGFX Unable to load required shaders?

  1. #1
    Join Date
    Jun 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do I to fix SDLMAME fatal error: BGFX Unable to load required shaders?

    I can't open SDLMAME after switching the video settings to BGFX. I can't figure out how to reset the configuration to default, and I've tried deleting and reinstalling both SDLMAME and the SDL Runtime Library without success.

    SDLMAME v0.183 (64-bit)
    Mac OS 10.11.16 (El Capitan)
    2.5 GHz i5,
    16 GB RAM
    1 TB SSD


    Here's the full message I'm getting:
    Optimus-MBP:~ apple$ /Users/apple/Desktop/mame0183-64bit/mame64 ; exit;
    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

    Segmentation fault: 11
    Any advice greatly appreciated...
    Last edited by makashima; 5th-March-2017 at 15:42.

  2. #2
    Join Date
    Jun 2015
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem Solved

    Open terminal, navigate to the mame directory and use the following command:

    -video opengl
    If anyone else running SDL gets stuck with their settings here's the required reading
    http://docs.mamedev.org/commandline/sdlconfig.html

    I can't find any way to revert ALL settings to default (please post if you know how), but at least this solved the issue for now.
    Last edited by makashima; 8th-March-2017 at 12:40.

  3. #3
    Join Date
    Jul 2017
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy -bash: -video: command not found

    It says -bash: -video: command not found

    what else can I do?

    Quote Originally Posted by makashima View Post
    Open terminal, navigate to the mame directory and use the following command:



    If anyone else running SDL gets stuck with their settings here's the required reading
    http://docs.mamedev.org/commandline/sdlconfig.html

    I can't find any way to revert ALL settings to default (please post if you know how), but at least this solved the issue for now.

  4. #4
    Join Date
    Sep 2005
    Posts
    87
    Thanks
    7
    Thanked 16 Times in 9 Posts
    EP Points
    75

    Default

    mame -video opengl

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About Us

We are the oldest retro gaming forum on the internet. The goal of our community is the complete preservation of all retro video games. Started in 2001 as EmuParadise Forums, our community has grown over the past 18 years into one of the biggest gaming platforms on the internet.

Social