LoG2 in Virtualbox under Linux

Have trouble running Legend of Grimrock 2 or do you have questions about the purchasing options? Look for help here.
Post Reply
User avatar
Zo Kath Ra
Posts: 940
Joined: Sat Apr 21, 2012 9:57 am
Location: Germany

LoG2 in Virtualbox under Linux

Post 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
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: LoG2 in Virtualbox under Linux

Post 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).
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: LoG2 in Virtualbox under Linux

Post 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.
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: LoG2 in Virtualbox under Linux

Post 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
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: LoG2 in Virtualbox under Linux

Post 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.
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: LoG2 in Virtualbox under Linux

Post 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.
Post Reply

Return to “Support and Tech Discussion”