Page 1 of 1

LoG2 in Virtualbox under Linux

Posted: Fri Aug 14, 2015 9:19 pm
by Zo Kath Ra
I've installed LoG2 2.2.4 in Virtualbox.

Host: openSUSE 13.2
Guest: Windows 7 with SP1

I've enabled 3D acceleration in the guest and installed 3d support via the guest additions.

When I start LoG2, it gives me this error:

Code: Select all

The following error occurred while starting up the game:
Pixel shader version 3.0 or higher required
My graphics card is a GTX 550 Ti, with this Linux driver:
http://www.nvidia.com/Download/driverRe ... 1761/en-us

Re: LoG2 in Virtualbox under Linux

Posted: Fri Aug 14, 2015 9:37 pm
by minmay
I get the same error. Even if fixed, I would be surprised if you could run the game in Virtualbox at all, doesn't it limit you to 256 MB of virtual video RAM?

For what it's worth, the game does run well in Wine, just make sure to use a 32-bit prefix. And the editor may not work in newer versions (I use Wine 1.7.2 for the editor).

Re: LoG2 in Virtualbox under Linux

Posted: Fri Aug 14, 2015 10:30 pm
by Dr.Disaster
It does not matter what gpu is inside your system; VirtualBox does not allow it's VM's access to it. All gfx of VirtualBox VM's is done by a virtual gpu called "VirtualBox Graphics Adapter" which is rather basic. Software requiring more than basic DirectX stuff like Shader Model 3.0 can't be run with it.

To run gfx-based stuff like games use WINE.

Re: LoG2 in Virtualbox under Linux

Posted: Sat Aug 15, 2015 12:07 am
by minmay
Dr.Disaster wrote:It does not matter what gpu is inside your system; VirtualBox does not allow it's VM's access to it. All gfx of VirtualBox VM's is done by a virtual gpu called "VirtualBox Graphics Adapter" which is rather basic.
this is wrong, virtualbox guest additions include hardware acceleration for opengl/direct3d on several virtual operating systems

Re: LoG2 in Virtualbox under Linux

Posted: Sat Aug 15, 2015 12:31 am
by Dr.Disaster
minmay wrote:
Dr.Disaster wrote:It does not matter what gpu is inside your system; VirtualBox does not allow it's VM's access to it. All gfx of VirtualBox VM's is done by a virtual gpu called "VirtualBox Graphics Adapter" which is rather basic.
this is wrong, virtualbox guest additions include hardware acceleration for opengl/direct3d on several virtual operating systems
This access to some OpenGL/Direct3D capabilities of the host gpu is enough to run Aero, some simple animations or games that do not require more than this API can deliver. But once more advanced features like Shaders or hardware-based performance-accelerations i.e. for video decoding are requested it's game over. For example Win7 can't even complete it's own build-in system performance index test in a VirtualBox because some video playback test routine fails, even with guest addition installed, maxed vram and experimental ICH9 support enabled.

Re: LoG2 in Virtualbox under Linux

Posted: Mon Dec 07, 2015 6:09 am
by Dr.Disaster
Just discovered this by chance:

LoG2 2.2.4 can now be run in VirtualBox 5.0.10 with Window 10 as guest.
Yet rendering mode must be set to "Low" for the game to run and even then it is very very slow.

On older Windows guests the game still won't start and only show some D3D error message.