The bottom half of the screen is cut on NBA Hangtime (nbahangt); it seems an "image centering" problem.
The log:
Parsing mame.ini
Parsing mame.ini
SwitchRes: Monitor range 15625.00-15625.00,50.00-50.00,1.500,4.700,5.800,0.064,0.160,1.056,0,0,192,288,448,576
SwitchRes: Monitor: pal Orientation: horizontal
SwitchRes: Found output connector 'VGA-0'
SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.014:[nbahangt] Calculating best video mode for 399x253@54.815170 orientation: normal
SwitchRes: ( 1)x( 1)_(60=0.0000Hz)
rng(0): 400 x 253_50.000p 15.600 [integ] scale(1, 1, 1) diff(0.00, 0.00, -4.8152) ratio(1.000, 1.000)
SwitchRes: [nbahangt] (1) horizontal (399x253@54.82)->(400x253@50.00)
rng(0): 400 x 253_50.000p 15.600 [integ] scale(1, 1, 1) diff(0.00, 0.00, -4.8152) ratio(1.000, 1.000)
SwitchRes: Modeline "400x253_60 15.60KHz 50.00Hz" 7.86 400 416 456 504 253 274 276 312 -hsync -vsync
SwitchRes: Running 'xrandr --newmode "400x253_50.00" 7.86 400 416 456 504 253 274 276 312 -hsync -vsync'
SwitchRes: Running 'xrandr --addmode VGA-0 "400x253_50.00"'
SwitchRes: Setting option -norotate
SwitchRes: Setting option -norol
SwitchRes: Setting option -noror
SwitchRes: Setting option -nosyncrefresh
SwitchRes: Setting option -nowaitvsync
SwitchRes: Setting option -nounevenstretch
SwitchRes: Setting option -nofilter
SwitchRes: Setting option -cleanstretch
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -prescale 1
Setting SDL audiodriver 'dsp' ...
Build version: 0.147u3 (Dec 11 2012)
Build architecure: SDLMAME_ARCH=
Build defines 1: SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1: LSB_FIRST=1 PTR64=1 DISTRO=generic SYNC_IMPLEMENTATION=tc
SDL/OpenGL defines: SDL_COMPILEDVERSION=1214 USE_OPENGL=1 USE_DISPATCH_GL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=2 __VERSION__="4.5.2"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
SDL Device Driver : x11
SDL Monitor Dimensions: 768 x 576
Enter sdlwindow_init
Using SDL single-window OpenGL driver (SDL 1.2)
Leave sdlwindow_init
Loaded opengl shared library: <default>
OpenGL: X.Org
OpenGL: Gallium 0.4 on AMD CEDAR
OpenGL: 2.1 Mesa 7.11.2
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (new method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers supported
OpenGL: framebuffer object supported
OpenGL: GLSL supported, but disabled
OpenGL: max texture size 16384 x 16384
Keyboard: Start initialization
Input: Adding Kbd #0: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #0: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Input: Adding Joy #0: HORI CO.,LTD. HORI PAD 3 TURBO
Joystick: HORI CO.,LTD. HORI PAD 3 TURBO
Joystick: ... 6 axes, 13 buttons 0 hats 0 balls
Joystick: ... Physical id 0 mapped to logical id 0
Input: Adding Joy #1: SZMY-POWER CO.,LTD. GAMEPAD 3 TURBO
Joystick: SZMY-POWER CO.,LTD. GAMEPAD 3 TURBO
Joystick: ... 6 axes, 13 buttons 0 hats 0 balls
Joystick: ... Physical id 1 mapped to logical id 1
Joystick: End initialization
Audio: Start initialization
Audio: Driver is dsp
Audio: frequency: 48000, channels: 2, samples: 512
sdl_create_buffers: creating stream buffer of 114688 bytes
Audio: End initialization
ouput: unable to open output notifier file /tmp/sdlmame_out
Region ':dcs' created
Region ':maincpu' created
Region ':gfxrom' created
Searching font Liberation Sans in -fontpath
Matching font: /usr/share/fonts/TTF/LiberationSans-Regular.ttf
Starting NBA Hangtime (rev L1.1 04/16/96) ':'
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
(missing dependencies; rescheduling)
Starting TMS34010 ':maincpu'
Starting NVRAM ':nvram'
Starting Video Screen ':screen'
Starting ADSP-2105 ':dcs'
Starting Timer ':dcs_reg_timer'
Starting Timer ':dcs_int_timer'
Starting Speaker ':mono'
(missing dependencies; rescheduling)
Starting DMA-driven DAC ':dac'
Starting NBA Hangtime (rev L1.1 04/16/96) ':'
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
(missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting NBA Hangtime (rev L1.1 04/16/96) ':'
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 0
GL texture: copy 1, shader 0, dynamic 1, 399x253 399x253 [PALETTE16, Equal: 0, Palette: 1,
scale 1x1, border 0, pitch 512,399/16384], colors: 32768, bytes/pix 4
SwitchRes: Resolution change from 399x253@54.815170 to 400x254@54.706841
GL texture: copy 1, shader 0, dynamic 1, 400x254 400x254 [PALETTE16, Equal: 0, Palette: 1,
scale 1x1, border 0, pitch 512,400/16384], colors: 32768, bytes/pix 4
SwitchRes: Resolution change to 400x254@54.706841
SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.014:[nbahangt] Calculating best video mode for 400x254@54.706841 orientation: normal
SwitchRes: ( 1)x( 1)_(60=0.0000Hz)
rng(0): 400 x 254_50.000p 15.600 [integ] scale(1, 1, 1) diff(0.00, 0.00, -4.7068) ratio(1.000, 1.000)
SwitchRes: [nbahangt] (1) horizontal (400x254@54.71)->(400x254@50.00)
rng(0): 400 x 254_50.000p 15.600 [integ] scale(1, 1, 1) diff(0.00, 0.00, -4.7068) ratio(1.000, 1.000)
SwitchRes: Modeline "400x254_60 15.60KHz 50.00Hz" 7.86 400 416 456 504 254 274 276 312 -hsync -vsync
SwitchRes: Running 'xrandr --newmode "400x254_50.00" 7.86 400 416 456 504 254 274 276 312 -hsync -vsync'
SwitchRes: Running 'xrandr --addmode VGA-0 "400x254_50.00"'
SwitchRes: Setting option -norotate
SwitchRes: Setting option -norol
SwitchRes: Setting option -noror
SwitchRes: Setting option -nosyncrefresh
SwitchRes: Setting option -nowaitvsync
SwitchRes: Setting option -nounevenstretch
SwitchRes: Setting option -nofilter
SwitchRes: Setting option -cleanstretch
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -prescale 1
GL texture: copy 1, shader 0, dynamic 1, 400x254 400x254 [PALETTE16, Equal: 0, Palette: 1,
scale 1x1, border 0, pitch 512,400/16384], colors: 32768, bytes/pix 4
GL texture: copy 1, shader 0, dynamic 1, 400x254 400x254 [PALETTE16, Equal: 0, Palette: 1,
scale 1x1, border 0, pitch 512,400/16384], colors: 32768, bytes/pix 4
Average speed: 100.00% (56 seconds)
sdl_kill: closing audio
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Restoring desktop resolution: 768x576x50.00
SwitchRes: Running 'xrandr --output VGA-0 --mode 768x576x50.00'
SwitchRes: Running 'xrandr --delmode VGA-0 "400x254_50.00"'
SwitchRes: Running 'xrandr --rmmode "400x254_50.00"'
SwitchRes: Running 'xrandr --delmode VGA-0 "400x253_50.00"'
SwitchRes: Running 'xrandr --rmmode "400x253_50.00"'
I'm using groovymame 0.147u3 64 bit (compiled by myself).