Page 1 of 1

Error when running game on Ubuntu 20.04

Posted: Sun May 17, 2020 4:25 pm
by ricardo_sdl
Hi!
I'm trying to create a linux binary for my game (https://ricardo-sdl.itch.io/trial-dungeon). I installed Ubuntu 20.04 on a virtual machine using Hyper-V on windows 10. This is the PureBasic version used:
PureBasic 5.72 (Linux - x64)

The game compiles fine, but when I try to run it I get the following error message:

Code: Select all

(purebasic.out:2303): Gdk-ERROR **: 12:04:23.735: The program 'purebasic.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContextTag'.
  (Details: serial 334 error_code 162 request_code 151 (GLX) minor_code 16)
  (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 GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)
Any ideas on how to solve it?
Thank you all!

Re: Error when running game on Ubuntu 20.04

Posted: Mon May 18, 2020 2:28 pm
by Fred
Virtual machines are not known to run OpenGL app very nicely. Could you try on a real linux ?

Re: Error when running game on Ubuntu 20.04

Posted: Tue May 19, 2020 7:13 pm
by mk-soft
Recompiled Linux PB v5.72 and running.

Hostsystem: Mac Mini 2018
Virtualization: Parallels V15
VM: Ubuntu 18.04.4 (X64)

VM: Ubuntu 20.04 - Download now

Re: Error when running game on Ubuntu 20.04

Posted: Tue May 19, 2020 9:56 pm
by mk-soft
VM Ubuntu 20.04 LTS installiert.

Game is running.

Re: Error when running game on Ubuntu 20.04

Posted: Wed May 20, 2020 10:14 pm
by ricardo_sdl
Thanks mk-soft. Since the game compiled fine and you reported that it worked I decided to upload the version created with the virtual machine, I hope it will work for most users.