Celestia in a Virtual Machine?

General discussion about Celestia that doesn't fit into other forums.
Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Celestia in a Virtual Machine?

Post #1by selden » 01.10.2010, 21:50

Has anyone tried running Celestia in a Virtual Machine?

Windows 7 Professional and above includes a license for XP Mode, which is XP running in Microsoft's Virtual PC. (You can do it in the Home editions, too, but you have to purchase an XP license.) in principle, their Virtual PC can run other operating systems, too. XP Mode's OpenGL support is, shall we say, pathetic (software emulation of OpenGL v1.1). Presumably Linux would have to use Mesa.

Oracle (previously Sun) provides a free-for-personal-use VM called VirtualBox which is available for Windows, Linux and MacOS. (There are other VM vendors.) The current version of VirtualBox includes support for OpenGL v2.0, but its support for DirectX.does not yet include 3D, so most Aero features aren't available if you use it to run Windows Vista or 7.

Virtual machines provide a way tp test software without worrying about trashing the host computer. "Obviously" Celestia wouldn't do that ;) but other packages might. In many cases, they can be an alternative to configuring a computer to dual-boot.
Selden

Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Re: Celestia in a Virtual Machine?

Post #2by Guckytos » 02.10.2010, 07:39

Well,

in fact I do build Celestia in VirtualBox VM and that is working good.
But running Celestia itself in the same VM is not as good. The graphics drivers are not really that good that you get all the eye-candy that you would get with a normal installation on a real machine. And the Qt-version went completely nuts on the VM while running smoothly on a native machine.

So, my experience is, yes, you can run Celestia in VM, but you loose the real eye-candy, ssince the graphics drivers are not as capable as the native ones.

Regards,

Guckytos

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Celestia in a Virtual Machine?

Post #3by t00fri » 02.10.2010, 08:44

I regularly build Celestia since about three years in Virtualbox (Sun) with openSuSE as host and Win XP as guest system. I have done it frequently for Celestia-Qt using QtCreator IDE and for Celestia using VC++ 2008.

Here is a thread about it from April 2007, which seems to be forgotten.
viewtopic.php?f=10&t=10994&hilit=virtualbox

Moreover, I use TightVCN to connect with my office machine from home, both for openSuSE/Windows. This is amazingly fast, virtually without visible delays.

Fridger
Image

Avatar
Topic author
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Celestia in a Virtual Machine?

Post #4by selden » 02.10.2010, 14:08

Guckytos,

Which version of VirtualBox are you using?
Did you install the Guest Additions?

I'm running VB 3.2.8 with a Win7 guest and getting all of the OpenGL 2.0 eye candy. Aero doesn't work, but that's a known issue: DirectX isn't fully implemented. Below is Celestia's OpenGL Info.

Code: Select all

Vendor: Humper
Renderer: Chromium
Version: 2.1 Chromium 1.9
GLSL version: 3.30 NVIDIA via Cg compiler
Max simultaneous textures: 4
Max texture size: 8192
Max cube map size: 8192
Point size range: 1.000000 - 63.375000


Both of you,
What does Celestia's cursor look like in the Guest VM ?
It's almost invisibly tiny on my system. At first I thought it was completely missing.

When I run Celestia in XP mode, the cursor looks normal.
Selden

Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Re: Celestia in a Virtual Machine?

Post #5by Guckytos » 03.10.2010, 16:53

Well, I am running VB 3.2.8 also.

Host is Fedora 13, Guest is XP SP3, and Guest Addtions are installed.

And here is what the OpenGL Info from Celestia says:

Code: Select all

Vendor: Humper

Renderer: Chromium

Version: 2.1 Chromium 1.9

GLSL version: 1.20 NVIDIA via Cg compiler

Max simultaneous textures: 4

Max texture size: 4096

Max cube map size: 4096

Point size range: 1.000000 - 63.375000


The cursor looks normal for me, fine crosshairs, but good visible.

Regards,

Guckytos


Return to “Celestia Users”