-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High Virtual Memory Use (32bit apps) #35
Comments
yeah, that will be the 512 + 128 + (( VRam / 4 )) |
looks like path of exile is also having this problem with 32 bit dx9. port to the crystal vein then going to kaom's dream results in a crash. non-pba staging loads fine. launching the game with --noasync fixes the crash. |
Path of Exile is performing worse with pba. All in all, Path of Exile has been playing less and less nicely with wine in general. |
I don't see this issue being resolved any time soon. The problem is present for many years, it seems to come with the way Wine and graphics interact with each other, the higher the graphic detail the faster virtual memory fills up. Probably the reason why PBA triggers this much sooner is because of the improved performance. The only high graphic game I know that doesn't do it is Crysis, the 32bit version keeps it's cool with 2.1GB even when you're blowing maximum details. Regarding Path of Exile: Afaik, the game plays fine with the 32bit client and normal Wine with just CSMT on and easily hits 100fps+. The last time I played took me like 3 hours marathon before the virtual memory hit 4GB. |
This should be reduced significantly in 87307b1 by properly unmapping the buffer if multiple libs load the PBA. |
Tested with wine 3.4 and virtual memory remains similar Remember me still show 2.6gb and other games with 3.5gb crash case mass effect 1 + mods, test drive unlimited 2 + mods and others |
For anno 1404 (which is already bad cause of the memory issue), it makes it outright crash after loading a game. |
How much video ram do you have @Thaodan ? have you tried pba with my envvar patch? It will try to use PBA with low vram ( I created it for my laptop ) |
How much video ram do you have @Thaodan ?
About 11gb
Does anno 1404 work 'ok' with wine-staging or wine ( i.e. none PBA )?
Yes but it crashes after a few hours.
|
well, in that case I have no idea why PBA would fail to create the heaps maybe the game consumes most of the 32bit address space, and when pba tries to address more it is exhausted. |
I checked game specs, very low |
meh, apparently demo is garbage |
meh, apparently demo is garbage
The test is very old, I think it should work.
https://appdb.winehq.org/objectManager.php?sClass=application&iId=9887
but, have you set d3d to 9 explicitly in Engine.ini ?
Yes I have.
|
ok @Thaodan it seems to behave another option is to disable PBA with btw, geo 256 cb 64 also works, just play around with those numbers |
another option is to disable PBA with PBA_DISABLE=1 but that seems stutter a
little
That helped.
A little OT but how does windows avoid these issues?
|
As I linked, this is probably a bug with upstream... edit: uh, and ffs, comparisons with windows are completely IT in wine |
IT? I just asked how windows prevents this. |
In-topic. |
After test various titles virtual memory on pba is more higher than vanilla
2.0gb in vanilla with/without csmt
2.6-2.7gb in vanilla + pba with/without csmt
Remember Me
Vanilla
https://i.imgur.com/aRwgKWr.jpg
Vanilla + CSMT
https://i.imgur.com/5igjxZt.jpg
Vanilla + PBA
https://i.imgur.com/KOCIo7Y.jpg
Vanilla + PBA + CSMT
https://i.imgur.com/KjnLJq6.jpg
This situation can be detonate various games crashing for 4096mb limit case: assasins creed 1, mass effect, farcry 2, farcry 3, test drive unlimited 2 and others
The text was updated successfully, but these errors were encountered: