[1.0.0] OpenGL Out of Memory - Crashes repeatedly

文章推薦指數: 80 %
投票人數:10人

- Game Crashes with OpenGL error: GL_OUT_OF_MEMORY, and: - Game will then crash every single time I open it, giving same error. Sometimes I can ... Factorio.com | Forums | Wiki | ModPortal 🇺🇦WesupporttheUkrainianRedCross. Skiptocontent Search Advancedsearch FactorioForums www.factorio.com Quicklinks Unansweredtopics Activetopics Search Wiki Activetopics FAQ Login 𝘙𝘦𝘨𝘪𝘴𝘵𝘦𝘳 Boardindex Support TechnicalHelp Search [1.0.0]OpenGLOutofMemory-Crashesrepeatedly Anythingthatpreventsyoufromplayingthegameproperly.Doyouhaveissuesplayingforthegame,downloadingitorsuccessfullyrunningitonyourcomputer?Letusknowhere. PostReply Printview Search Advancedsearch 5posts •Page1of1 Sevans7 BurnerInserter Posts:5 Joined:WedMar13,20191:09am Contact: ContactSevans7 Sendprivatemessage [1.0.0]OpenGLOutofMemory-Crashesrepeatedly Quote Post bySevans7»WedOct21,20207:34pm Whathappened? -GameCrasheswithOpenGLerror:GL_OUT_OF_MEMORY,and: -GamewillthencrasheverysingletimeIopenit,givingsameerror.SometimesIcangetpastthemainscreen,tolaunchtheworld,butthenitcrashesagaineachtime.Thiscontinuestooccurindefinitely;theonlyfixIfoundistorestartmycomputerentirely. -Restartingmycomputerseemstofixtheerrorforawhile,butisonlyatemporaryfixuntiltheerroroccursagainandIcannotplayfactoriounlessIrestartagain. -Thishashappenedtomemorethanthreetimessince1.0.0.(MeanwhileIhadnotplayedformonthsbefore1.0.0) Whatdidyoudo? -Playthegameforawhile. -Alsopossiblyrelevant:mymostrecentendlesschainofOpenGLerror:GL_OUT_OF_MEMORYcrashesoccurredimmediatelyuponopeningtheapplicationZoomandjoiningavideocall,whiletryingtorunfactoriointhebackground. Whatdidyouexpecttohappen? (1)thegametonotcrash. (2)someoftheOpenGLmemoryallocationtoresetwhenthegameisclosed,sothatwhenIre-openthegameitdoesnotcrashwiththesameexacterrormessage,repeatedly,unlessIrestartmycomputer. Honestly,Iammuchmoreconcernedabout(2);theinitialcrashhappensrarelyenough,maybeonceevery10hoursofplaytimeorsomethinglikethat.Therealbotherhereisthatevenafterclosingthenre-openingthegame,closingthenre-openingsteam,andclosing(puttingtosleepmode)thenre-openingmymac,thecrashwillstilloccureverytimeIopenthegame,eitheratloadingscreenorwhenItrytolaunchagameworld. Furtherdetailsthatmayhelp: -force-openglisfalseinmyconfig.ini -otherthingsIdosometimeswhichmighteatopenGLmemoryovertime(honestly,Idon'tknowmuchaboutopenGL,sothesemaybeirrelevant):useJupyterLab,usepythontomakeplotswithmatplotlib,usepythontomakemovieswithopenCV,watchshowsonmycomputer. -thecrashseemstobeunrelatedtotheworldIplayin,oractionstakeintheworld.Atleast,Ihavenotnoticedapatternwiththesethings.Themostrecentcrashchainoccurredforaverynewworldwithonlyanhourofplaytime,insingleplayermode.Thecrashhashappenedothertimesinamultiplayerworldwithanadvancedfactory(manyflyingrobots)aswell. Iamalsoattachingalogfile.Ididnotsavethelogfromthefirsttimethecrashoccurred,thistimearound.Theattachedlogfilecorrespondstometryingtostartthegame,afterrestartingsteamandclosingandre-openingmycomputer,butnotdoingafullcomputerrestartyet. Attachments factorio-OPEN_GL_CRASH.log (4.69KiB)Downloaded85times Top ospis12 BurnerInserter Posts:19 Joined:SatOct17,201512:07pm Contact: Contactospis12 Sendprivatemessage Re:[1.0.0]OpenGLOutofMemory-Crashesrepeatedly Quote Post byospis12»WedOct21,202011:23pm Hi, IlookedhowmuchVRAMdoesfactoriousetolunchonwindowsmachine(Iknowit'snotapple,butstillsomedatapoint). AndonmaxsettingsIwasusingover1.5GB,sotomuchforyoursystem,Iwasabletodropitsignificantlybychangingvideomemoryusagesettingtomedium,thengamewasusinglessthen1GB. Ithinkyoucanedityourconfigfile,searchforit.Guideisherehttps://wiki.factorio.com/Application_directory, whenfoundeditvaluefrom: video-memory-usage=all to: video-memory-usage=medium Ihopethiswillhelpyou. Top Sevans7 BurnerInserter Posts:5 Joined:WedMar13,20191:09am Contact: ContactSevans7 Sendprivatemessage Re:[1.0.0]OpenGLOutofMemory-Crashesrepeatedly Quote Post bySevans7»ThuOct22,20203:04am Thankyoufortheinitialreply.Iwilltrythatvideo-memory-usagechangeforthefuture.Thatseemslikeitmighthelppreventtheinitialcrash(1)inthefirstplace. Iamcurious,whythispostwasmovedtoSupport/Technicalhelp?Sincetomeitstillseemstherepeatedcrashing(2)isabug,whichwouldnotbefixedbychangingtechnicalsettingsalone.Toclarify,Icanrunthegamenormally,foralongtime,beforethecrash(1)happens.SoIwouldexpecttobeabletorunthegameforalongtimeagainafterthecrash,onceIfullyexitfactorioandsteam,andrestarttheapplication. Iexpectthereissomesortofmemoryleak,orfailuretoproperlyemptytheVRAM(orOpenGLmemory?)somewhereinthecode,whichiscausingthecrashtoforcemetorestartmycomputerifIwanttoplaymorefactorio.(Iwouldhopetobeabletojustrestartfactorio,notmywholecomputer...) Top posila FactorioStaff Posts:5162 Joined:ThuJun11,20151:35pm Contact: Contactposila Sendprivatemessage Re:[1.0.0]OpenGLOutofMemory-Crashesrepeatedly Quote Post byposila»ThuOct22,20208:33am Hello,youhavedisabledtexturecompression,probablybackinaversionthatalloweddisablingitinthegraphicsoptions.Youshouldenableit(lowqualityoptionisappropriateforintegratedGPUs),asitwillreduceVRAMusagebyfactorof3. Astowhyitwasmovedtotechnicalsupport:whenOpenGLsaysit'soutofmemory(GL_OUT_OF_MEMORYdoesn'tnecesserilymeanoutofVRAM,itcouldhavealsofailedtoallocatememoryitneededfromRAM),theentireOpenGLcontextisinsomeundefinedstateandwecan'tdoanythingbuttothrowawayallOpenGLresourcesandstartover(reloadthesprites,etc.)...sowejustexit. HowOpenGLmanagesitsmemoryonyourcomputerisoutofourcontrol.Whenanapplicationexits,OSwillreleaseallitsresources(allocatedmemory,openedfilehandles,GPUresources,...),iftheapplicationdidn'talreadydoit(butwedo.) WhatIamtryingtogettoisthat,ifthegamerunsfor10hoursandthencrashesonGL_OUT_OF_MEMORY,thenstartingitagainisexpectedtocrashonGL_OUT_OF_MEMORYalmostimmediatelly,aswhywouldrestartingthegamemagicallygiveOpenGLmorememorytoworkwith?Ifyouplayitfor10hours,itcrashesonGL_OUT_OF_MEMORY,youthenstartitagainanditagainrunsfor10hoursbeforeitcrashes...thenwemightbenotreleasingsomethingproperly. Top Sevans7 BurnerInserter Posts:5 Joined:WedMar13,20191:09am Contact: ContactSevans7 Sendprivatemessage Re:[1.0.0]OpenGLOutofMemory-Crashesrepeatedly Quote Post bySevans7»FriOct23,20204:00pm Ah,IthinkIunderstandnowwhatyouaresaying.ThebiggestissueformyunderstandingwaspreviouslyjustnotreallyknowingwhatOpenGLwas.SinceOpenGLerrorshavenevermadeanapplicationcrashformebefore,IfiguredmaybetherewassomethinggoingstrangelyinhowyoumanagedtheOpenGLmemory.Butifmysystemiswhatismismanagingthememory(which,honestly,Ican'tsayI'mconfidentaboutonewayoranother,IjusthavenoideasoI'lltakeyourwordforit!),thenIcanseehowthat'snotsomethingyoucouldfix. Thanksfortheotheradviceaswell.Today,theOpenGLerrorappearedagain,andIfiguredImighthavetorestartmycomputer.ButIdecidedtofirsttrytochangethetexturecompressionsettingtolow-quality(viaeditingconfig.ini)andlaunchfactorioagainjusttoseeifithelped.Turnsout,Iwasabletoplayagainwithoutarestart!Thisseemstohavefixedtheissue.Thanksagain! Top PostReply Printview Display:Allposts1day7days2weeks1month3months6months1year Sortby:AuthorPosttimeSubject Direction:AscendingDescending 5posts •Page1of1 Returnto“TechnicalHelp” Jumpto General ↳ Releases ↳ News ↳ Generaldiscussion ↳ Multiplayer ↳ FindServers/Tools/Guides ↳ ShowyourCreations ↳ Videos ↳ CombinatorCreations ↳ MechanicalThroughputMagic(circuit-free) ↳ RailwaySetups ↳ EnergyProduction ↳ Medium/Big/GiganticSizedStructures ↳ FanArt ↳ GameplayHelp ↳ SpreadtheWord ↳ Offtopic ↳ ThisForum ↳ CelebrationParty Support ↳ GameplayHelp ↳ DiscoverFactorioWiki ↳ DiscoverOthersCreations ↳ DiscoverMods ↳ DiscoverToolsAroundFactorio ↳ TechnicalHelp ↳ BugReports ↳ Resolvedforthenextrelease ↳ Fixedfor1.2 ↳ Assigned ↳ Notabug ↳ Pending ↳ 1/0magic ↳ Duplicates ↳ Minorissues ↳ Desyncswithmods ↳ Won'tfix. ↳ ResolvedProblemsandBugs FactorioDirection ↳ IdeasandSuggestions ↳ Outdated/Notimplemented ↳ FrequentlySuggested/LinkCollections ↳ ImplementedSuggestions ↳ DevelopmentProposals ↳ Balancing Contributions ↳ Mods ↳ Downloadmods ↳ ModportalDiscussion ↳ Mods ↳ ModPacks/Libs/SpecialInterest ↳ 5dim'smod ↳ AngelsMods ↳ AtomicPower ↳ Bob'smods ↳ DyWorld ↳ F.A.R.L ↳ FentusChallenge&ToolMods ↳ LogisticTrainNetwork ↳ MoMods ↳ Reika'sMods ↳ ResourceSpawnerOverhaul ↳ YuokiIndustries ↳ PyMods ↳ Questions,reviewsandratings ↳ ModdingDiscussions ↳ Moddingdiscussion ↳ Moddinghelp ↳ IdeasandRequestsForMods ↳ Moddinginterfacerequests ↳ Implementedmodrequests ↳ Alreadyexists ↳ Won'timplement ↳ Tools ↳ Mod-/Installation-Handling ↳ Cheatsheets/Calculators/Viewers ↳ Development-Tools ↳ Specialinterestmodsandlibraries ↳ Multiplayer/DedicatedServer ↳ MultiplayerBoard ↳ Archive ↳ MapsandScenarios ↳ Translations ↳ TexturePacks ↳ FanArt ↳ WikiTalk ↳ Tobesorted ↳ Campaign/Scenariosuggestions Boardindex AlltimesareUTC Deletecookies PoweredbyphpBB®ForumSoftware©phpBBLimited Privacy | Terms    



請為這篇文章評分?