cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

poletti_marco
Journeyman III

compiled sum.br crashes in linux

When I compile sum.br (as shown on the Brook programming guide) and sum.cpp I have no errors (after using the brtvector.hpp patch described in this forum). But when I run the program this is the result:

marco@suse-fisso:~/Coding/brook> ./main
libxcb: WARNING! Program tries to unlock a connection without having acquired
        a lock first, which indicates a programming error.
        There will be no further warnings about this issue.
libxcb: WARNING! Program tries to lock an already locked connection,
        which indicates a programming error.
        There will be no further warnings about this issue.
main: xcb_io.c:352: _XReply: Assertion `!dpy->xcb->reply_data' failed.
Aborted

I use Suse 11 on 32 bit with pae (if this matters).

0 Likes
4 Replies

Hi poletti.marco,

We actually haven't tested against SUSE 11, but let's try to debug this nonetheless...

Are you using a 3870 or 4850/70? Which driver are you using? (with SDK v1.1-beta you should use up to Catalyst 8.6).

Michael.
0 Likes

I'm using a HD 3850. I'm not sure which catalyst I use, CCC says driver version is 8.52.3

0 Likes

Hi poletti.marco,

Can you try setting LIBXCB_ALLOW_SLOPPY_LOCK to 1 and seeing if this allows your programs to run?

export LIBXCB_ALLOW_SLOPPY_LOCK=1

Michael.
0 Likes

Thanks for the reply.

No, setting LIBXCB_ALLOW_SLOPPY_LOCK=1 does not change the program output. This is a minimal program giving that error:

int main() {

    float a<10>;

}

However I have Catalyst 8.8 so I'll wait for the upcoming Stream SDK release because according to a post in this forum it's arriving in a week. Is that date still valid?

0 Likes