..:: PCSX2 Forums ::..

Full Version: PCSX2 on linux crashes when trying to use MTGS/DC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm currently running Ubuntu Linux (Hardy Heron 8.04) (x86-64) with an ATI Radeon HD2600 graphics card (using fglrx driver) and AMD Athlon 64 X2 Dual Core Processor 4800+ with 4 GB RAM. [/code]
I've been able to successfully compile PCSX2 0.9.4 from source and Final Fantasy XII runs (albeit very slowly) without MTGS/DC. However, when I enable MTGS/DC and attempt to load a game using "File->Run CD" I get a segfault. If I just hit "Run->Execute", I get flickering and garbage, but no segfault. Here's my output from gdb:

[New Thread 0x4109f950 (LWP 19222)]
ZeroGS: creating
ZeroGS: Got Doublebuffered Visual!
ZeroGS: glX-Version 1.2
ZeroGS: Depth 24
ZeroGS: you have Direct Rendering!
ZeroGS: *********
ZeroGS: OGL WARNING: Need GL_EXT_blend_equation_separate
ZeroGS: *********
ZeroGS: ******
ZeroGS: GS WARNING: Floating point render targets not supported, switching to 32bit
ZeroGS: *********
ZeroGS: Disabling MRT depth writing
ZeroGS: Creating effects
ZeroGS: Creating extra effects
ZeroGS: using accurate shaders
ZeroGS: initialization successful
Sound device not available!
[New Thread 0x42012950 (LWP 19232)]
[Thread 0x42012950 (LWP 19232) exited]
ZeroGS: Disabling MRT depth writing

Program received signal SIGSEGV, Segmentation fault.
0x00007f6d94fe61cb in ?? () from /usr/lib/dri/fglrx_dri.so
(gdb) bt
#0  0x00007f6d94fe61cb in ?? () from /usr/lib/dri/fglrx_dri.so
#1  0x00007f6d9a87f0a3 in ZeroGS::CDepthTarget::Destroy () from plugins/libZeroGSoglr.so.0.96.2
#2  0x00007f6d9a87f1b4 in ZeroGS::CDepthTarget::~CDepthTarget () from plugins/libZeroGSoglr.so.0.96.2
#3  0x00007f6d9a887847 in ZeroGS::CRenderTargetMngr::Destroy () from plugins/libZeroGSoglr.so.0.96.2
#4  0x00007f6d9a892530 in ZeroGS::GSStateReset () from plugins/libZeroGSoglr.so.0.96.2
#5  0x00007f6d9a86257c in GSreset () from plugins/libZeroGSoglr.so.0.96.2
#6  0x00000000004375a6 in CSRwrite ()
#7  0x00000000004381ad in gsWrite64 ()
#8  0x000000000d012bad in ?? ()
#9  0x0000000000545b71 in Execute_Function ()
#10 0x00007fffb2fff410 in ?? ()
#11 0x00007f6da95d9f20 in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x0000000000000000 in ?? ()
You need to recompile ZeroGS plugin with my patch (http://forums.pcsx2.net/thread-2405.html) -- there is a few bug in it. This one is issue 7 (http://code.google.com/p/pcsx2/issues/detail?id=7), as I see.