Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pcsx2 4 linux: segmentation fault immediatly after "ZeroGS: glX-Version 1.2"

os: opensuse 10-2
platform: either amd-64 or i586

After trying to exec an *.elf pcsx2 (in gdb to get a backtrace) I get:

(gdb) run
Starting program: /usr/local/packages/emulation/sony/ps2/pcsx2/pcsx2-0.9.4/bin/pcsx2
[Thread debugging using libthread_db enabled]
[New Thread 47210069760880 (LWP 2871)]

F1 - save state
(Shift +) F2 - cycle states
F3 - load state
F10 - dump performance counters
F11 - save GS state
F12 - dump hardware registers
PCSX2 v0.9.4 save ver: 7a30000f
EE pc offset: 0x2a8, PSX pc offset: 0x208
CPU vender name = AuthenticAMD
FamilyID = 0
x86Family = AMD Athlon™ 64 Processor 3200+
CPU speed = 1.006 Ghz
x86PType = Standard OEM
x86Flags = 078bfbff
x86EFlags = e3d3fbff
Detected MMX
Detected SSE
Detected SSE2
Not Detected SSE3
Extented AMD Features:
Detected MMX2
Detected 3DNOW
Detected 3DNOW2
EE Recompiler data reset
Bios Version 1.60




GIF reset
Framelimiter rate updated (UpdateVSyncRate): 60 fps
_openfile /usr/local/packages/emulation/sony/ps2/pcsx2/pcsx2-0.9.4/bin/pillgen-30fps-94pills-ntsc.elf 0
read error 0
read error 0
read error 0
read error 0
read error 0
read error 0
read error 0
read error 0
read error 0
read error 0
detected blocksize = 2352
isoOpen: /usr/local/packages/emulation/sony/ps2/pcsx2/pcsx2-0.9.4/bin/pillgen-30fps-94pills-ntsc.elf ok
offset = 0
blockofs = 0
blocksize = 2352
blocks = 13
type = 3
ZeroGS: creating
ZeroGS: Only Singlebuffered Visual!
ZeroGS: glX-Version 1.2

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47210069760880 (LWP 2871)]
0x00002aeffdc327b0 in glXChannelRectSyncSGIX () from /usr/lib64/
(gdb) bt
#0 0x00002aeffdc327b0 in glXChannelRectSyncSGIX () from /usr/lib64/
#1 0x00002aeffdc2ce1b in glXCreateContext () from /usr/lib64/
#2 0x00002aeffd967280 in ZeroGS::Create () from plugins/
#3 0x00002aeffd92e6d4 in GSopen () from plugins/
#4 0x0000000000447ac3 in OpenPlugins ()
#5 0x0000000000418f80 in RunExecute ()
#6 0x00002aefef83177a in g_closure_invoke () from /opt/gnome/lib64/
#7 0x00002aefef84196d in g_signal_override_class_closure () from /opt/gnome/lib64/
#8 0x00002aefef842dd5 in g_signal_emit_valist () from /opt/gnome/lib64/
#9 0x00002aefef842fb3 in g_signal_emit () from /opt/gnome/lib64/
#10 0x00002aefee74c4da in gtk_widget_activate () from /opt/gnome/lib64/
#11 0x00002aefee657030 in gtk_menu_shell_activate_item () from /opt/gnome/lib64/
#12 0x00002aefee6584e0 in gtk_menu_shell_append () from /opt/gnome/lib64/
#13 0x00002aefee64b24d in gtk_marshal_BOOLEAN__VOID () from /opt/gnome/lib64/
#14 0x00002aefef83177a in g_closure_invoke () from /opt/gnome/lib64/
#15 0x00002aefef841f8a in g_signal_override_class_closure () from /opt/gnome/lib64/
#16 0x00002aefef842b9d in g_signal_emit_valist () from /opt/gnome/lib64/
#17 0x00002aefef842fb3 in g_signal_emit () from /opt/gnome/lib64/
#18 0x00002aefee7487ee in gtk_widget_get_default_style () from /opt/gnome/lib64/
#19 0x00002aefee64493d in gtk_propagate_event () from /opt/gnome/lib64/
#20 0x00002aefee645951 in gtk_main_do_event () from /opt/gnome/lib64/
#21 0x00002aefeeae56ec in gdk_add_client_message_filter () from /opt/gnome/lib64/
#22 0x00002aeff17a7f94 in g_main_context_dispatch () from /opt/gnome/lib64/
#23 0x00002aeff17aadc5 in g_main_context_prepare () from /opt/gnome/lib64/
#24 0x00002aeff17ab0ca in g_main_loop_run () from /opt/gnome/lib64/
#25 0x00002aefee645ce3 in gtk_main () from /opt/gnome/lib64/
#26 0x000000000041a148 in main ()

I've run various *.elf's but it doesn't seem to matter, it crashes after the "ZeroGS: glX-Version 1.2" message.

Help appreciated, thanks.

Robert W.

Sponsored links

You videocard and videodriver, please (I think you card is unsupported)! And you CPU is pretty slow for pcsx2.
(02-20-2009, 06:52 PM)Zeydlitz Wrote: You videocard and videodriver, please (I think you card is unsupported)! And you CPU is pretty slow for pcsx2.

I tried this on two separate machines (one a 586, the other an amd-64). The laptop is
not accelerated (ie., non-nvidia, mesa driver for openGL). Speed is not an issue as I'm mainly interested in developing homebrew code. It would seem the segfault is not related to the card as the card/drivers are different for the two machines on which this problem occurs.

Robert W.
This segfault is primarily linked to glX implementation, and mesa drivers are worthless to run pcsx2, you could expect every kind of SIGs with them. Second machine is not to modern, so I pretty sure, that that trouble are videodriver too. Currently pcsx2 REQUIRED acclerated proprietary driver.

I found the problem/s:

1. zeroGS (currently) only handles 24bit "TrueColor" visual. (easily hacked/changed)
-"zerogs.cpp", line 1024

2. "glGenFramebuffersEXT" (zerogs.cpp line 1404) crashes the app instantly
-maybe this is one of the glX bugs Zeydlitz was talking about

I've been looking at using/changing the old GSsoft plugin to do what I want.

Robert W.

Users browsing this thread: 1 Guest(s)