Ubuntu – How to increase video memory in Wine? (Wine version 1.6.2)

graphicsramwine

I'm trying to run a program(BeamNG.drive) on Wine 1.6.2, and there seems to be a problem.

See, here's the thing: I can actually get it to load most of the way. But just before it would have finished loading the stuff I need, it just crashes.

It essentially says something along the lines of: "D3DERR_OUTOFVIDEOMEMORY , out of video memory, failed to allocate dynamic VB.". Right around that.

From what I've read, it sounds like I need to increase the video memory, but how exactly do I do that?

I did manage to find this:

http://wiki.winehq.org/UsefulRegistryKeys

But it doesn't seem to be terribly clear on how to actually fix certain problems. For example, I don't have a DirectX folder in my HKEY registry, anywhere. So what do I do now?

Best Answer

You can set the video memory size as your graphics card supports with winetricks like this:

winetricks videomemorysize=2048

2048 is the video memory size in MB.

You may need to install winetricks:

sudo apt-get install winetricks
Related Question