OpenGLgadget not working on Ubuntu Linux 12.04

Linux specific forum
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

OpenGLgadget not working on Ubuntu Linux 12.04

Post by langinagel »

Howdy,

I tried to compile OpenGlgadget.pb and ended up with no success over the IDE.
So I went to the shell:
:~/PRG/purebasic/examples/sources$ pbcompiler OpenGLGadget.pb -d

******************************************
PureBasic 5.30 (Linux - x86)
******************************************

Loading external modules...
Starting compilation...
Starting compilation...
183 lines processed.
Creating the executable.

- Feel the ..PuRe.. Power -

:~/PRG/purebasic/examples/sources$ The program 'purebasic.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 598 error_code 1 request_code 153 minor_code 19)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
So far so bad. Ok, option --sync:
:~/PRG/purebasic/examples/sources$ ./purebasic.out --sync
The program 'purebasic.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 1109 error_code 1 request_code 153 minor_code 19)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
How do I get a hint to get the program running?
Is something wrong with the configuration?

PB 5.30 x86 (just downloaded) on Ubuntu 12.04, checkinstall says OK.
https://www.doerpsoft.org

Boost. Work. Efficiency.
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: OpenGLgadget not working on Ubuntu Linux 12.04

Post by langinagel »

Done.

After trying to get new graphics driver I ended up with a system that could not start X.
Then: re-installation of Ubuntu and reconfiguration.

The dumb part: no bug in purebasic, everything works fine now with OpenGL.
The nice part: really everything works fine again...sound, 3D,...

Lessons Learned:
Reinstallation pays out from time to time.
And the nice part is in difference to Windows that you don't have to flip all the driver CDs.
https://www.doerpsoft.org

Boost. Work. Efficiency.
Post Reply