Previous Thread
Next Thread
Print Thread
Joined: Nov 2004
Posts: 8
C
czezz Offline OP
Member
OP Offline
Member
C
Joined: Nov 2004
Posts: 8
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)

Joined: Mar 2001
Posts: 17,180
Likes: 211
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,180
Likes: 211
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?

Joined: Nov 2004
Posts: 8
C
czezz Offline OP
Member
OP Offline
Member
C
Joined: Nov 2004
Posts: 8
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.
Joined: Mar 2001
Posts: 17,180
Likes: 211
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,180
Likes: 211
Yeah, that error means BGFX is trying to do hardware OpenGL and VirtualBox isn't supporting it.


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
0 members (), 90 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,309
Posts121,701
Members5,070
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com