You are not logged in.
Pages: 1
hey!
i am programming my own games in blitzmax, which is 32bit and therefore i installed a 32bit chroot. everything runs fine and i can compile and run my games. BUT only in windowed mode. if i try to run them in fullscreen mode i will get a black screen and the game stops running.
i think this is not a blitzmax issue so i post it here. do i need a special lib to run 32bit opengl games in fullscreen mode?
Offline
ok here is the debug message i receive if i start a 32bit game in fullscreen mode (windowed mode runs fine!):
bash-3.2$ ./test.debug
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 52
Current serial number in output stream: 781
Locking assertion failure. Backtrace:
#0 /opt/lib32/usr/lib/libxcb-xlib.so.0 [0xf7b4a767]
#1 /opt/lib32/usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xf7b4a81e]
#2 /opt/lib32/usr/lib/libX11.so.6 [0xf7ee9ba9]
#3 /opt/lib32/usr/lib/libX11.so.6(XFlush+0x29) [0xf7ec2d99]
#4 ./test.debug [0x8071ad1]
#5 ./test.debug [0x80f9cef]
#6 ./test.debug [0x80f92bc]
#7 ./test.debug [0x80f7d10]
#8 ./test.debug [0x80f78d6]
#9 ./test.debug [0x80f6e7b]
#10 /opt/lib32/lib/libc.so.6(exit+0x89) [0xf7b7d6c9]
#11 /opt/lib32/usr/lib/libX11.so.6 [0xf7ee254e]
#12 /opt/lib32/usr/lib/libX11.so.6(_XError+0xd9) [0xf7ee2629]
#13 /opt/lib32/usr/lib/libX11.so.6 [0xf7eea548]
#14 /opt/lib32/usr/lib/libX11.so.6(_XEventsQueued+0x55) [0xf7eeaeb5]
#15 /opt/lib32/usr/lib/libX11.so.6(_XFlush+0x42) [0xf7eeaf42]
#16 /opt/lib32/usr/lib/libX11.so.6(XFlush+0x31) [0xf7ec2da1]
#17 /opt/lib32/usr/lib/libGL.so.1(glXSwapBuffers+0xea) [0xf7e5d10a]
#18 ./test.debug [0x805a797]
#19 ./test.debug [0x80dc5e5]
test.debug: xcb_xlib.c:73: xcb_xlib_lock: Assertion `!c->xlib.lock' failed.
Abgebrochen
bash-3.2$
it sais sth. about xlib.lock...?!? i have typed "xhost +local:" in the terminal
Offline
@Danvari: Hmmm...I had a similar error trying to get the citrix client working. Now I can run it with a little script that sets the SLOPPY LOCK environmental variable and that seems to fix the problem
#!/bin/sh
export LIBXCB_ALLOW_SLOPPY_LOCK=1 # Fix for Citrix client
schroot -pc arch32 /usr/lib/ICAClient/wfica $1
Maybe that will help?
Good luck,
Scott
Offline
no that does not work for me :-\
ok i programmed a small program:
http://rapidshare.com/files/150305643/demo.debug.html
it would be nice if you could test it on your arch64 machine. for me it does not work. and it worked quite well under gentoo amd64, so i think it has nothing to do with blitzmax, the programming language (it compiles in gcc)
run:
./demo.debug for windowed mode...that one works. you will get a simple "Test" in the upper left corner.
./demo.debug --fullscreen for fullscreen mode....does not work, you have to kill it and you will get an error message :-\
that is the source code (although you need blitzmax):
AppTitle = "Test"
If Len(AppArgs) = 2 Then
If AppArgs[1] = "--fullscreen" Then Graphics 640, 480, 32
Else
Graphics 640, 480
End If
Repeat
Cls()
DrawText "Test", 0, 0
Flip()
Until KeyDown(KEY_ESCAPE)
does not work either in 32bit, 24bit or 16bit, same behaviour..
Offline
Pages: 1