It is currently Sun Jul 12, 2020 8:19 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Error when running game on Ubuntu 20.04
PostPosted: Sun May 17, 2020 4:25 pm 
Offline
User
User

Joined: Sat Sep 21, 2019 4:24 pm
Posts: 23
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:
(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!


Top
 Profile  
Reply with quote  
 Post subject: Re: Error when running game on Ubuntu 20.04
PostPosted: Mon May 18, 2020 2:28 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 14065
Location: France
Virtual machines are not known to run OpenGL app very nicely. Could you try on a real linux ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Error when running game on Ubuntu 20.04
PostPosted: Tue May 19, 2020 7:13 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2548
Location: Germany
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

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Error when running game on Ubuntu 20.04
PostPosted: Tue May 19, 2020 9:56 pm 
Offline
Addict
Addict
User avatar

Joined: Fri May 12, 2006 6:51 pm
Posts: 2548
Location: Germany
VM Ubuntu 20.04 LTS installiert.

Game is running.

_________________
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace


Top
 Profile  
Reply with quote  
 Post subject: Re: Error when running game on Ubuntu 20.04
PostPosted: Wed May 20, 2020 10:14 pm 
Offline
User
User

Joined: Sat Sep 21, 2019 4:24 pm
Posts: 23
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye