Some news: I compiled kernel 3.2.4 and upgraded xf86-video-ati to 6.14.2 (from 6.14.1).
Now a lot of games (BubbleBoble, MetalSlug 1/2/3/X, and others) run at about 300% speed, so they are unplayable.
As I wrote before, now "mslug" works (3 times faster than original speed).
Log from "mslug":
Parsing mame.ini
Parsing mame.ini
SwitchRes: Found output connector 'VGA-0'
SwitchRes: Monitor: pal Orientation: horizontal Aspect 4:3
SwitchRes: MonitorLimits 15625.00-15800.00,49.50-61.00,2.000,4.700,8.000,0.064,0.160,1.056,0,0,288.0,448
SwitchRes: Raw limits (59.1856Hz)-> YresMin= 243p, YresMax= 246p(492i)
SwitchRes: Logical limit YresMin (448/2) = 224p
SwitchRes: Setup monitor limits min=184x224 max=0x492
SwitchRes: Starting with Horizontal freq of 14.344 and Vertical refresh of 59.19
SwitchRes: Increased horizontal frequency from 14.344 to 15.625
SwitchRes: Using 20 lines padding
SwitchRes: # 15.625Khz -> 15.800Khz: ( | Hfreq Change | Vpad +20 lines | )
SwitchRes: # mslug [4] 320x224@59.19 15.6250Khz
SwitchRes: ModeLine "320x224x59.19" 6.625000 320 336 368 424 224 235 238 264 -HSync -VSync
SwitchRes v0.013: [mslug] (1) horizontal (320x224@59.19)->(320x224@59.19)->(320x224@59.19)
SwitchRes: # mslug 320x224@59.19 15.6250Khz
SwitchRes: ModeLine "320x224x59.19" 6.625000 320 336 368 424 224 235 238 264 -HSync -VSync
SwitchRes: Setting Option -redraw 0
SwitchRes: Setting Option -rotate
SwitchRes: Setting Option -nothrottle
SwitchRes: Setting Option -refreshspeed
SwitchRes: Setting Option -waitvsync
SwitchRes: Xrandr ADD VGA-0: ModeLine "320x224x59.19" 6.625000 320 336 368 424 224 235 238 264 -HSync -VSync
SwitchRes: Running 'xrandr --newmode "320x224x59.19" 6.625000 320 336 368 424 224 235 238 264 -HSync -VSync'
SwitchRes: Running 'xrandr --addmode VGA-0 320x224x59.19'
SwitchRes: Setting Option -resolution 320x224x32@59.185606
Setting SDL audiodriver 'dsp' ...
Build version: 0.144u7 (Feb 6 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
768x 576 -> 0.001248
320x 224 -> 2.000000
Loaded opengl shared library: <default>
OpenGL: Advanced Micro Devices, Inc.
OpenGL: Mesa DRI R600 (CEDAR 68F9) 20090101 TCL DRI2
OpenGL: 2.1 Mesa 7.9.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 4096 x 4096
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
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
ioport ':IN0' created
ioport ':IN1' created
ioport ':IN2' created
ioport ':IN3' created
ioport ':IN4' created
device ':' adding mapping for ':' => ':'
device ':' adding mapping for ':maincpu' => ':maincpu'
Region ':maincpu' created
Region ':fixed' created
Region ':fixedbios' created
Region ':zoomy' created
Region ':mainbios' created
Region ':audiobios' created
device ':' adding mapping for ':audiocpu' => ':audiocpu'
Region ':audiocpu' created
device ':' adding mapping for ':ymsnd' => ':ymsnd'
Region ':ymsnd' created
Region ':sprites' created
Searching font Liberation Sans in -fontpath
Matching font: /usr/share/fonts/TTF/LiberationSans-Regular.ttf
Starting Driver Device ':'
(missing dependencies; rescheduling)
Starting 68000 ':maincpu'
Starting Z80 ':audiocpu'
Starting NVRAM ':saveram'
Starting Video Screen ':screen'
Starting Speaker ':lspeaker'
device ':' adding mapping for ':lspeaker' => ':lspeaker'
(missing dependencies; rescheduling)
Starting Speaker ':rspeaker'
device ':' adding mapping for ':rspeaker' => ':rspeaker'
(missing dependencies; rescheduling)
Starting YM2610 ':ymsnd'
Starting NEC uPD4990A ':upd4990a'
Starting Driver Device ':'
(missing dependencies; rescheduling)
Starting Speaker ':lspeaker'
Starting Speaker ':rspeaker'
Starting Driver Device ':'
device ':' adding mapping for 'saveram' => ':saveram'
device ':' adding mapping for 'maincpu' => ':maincpu'
device ':' adding mapping for 'audiocpu' => ':audiocpu'
device ':' adding mapping for 'upd4990a' => ':upd4990a'
Loading cheats file from /home/roms/cheat/mslug.xml
Ignoring MAME exception: mslug.xml(5): error parsing cheat expression "maincpu.pb@106E93=3C" (invalid memory name)
mslug.xml(5): error parsing cheat expression "maincpu.pb@106E93=3C" (invalid memory name)
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 0
GL texture: copy 0, shader 0, dynamic 0, 320x224 320x224 [RGB32, Equal: 1, Palette: 0,
scale 1x1, border 0, pitch 384,320/4096], colors: 0, bytes/pix 4
GL texture: copy 0, shader 0, dynamic 0, 320x224 320x224 [RGB32, Equal: 1, Palette: 0,
scale 1x1, border 0, pitch 384,320/4096], colors: 0, bytes/pix 4
Average speed: 365.30% (164 seconds)
sdl_kill: closing audio
Sound buffer: overflows=5973 underflows=0
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Xrandr REMOVE VGA-0: ModeLine 320x224x59.19
SwitchRes: Running 'xrandr --delmode VGA-0 "320x224x59.19"'
SwitchRes: Running 'xrandr --rmmode "320x224x59.19"'
Log from "bublbobl":
Parsing mame.ini
Parsing mame.ini
SwitchRes: Found output connector 'VGA-0'
SwitchRes: Monitor: pal Orientation: horizontal Aspect 4:3
SwitchRes: MonitorLimits 15625.00-15800.00,49.50-61.00,2.000,4.700,8.000,0.064,0.160,1.056,0,0,288.0,448
SwitchRes: Raw limits (59.1856Hz)-> YresMin= 243p, YresMax= 246p(492i)
SwitchRes: Logical limit YresMin (448/2) = 224p
SwitchRes: Setup monitor limits min=184x224 max=0x492
SwitchRes: Starting with Horizontal freq of 14.344 and Vertical refresh of 59.19
SwitchRes: Increased horizontal frequency from 14.344 to 15.625
SwitchRes: Using 20 lines padding
SwitchRes: # 15.625Khz -> 15.800Khz: ( | Hfreq Change | Vpad +20 lines | )
SwitchRes: # bublbobl [4] 256x224@59.19 15.6250Khz
SwitchRes: ModeLine "256x224x59.19" 5.500000 256 272 304 352 224 235 238 264 -HSync -VSync
SwitchRes v0.013: [bublbobl] (1) horizontal (256x224@59.19)->(256x224@59.19)->(256x224@59.19)
SwitchRes: # bublbobl 256x224@59.19 15.6250Khz
SwitchRes: ModeLine "256x224x59.19" 5.500000 256 272 304 352 224 235 238 264 -HSync -VSync
SwitchRes: Setting Option -redraw 0
SwitchRes: Setting Option -rotate
SwitchRes: Setting Option -nothrottle
SwitchRes: Setting Option -refreshspeed
SwitchRes: Setting Option -waitvsync
SwitchRes: Xrandr ADD VGA-0: ModeLine "256x224x59.19" 5.500000 256 272 304 352 224 235 238 264 -HSync -VSync
SwitchRes: Running 'xrandr --newmode "256x224x59.19" 5.500000 256 272 304 352 224 235 238 264 -HSync -VSync'
SwitchRes: Running 'xrandr --addmode VGA-0 256x224x59.19'
SwitchRes: Setting Option -resolution 256x224x32@59.185606
Setting SDL audiodriver 'dsp' ...
Build version: 0.144u7 (Feb 6 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
768x 576 -> 0.001156
256x 224 -> 2.000000
Loaded opengl shared library: <default>
OpenGL: Advanced Micro Devices, Inc.
OpenGL: Mesa DRI R600 (CEDAR 68F9) 20090101 TCL DRI2
OpenGL: 2.1 Mesa 7.9.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 4096 x 4096
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
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
ioport ':IN0' created
ioport ':DSW0' created
ioport ':DSW1' created
ioport ':IN1' created
ioport ':IN2' created
device ':' adding mapping for ':maincpu' => ':maincpu'
Region ':maincpu' created
device ':' adding mapping for ':slave' => ':slave'
Region ':slave' created
device ':' adding mapping for ':audiocpu' => ':audiocpu'
Region ':audiocpu' created
device ':' adding mapping for ':mcu' => ':mcu'
Region ':mcu' created
Region ':gfx1' created
Region ':proms' created
Region ':plds' created
pal16l8.bin NOT FOUND (NO GOOD DUMP KNOWN)
pal16l8.bin NOT FOUND (NO GOOD DUMP KNOWN)
pal16r4.bin NOT FOUND (NO GOOD DUMP KNOWN)
WARNING: the game might not run correctly.
device ':' adding mapping for ':ym2' => ':ym2'
device ':' adding mapping for ':ym1' => ':ym1'
Searching font Liberation Sans in -fontpath
Matching font: /usr/share/fonts/TTF/LiberationSans-Regular.ttf
Starting Driver Device ':'
(missing dependencies; rescheduling)
Starting Z80 ':maincpu'
Starting Z80 ':slave'
Starting Z80 ':audiocpu'
Starting M6801 ':mcu'
Starting Video Screen ':screen'
Starting Speaker ':mono'
device ':' adding mapping for ':mono' => ':mono'
(missing dependencies; rescheduling)
Starting YM2203 ':ym1'
Starting YM3526 ':ym2'
Starting Driver Device ':'
(missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting Driver Device ':'
device ':' adding mapping for 'maincpu' => ':maincpu'
device ':' adding mapping for 'mcu' => ':mcu'
device ':' adding mapping for 'audiocpu' => ':audiocpu'
device ':' adding mapping for 'slave' => ':slave'
Loading cheats file from /home/roms/cheat/bublbobl.xml
Ignoring MAME exception: bublbobl.xml(10): error parsing cheat expression "maincpu.pb@E366=63" (invalid memory name)
bublbobl.xml(10): error parsing cheat expression "maincpu.pb@E366=63" (invalid memory name)
device ':' adding mapping for 'screen' => ':screen'
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 0
GL texture: copy 1, shader 0, dynamic 1, 256x224 256x224 [PALETTE16, Equal: 0, Palette: 1,
scale 1x1, border 0, pitch 384,256/4096], colors: 256, bytes/pix 4
GL texture: copy 1, shader 0, dynamic 1, 256x224 256x224 [PALETTE16, Equal: 0, Palette: 1,
scale 1x1, border 0, pitch 384,256/4096], colors: 256, bytes/pix 4
Average speed: 443.58% (247 seconds)
sdl_kill: closing audio
Sound buffer: overflows=9575 underflows=0
Joystick: Start deinitialization
Joystick: End deinitialization
Enter sdlwindow_exit
Leave sdlwindow_exit
SwitchRes: Xrandr REMOVE VGA-0: ModeLine 256x224x59.19
SwitchRes: Running 'xrandr --delmode VGA-0 "256x224x59.19"'
SwitchRes: Running 'xrandr --rmmode "256x224x59.19"'
Note that now there are a lot of "device ':' adding ..." strings.
This is strange and could be related to mame upgrade 7 (?), or is it only a trip?