..:: PCSX2 Forums ::..

Full Version: Linux, GSdx plugin on Ati card
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
(06-11-2012, 07:06 PM)gregory Wrote: [ -> ]Hum that interesting, nvidia replaces most of the GL stack! I'm nearly there is an issue with glew.

Well if you can lend me your pc with gentoo on it, I could debug it very easily Tongue2

Sorry for the delay. This is my compiled libGLEW with debugging support.

in case another data point is useful a stack trace is also at the bottom (note this is after removing the return false in the GL_ARB_separate_sharder_objects check since that shouldn't be failing either)
An interesting thing I did notice there was that glewIsSupported is calling the method of that name in cairo, not glew. As far as I can tell cairo is getting pulled in by wxwidgets. Not sure if the conflict is what's causing the problem, but it does seem a bit suspicious.

General system information:
Code:
Linux localhost 3.4.0-gentoo #1 SMP Tue Jun 12 16:42:12 JST 2012 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6400+ AuthenticAMD GNU/Linux
GeForce GTX 550 Ti: 295.53
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.5.4-r4, 2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2

Stack trace:
Code:
(gdb) bt full
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xf090c86a in GSDeviceOGL::Create (this=0xa25e0e0, wnd=0xa2639f0)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/plugins/GSdx/GSDeviceOGL.cpp:208
        ShadeBoost_Contrast = -149616000
        ShadeBoost_Saturation = -284066428
        rect = {static m_xff = {{
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = 0, y = 0, z = 0, w = 0}, {r = 0, g = 0, b = 0, a = 0}, {
                  left = 0, top = 0, right = 0, bottom = 0}, v = {0, 0, 0, 0},
                f32 = {0, 0, 0, 0}, i8 = '\000' <repeats 15 times>, i16 = {0,
                  0, 0, 0, 0, 0, 0, 0}, i32 = {0, 0, 0, 0}, i64 = {0, 0},
                u8 = '\000' <repeats 15 times>, u16 = {0, 0, 0, 0, 0, 0, 0,
                  0}, u32 = {0, 0, 0, 0}, u64 = {0, 0}, m = {0, 0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = 255, y = 0, z = 0, w = 0}, {r = 255, g = 0, b = 0,
                  a = 0}, {left = 255, top = 0, right = 0, bottom = 0}, v = {
                  255, 0, 0, 0}, f32 = {3.57331108e-43, 0, 0, 0},
                i8 = "\377", '\000' <repeats 14 times>, i16 = {255, 0, 0, 0,
                  0, 0, 0, 0}, i32 = {255, 0, 0, 0}, i64 = {255, 0},
---Type <return> to continue, or q <return> to quit---
                u8 = "\377", '\000' <repeats 14 times>, u16 = {255, 0, 0, 0,
                  0, 0, 0, 0}, u32 = {255, 0, 0, 0}, u64 = {255, 0}, m = {255,
                  0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = 65535, y = 0, z = 0, w = 0}, {r = 65535, g = 0, b = 0,
                  a = 0}, {left = 65535, top = 0, right = 0, bottom = 0}, v = {
                  65535, 0, 0, 0}, f32 = {9.18340949e-41, 0, 0, 0},
                i8 = "\377\377", '\000' <repeats 13 times>, i16 = {-1, 0, 0,
                  0, 0, 0, 0, 0}, i32 = {65535, 0, 0, 0}, i64 = {65535, 0},
                u8 = "\377\377", '\000' <repeats 13 times>, u16 = {65535, 0,
                  0, 0, 0, 0, 0, 0}, u32 = {65535, 0, 0, 0}, u64 = {65535, 0},
                m = {65535, 0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = 16777215, y = 0, z = 0, w = 0}, {r = 16777215, g = 0,
                  b = 0, a = 0}, {left = 16777215, top = 0, right = 0,
                  bottom = 0}, v = {16777215, 0, 0, 0}, f32 = {2.35098856e-38,
                  0, 0, 0}, i8 = "\377\377\377", '\000' <repeats 12 times>,
                i16 = {-1, 255, 0, 0, 0, 0, 0, 0}, i32 = {16777215, 0, 0, 0},
                i64 = {16777215, 0},
                u8 = "\377\377\377", '\000' <repeats 12 times>, u16 = {65535,
                  255, 0, 0, 0, 0, 0, 0}, u32 = {16777215, 0, 0, 0}, u64 = {
---Type <return> to continue, or q <return> to quit---
                  16777215, 0}, m = {16777215, 0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = 0, z = 0, w = 0}, {r = -1, g = 0, b = 0, a = 0}, {
                  left = -1, top = 0, right = 0, bottom = 0}, v = {-1, 0, 0,
                  0}, f32 = {-nan(0x7fffff), 0, 0, 0},
                i8 = "\377\377\377\377", '\000' <repeats 11 times>, i16 = {-1,
                  -1, 0, 0, 0, 0, 0, 0}, i32 = {-1, 0, 0, 0}, i64 = {
                  4294967295, 0},
                u8 = "\377\377\377\377", '\000' <repeats 11 times>, u16 = {
                  65535, 65535, 0, 0, 0, 0, 0, 0}, u32 = {4294967295, 0, 0,
                  0}, u64 = {4294967295, 0}, m = {4294967295, 0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = 255, z = 0, w = 0}, {r = -1, g = 255, b = 0,
                  a = 0}, {left = -1, top = 255, right = 0, bottom = 0}, v = {
                  -1, 255, 0, 0}, f32 = {-nan(0x7fffff), 3.57331108e-43, 0,
                  0},
                i8 = "\377\377\377\377\377\000\000\000\000\000\000\000\000\000\000", i16 = {-1, -1, 255, 0, 0, 0, 0, 0}, i32 = {-1, 255, 0, 0}, i64 = {
                  1099511627775, 0},
                u8 = "\377\377\377\377\377\000\000\000\000\000\000\000\000\000\000", u16 = {65535, 65535, 255, 0, 0, 0, 0, 0}, u32 = {4294967295, 255, 0, 0},
---Type <return> to continue, or q <return> to quit---
                u64 = {1099511627775, 0}, m = {1099511627775, 0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = 65535, z = 0, w = 0}, {r = -1, g = 65535, b = 0,
                  a = 0}, {left = -1, top = 65535, right = 0, bottom = 0},
                v = {-1, 65535, 0, 0}, f32 = {-nan(0x7fffff), 9.18340949e-41,
                  0, 0},
                i8 = "\377\377\377\377\377\377\000\000\000\000\000\000\000\000\000", i16 = {-1, -1, -1, 0, 0, 0, 0, 0}, i32 = {-1, 65535, 0, 0}, i64 = {
                  281474976710655, 0},
                u8 = "\377\377\377\377\377\377\000\000\000\000\000\000\000\000\000", u16 = {65535, 65535, 65535, 0, 0, 0, 0, 0}, u32 = {4294967295, 65535, 0,
                  0}, u64 = {281474976710655, 0}, m = {281474976710655, 0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = 16777215, z = 0, w = 0}, {r = -1, g = 16777215,
                  b = 0, a = 0}, {left = -1, top = 16777215, right = 0,
                  bottom = 0}, v = {-1, 16777215, 0, 0}, f32 = {
                  -nan(0x7fffff), 2.35098856e-38, 0, 0},
                i8 = "\377\377\377\377\377\377\377\000\000\000\000\000\000\000\000", i16 = {-1, -1, -1, 255, 0, 0, 0, 0}, i32 = {-1, 16777215, 0, 0}, i64 = {
                  72057594037927935, 0},
                u8 = "\377\377\377\377\377\377\377\000\000\000\000\000\000\000\0---Type <return> to continue, or q <return> to quit---
00", u16 = {65535, 65535, 65535, 255, 0, 0, 0, 0}, u32 = {4294967295,
                  16777215, 0, 0}, u64 = {72057594037927935, 0}, m = {
                  72057594037927935, 0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = 0, w = 0}, {r = -1, g = -1, b = 0,
                  a = 0}, {left = -1, top = -1, right = 0, bottom = 0}, v = {
                  -1, -1, 0, 0}, f32 = {-nan(0x7fffff), -nan(0x7fffff), 0, 0},
                i8 = "\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000", i16 = {-1, -1, -1, -1, 0, 0, 0, 0}, i32 = {-1, -1, 0, 0}, i64 = {-1, 0},
                u8 = "\377\377\377\377\377\377\377\377\000\000\000\000\000\000\000", u16 = {65535, 65535, 65535, 65535, 0, 0, 0, 0}, u32 = {4294967295,
                  4294967295, 0, 0}, u64 = {18446744073709551615, 0}, m = {-1,
                  0}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = 255, w = 0}, {r = -1, g = -1, b = 255,
                  a = 0}, {left = -1, top = -1, right = 255, bottom = 0}, v = {
                  -1, -1, 255, 0}, f32 = {-nan(0x7fffff), -nan(0x7fffff),
                  3.57331108e-43, 0},
                i8 = "\377\377\377\377\377\377\377\377\377\000\000\000\000\000\000", i16 = {-1, -1, -1, -1, 255, 0, 0, 0}, i32 = {-1, -1, 255, 0}, i64 = {-1,
                  255},
---Type <return> to continue, or q <return> to quit---
                u8 = "\377\377\377\377\377\377\377\377\377\000\000\000\000\000\000", u16 = {65535, 65535, 65535, 65535, 255, 0, 0, 0}, u32 = {4294967295,
                  4294967295, 255, 0}, u64 = {18446744073709551615, 255}, m = {
                  -1, 255}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = 65535, w = 0}, {r = -1, g = -1,
                  b = 65535, a = 0}, {left = -1, top = -1, right = 65535,
                  bottom = 0}, v = {-1, -1, 65535, 0}, f32 = {-nan(0x7fffff),
                  -nan(0x7fffff), 9.18340949e-41, 0},
                i8 = "\377\377\377\377\377\377\377\377\377\377\000\000\000\000\000", i16 = {-1, -1, -1, -1, -1, 0, 0, 0}, i32 = {-1, -1, 65535, 0}, i64 = {-1,
                  65535},
                u8 = "\377\377\377\377\377\377\377\377\377\377\000\000\000\000\000", u16 = {65535, 65535, 65535, 65535, 65535, 0, 0, 0}, u32 = {4294967295,
                  4294967295, 65535, 0}, u64 = {18446744073709551615, 65535},
                m = {-1, 65535}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = 16777215, w = 0}, {r = -1, g = -1,
                  b = 16777215, a = 0}, {left = -1, top = -1,
                  right = 16777215, bottom = 0}, v = {-1, -1, 16777215, 0},
                f32 = {-nan(0x7fffff), -nan(0x7fffff), 2.35098856e-38, 0},
---Type <return> to continue, or q <return> to quit---
                i8 = "\377\377\377\377\377\377\377\377\377\377\377\000\000\000\000", i16 = {-1, -1, -1, -1, -1, 255, 0, 0}, i32 = {-1, -1, 16777215, 0},
                i64 = {-1, 16777215},
                u8 = "\377\377\377\377\377\377\377\377\377\377\377\000\000\000\000", u16 = {65535, 65535, 65535, 65535, 65535, 255, 0, 0}, u32 = {4294967295,
                  4294967295, 16777215, 0}, u64 = {18446744073709551615,
                  16777215}, m = {-1, 16777215}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = -1, w = 0}, {r = -1, g = -1, b = -1,
                  a = 0}, {left = -1, top = -1, right = -1, bottom = 0}, v = {
                  -1, -1, -1, 0}, f32 = {-nan(0x7fffff), -nan(0x7fffff),
                  -nan(0x7fffff), 0},
                i8 = "\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000", i16 = {-1, -1, -1, -1, -1, -1, 0, 0}, i32 = {-1, -1, -1, 0}, i64 = {-1,
                  4294967295},
                u8 = "\377\377\377\377\377\377\377\377\377\377\377\377\000\000\000", u16 = {65535, 65535, 65535, 65535, 65535, 65535, 0, 0}, u32 = {
                  4294967295, 4294967295, 4294967295, 0}, u64 = {
                  18446744073709551615, 4294967295}, m = {-1, 4294967295}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = -1, w = 255}, {r = -1, g = -1, b = -1,
---Type <return> to continue, or q <return> to quit---
                  a = 255}, {left = -1, top = -1, right = -1, bottom = 255},
                v = {-1, -1, -1, 255}, f32 = {-nan(0x7fffff), -nan(0x7fffff),
                  -nan(0x7fffff), 3.57331108e-43},
                i8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000", i16 = {-1, -1, -1, -1, -1, -1, 255, 0}, i32 = {-1, -1, -1, 255}, i64 = {
                  -1, 1099511627775},
                u8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\000\000", u16 = {65535, 65535, 65535, 65535, 65535, 65535, 255, 0}, u32 = {
                  4294967295, 4294967295, 4294967295, 255}, u64 = {
                  18446744073709551615, 1099511627775}, m = {-1,
                  1099511627775}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = -1, w = 65535}, {r = -1, g = -1, b = -1,
                  a = 65535}, {left = -1, top = -1, right = -1,
                  bottom = 65535}, v = {-1, -1, -1, 65535}, f32 = {
                  -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff),
                  9.18340949e-41},
                i8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000", i16 = {-1, -1, -1, -1, -1, -1, -1, 0}, i32 = {-1, -1, -1, 65535}, i64 = {
                  -1, 281474976710655},
                u8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\000", u16 = {65535, 65535, 65535, 65535, 65535, 65535, 65535, 0}, u32 = {
---Type <return> to continue, or q <return> to quit---
                  4294967295, 4294967295, 4294967295, 65535}, u64 = {
                  18446744073709551615, 281474976710655}, m = {-1,
                  281474976710655}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = -1, w = 16777215}, {r = -1, g = -1,
                  b = -1, a = 16777215}, {left = -1, top = -1, right = -1,
                  bottom = 16777215}, v = {-1, -1, -1, 16777215}, f32 = {
                  -nan(0x7fffff), -nan(0x7fffff), -nan(0x7fffff),
                  2.35098856e-38},
                i8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377", i16 = {-1, -1, -1, -1, -1, -1, -1, 255}, i32 = {-1, -1, -1, 16777215},
                i64 = {-1, 72057594037927935},
                u8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377", u16 = {65535, 65535, 65535, 65535, 65535, 65535, 65535, 255}, u32 = {
                  4294967295, 4294967295, 4294967295, 16777215}, u64 = {
                  18446744073709551615, 72057594037927935}, m = {-1,
                  72057594037927935}}}, {
              static m_xff = <same as static member of an already seen type>,
              static m_x0f = <same as static member of an already seen type>, {
                {x = -1, y = -1, z = -1, w = -1}, {r = -1, g = -1, b = -1,
                  a = -1}, {left = -1, top = -1, right = -1, bottom = -1},
                v = {-1, -1, -1, -1}, f32 = {-nan(0x7fffff), -nan(0x7fffff),
---Type <return> to continue, or q <return> to quit---
                  -nan(0x7fffff), -nan(0x7fffff)},
                i8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377", i16 = {-1, -1, -1, -1, -1, -1, -1, -1}, i32 = {-1, -1, -1, -1},
                i64 = {-1, -1},
                u8 = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377", u16 = {65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535},
                u32 = {4294967295, 4294967295, 4294967295, 4294967295}, u64 = {
                  18446744073709551615, 18446744073709551615}, m = {-1,
                  -1}}}},
          static m_x0f = <same as static member of an already seen type>, {{
              x = 0, y = 169963288, z = 26354, w = 1}, {r = 0, g = 169963288,
              b = 26354, a = 1}, {left = 0, top = 169963288, right = 26354,
              bottom = 1}, v = {0, 169963288, 26354, 1}, f32 = {0,
              7.77276244e-33, 3.69298197e-41, 1.40129846e-45},
            i8 = "\000\000\000\000\030o!\n\362f\000\000\001\000\000", i16 = {
              0, 0, 28440, 2593, 26354, 0, 1, 0}, i32 = {0, 169963288, 26354,
              1}, i64 = {729986763480629248, 4294993650},
            u8 = "\000\000\000\000\030o!\n\362f\000\000\001\000\000", u16 = {
              0, 0, 28440, 2593, 26354, 0, 1, 0}, u32 = {0, 169963288, 26354,
              1}, u64 = {729986763480629248, 4294993650}, m = {
              729986763480629248, 4294993650}}}
        il_convert = {{index = 4010900672, size = -154086063,
            type = 170483632, normalize = 1 '\001', stride = 170577312,
---Type <return> to continue, or q <return> to quit---
            offset = 0xa212f50}, {index = 4145402967, size = 1,
            type = 170577312, normalize = 89 'Y', stride = -156252576,
            offset = 0xed826008}}
        ShadeBoost_Brightness = -150892129
        macro = ""
#2  0xf09e0ec6 in GSRenderer::CreateDevice (this=0xa25e3c0, dev=0xa25e0e0)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/plugins/GSdx/GSRenderer.cpp:63
No locals.
#3  0xf08dba0b in _GSopen (dsp=0x9e06580, title=0x0, renderer=13, threads=0)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/plugins/GSdx/GS.cpp:330
        dev = 0xa25e0e0
#4  0xf08dbb4e in GSopen2 (dsp=0x9e06580, flags=1)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/plugins/GSdx/GS.cpp:366
        renderer = 13
        retval = 0
#5  0x080ae176 in SysMtgsThread::OpenPlugin (this=0x9eac4a0)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/pcsx2/MTGS.cpp:191
        result = 49
#6  0x080aea21 in SysMtgsThread::OnResumeInThread (this=0x9eac4a0,
    isSuspended=true)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/pcsx2/MTGS.cpp:570
No locals.
---Type <return> to continue, or q <return> to quit---
#7  0x0823aaae in SysThreadBase::StateCheckInThread (this=0x9eac4a0)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/pcsx2/System/SysThreadBase.cpp:299
        __PRETTY_FUNCTION__ = "virtual bool SysThreadBase::StateCheckInThread()"
#8  0x080ae386 in SysMtgsThread::ExecuteTaskInThread (this=0x9eac4a0)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/pcsx2/MTGS.cpp:288
        busy = {_vptr.RingBufferLock = 0x8355ed8, m_lock1 = {
            _vptr.ScopedLock = 0x848ff08, m_lock = 0x9eac60c,
            m_IsLocked = false}, m_lock2 = {_vptr.ScopedLock = 0x848ff08,
            m_lock = 0x9eac628, m_IsLocked = false}, m_mtgs = @0x9eac4a0}
        __PRETTY_FUNCTION__ = "virtual void SysMtgsThread::ExecuteTaskInThread()"
#9  0x082fc636 in Threading::pxThread::_try_virtual_invoke (this=0x9eac4a0,
    method=&virtual Threading::pxThread::ExecuteTaskInThread())
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/common/src/Utilities/ThreadTools.cpp:545
No locals.
#10 0x082fca03 in Threading::pxThread::_internal_execute (this=0x9eac4a0)
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/common/src/Utilities/ThreadTools.cpp:644
No locals.
#11 0x082fcb6f in Threading::pxThread::_internal_callback (itsme=0x9eac4a0)
---Type <return> to continue, or q <return> to quit---
    at /home/dspaid/bin/pcsx2/svn/pcsx2-read-only/common/src/Utilities/ThreadTools.cpp:684
        __clframe = {
          __cancel_routine = 0x82faf92 <Threading::pxThread::_pt_callback_cleanup(void*)>, __cancel_arg = 0x9eac4a0, __do_it = 1, __cancel_type = 0}
        __PRETTY_FUNCTION__ = "static void* Threading::pxThread::_internal_callback(void*)"
        owner = @0x9eac4a0: {_vptr.pxThread = 0x8355ee8,
          m_name = {<wxStringBase> = {static npos = 4294967295,
              m_pchData = 0xa06e48c L"MTGS"}, <No data fields>},
          m_thread = 4010904384, m_native_id = 4010904384,
          m_native_handle = 0, m_sem_event = {_vptr.Semaphore = 0x8493878,
            m_sema = {
              __size = "\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000", __align = 0}}, m_sem_startup = {_vptr.Semaphore = 0x8493878, m_sema = {
              __size = "\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000", __align = 0}}, m_mtx_InThread = {_vptr.Mutex = 0x848ff30, m_mutex = {
              __data = {__lock = 1, __count = 0, __owner = 26354, __kind = 0,
                __nusers = 1, {__spins = 0, __list = {__next = 0x0}}},
              __size = "\001\000\000\000\000\000\000\000\362f\000\000\000\000\000\000\001\000\000\000\000\000\000", __align = 1}},
          m_mtx_start = {<Threading::Mutex> = {_vptr.Mutex = 0x848ff18,
              m_mutex = {__data = {__lock = 0, __count = 0, __owner = 0,
---Type <return> to continue, or q <return> to quit---
                  __kind = 1, __nusers = 0, {__spins = 0, __list = {
                      __next = 0x0}}},
                __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, <No data fields>}, m_mtx_ThreadName = {
            _vptr.Mutex = 0x848ff30, m_mutex = {__data = {__lock = 0,
                __count = 0, __owner = 0, __kind = 0, __nusers = 0, {
                  __spins = 0, __list = {__next = 0x0}}},
              __size = '\000' <repeats 23 times>, __align = 0}},
          m_detached = 0, m_running = 1, m_except = {m_ptr = 0x0, m_mtx = {
              _vptr.Mutex = 0x848ff30, m_mutex = {__data = {__lock = 0,
                  __count = 0, __owner = 0, __kind = 0, __nusers = 0, {
                    __spins = 0, __list = {__next = 0x0}}},
                __size = '\000' <repeats 23 times>, __align = 0}}},
          m_evtsrc_OnDelete = {_vptr.EventSource = 0x84964e8,
            m_listeners = empty std::list, m_cache_copy = empty std::list,
            m_cache_valid = false, m_listeners_lock = {
              _vptr.Mutex = 0x848ff30, m_mutex = {__data = {__lock = 0,
                  __count = 0, __owner = 0, __kind = 0, __nusers = 0, {
                    __spins = 0, __list = {__next = 0x0}}},
                __size = '\000' <repeats 23 times>, __align = 0}}}}
#12 0xf715aed7 in start_thread () from /lib32/libpthread.so.0
No symbol table info available.
#13 0xf70bae9e in clone () from /lib32/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
you forgot to attach libglew. Anyway that not normal that glew code calls some cairo stuff. Which version of cairo do you have? Mine is 1.12.2-2
Sorry, must have lost the file when I previewed.
Its not glew calling Cairo, its calls from GSdx being sent to Cairo instead of glew. As far as I can tell both libraries have global functions with the same name and the run time loader is preferring Cairo over glew.
Not at my system now but I should have a very recent version of Cairo (just did a system update this week).
Will have more information tomorrow, including a stack trace of the Cairo. The more I think about it the more it seems like a likely cause... I don't have any problems running the standalone gs player app, which probably doesn't have Cairo loaded since I'm guessing it doesn't depend on wxwidgets.
Yes I understand that too Smile Anyway Good jobs to find this issue. It is clearly the issue. And cairo mustn't have same function same as cairo, cairo breaks glew....
If you have time, try to use this command (update the path to your glew library), it will force to load the glew symbol instead of cairo ones.
Code:
LD_PRELOAD=/usr/lib/libGLEW.so.1.7 pcsx2
That did the trick, both hardward and software rendering working correctly now.

Thanks!
Good. Now we need to understand why the cairo library contains glew symbol which is completely wrong. Bad Compilation (glew statically link to cairo) or bad depency (cairo depends on another glew versions) or bad code source (glew symbol in cairo).
Looks like the cairo library pulled in by gentoo (found here) is intentionally using its own internal copy of glew.
I saw a bug report on gentoo. Can you upgrade cairo to 1.12, it seems they fix some stuff in upstream.
Nice work guys ! Thanks for your steady now we can enjoy nicely with PCSX2 under Gentoo.
(06-20-2012, 07:52 PM)gregory Wrote: [ -> ]I saw a bug report on gentoo. Can you upgrade cairo to 1.12, it seems they fix some stuff in upstream.

Tried updating, but it turns out the version of cairo used is the 32bit version installed by gentoo's emul-linux-x86-gtklibs (my version in particular is 20120520) package. As far as I can tell everything comes in as precompiled libraries, so no easy way to pull out the cairo sources they're using, but I'm guessing they're the same as the 64bit cairo package with private glew libraries...
Pages: 1 2 3 4 5 6 7 8 9 10