[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#518295: marked as done (GL_LINE_LOOP not rendered correctly on Radeon VE 7000 QY)



Your message dated Tue, 29 Jun 2010 17:19:34 +0100
with message-id <20100629161934.GD10671@radis.liafa.jussieu.fr>
and subject line Re: Undelivered Mail Returned to Sender
has caused the Debian Bug report #518295,
regarding GL_LINE_LOOP not rendered correctly on Radeon VE 7000 QY
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
518295: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518295
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libgl1-mesa-glx
Version: 7.0.3-7

(I am not completely sure that this is the correct package, if not, please reassign)

After upgrading my home computer to Lenny I am observing a misbehavior of OpenGL programs, namely, whenever they should draw a GL_LINE_LOOP, the first and last segments of the line aren't drawn.

I'm attaching a simple test program (compile with -lglut). The correct behavior would be to draw two nested white squares on a black background. Instead the outer square (drawn as a GL_LINE_STRIP with the start/end point repeated) is rendered correctly, but of the inner square (drawn as a GL_LINE_LOOP) only two segments are drawn.

This problem seems to be specific of my hardware configuration, because I tried the same test program on another computer (with a Lenny live cd) and there it worked correctly. It is definitely a regression from Etch where it used to work also on my computer.

My graphics card is rather old, it is a Radeon 7000. I'm using no proprietary drivers or nonstandard configurations, everything comes from the stock Lenny installation. I'm attaching the /var/log/Xorg.0.log file where I suppose you should find all the needed information. If you need more, please ask.

Thank you
 Gerardo
#include <GL/gl.h>
#include <GL/glut.h>

void display_func(void)
{
  glDrawBuffer(GL_BACK);
  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

  /* ok */
  glBegin(GL_LINE_STRIP);
  glVertex3d(-2.0, -2.0, 0.0);
  glVertex3d(-2.0,  2.0, 0.0);
  glVertex3d( 2.0,  2.0, 0.0);
  glVertex3d( 2.0, -2.0, 0.0);
  glVertex3d(-2.0, -2.0, 0.0);
  glEnd();

  /* not ok */
  glBegin(GL_LINE_LOOP);
  glVertex3d(-1.0, -1.0, 0.0);
  glVertex3d(-1.0,  1.0, 0.0);
  glVertex3d( 1.0,  1.0, 0.0);
  glVertex3d( 1.0, -1.0, 0.0);
  glEnd();

  glutSwapBuffers();
}

void reshape_func(int width, int height)
{
  glViewport(0, 0, width, height);
  glMatrixMode(GL_PROJECTION);
  glLoadIdentity();
  glOrtho(-3.0, 3.0, -3.0, 3.0, -1.0, 1.0);
  glMatrixMode(GL_MODELVIEW);
}

int main(int argc, char **argv)
{
  glutInit(&argc, argv);
  glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);
  glutCreateWindow("");

  glutDisplayFunc(display_func);
  glutReshapeFunc(reshape_func);

  glutMainLoop();

  return 1;
}

Attachment: Xorg.0.log
Description: Xorg.0.log


--- End Message ---
--- Begin Message ---
On Tue, Jun 29, 2010 at 17:41:04 +0200, Mail Delivery System wrote:

> <GERARDO.BALLABIO@mpsgr.it>: host smtp1.gruppo.mps.it[195.7.19.52] said: 550
>     5.1.1 User unknown (in reply to RCPT TO command)

Closing.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: