Jump to content

Leadwerks Editor Bugged (again)


Haydenmango
 Share

Recommended Posts

I am getting the same errors that I posted about before, with some new errors as well this time.

 

I have been using the editor all day and these bugs have gotten progressively worse as I have added more entities to my map.

First I got Exception Access Error when I tried to save.

Then when I tried to save it wouldn't work and would instead create a new temp0.map that gives me an Exception Access Error when I attempt to open it.

Then whenever I tried to enter the single viewport view mode I started getting Framebuffer incomplete: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT and then the editor would close.

Then while making this bug report video only my base texture rendered when I opened my project even though it still showed all my other terrain textures in the terrain tab and the light started rendering incorrectly.

Video Link-

https://www.youtube.com/watch?v=eM1RHrNZYSg&feature=youtu.be

 

Previous Posts -

http://www.leadwerks.com/werkspace/topic/10690-map-doesnt-save/

and

http://www.leadwerks.com/werkspace/topic/10631-directional-light-and-model-editor-bug/.

Check out my game Rogue Snowboarding- 

https://haydenmango.itch.io/roguesnowboarding

Link to comment
Share on other sites

It is possible you are doing something unique no one else has stumbled across, but I'm not sure.

 

I frequently get GL_OUT_OF_MEMORY errors with your map. I don't know why.

 

According to GPU Shark I am nowhere near the limit.

post-1-0-53845700-1410625696_thumb.jpg

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

According to my own tracking of video memory, your application is only using 180 mb of VRAM when it gets the GL_OUT_OF_MEMORY error.

 

When fully loaded, your map uses 244 mb VRAM. This would only be a problem if the GPU is experiencing memory fragmentation. That is, it looks for a 64 mb block of VRAM for the heightmap, can't find one, and you get the OUT_OF_MEMORY error. It seems very strange if this were the case, when there is so much free VRAM available.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

It seems pretty clear the problem is video memory fragmentation. If I restart my computer, everything is fine.

 

What happens when you restart your computer? Does the map work for a while, then start having errors after you've been reloading it for a while?

 

I've never heard of VRAM fragmentation being an issue, but we're well under the card's capacity, so I can't think of another explanation.

 

Please run GPU Shark and see what your available GPU memory is:

http://www.geeks3d.com/20140905/gpu-shark-0-9-1-download-gpu-graphics-card-monitoring-utility/

 

I notice both you and BandrewK are using a 4096x4096 heightmap.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

When using leadwerks editor and playing my game fullscreen I get GL memory - total:1024mb, usage:660 .

With just the editor open I get GL memory - total:1024mb, usage:313 .

GPU usage % never goes above 80%

 

What happens when you restart your computer? Does the map work for a while, then start having errors after you've been reloading it for a while?

When I restart my computer everything seems fine. The terrain textures (other than the first layer) still aren't rendering but other than that everything seems to work. If I was to use the editor for a while I believe I would start getting these errors again.

Check out my game Rogue Snowboarding- 

https://haydenmango.itch.io/roguesnowboarding

Link to comment
Share on other sites

  • 2 months later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...