Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07738 Compiling Minor Always Aug 31, 2020, 21:19 Oct 7, 2020, 20:27
Tester bbegin View Status Public Platform SDLMAME
Assigned To Resolution Open OS Linux (32-bit)
Status [?] Acknowledged Driver
Version N/A Fixed in Version Build 32-bit
Fixed in Git Commit Github Pull Request #
Summary 07738: Build with NO_X11=1 is not fully honored in drawbgfx.cpp
Description When building with the option NO_X11=1, a component of BGFX is not fully processing the directive in the file ./src/osd/modules/render/drawbgfx.cpp
At line #172, 195 and 196 there are hard references to X11.

I personally workaround this by replacing:
 - Line #172 with: return nullptr;
 - Line #195-196 with:
      pd.ndt = NULL;
      pd.nwh = _window;

It seems that a check for SDL2 Video Ouput is missing for the Raspberry Pi using KMS/DRM video output (without X11).
Steps To Reproduce Compile with build option NO_X11=1 on Linux (SDLMAME) without X11 installed.
Additional Information
Github Commit
Flags Verified with Code
Regression Version
Affected Sets / Systems
Attached Files
There are no relationship linked to this issue.
User avatar
Sep 2, 2020, 02:31
Hopefully this will get the attention of someone who might be able to help.