#[0.0.8] Crash as will not use all available VRAM on integrated graphics

38 messages · Page 1 of 1 (latest)

tacit osprey
#

Running Linux (Arch Linux, Wayland) on a 4K screen, when I try to lower the resolution in the settings to 1920x1080 or any other resolution option, the game crashes as soon as I press "Apply". I can see the confirmation pop-up for a few frames before the crash.

This only happens when display is borderless or fullscreen. In windowed mode, it properly scales down to 1080p, but of course with a smaller window.

Interestingly, if I run the Windows version of the game in wine, changing the resolution works perfectly.

tacit osprey
#

Btw can reproduce in 0.0.8 beta for what it's worth

tacit osprey
#

I can confirm this is not fixed in 0.0.8

#

[0.0.8] Crash when changing resolution

vocal monolith
#

Log files?

#

I cannot reproduce, so log files will be needed to investigate

tacit osprey
#

So last time I checked I had no log files at all, I need to look at it again

vocal monolith
#

#❓faq has the location

tacit osprey
#

Yeah for some reason this was empty before

#

or maybe I checked the wine version or something

#

Anyway I found it

vocal monolith
#

What are your specs?

tacit osprey
#

I don't understand why it OoM

#

I have a 7950X3D, no GPU

#

I use integrated graphics so it should not have memory issues

#

I have 32GB of RAM

#

I guess it doesn't want to go beyond 512MB of VRAM but I don't know why

#

maybe my BIOS is misconfigured

vocal monolith
#

You don't have enough VRAM

#

I'm surprised it starts at 4K at all with only 512MB of shared VRAM, tbqh

#

Try running once with -safe-mode

tacit osprey
#

But that’s the thing, it shouldn’t be an issue

#

There’s probably a bad check somewhere in the driver or in Unity’s rendering engine

#

Because the 512 is afaiu not a hard limit

#

I think it reports 512 but can go beyond

vocal monolith
#

The game can only use what your system reports

#

If the system reports 512, that's the max the game will try using

tacit osprey
#

Yeah yeah

#

I guess Unity doesn’t handle integrated graphics well

#

Because like I play quite a few things in 4K on this machine just fine

#

Unfortunately Shapez 2 is too GPU intensive to run in 4K

#

But what’s amusing is that on wine it’s totally fine to change resolution

#

I guess the checks are different

tacit osprey
#

[0.0.8] Crash as will not use all available VRAM on integrated graphics

#

So the updated problem is that the game will decide to crash if it reaches the 512MB reported integrated graphics VRAM without attempting to use system memory when available, as VRAM on integrated graphics is dynamically allocated.

#

And I guess the DirectX 11 emulation layer in wine reallocates for you or something like that.

#

(because the game still warns me that I have low VRAM in wine)