xmame  

[Xmame] (no subject)

cheeky
Mon, 21 May 2007 05:33:32 -0700

Hi, everyone,

It's my first time to post a message here, but it has a long print-out
messages.


My development embedded board is based on EP9312 (cirrus logic). I
succeeded to build and install SDL, zlib, expat library and finally
xmame. However, it doesn't work correctly.


One of my SDL library test examples shows the following.
----------------
$ testvidinfo
Video driver: fbcon
Current display: 640x480, 16 bits-per-pixel
        Red Mask = 0x0000f800
        Green Mask = 0x000007e0
        Blue Mask = 0x0000001f
Fullscreen video modes:
        640x480x16
Hardware surfaces are available (1208K video memory)
----------------

As described above, I now try to use Framebuffer with resolution
640x480, 16bits per pixel.


I have a very simple ~/.xmame/xmamerc config file as shown below.
----------------
rompath       /mnt/nfs/rom
defaultgame   sf
----------------

The following message is printed when I try to command xmame.SDL under
the above config file.
----------------
$ xmame.SDL
info: trying to parse: /home/cheeky/espmmi/share/xmame/xmamerc
info: trying to parse: /root/.xmame/xmamerc
info: trying to parse: /home/cheeky/espmmi/share/xmame/xmame-SDLrc
info: trying to parse: /root/.xmame/xmame-SDLrc
info: trying to parse: /home/cheeky/espmmi/share/xmame/rc/sfrc
info: trying to parse: /root/.xmame/rc/sfrc
loading rom 0: sfe-19
loading rom 1: sfe-22
loading rom 2: sfe-20
loading rom 3: sfe-23
loading rom 4: sfe-21
loading rom 5: sfe-24
loading rom 6: sf-02.bin
loading rom 7: sfu-00
loading rom 8: sf-01.bin
loading rom 9: sf-39.bin
loading rom 10: sf-38.bin
loading rom 11: sf-41.bin
loading rom 12: sf-40.bin
loading rom 13: sf-25.bin
loading rom 14: sf-28.bin
loading rom 15: sf-30.bin
loading rom 16: sf-34.bin
loading rom 17: sf-26.bin
loading rom 18: sf-29.bin
loading rom 19: sf-31.bin
loading rom 20: sf-35.bin
loading rom 21: sf-15.bin
loading rom 22: sf-16.bin
loading rom 23: sf-11.bin
loading rom 24: sf-12.bin
loading rom 25: sf-07.bin
loading rom 26: sf-08.bin
loading rom 27: sf-03.bin
loading rom 28: sf-17.bin
loading rom 29: sf-18.bin
loading rom 30: sf-13.bin
loading rom 31: sf-14.bin
loading rom 32: sf-09.bin
loading rom 33: sf-10.bin
loading rom 34: sf-05.bin
loading rom 35: sf-27.bin
loading rom 36: sf-37.bin
loading rom 37: sf-36.bin
loading rom 38: sf-32.bin
loading rom 39: sf-33.bin
loading rom 40: mb7114h.12k
loading rom 41: mb7114h.11h
loading rom 42: mb7114h.12j
loading rom 43: mmi-7603.13h
done
info: setting fragsize to 2048, numfrags to 5
info: fragsize = 8192, numfrags = 2
warning: obtained fragsize/numfrags differs too much from requested
   you may wish to adjust the bufsize setting in your xmamerc file, or
try
   timer-based audio by adding -timer to your command line
info: audiodevice /dev/dsp set to 16bit linear stereo 44100Hz
info: sysdep_dsp: using oss plugin
info: sysdep_mixer: using oss plugin
OSD: Info: Ideal mode for this game = 384x224
SDL found mode:640x480x15
SDL found mode:640x480x16
SDL found mode:640x480x16
SDL: Using a mode with a resolution of: 640x480x16
Initialized no effect: bitmap depth = 16, color format = RGB 565
oom-killer: gfp_mask=0xd2, order=0
Mem-info:
DMA per-cpu:
cpu 0 hot: low 6, high 18, batch 3 used:8
cpu 0 cold: low 0, high 6, batch 3 used:3
Normal per-cpu: empty
HighMem per-cpu: empty
DMA per-cpu:
cpu 0 hot: low 6, high 18, batch 3 used:8
cpu 0 cold: low 0, high 6, batch 3 used:2
Normal per-cpu: empty
HighMem per-cpu: empty
Free pages:        1020kB (0kB HighMem)
Active:12674 inactive:1505 dirty:0 writeback:0 unstable:0 free:255
slab:499 mapped:11107 pagetables:56
DMA free:512kB min:512kB low:640kB high:768kB active:18924kB
inactive:6020kB present:32768kB pages_scanned:30382 all_unreclaimable?
yes
lowmem_reserve[]: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
DMA free:508kB min:512kB low:640kB high:768kB active:31772kB
inactive:0kB present:32768kB pages_scanned:39706 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0
Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 1*512kB 0*1024kB
0*2048kB 0*4096kB = 512kB
Normal: empty
HighMem: empty
DMA: 1*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 0*512kB 0*1024kB
0*2048kB 0*4096kB = 508kB
Normal: empty
HighMem: empty
Swap cache: add 0, delete 0, find 0/0, race 0+0
Free swap  = 0kB
Total swap = 0kB
Free swap:            0kB
16384 pages of RAM
326 free pages
1281 reserved pages
499 slab pages
50 pages shared
0 pages swap cached
Out of Memory: Killed process 1003 (xmame.SDL).
Killed
----------------

first of all, the warning says I have to have a correct bufsize for
fragsize/numfrags. However, it doesn't make sense to me what I have to
change something. It seems to be a bit related to sound chipset. Let me
tell you that I've got AC97' sound chipset on embedded board.

I just enabled audio, alsa, oss, but disabled esd, nas, diskaudio,
dummyaudio, mintaudio during SDL library configuration.


I really wish to shoot this trouble, and I need any help from other
experts. Thank you for reading my bugging long message.


_______________________________________________
Xmame mailing list
Xmame@toybox.twisted.org.uk
http://toybox.twisted.org.uk/mailman/listinfo/xmame