Previous Thread
Next Thread
Print Thread
#109170 - 03/16/17 07:17 PM SDLMAME - cannot start any game due to OpenGL erro  
Joined: Nov 2004
Posts: 8
czezz Offline
Member
czezz  Offline
Member

Joined: Nov 2004
Posts: 8
Poland/Warsaw
Ubuntu 16.04 (as VirtualBox guest OS)

I have installed mame 0.183 (latest available at the moment) following this instruction: http://sdlmame.wallyweek.org/repository/
I have set video mode to: auto (I have also tried all other available: none, soft, opengl, bgfx - does not even let me start mame menu )
Mame itself starts and I see availabe games. However, once I try to start any, mame crashes with following errors.
Any clue what am I doing wrong?


Code
$ mame
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  14 (X_GetGeometry)
  Resource id in failed request:  0x3a00004
  Serial number of failed request:  379
  Current serial number in output stream:  379
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx=0, file /mnt/tinderbox/add/src/VBox/GuestHost/OpenGL/state_tracker/state_init.c, line 431
OpenGL Warning: freeing context 00007fb7cc6f8010, id(0) not being in the context list
OpenGL Warning: State tracker is being re-initialized..

OpenGL Warning: Assertion failed: g_pAvailableContexts[ctx->id] == ctx=0, file /mnt/tinderbox/add/src/VBox/GuestHost/OpenGL/state_tracker/state_init.c, line 431
OpenGL Warning: freeing context 00007fb7cc374010, id(0) not being in the context list
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
OpenGL Warning: Assertion failed: obj=0, file /mnt/tinderbox/add/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c, line 210
Segmentation fault (core dumped)

#109171 - 03/16/17 07:49 PM Re: SDLMAME - cannot start any game due to OpenGL erro [Re: czezz]  
Joined: Mar 2001
Posts: 15,550
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,550
USA
This appears to be a problem in VirtualBox itself that would not occur on hardware. Is there some special reason you're running MAME that way?

#109172 - 03/16/17 09:18 PM Re: SDLMAME - cannot start any game due to OpenGL erro [Re: czezz]  
Joined: Nov 2004
Posts: 8
czezz Offline
Member
czezz  Offline
Member

Joined: Nov 2004
Posts: 8
Poland/Warsaw
Hi, thank you for reply.
The reason why im keeping MAME (and also other games) on VirtualBox is because I want to isolate work my private things from work.

This is what I see when I set video mode as: bgfx

Code
$ mame
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8229)/format(1903)/type(1401)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8229)/format(1903)/type(1401)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8231)/format(8d94)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8232)/format(8d94)/type(1401)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8f94)/format(1903)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(822a)/format(1903)/type(1403)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8233)/format(8d94)/type(1402)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8234)/format(8d94)/type(1403)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(822d)/format(1903)/type(140b)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8f98)/format(1903)/type(1402)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8235)/format(1903)/type(1404)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8236)/format(8d94)/type(1405)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(822e)/format(1903)/type(1406)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(822b)/format(8227)/type(1401)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8237)/format(8227)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8238)/format(8227)/type(1401)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8f95)/format(8227)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(822c)/format(8227)/type(1403)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8239)/format(8227)/type(1402)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(823a)/format(8227)/type(1403)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(822f)/format(8227)/type(1406)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8f99)/format(8227)/type(1402)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(823b)/format(8227)/type(1404)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(823c)/format(8228)/type(1405)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8230)/format(8227)/type(1406)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d8f)/format(1907)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d7d)/format(1907)/type(1401)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8f96)/format(1907)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8c3d)/format(1907)/type(8c3e)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d8e)/format(1908)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d7c)/format(1908)/type(1401)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8f97)/format(1908)/type(1400)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d88)/format(1908)/type(1402)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d76)/format(1908)/type(1403)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(881a)/format(1908)/type(140b)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8f9b)/format(1908)/type(1402)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d82)/format(1908)/type(1404)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d70)/format(8d99)/type(1405)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8d62)/format(1907)/type(8363)
OpenGL Warning: packspu_TexImage2D invalid internalFormat(8c3a)/format(1907)/type(8c3b)
Segmentation fault (core dumped)

Last edited by czezz; 03/16/17 09:29 PM.
#109180 - 03/17/17 01:09 PM Re: SDLMAME - cannot start any game due to OpenGL erro [Re: czezz]  
Joined: Mar 2001
Posts: 15,550
R. Belmont Offline
R. Belmont  Offline

Very Senior Member

Joined: Mar 2001
Posts: 15,550
USA
Yeah, that error means BGFX is trying to do hardware OpenGL and VirtualBox isn't supporting it.


Moderated by  R. Belmont 

Who's Online Now
4 registered members (Llaffer, B2K24, Olivier Galibert, Augusto), 25 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,318
Posts107,539
Members4,734
Most Online225
May 26th, 2014
Powered by UBB.threads™ PHP Forum Software 7.6.0
Page Time: 0.027s Queries: 14 (0.011s) Memory: 4.9560 MB (Peak: 5.1350 MB) Zlib enabled. Server Time: 2017-04-27 03:08:50 UTC