Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39791 - epsxe-1.6.0-r3 doesn't work with psemu-petesxgl2 plugin and ati-drivers
Summary: epsxe-1.6.0-r3 doesn't work with psemu-petesxgl2 plugin and ati-drivers
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 13:02 UTC by Graeme Humphries
Modified: 2004-02-22 15:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Humphries 2004-01-29 13:02:22 UTC
This is documented in Pete's version.txt, where he talks about loading problems with the ATI binary drivers and defaulting to software rendering.

However, the following patch doesn't seem to do the trick on my system, even though it's what he recommends in his readme:

*** epsxe       Thu Jan 29 14:52:46 2004
--- /usr/games/bin/epsxe        Sat Nov  8 13:57:27 2003
***************
*** 73,78 ****
  fi
   
  # execute program (with args)
  export LD_PRELOAD="libpthread.so.0:${LD_PRELOAD}" # fix for Bug #26121
- export LD_PRELOAD="libGL.so:${LD_PRELOAD}" # fix for Pete's XGL2 bugs
  exec ./epsxe "$@"
--- 73,77 ----

I've also ran "prelink -u /opt/epsxe/epsxe" to make sure that wasn't causing complications.

I'm going to contact the upstream author for suggestions, but until then I suggest having this bug here as a reminder that the problem exists, even if it's an issue with with the ati-drivers and not with the software or Gentoo.
Comment 1 Graeme Humphries 2004-01-29 13:06:37 UTC
Oh yeah, I guess I should mention the actual error messages I'm getting when I attempt to use this plugin on my system:

unit3 $ epsxe
Removing empty directories ...
 * Running ePSXe emulator version 1.6.0.
 * Memory handlers init.
 * ePSXe: PSX BIOS loaded [/home/unit3/.epsxe/bios/SCPH1001.BIN].
 * Init internal cdrom ... ok
 * First/Last track: 1 1
 * Track 1:  (DATA) - Start 0: (00,02,00)
 * PAL cdrom detected.
 * Init gpu[0][libgpuPeteXGL2.so.2.0.5]
EXTS
Segmentation fault

And here's my "emerge info":

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -Os -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib acpi acpi4linux alsa apache2 apm autofs avi berkdb bonobo cdr cjk clamav crypt cups curl dga directfb dnd doc dv dvb dvd dvdr editor encode esd evo faad fam ffmpeg fftw flac flash foomaticdb freetype gb gd gdbm geoip ggi gif gimpprint glut gnome gnomedb gphoto2 gps gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 innodb java jdepend joystick jpeg kde ladcca ldap libg++ libgda libwww lirc lufsusermount mad md5sum memlimit mikmod mldonkeypango mmx mng motif mozilla mozsvg mpeg mpeg4 mysql nas ncurses nls nocd oav odbc offensive oggvorbis openal opengl oss pam pda pdflib pear-db perl png postgres ppds psyco python qt quicktime radeon readline samba scanner sdl server slang slp snmp spell sqlite sse ssl stencil-buffer svg svga t1lib tcltk tcpd tetex tiff transcode truetype type1 unicode usb v4l videos wmf wxwin wxwindows x86 xinerama xml2 xmms xv xvid yahoo zlib video_cards_radeon"
Comment 2 SpanKY gentoo-dev 2004-01-29 14:48:51 UTC
run it through gdb and see if you get any useful backtraces

i dont think anyone on the games team can help because afaik, we all have non-ati cards ;)
Comment 3 Graeme Humphries 2004-01-29 15:16:44 UTC
lol, ok. Hopefully Pete will know what to do. ;)

The gdb backtrace isn't so useful:

(gdb) backtrace
#0  0x4962c877 in ?? ()


:P
Comment 4 SpanKY gentoo-dev 2004-02-22 15:25:16 UTC
please re-open if/when pete gets back to you :)