dri-devel Archive mirror
 help / color / mirror / Atom feed
* [Bug 25898] New: glEvalPoint within display list fails assertion in vbo_save_api.c
@ 2010-01-05  6:14 bugzilla-daemon
  2010-01-05 17:15 ` [Bug 25898] " bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-01-05  6:14 UTC (permalink / raw
  To: dri-devel

http://bugs.freedesktop.org/show_bug.cgi?id=25898

           Summary: glEvalPoint within display list fails assertion in
                    vbo_save_api.c
           Product: DRI
           Version: XOrg 6.7.0
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libGL
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: dnschneid@gmail.com


Created an attachment (id=32454)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=32454)
Code demonstrating the assert failure.

If this is the wrong place to report this, please point me in the right
direction.

Recently I've been working on a game, and a bit of code that worked fine in
nvidia's proprietary libGL implementation fails an assertion in the mesa
version.

Basically, using glEvalPoint2 inside of a glBegin/glEnd block all inside a
glNewList/glEndList block seemingly has no effect (nothing is drawn when the
display list is called).  Putting a glVertex3f call in the same glBegin/End
block along with the calls to glEvalPoint causes a failed assertion:

vbo/vbo_save_api.c:503: _save_upgrade_vertex: Assertion `save->copied.nr == 0'
failed.

Using glVertex with no calls to glEvalPoint draws properly, and using
glEvalMesh instead of glBegin/glEvalPoint/glEnd works properly as well.

Again, all forms of the code work fine on nvidia's proprietary drivers.

Attached is a pretty short bit of C that demonstrates the error.  Comment out
the defines at the top of the page to use the glEvalPoint code that causes the
assert fail.  The code uses SDL to set up the window and rendering context.

With both defines enabled, glEvalMesh is used and a box should be drawn in the
center of the screen.
Disabling the WORK_PLEASE define will use glEvalPoint, which draws nothing
despite drawing the same box on nvidia's implementation.
Disabling both WORK_PLEASE and DONT_CRASH will insert a glVertex call that
causes the assert error.  Again, running on nvidia's proprietary implementation
draws a box.

I hope I've supplied sufficient detail; ask if you need any more information.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 25898] glEvalPoint within display list fails assertion in vbo_save_api.c
  2010-01-05  6:14 [Bug 25898] New: glEvalPoint within display list fails assertion in vbo_save_api.c bugzilla-daemon
@ 2010-01-05 17:15 ` bugzilla-daemon
  2010-01-05 18:24 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-01-05 17:15 UTC (permalink / raw
  To: dri-devel

http://bugs.freedesktop.org/show_bug.cgi?id=25898


Roland Scheidegger <sroland@tungstengraphics.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libGL                       |Mesa core
            Product|DRI                         |Mesa
            Version|XOrg 6.7.0                  |unspecified




--- Comment #1 from Roland Scheidegger <sroland@tungstengraphics.com>  2010-01-05 09:15:59 PST ---
This looks rather like a mesa bug. What mesa version is this (glxinfo).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 25898] glEvalPoint within display list fails assertion in vbo_save_api.c
  2010-01-05  6:14 [Bug 25898] New: glEvalPoint within display list fails assertion in vbo_save_api.c bugzilla-daemon
  2010-01-05 17:15 ` [Bug 25898] " bugzilla-daemon
@ 2010-01-05 18:24 ` bugzilla-daemon
  2011-03-02 12:14 ` [Bug 25898] glEvalPoint causes glEnd to throw GL_INVALID_OPERATION bugzilla-daemon
  2015-05-06 19:03 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2010-01-05 18:24 UTC (permalink / raw
  To: dri-devel

http://bugs.freedesktop.org/show_bug.cgi?id=25898





--- Comment #2 from David <dnschneid@gmail.com>  2010-01-05 10:24:48 PST ---
glxinfo returns OpenGL 1.4 Mesa 7.6


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 25898] glEvalPoint causes glEnd to throw GL_INVALID_OPERATION
  2010-01-05  6:14 [Bug 25898] New: glEvalPoint within display list fails assertion in vbo_save_api.c bugzilla-daemon
  2010-01-05 17:15 ` [Bug 25898] " bugzilla-daemon
  2010-01-05 18:24 ` bugzilla-daemon
@ 2011-03-02 12:14 ` bugzilla-daemon
  2015-05-06 19:03 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2011-03-02 12:14 UTC (permalink / raw
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=25898

Marek Olšák <maraeo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|glEvalPoint within display  |glEvalPoint causes glEnd to
                   |list fails assertion in     |throw GL_INVALID_OPERATION
                   |vbo_save_api.c              |
            Version|unspecified                 |git

--- Comment #3 from Marek Olšák <maraeo@gmail.com> 2011-03-02 04:14:11 PST ---
The assertion failure is gone. The only remaining issue is the error on glEnd.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 25898] glEvalPoint causes glEnd to throw GL_INVALID_OPERATION
  2010-01-05  6:14 [Bug 25898] New: glEvalPoint within display list fails assertion in vbo_save_api.c bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-03-02 12:14 ` [Bug 25898] glEvalPoint causes glEnd to throw GL_INVALID_OPERATION bugzilla-daemon
@ 2015-05-06 19:03 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2015-05-06 19:03 UTC (permalink / raw
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 433 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=25898

marius predut <marius.predut@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dri-devel@lists.freedesktop |marius.predut@intel.com
                   |.org                        |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1102 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-06 19:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-05  6:14 [Bug 25898] New: glEvalPoint within display list fails assertion in vbo_save_api.c bugzilla-daemon
2010-01-05 17:15 ` [Bug 25898] " bugzilla-daemon
2010-01-05 18:24 ` bugzilla-daemon
2011-03-02 12:14 ` [Bug 25898] glEvalPoint causes glEnd to throw GL_INVALID_OPERATION bugzilla-daemon
2015-05-06 19:03 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).