I did not but I do now, tried one game, and it works. My apologies. I did not expect the issue to be mame.ini configuration related.
I no longer I have any of the inserted trace calls now so that function is not called anymore it seems.
I added a verbose output log for verification. There are some warnings about a missing ':screen' and subsequently some missing dependency and rescheduling notifications. I don't know what these are. I'll experiment some more with it. I'll also try to find a way to get the audio working in combination with a frontend. Should I find a way I'll create a post.
If something is still not as it should be say so please. I want to get it as perfect as possible.
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of raster.ini
Attempting load of source/cabal.ini
Attempting load of cabal.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Attempting load of horizont.ini
Attempting load of raster.ini
Attempting load of source/cabal.ini
Attempting load of cabal.ini
Available videodrivers: wayland KMSDRM offscreen dummy evdev
Current Videodriver: KMSDRM
Display #0
Desktop Mode: 768x576-32@50
Current Display Mode: 768x576-32@50
Renderdrivers:
opengl (0x0)
opengles2 (0x0)
software (0x0)
Available audio drivers:
pulseaudio
alsa
sndio
jack
pipewire
dsp
disk
dummy
Build version: 0.287 (mame0287-dirty)
Build architecure:
Build defines 1: SDLMAME_UNIX=1 SDLMAME_LINUX=1
Build defines 1: LSB_FIRST=1
SDL/OpenGL defines: SDL_COMPILEDVERSION=5268 USE_OPENGL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=2 __GNUC_PATCHLEVEL__=1 __VERSION__="Clang 22.1.5"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
Enter init_monitors
Adding monitor screen0 (768 x 576)
Adding monitor screen1 (-1824321968 x 21870)
Adding monitor screen2 (-1824324544 x 21870)
Adding monitor screen3 (-1824323376 x 21870)
Leave init_monitors
Enter sdlwindow_init
Hints:
SDL_FRAMEBUFFER_ACCELERATION (NULL)
SDL_RENDER_DRIVER (NULL)
SDL_RENDER_OPENGL_SHADERS (NULL)
SDL_RENDER_SCALE_QUALITY (NULL)
SDL_RENDER_VSYNC (NULL)
SDL_VIDEO_X11_XVIDMODE (NULL)
SDL_VIDEO_X11_XINERAMA (NULL)
SDL_VIDEO_X11_XRANDR (NULL)
SDL_GRAB_KEYBOARD (NULL)
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS (NULL)
SDL_IOS_IDLE_TIMER_DISABLED (NULL)
SDL_IOS_ORIENTATIONS (NULL)
SDL_XINPUT_ENABLED (NULL)
SDL_GAMECONTROLLERCONFIG (NULL)
SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS (NULL)
SDL_ALLOW_TOPMOST (NULL)
SDL_TIMER_RESOLUTION (NULL)
SDL_RENDER_DIRECT3D_THREADSAFE (NULL)
SDL_VIDEO_ALLOW_SCREENSAVER (NULL)
SDL_ACCELEROMETER_AS_JOYSTICK (NULL)
SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK (NULL)
SDL_VIDEO_WIN_D3DCOMPILER (NULL)
SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT (NULL)
SDL_VIDEO_MAC_FULLSCREEN_SPACES (NULL)
SDL_MOUSE_RELATIVE_MODE_WARP (NULL)
SDL_RENDER_DIRECT3D11_DEBUG (NULL)
SDL_VIDEO_HIGHDPI_DISABLED (NULL)
SDL_WINRT_PRIVACY_POLICY_URL (NULL)
SDL_WINRT_PRIVACY_POLICY_LABEL (NULL)
SDL_WINRT_HANDLE_BACK_BUTTON (NULL)
Leave sdlwindow_init
Enter sdl_info::create
Switchres/SDL2: (sdl2_display): SDL2 video is initialized
Switchres/SDL2: (sdl2_display): kernel modesetting handled by Switchres
Switchres(v2.2.2) add display[0]
Switchres: Monitor range 15600.00-15800.00,49.50-54.00,3.200,4.700,9.750,0.064,0.192,1.056,0,0,192,288,448,576
Switchres: Monitor range 15600.00-15800.00,57.00-61.50,3.200,4.700,9.750,0.064,0.192,0.898,0,0,192,248,448,480
Switchres: display[0] options: monitor[custom] generation[on]
Switchres: Monitor range 15600.00-15800.00,49.50-54.00,3.200,4.700,9.750,0.064,0.192,1.056,0,0,192,288,448,576
Switchres: Monitor range 15600.00-15800.00,57.00-61.50,3.200,4.700,9.750,0.064,0.192,0.898,0,0,192,248,448,480
XRANDR: <1> (xrandr_timing) creation (screen0)
XRANDR: <1> (xrandr_timing) checking X availability (early stub)
XRANDR: <1> (xrandr_timing) X server not found
DRM/KMS: <1> (drmkms_timing) creation (screen0)
DRM/KMS: <1> (init) loading DRM/KMS library
DRM/KMS: <1> (init) version 2.51.0 type radeon
DRM/KMS: <1> (init) card 0 connector 0 id 56 name DisplayPort-1 status 2 - modes 0
DRM/KMS: <1> (init) card 0 connector 1 id 58 name DVI-I-1 status 1 - modes 1
DRM/KMS: <1> (init) card 0 connector 1 id 58 name DVI-I-1 selected as primary output
DRM/KMS: <1> (init) desktop mode name 768x576i crtc 44 crtc_idx 0 fb 60 valid 1
DRM/KMS: <1> (init) looking for the DRM master
DRM/KMS: <1> (get_master_fd) DRM hook created on FD 8
DRM/KMS: <1> (get_timing) desktop mode name 768x576i refresh 50 found
Switchres: [ 1] 768x 576 @ 50i* : DRMKMS timing "768x576_50i 15.674000KHz 49.996810Hz" 15.627000 768 799 872 997 576 583 589 627 interlace -hsync -vsync
Switchres: get_mode(0) 256 224 59.600000 1.333333
Switchres: Calculating best video mode for 256x224@59.599998 orientation: normal
Switchres: [ 768]x[ 576]_[50=49.996810Hz]
rng(0): 768 x 576_49.996810i 15.674000 [fract] scale(3.000, 2.571, 0.839) diff(0.000, 22.222, -9.603)
rng(1): out of range
Switchres: ( 0)x( 0)_(0=0.000000Hz)
rng(0): 512 x 224_54.000000p 15.606000 [integ] scale(2.000, 1.000, 0.906) diff(0.000, 0.000, -5.600)
rng(1): 512 x 224_59.599998p 15.615200 [integ] scale(2.000, 1.000, 1.000) diff(0.000, 0.000, 0.000)
Switchres: normal (256x224@59.599998)->(512x224@59.599998)
rng(1): 512 x 224_59.599998p 15.615200 [integ] scale(2.000, 1.000, 1.000) diff(0.000, 0.000, 0.000)
Switchres: Modeline "512x224_59 15.615200KHz 59.599998Hz" 11.024330 512 547 599 706 224 235 238 262 -hsync -vsync
Switchres: added DRMKMS timing "512x224_59 15.615200KHz 59.599998Hz" 11.024330 512 547 599 706 224 235 238 262 -hsync -vsync
DRM/KMS: <1> (set_timing) <debug> existing frame buffer id 60 size 768x576 bpp 32
DRM/KMS: <1> (set_timing) <debug> creating new frame buffer with size 512x224
DRM/KMS: <1> (set_timing) <debug> frame buffer id 61 size 512x224 bpp 32
SwitchRes: Setting option -nokeepaspect
SwitchRes: Setting option -nounevenstretch
SwitchRes: Setting option -nounevenstretchx
SwitchRes: Setting option -waitvsync
SwitchRes: Setting option -syncrefresh
SwitchRes: Setting option -nofilter
emusync: vactive: 224 vtotal: 262 m_vactive_ratio: 0.854962
Audio: Start initialization
Audio: Driver is pulseaudio
Keyboard: Start initialization
Input: Adding keyboard #1: System keyboard (device id: System keyboard)
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding mouse #1: System mouse (device id: System mouse)
Mouse: Registered System mouse
Mouse: End initialization
Lightgun: Start initialization
Input: Adding lightgun #1: System pointer gun 1 (device id: System pointer gun 1)
Lightgun: Registered System pointer gun 1
Lightgun: End initialization
Game Controller: Start initialization
Game Controller: End initialization
Searching font Liberation Sans in -. path/s
Matching font: 0x556e93528040
unzip: opened archive file /home/user/.../cabal.zip
unzip: et cetera
Optional memory region ':screen' not found
Starting Cabal (World, Joystick) ':'
(missing dependencies; rescheduling)
Starting Motorola MC68000 ':maincpu'
Starting Zilog Z80 ':audiocpu'
Starting SEI80BU Encrypted Z80 Interface ':sei80bu'
Starting Video Screen ':screen'
(missing dependencies; rescheduling)
Starting gfxdecode ':gfxdecode'
Starting palette ':palette'
Starting Seibu Sound System ':seibu_sound'
Starting Speaker ':mono'
Starting YM2151 OPM ':ymsnd'
Starting Seibu ADPCM interface ':adpcm1'
Starting Seibu ADPCM interface ':adpcm2'
Starting OKI MSM5205 ADPCM ':msm1'
Starting OKI MSM5205 ADPCM ':msm2'
Starting Cabal (World, Joystick) ':'
(missing dependencies; rescheduling)
Starting Video Screen ':screen'
Starting Cabal (World, Joystick) ':'
Attempting to parse: default.cfg
Attempting to parse: cabal.cfg
Average speed: 99.96% (29 seconds)
Enter sdlwindow_exit
DRM/KMS: <1> (set_timing) <debug> restore desktop mode
Switchres: success deleting mode DRMKMS timing "512x224_59 15.615200KHz 59.599998Hz" 11.024330 512 547 599 706 224 235 238 262 -hsync -vsync
Leave sdlwindow_exit
Switchres: exit