To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 15369
15368  |  15370
Subject: 
Re: Problem with LDView
Newsgroups: 
lugnet.cad
Date: 
Fri, 27 Jun 2008 22:01:38 GMT
Viewed: 
5958 times
  
Travis Cobbs wrote:
VBO gets pounded much harder when memory usage is set to "Low".  I
think I'll give that a try to see if I can trigger a crash.

--Travis

While writing the LD4DStudio rendering code, I also had some problems
with AV crashes. It turned out being caused by mixed glDrawElement usage
(with / without glBindbuffer usage).

I fixed it by calling:

glBindBuffer(GL_ARRAY_BUFFER, 0);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0)

before using glVertexPointer and glNormalPointer incombination with
glDrawElements the 'normal' way instead of the 'vbo' way.

My system back then had an ATI 9800 Pro. It seems the ati driver does
not reset some internal stuff when calling glDrawElements with pointers
instead of VBO id's.

Hope this helps.



Message has 1 Reply:
  Re: Problem with LDView
 
(...) Thanks. It's actually crashing when VBO is used in LDView, and not crashing when VBO isn't used. However, I'll take a look at my pointer calls to see if there are any bound buffers at the time of the calls. When I initially implemented the VBO (...) (16 years ago, 28-Jun-08, to lugnet.cad)

Message is in Reply To:
  Re: Problem with LDView
 
(...) (I did list that one first for a reason: to me it seemed the most likely culprit.) OK. Peter Bartfai (the person who maintains LDView's Linux port) has had crashes related to VBO in Linux on an ATI card. I'm not getting them with my ATI card (...) (16 years ago, 27-Jun-08, to lugnet.cad)

11 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR