MegaGlest Forum

Archives (read only) => Vanilla Glest => Bug report => Topic started by: softcoder on 28 February 2011, 20:34:32

Title: Problem when running in VirtualBox 4.X
Post by: softcoder on 28 February 2011, 20:34:32
The current VirtualBox 4.x opengl drivers are very buggy. If you want to run in this environment please install OLDER Guest additions Open GL drivers and things should work ok:

http://download.virtualbox.org/virtualbox/3.2.12/VBoxGuestAdditions_3.2.12.iso (http://download.virtualbox.org/virtualbox/3.2.12/VBoxGuestAdditions_3.2.12.iso)
Title: Re: Problem when running in VirtualBox 4.X
Post by: hailstone on 1 March 2011, 00:21:48
They sure are. It locked up on me when loading Chromium B.S.U when it worked perfectly before. Do you get the issues like I got when testing the older ones? http://blog.nturn.net/?p=132

Previously Windows host with Windows guest seems to work but Windows host with Linux guest doesn't.
Title: Re: Problem when running in VirtualBox 4.X
Post by: softcoder on 1 March 2011, 06:22:17
I have both Linux and Windows Guests (numerous of both) and the ones I tried MegaGlest on all seemed to work with a some caveats:

#1. The Selection Box doesn't select units for some reason
#2. VBox 4.x OpenGl is just plain messed up avoid it (and use older 3.x guest additions with your 4.x Hosts)
#3. The fps are not that great but enough to get the general idea that things work.

In MG We use SDL for Keyboard / mouse (lots of the direct win32 api stuff was removed) and we deprecated DirectX in favor of just using OpenGL (which i believe internally wraps DirectX on windows anyways) for portability sake and easier code management.

The tileset and models look fine though in my VBox sessions.
Title: Re: Problem when running in VirtualBox 4.X
Post by: hailstone on 1 March 2011, 08:09:59
Are you running Linux or Windows host?
Title: Re: Problem when running in VirtualBox 4.X
Post by: softcoder on 2 March 2011, 16:16:34
Linux Host running Windows + Linux guests
Title: Re: Problem when running in VirtualBox 4.X
Post by: hailstone on 2 March 2011, 22:43:03
OK. I did some searching and I couldn't find an example of someone running 3D in Linux guest from Windows host. I don't remember if I tried VirtualBox 3.2.12. I'll try the 3.2.12 guest additions and see if that helps.

Edit: It didn't work. It doesn't recognise 3D acceleration as enabled even though the box is checked.
Title: Re: Problem when running in VirtualBox 4.X
Post by: softcoder on 3 March 2011, 00:29:05
Did you install guest additions also? This is required in addition to the enable #D acceleration checkbox.

Thanks
Title: Re: Problem when running in VirtualBox 4.X
Post by: hailstone on 3 March 2011, 01:37:00
Yes, 3.2.12 and the ones from the ubuntu repo ( 3.8 ). Also uninstalling and reinstalling guest additions. I'll try with xubuntu since that's what I was using before with 3.2.

Edit: I blindly clicked away a message box that told me the guest additions version needs to match the host VirtualBox version to have 3D acceleration work. I'll uninstall VirtualBox 4 and install 3.2.12 and see if that works.
Title: Re: Problem when running in VirtualBox 4.X
Post by: softcoder on 3 March 2011, 07:24:02
Really? I was able to install 3.2.12 using VirtualBox 4.x no problem in both Windows and Linux
Title: Re: Problem when running in VirtualBox 4.X
Post by: hailstone on 6 March 2011, 08:13:07
The guest additions install but afterwards a message shows up.

I installed Vanilla Glest from the Ubuntu repository and it seems to work as well as it did before. I installed glxgears and it works but part way through testing all the guest additions down to 3.2.0 it's just grey.

Are you able to run Chromium B.S.U properly? Loading from the console every second time it shows up but a lot of the textures aren't there and the input is weird.