A30 GL_OUT_OF_MEMORY error

Pioneer is an open-ended space adventure game. Explore the galaxy, make your fortune trading between systems, or work for the various factions fighting for power, freedom or self-determination.
Homepage: http://pioneerspacesim.net/
IRC: http://pioneerspacesim.net/irc
Downloads: https://pioneerspacesim.net/page/download/
Post Reply
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

Hey all, anybody know if this is my laptop acting up or a problem with Alpha 30?I can repeat this every time in pioneer-alpha30-freeze-7292d11-win32 I start out at Earth and fly fairly low around the buildings for a minute or two then the game crashed with a out of memory error. Requested AA mode: 2x, actual: 4xError: OpenGL error(s) during frame:GL_OUT_OF_MEMORY Robn. you mentionedError: OpenGL error(s) during frame:GL_OUT_OF_MEMORYThat's your culprit. You've got every model in the world in your game, and we try to load them all into graphics memory at boot - we have no stuff to load/unload stuff. Probably not much you can do right now except remove a few models. I had this in Alpha 30 with no mods or extras included. The install was purely as it was downloaded. So when you say manually remove a few models you mean what exactly? And why is it doing it now and never before. Is it directly linked to the amount of memory I have installed?
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by robn »

Error: OpenGL error(s) during frame:GL_OUT_OF_MEMORY Is this a problem anybody else can replicate?In the other thread I said it was because you had too many mods filling your graphics memory. Can you replicate this with stock alpha30-freeze (no mods)?
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

Sorry Robn, we are on reply overlap. Yes this is pioneer-alpha30-freeze-7292d11-win32 downloaded from the twitter page.
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

vuzz, i have no mods installed.
walterar
Private
Posts: 978
Joined: Fri Nov 25, 2016 8:22 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by walterar »

Try with this: [url]http://sourceforge.net/projects/pioneerspacesim/files/nightly/pioneer-alpha30-freeze-85a506c-win32.7z/download[/url] It is the last.
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

The web gets the winter blues? Nope after a bit more fiddling it's nothing to do with missing textures. I have to turn my gfx settings down and then it does not crash. Kind of annoying with a 2GB gfx and 8GB Ram available. Downloading the new version now walterar but I am not optimistic that is will solve the problem. Vuzz, please read the next bit carefully. The problem is not with the mods. They work fine apart from that missing texture.
walterar
Private
Posts: 978
Joined: Fri Nov 25, 2016 8:22 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by walterar »

Maybe we can see something in config.ini opengl.txt stderr.txt stdout.txt What video card do you have?
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by robn »

Ok, I was under the impression from the other thread that you had mods installed.Anyway, its good that turning down the settings at least lets you play, but it would be nice to find the cause. Can you please locate the opengl.txt file from your Docs/Pioneer dir and post it somewhere (pastebin.com would be great).If you feel like it, it would be good if you could experiment with different terrain and city detail settings and let us know which ones work and which don't.
Helioth
Private
Posts: 25
Joined: Fri Nov 16, 2012 1:32 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Helioth »

I had the same issue with A29: [url]https://github.com/pioneerspacesim/pioneer/issues/1741[/url]
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by robn »

I had the same issue with A29: [url]https://github.com/pioneerspacesim/pioneer/issues/1741[/url] Were you able to gather any more information?
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

Hi Robn, in the other thread I edited my post with more information but you and vuzz had posted while I was doing that so you maybe missed the bit where I said I had tried it as well without any mods. I'll post my logs and specs etc when I get home. I'll try pastebin but I will also upload to me skydrive as i have never used pastebin.
robn
Private
Posts: 1035
Joined: Mon Jan 31, 2011 10:29 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by robn »

Ahh. I don't usually read edited posts because there's nothing that says they've changed, so I don't know about them.
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

Sorry it took a couple of days... here is my opengl.txt [url][/url] here is the error log [url][/url] and the stdout.txt [url][/url]
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by fluffyfreak »

It's an Intel HD 4000 GPU with shared memory, if I understand correctly it should have up to ~1.7GB available which is a LOT more than I do on my 470GTX so you should be ok. However, Intels OpenGL drivers are a bit weak or it could be configured to use less than that maximum. I found this page that tells you how to find out what the maximum available is. Can you also make sure that the "Compress Textures" option is on in the options screen as that should reduce the memory footprint.
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

it also has an Nvidia GeForce GT-640m 2GB installed. so how would I get it to use that instead?
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by fluffyfreak »

You're going to have to do some Googling for that one as I don't have a laptop to test with, it's not something we can do from the Pioneer end unless nVidia added us to their driver profiles... actually I do know a couple of guys at nVidia... hmmm :D Ok seriously though we're not going to be able to fix it, you'll have to either add it to the nVidia control panel profiles, or set the 3D settings to use it the nVidia GPU for all 3D content. That "should" make it always switch to the nVidia GPU if it's got their Optimus technology when you launch something using DirectX or OpenGL.
Metamartian
Private
Posts: 217
Joined: Tue Mar 08, 2011 3:53 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by Metamartian »

right, thanks. I'll try that the next time I have a mo. Compressing textures using the onboard seems to buy me a little more time. and reducing the planet textures and building details also help but it still does crash. However this only seems to be when flying low on the planet. I'll try some not earth planets to see if the same happens. EDIT: it was far simpler than I thought. In the settings for Nvidia there is " add with graphics processer to menu" which allows me to right click and choose which gfx card to use. I had no idea that it defaultes to the built in gfx. Thanks Fluffyfreak, so far, every setting on max and no crash. 2nd EDIT: I notice now that the built on gfx was using opengl 4.0.0 and the Nvidia is using 4.3.0
fluffyfreak
Private
Posts: 1292
Joined: Sun Nov 27, 2016 12:55 pm

RE: A30 GL_OUT_OF_MEMORY error

Post by fluffyfreak »

@MetaMartianYeah nVidia, for all the sh*t Torvalds gives them are one of the most progressive when it comes to OpenGL so that usually when a new standard/version is released it's already supported in the beta drivers and release drivers shortly afterwards :) AMD shouldn't be too far behind but I won't be holding breath for Intel to get their act together! @VuzzCheers :)
Post Reply

Return to “Pioneer”