Hi,

I have been having some trouble with xmame.xgl 0.55.1 and 0.55.2. I am
using LM 8.1 (recently upgraded from LM 8.0) and have installed the
xmame packages. In addition I have also downloaded the source files for
the above 2 mentioned xmame versions and compiled xmame.xgl on them
successfully.

A little about my hardware and packages. I am using a Geforce2 Ultra
card and have the following relevant packages installed.

--------------------------------------------------------------------------------------
xmame-x11-0.55.1-3mdk
xmame-xgl-0.55.1-3mdk
xmame-base-0.55.1-3mdk
Mesa-common-3.4.2-2mdk
Mesa-common-devel-3.4.2-2mdk
Mesa-demos-3.4.2-2mdk
nasm-0.98-8mdk
NVIDIA_GLX-1.0-1541
kernel-2.4.8-26mdk

output from "cat /proc/nv/card0" --

----- Driver Info -----
NVRM Version: 1.0-1541
------ Card Info ------
Model:        GeForce2 Ultra
IRQ:          11
Video BIOS:   03.15.00.11
------ AGP Info -------
AGP status:   Enabled
AGP Driver:   AGPGART
Bridge:       Generic Intel
SBA:          Supported [enabled]
FW:           Unsupported [disabled]
Rates:        4x 2x 1x  [4x]
Registers:    0x1f000207:0x00000304

makefile used in source compilation --

##############################################################################
# xmame or xmess ?
##############################################################################

#set TARGET to "mame" (without the ") to compile xmame and to "mess" to
#compile xmess.
TARGET = mame


##############################################################################
# *** development environment options
##############################################################################

# GNU MAKE is MANDATORY !!!

# *** Choose your compiler
# Use gcc if available

CC      = gcc

### for normal optimization, full warnings
#CFLAGS    = -O -Wall
### for common optimizations, full warnings except unused vars
# CFLAGS    = -O2 -Wall -Wno-unused
### this should work with all compilers
# CFLAGS    =
### to get full optimization under gcc/x Intel based OS's..
  CFLAGS    = -O3 -m486 -Wall -Wno-unused -funroll-loops \
   -fstrength-reduce -fomit-frame-pointer -ffast-math -malign-functions=2 \
   -malign-jumps=2 -malign-loops=2
### for Linux/PowerPC use following opts
# CFLAGS    = -O -Wall  -Wno-unused -funroll-loops\
#  -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char
### for OpenStep/Intel use following opts
# CFLAGS    = -O -Wall -Wno-unused -finline-functions -ffast-math \
#  -fstrength-reduce -traditional-cpp
### for OpenStep/PPC use following opts
# CFLAGS    = -O -Wall  -Wno-unused -funroll-loops -traditional-cpp \
#  -fstrength-reduce -fomit-frame-pointer -ffast-math -fsigned-char
### for IRIX MIPSpro with real serious optimization for R10K O2
# CFLAGS = -fullwarn -n32 -mips4 -Ofast=ip32_10k -TARG:platform=ip32_10k \
#  -OPT:Olimit=0 -IPA
### for IRIX with more general optimization for R5+K Mips machines
# CFLAGS = -fullwarn -n32 -mips4 -Ofast -OPT:Olimit=0 -IPA
### for IRIX with R4K Mips chips (older Indys, Indigo2s, etc).
# CFLAGS = -fullwarn -n32 -mips3 -Ofast -OPT:Olimit=0 -IPA
### used by me, for full ansi testing and debugging (with gcc).
# CFLAGS    = -ggdb -ansi -pedantic -D_XOPEN_SOURCE -D_BSD_SOURCE -Wall \
#  -Wno-long-long -Wno-trigraphs -Wp,-Wno-paste \
#  -Dasm=__asm__ -O6 -march=pentiumpro -fstrength-reduce \
#  -ffast-math -malign-functions=2 -malign-jumps=2 -malign-loops=2

# *** Does your compiler supports inline funcs?. use appropiate item:
# do not use IL = inline : wont work due to Z80 and 6809 stuffs
# if strict ansi used set IL to "static"
# This can very noticably increase xmame's performance, so enabling this is
# encouraged, it works fine with gcc and probably with most other compilers.
#IL     = '-DINLINE=static __inline__'
IL     = -DINLINE=static

# *** Choose your linker & linker flags (some OSes need native linker
# instead GNU one)
# normal
LD      = $(CC) -Wl,-s
# to profile with gcc and gprof
# LD    = $(CC) -pg
# no profiling (less strace output), but with debug info
# LD    = $(CC)
# for debugging only, only works with gnu-binutils !!
# LD    = $(CC) -Wl,-warn-common
# for IRIX R5+K MIPSpro, optimization at link time, takes nearly a gig of
# memory!!
# LD    = $(CC) -fullwarn -n32 -mips4 -IPA
# for IRIX R4K MIPSpro, optimization at link time, takes nearly a gig of
# memory!!
# LD  = $(CC) -fullwarn -n32 -mips3 -IP

# *** Does your platform have a separate libm ? only comment this out if you
# have maths libraries included within libc. This is very rare, you will
# probably only need it for OpenStep systems
SEPARATE_LIBM = 1

# *** Does your platform have ranlib (leave this untouched unless you are
# using irix or Unixware 7
RANLIB = ranlib
# RANLIB = true

# *** How to install executable, man pages, and data?
# OSes that don't have install command should use provided install.sh script
# INSTALL =            install-sh
# INSTALL =            /bin/install
INSTALL =              /usr/bin/install
INSTALL_PROGRAM_DIR =  $(INSTALL) -d    -o root -g bin -m  755
INSTALL_MAN_DIR =      $(INSTALL) -d    -o root -g 0   -m  755
INSTALL_DATA_DIR =     $(INSTALL) -d    -o root -g bin -m  755
INSTALL_PROGRAM =      $(INSTALL) -c -s -o root -g bin -m  555
INSTALL_PROGRAM_SUID = $(INSTALL) -c -s -o root -g bin -m 4555
INSTALL_MAN =          $(INSTALL) -c    -o root -g bin -m  444
INSTALL_DATA =         $(INSTALL) -c    -o root -g bin -m  644

# *** Extra include and or library paths, sometimes needed for zlib,
# with suse linux -L/usr/X11R6/lib is needed for example,
# and with unixware7 -lsocket is needed
# LIBS     = -L/usr/X11R6/lib -L/usr/local/lib
# INCLUDES = -I/usr/X11R6/include -I/usr/local/include

# *** If your system doesn't have zlib, or your systems zlib is giving you
# troubles, you can use the one distributed with xmame.
# Uncomment the following line to use xmame's own version of zlib
# ZLIB = 1

# *** Does your system support gettimeofday() function? If so, we encourage
# you to enable this feature . Else .... comment it :-(
HAVE_GETTIMEOFDAY = 1

# *** Uncomment this if you want to link with ElectricFence developers 
only !
# EFENCE = 1


##############################################################################
# *** Configuration files and directories
##############################################################################

# *** Select destination directory for your compiled program, manual page
# and binary distribution ( if you want to... )
# ( only needed to install, not to compile... )
ifndef PREFIX
PREFIX = /usr
endif
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man/man6

# *** xmameroot, this is the default rompath, place where the highscores are
# stored, global rc location etc. Since most of these are configurable 
through
# the rc-file anyway, there are no longer seperate defines for each.
XMAMEROOT = $(PREFIX)/lib/games/x$(TARGET)

##############################################################################
# *** architecture, Choose your CPU (!!only one!!)
##############################################################################

### i386 + gnu-asm
MY_CPU = i386

##############################################################################
# *** architecture, Choose your OS (!!only one!!)
##############################################################################

### Linux
ARCH  = linux

##############################################################################
# *** Input Devices
##############################################################################

# *** uncomments any joystick types which you want to use, which one is
# actually used can be selected runtime with the -joytype switch.
# X Input Extensions based joystick, this is known to not work right now ;|
# JOY_X11 = 1
# On iX86 based OS's, if supported, you can use standard joystick driver.
JOY_I386 = 1
# Linux FM-TOWNS game PAD joystick emulation support, thanks to Osamu 
Kurati.
JOY_PAD = 1
# NetBSD/FreeBSD USB joystick support.
# JOY_USB = 1


##############################################################################
# *** Sound Devices
##############################################################################

# *** any additonal sound drivers you want to include, besided the 
native one
# sound driver for your system
SOUND_ESOUND = 1
SOUND_ALSA = 1
# SOUND_ARTS_TEIRA = 1
# SOUND_ARTS_SMOTEK = 1

##############################################################################
# *** Select your display method, choose only one
# note: x11 is the only one supported on all platforms
##############################################################################

### X11
#DISPLAY_METHOD = x11
### svgalib, only supported under linux
# DISPLAY_METHOD = svgalib
### ggi, only tested under linux
# DISPLAY_METHOD = ggi
### OpenGL under X11
DISPLAY_METHOD = xgl

##############################################################################
# *** X windows options, only needed for X as display method
##############################################################################

# *** uncomment any extensions you wish to use.
# MIT-Shared Memory X Extensions, comment the
X11_MITSHM = 1
# XFree86 DGA
X11_DGA = 1
# The XIL library (Solaris 2.5.1 and higher), uncomment
# X11_XIL = 1

# *** Choice the location of your X headers & libs
# standard location for X11
# X11INC                = -I/usr/include/X11
# X11LIB                = -L/usr/lib/X11
# standard location for XFree86
X11INC          = -I/usr/X11R6/include
X11LIB          = -L/usr/X11R6/lib
# for Sun systems
# X11INC                = -I/usr/openwin/include
# X11LIB                = -L/usr/openwin/lib
# for non-standard locations
# X11INC                = -I/usr/local/include/X11
# X11LIB                = -L/usr/local/lib

# *** The default name for the input device used by the X11 joystick driver.
# use provided program "xlistdev" to list available ones
X11_JOYNAME = "Joystick"

##############################################################################
# *** OpenGL info -- configure if you are using the xgl display option
##############################################################################
GLLIBS= -ldl

# GLU version 1.2 is recommended (e.g., from SGI).  If you
# use Mesa's GLU, you may have to add -DGLU_VERSION_1_2 to
# the GLCFLAGS below.
#
# To get more verbose debugging messages, just add -DGLDEBUG !
#
GLCFLAGS= -D_X11_ -DGLU_VERSION_1_2


##############################################################################
# *** Special features
##############################################################################

# *** Uncommenty the next lines to build xmame with build in debugger, only
# supported for x11 and svgalib. Only enable this if you need it, if you
# want to develop drivers that is, since it slows down xmame considerably.
# MAME_DEBUG = 1

# *** Uncomment the next lines to use x86-asm cpu cores. This is only
# supported for some 386 machines with nasm-0.98 or higher available in your
# path! the asm 68k core could cause problem with certain games, please test
# with the c-core before reporting any problems.
# uncomment next line to use Assembler 68000 engine
#X86_ASM_68000 = 1
# uncomment next line to use Assembler 68020 engine (CURRENTLY BROKEN)
# X86_ASM_68020 = 1
#
# And choose elf / or aout
# ELF settings: no leading underscores + elf object format Tested with
# linux/i386. Also for e.g. Solaris/x86
ASM_STRIP = src/unix/contrib/porting/strip_
NASM_FMT  = -f elf
# aout settings: with leading underscores + aout object format. Tested with
# netBSD i386. Also for older linux installs, freebsd and others.
# ASM_STRIP = true  # no strip command
# NASM_FMT  = -f aoutb

ifdef MAME_DEBUG
NAME=x$(TARGET)d
else
NAME=x$(TARGET)
endif

##############################################################################
# All done, type make -f makefile.unix and enjoy xmame/xmess ;)
# No configurable options below this line....
##############################################################################
include src/unix/unix.mak

----------------------------------------------------------------------------------------

The problem I have is three fold.

1. When I am using the xmame.x11 from the mandrake rpm I am able to play
Vampire Saviour (vsavj) and Street Fighter 3 Alpha (sfa3). However when
using the xmame.xgl from the rpm or source I run into the following
error message
-------------
loading rom 16: sz3.18
loading rom 17: sz3.20
loading rom 18: sz3.01
loading rom 19: sz3.02
loading rom 20: sz3.11
loading rom 21: sz3.12
done
sz3u.03c     NOT FOUND
sz3u.04c     NOT FOUND
sz3.05c      NOT FOUND
sz3.06c      NOT FOUND
sz3.07c      NOT FOUND
sz3.08c      NOT FOUND
sz3.09c      NOT FOUND
sz3.10b      NOT FOUND
sz3ux.03c    NOT FOUND
sz3ux.04c    NOT FOUND
sz3.13       NOT FOUND
sz3.15       NOT FOUND
sz3.17       NOT FOUND
sz3.19       NOT FOUND
sz3.14       NOT FOUND
sz3.16       NOT FOUND
sz3.18       NOT FOUND
sz3.20       NOT FOUND
sz3.01       NOT FOUND
sz3.02       NOT FOUND
sz3.11       NOT FOUND
sz3.12       NOT FOUND
ERROR: required files are missing, the game cannot be run.

GLmame v0.88, by Sven Goethel, http://www.jausoft.com, [EMAIL PROTECTED],
based upon GLmame v0.6 driver for xmame, written by Mike Oliphant
-----------

It would seem somehow the path to the roms can not be found. The strange
thing is that the x11rc and xglrc files have the same rom path.

2. When attempting to use the X86_ASM_68000 = 1 option in the makefile
to compile xmame.xgl I run into this error
--------------
Compiling src/cpu/h6280/h6280.c ...
Compiling src/cpu/hd6309/hd6309.c ...
Compiling src/cpu/i8039/i8039.c ...
Compiling src/cpu/i8085/i8085.c ...
Compiling src/cpu/i86/i86.c ...
Compiling src/cpu/i8x41/i8x41.c ...
Compiling src/cpu/konami/konami.c ...
Compiling src/cpu/m6502/m6502.c ...
Compiling src/cpu/m6800/m6800.c ...
Compiling src/cpu/m68000/make68k.c...
/home/mark/tmp/ccDYN9fI.o: In function `cputype_get_interface':
/home/mark/tmp/ccDYN9fI.o(.text+0xf): undefined reference to `cpuintrf'
/home/mark/tmp/ccDYN9fI.o: In function `cpu_getactivecpu':
/home/mark/tmp/ccDYN9fI.o(.text+0x19): undefined reference to `activecpu'
/home/mark/tmp/ccDYN9fI.o: In function `cpu_gettotalcpu':
/home/mark/tmp/ccDYN9fI.o(.text+0x21): undefined reference to `totalcpu'
collect2: ld returned 1 exit status
make: *** [xmame.obj/cpu/m68000/68000.asm] Error 1
--------------

3. I can't quite remember when this problem occured but most/all of my
CPS1 games don't seem to work (it might be related to problem 2 above).
It gets to this point and then it just sits there forever. There is no
prbolem with xmame.x11.
---
loading rom 16: 3wonders.09
loading rom 17: 3wonders.18
loading rom 18: 3wonders.19
done

GLmame v0.88, by Sven Goethel, http://www.jausoft.com, [EMAIL PROTECTED],
based upon GLmame v0.6 driver for xmame, written by Mike Oliphant

GLINFO: cannot access GLX library libglx.so directly ...
GLINFO: loaded OpenGL library libGL.so!
GLINFO: loaded GLU    library libGLU.so!
GLINFO: glPolygonOffsetEXT (3): not implemented !
GLINFO: glTexImage3DEXT (3): not implemented !
GLINFO: glTexSubImage3DEXT (3): not implemented !
GLINFO: glCopyTexSubImage3DEXT (3): not implemented !
---


As an extra note I am positive that I got SF3A working on xmame.xgl
(well it found the file) on LM 8.0 with xmame.xgl 0.55.1. I am unsure of 
what has changed between LM8.0 and LM8.1 that would cause this. My CPS1 
games also used to work with xmame.xgl-0.37b13.2 (lucky I kept all my 
old compilations) but from b14.2 onwards they haven't work and exhibited 
problem 3 above. Any help would be appreciated. Thanks.


Mark





_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to