LinuxMCE Forums

General => Users => Topic started by: valent on March 19, 2009, 09:16:02 PM

Title: 10x times faster opengl performance :)
Post by: valent on March 19, 2009, 09:16:02 PM
http://wiki.linuxmce.org/index.php/Nvidia_Card_Tweaks_For_Better_MythTV_and_UI_Performance

Tips from this wiki article just gave me boost from 60 fps to 510fps when running glxgears !

Hope this helps others also. Thank to whoever wrote that article!
Title: Re: 10x times faster opengl performance :)
Post by: colinjones on March 19, 2009, 09:32:54 PM
Valent - this doesn't increase your performance at all! All it does is remove the sync between OpenGL drawing and your screen refresh. It is likely, for most people, that this will cause (increased) tearing on video. I do not agree with that article at all, I would strongly suggest that you turn it back on. The only real performance issue you will get with vsync is the video driver not using "events" to control resources during idling for the sync. The use events option in your xorg.conf file will correct this - but this option is standard for all the recent versions of nVidia's drivers anyway, so you should be good.

Perhaps looking at it this way - vsync effectively hides the performance of your GPU from a frame rate tool like glxgears, because it forces the GPU to wait between frame draws until the display's sync period when it is not drawing anything... in this way it avoids tearing. The GPU itself is still drawing at exactly the same rate as before... that is why your first figure is exactly 60fps... because your display is 60Hz refresh!

BTW, when not sync'd, a figure of 510fps is pretty low. What GPU are you using? And have you confirmed that the xorg.conf file is using "nvidia" as the driver?
Title: Re: 10x times faster opengl performance :)
Post by: seth on March 20, 2009, 12:19:11 PM
 ???
Ok. This is the second time the wiki entry I added for improved performance has been questioned. As it was made for Pre-710 release improvement on MythTV performance, and is no longer valid, for the current release, other than perhaps giving some insight on how to get your Nvidia settings to stick on a reboot, I am removing this wiki page.

It in fact did at one time resolve an issue we had with the betas of 710, it no longer has any practical purpose, so I will try to remove it, if not, could the administrator please remove it.

Thanks.

Seth
Title: Re: 10x times faster opengl performance :)
Post by: seth on March 20, 2009, 12:21:15 PM
I can not remove this article. Could one of the admins please do so.

Thanks again,

Seth
Title: Re: 10x times faster opengl performance :)
Post by: hari on March 20, 2009, 02:23:23 PM
done
Title: Re: 10x times faster opengl performance :)
Post by: colinjones on March 20, 2009, 02:39:16 PM
Quote from: seth on March 20, 2009, 12:19:11 PM
???
Ok. This is the second time the wiki entry I added for improved performance has been questioned. As it was made for Pre-710 release improvement on MythTV performance, and is no longer valid, for the current release, other than perhaps giving some insight on how to get your Nvidia settings to stick on a reboot, I am removing this wiki page.

It in fact did at one time resolve an issue we had with the betas of 710, it no longer has any practical purpose, so I will try to remove it, if not, could the administrator please remove it.

Thanks.

Seth

My apologies, seth, I didn't mean to question you.... I was just concerned about what would be taken out of that article. No meaningful discussion has occurred on the subject, so I haven't even considered removing/modifying the article (now I see I couldn't have anyway!) The information you provided was accurate on how to perform the process, and potentially it would be helpful under some circumstances... given no one else seemed to feel strongly about it, I wasn't prepared to remove it myself. :)
Title: Re: 10x times faster opengl performance :)
Post by: seth on March 20, 2009, 02:57:47 PM
 :)  Thanks hari.

Regards,

Seth