View Single Post
Old 06-17-11, 11:29 PM   #1
hdclark
Registered User
 
Join Date: Jun 2011
Posts: 5
Default 275.09.07 (extreme) choppiness using FreeGlut with ArchLinux

This is an odd bug. In fact, I'm not even sure if it is a bug.

I have a scene with about 200 polygons being drawn using FreeGlut and default shaders. Each polygon can optionally have face normals superimposed, using something simple like

Code:
    glDisable(GL_LIGHTING);
    glDisable(GL_TEXTURE_2D);
    glLineWidth(blkwid/10.0);
    glColor3f(1.0,1.0,1.0);
    glBegin(GL_LINES);

    glVertex3f( (VA.x)*A+a,  (VA.y)*A+b, (VA.z)*A+c);
    glVertex3f( (VB.x)*A+a,  (VB.y)*A+b, (VB.z)*A+c);

    glEnd();
    glEnable(GL_LIGHTING);
    glEnable(GL_TEXTURE_2D);
    glLineWidth(blkwid/10.0);
    glColor3f(1.0,1.0,1.0);

on each polygon face, which point outward along the normal. Prior to the 275.09.07 driver, showing the normals slowed my frame rate by about 30%.

Since a fresh update of X, nvidia, and a kernel26 reinstall, when I run the code without showing the normals, the mouse and keyboard input become extremely choppy, the scene update becomes choppy, but my overall framerate does not drop.

If I run the code with showing normals, the choppiness nearly disappears. The code has a much higher framerate compared with no normals. There is a slight degradation in framerate compared with prior nvidia driver, but it is at least useable.


Candidly, It 'feels' like the buffer has been pushed onto hard disk when I run without showing the normals.


I have no noticeable effects running my desktop manager or glxgears. As I mentioned, I just reinstalled X*, nvidia, and my kernel because of issues loading the the 'glx' module (the solution to this problem was to remove an old version of libglx.so.)

I'm at a loss here. I don't even know where to ask, really. I could probably make a video showing what I am talking about, but I doubt it would help diagnose what the issue is.

Thanks.
Attached Files
File Type: gz nvidia-bug-report.log.gz (44.7 KB, 75 views)
File Type: txt Xorg.0.log.old.txt (20.5 KB, 95 views)
File Type: txt glxinfo.txt (23.6 KB, 84 views)
hdclark is offline   Reply With Quote