|
From: Alex R. <ro...@sy...> - 2006-01-25 21:34:05
|
i am currently running flightgear on an amd64 linux machine with an
nvidia geforce 6200 pci express card. i normally get about 60fps but
the moment the lights come on the display grinds to a halt (~1-2fps).
playing with the rendering options i discovered that if i turn
enhanced lighting on and off then the frame rate goes back to normal.
so i looked at src/Main/renderer.cxx and after applying this patch:
RCS file: /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx,v
retrieving revision 1.35
diff -u -r1.35 renderer.cxx
--- src/Main/renderer.cxx 21 Jan 2006 12:07:40 -0000 1.35
+++ src/Main/renderer.cxx 25 Jan 2006 21:24:09 -0000
@@ -226,8 +226,8 @@
glFrontFace ( GL_CCW );
// Just testing ...
- glEnable(GL_POINT_SMOOTH);
- glEnable(GL_LINE_SMOOTH);
+// glEnable(GL_POINT_SMOOTH);
+// glEnable(GL_LINE_SMOOTH);
// glEnable(GL_POLYGON_SMOOTH);
glHint(GL_POLYGON_SMOOTH_HINT, GL_DONT_CARE);
glHint(GL_LINE_SMOOTH_HINT, GL_DONT_CARE);
flightgear runs at 60fps even when the lights are on (except if i
enable enhanced runway lighting).
so it looks like my card has problems with glEnable(GL_POINT_SMOOTH).
i am not really sure what this does (so if somebody could clue me in i
would appreciate it) but i wonder if it wouldn't be worth it to remove
the glEnable(GL_POINT_SMOOTH) call altogether from FGRenderer::init().
alternatively, could anybody think of a better fix?
forgot to say, the system is running linux kernel 2.6.16-rc1 with
nvidia driver 1.0-8178. thanks.
--alex--
--
| I believe the moment is at hand when, by a paranoiac and active |
| advance of the mind, it will be possible (simultaneously with |
| automatism and other passive states) to systematize confusion |
| and thus to help to discredit completely the world of reality. |
|