OpenGL error 1285 (Out of Memory) on Intel HD systems
文章推薦指數: 80 %
One possibility is that an earlier operation is failing (not necessarily generating an error), resulting in a value of -1. If this is used to ... OpenGLerror1285(OutofMemory)onIntelHDsystems OpenGL OpenGL:UserSoftware BitwiseShift March15,2019,7:31am #1 IhaveanumberofuserswithIntelHDsystemsthatcrashwithOpenGLerror1285(outofmemory).Theusersareallonwindows.ThesameerroroccursonavarietyofIntelHDsystemsuptoIntel®HDGraphics630(supportingOpenGL4.4).ThesamecodeworksonhundredsofATIandNVidiasystemsonWindows&Linuxwithnoissues.Thecodeisreallyanotahugememoryhogandaccordingtomylogsallthesystemshaveplentyofmemoryavailable. Idon’thaveaccesstoafaultymachinesoIhaveadifficulttimetryingtodebugthis. HowdoIpreventmycodefromgettingthiserroronIntelHDsystems? HaveIfoundanOpenGLcallthatIntelHDdoesnotsupport? I’mcurrentlyatalossandthinkingofheavilyinstrumentingmycodewithlogginginthehopesofnarrowingdowntheissue. GClements March15,2019,10:11am #2 BitwiseShift;398285: HaveIfoundanOpenGLcallthatIntelHDdoesnotsupport? GL_OUT_OF_MEMORYisonlygeneratedifacallfailsduetoinsufficientmemory.Exceedingimplementation-definedlimits(texturesize,numberoftextureunits,numberofattributes,etc)resultsinGL_INVALID_VALUE.Callingunimplementedfunctionsusuallyresultsinanaccessviolationduetoanullfunctionpointer. Onepossibilityisthatanearlieroperationisfailing(notnecessarilygeneratinganerror),resultinginavalueof-1.Ifthisisusedtocalculateasize(whichwillbeunsigned),itwilllikelyexceedavailablememoryandresultinaGL_OUT_OF_MEMORYerror. BitwiseShift;398285: I’mcurrentlyatalossandthinkingofheavilyinstrumentingmycodewithlogginginthehopesofnarrowingdowntheissue. Ifyouhavenoideaastothelikelysourceoftheerror,itmightbesimplertouseadebugcontext.Thisavoidstheneedtoinserterror-checkingcallsintotheexistingcode.ThisrequiresOpenGL4.3ortheKHR_debugextension.Ifyou’reusingatoolkitforcontextcreation,itmustprovidetheabilitytosetthereleventcontextflag(FreeGLUT,GLFWandQt5supportthis,theoriginal(MJK)GLUTandQt4don’t).
延伸文章資訊
- 1OpenGL 1285 Out of Memory Error - Planet Minecraft
After I got into single player I was getting out of memory errors, and alot of... ... OpenGL 1285...
- 2How to fix Error 1285 (Minecraft Error 1285 Out Of Memory)
Runtime Code 1285 happens when Minecraft fails or crashes whilst it's running, hence its name. It...
- 3Opengl error 1285 out of memory - SpigotMC
Hey guys! <3 OpenGL error : 1285 out of memory, and i tried a lot of steps,to resolve this proble...
- 4My game (modded) keeps saying "OpenGL Error: 1285 (Out of ...
My game (modded) keeps saying "OpenGL Error: 1285 (Out of memory)" then crashing · Open the launc...
- 5[MCL-15600] me aparece, OpenGL Error: 1285 (Out of memory)
me aparece, OpenGL Error: 1285 (Out of memory) ... Fix Version/s: None. Component/s: Minecraft La...