trigggl Apprentice
Joined: 26 Aug 2007 Posts: 250 Location: Arkansas
|
Posted: Mon May 26, 2008 2:03 am Post subject: SDL graphics failing on Scorched3D |
|
|
As mentioned in a previous post, I did manage to merge scorched3d after manually adding the ~ppc64 keyword to the ebuild. When I try to start it, I get the following:
Code: | greg@ibm_right /etc/init.d $ scorched3d
Scorched3D - Version 41.3 (dl) : Warning: This game uses the SDL library to provide graphics.
The graphics section of this library failed to initialize.
You will only be able to run a server for this game.
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 51251
debug1: channel 1: new [x11]
debug1: confirm x11 |
When I try to go into the Settings Mode I get this:
Code: | (scorched3d:30317): Gtk-CRITICAL **: gtk_range_set_range: assertion `min < max' failed
(scorched3d:30317): Gtk-CRITICAL **: gtk_range_set_range: assertion `min < max' failed
(scorched3d:30317): Gtk-CRITICAL **: gtk_range_set_range: assertion `min < max' failed
(scorched3d:30317): Gtk-CRITICAL **: gtk_range_set_range: assertion `min < max' failed
debug1: channel 1: FORCE input drain
debug1: channel 1: free: x11, nchannels 2
Segmentation fault |
I'm not sure if any of this is due to SDL, Gtk or my make.conf settings.
Code: |
Portage 2.1.4.4 (default/linux/powerpc/ppc64/2008.0/64bit-userland, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 ppc64)
=================================================================
System uname: 2.6.24-gentoo-r3 ppc64 POWER3 (630+)
Timestamp of tree: Sun, 25 May 2008 13:33:01 +0000
distcc 2.18.3 powerpc64-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.24
ACCEPT_KEYWORDS="ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=power3 -mtune=power3"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -mcpu=power3 -mtune=power3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://open-systems.ufl.edu/mirrors/gentoo "
LANG="en_US.utf8"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm ibm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc64 pppd python readline reflection session spl ssl tcpd unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
I'm using these more for fun and self education than anything, so I'm experimenting with "some" "optimizations". I'm using -O3 "power3" and gcc-4.2.x. I really don't think that's the reason, though. Sure, I've been wrong before, but these settings have been stable for me so far.
Does anyone have any idea's? _________________ Greg |
|