i am desperated to get this funky game running, i spent years of my life with xcom and ufo games...
but whatever settings i try (fullscreen or windowed, root or not, different X resolutions, different resoulutions/colors in ufo2000.ini) i always get
Code: Select all
AcerGentooBox bin # ./ufo2000
Error: set_gfx_mode() failed (Can not set video mode).
the only (ugly) picture i got was when i tried it in fbconsole; some 640x480 with 4 colors or so.
this has to work with X, too.
these are the things i can think of as being relevant. if something's missing, feel free to tell me and i'll be glad if you can help me!
Code: Select all
AcerGentooBox bin # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Mobile AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.10
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.inode.at/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr cpdflib crypt cscope ctype cups curl dga dio directfb divx4linux dvd dvdread eds emboss encode esd ethereal exif expat fam fbcon fdftk ffmpeg flacflash flatfile foomaticdb fortran ftp gd gdbm gif gimpprint glut gpm gstreamer gtk gtk2 idn ieee1394 imagemagick imap imlib jack java jpeg kde ladcca lcms libg++ libwww lirc mad mikmod mime ming mmx mmxext mng motif mp3 mpeg nas ncurses nls nptl ogg oggvorbis openal opengl oss pam pcre pda pdflib perl png pnp ppds python qt quicktime readline real samba sdl slang sndfile sockets spell sse ssl svg svga tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs wmf xine xinerama xml xml2 xmms xosd xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Code: Select all
AcerGentooBox bin # emerge -pv allegro ufo2000
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] media-libs/allegro-4.0.3 +X +alsa +arts -doc +esd +fbcon +mmx +oss +sse -static +svga +tetex 0 kB
[ebuild R ] games-strategy/ufo2000-0.6.627 +vorbis 0 kB
Total size of downloads: 0 kB
Code: Select all
AcerGentooBox bin # emerge -pv xorg-x11 ati-drivers
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] x11-base/xorg-x11-6.8.2-r4 [6.8.2-r1] -3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server* -insecure-drivers -ipv6 -minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 172 kB
[ebuild R ] media-video/ati-drivers-8.14.13-r2 +opengl 0 kB
Total size of downloads: 172 kB
Code: Select all
AcerGentooBox ~ # cat /etc/X11/xorg.conf | /usr/bin/perl -e 'while(<>) { print unless m/^#/ or m/^\s+$/; }'
Section "dri"
Mode 0666
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
Load "synaptics"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "SendCoreEvents"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1900"
Option "RightEdge" "5400"
Option "TopEdge" "1900"
Option "BottomEdge" "4000"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
Option "UpDownScrolling" "on"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "LaptopTFT"
HorizSync 31.5 - 48.4
VertRefresh 50 - 70
Option "DPMS"
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
#Option "NoDDC"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "DesktopSetup" "0x00000200"
Option "MonitorLayout" "AUTO, NONE"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
Option "NoTV" "no"
Option "TVStandard" "PAL-B"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
Option "Capabilities" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4e50
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "LaptopTFT"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1024x768" "800x600"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Touchpad"
EndSection
thanks in advance!
tbart


