Page 1 of 1

OpenGL Not Working On Linux Guest?

Posted: 1. Sep 2013, 04:37
by JeZ-l-Lee
OpenGL Not Working On Linux Guest?

Hi,

Running Microsoft(R) Windows(R) 8 Pro 64Bit host with an Xubuntu 13.04 64Bit guest
using current VirutalBox version 4.2.16 for Microsoft(R) Windows(R).

I _think_ I installed the Linux guest guest additions,
but OpenGL hardware acceleration seems not to be working?

I am a cross-platform indie video game developer who is trying to support Linux
with a brand new video game engine I have created using new SDL2.

When I run the SDL2 game in Linux guest under VirtualBox I receive an SDL2 initialization error:
"No available video device" which means OpenGL hardware acceleration is not working in Linux guest.

I am a beginner Linux user and do not know how to proceed.
Can someone please instruct me on how to get OpenGL hardware acceleration working on my Linux guest?

Thanks!

If you are interested in the SDL2 cross-platform game I am working on then visit this SDL forum post here:
http://forums.libsdl.org/viewtopic.php?t=9463

JeZ+Lee

Re: OpenGL Not Working On Linux Guest?

Posted: 1. Sep 2013, 14:58
by Perryg
The guest additions must be installed and working, as well as 3D being enabled in the guest settings.

Run the following in the guests terminal:

Code: Select all

glxinfo | grep OpenGL
You may need to install mesa-utils