General FPS performance of SVN compared to 2.4.2

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Alien » Thu Feb 05, 2009 6:48 am

I'm telling the truth. If you would like to read I even could write why, but as you wish...
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby GreEn`mArine » Thu Feb 05, 2009 8:43 am

yeah but there will be VERY visible stripes on my screen (it's not that I wouldn't have tried your suggestion before already). With cl_maxfps 500 the stripes are still there, but are much smaller and do not appear as that disturbing to me anymore.
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby divVerent » Thu Feb 05, 2009 8:47 am

So you say you get stripes when vsync is enabled? That is exactly what vsync means to remove. Must be a graphics driver problem then. vsync works fine and stripeless for me.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Thu Feb 05, 2009 9:41 am

Vsync creates lag between your actions and when they are shown on the screen.

You can get stripes if there is desync between max_fps and screen refresh rate.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby GreEn`mArine » Thu Feb 05, 2009 9:56 am

divVerent wrote:So you say you get stripes when vsync is enabled? That is exactly what vsync means to remove. Must be a graphics driver problem then. vsync works fine and stripeless for me.

No, I am not using vsync due to the lag it introduces.
When NOT using vsync and setting cl_maxfps to 60 (which is equal to my screen refresh rate) I do get stripes, however.
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Postby divVerent » Thu Feb 05, 2009 9:58 am

That's absolutely normal.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Alien » Thu Feb 05, 2009 10:41 am

If dp framebuffer filling and rendering it on the screen desyncs, then yes. Dunno if it is possible to control synchronization without using vsync (probably no). You will still get stripes on 60 screen even when running with 500 fps or more, cause LCD screen can change from grey-to-grey/black-to-white only - use graphics card framebuffer - 60 times per second.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby SavageX » Thu Feb 05, 2009 10:47 am

I play without vsync and cl_maxfps set to 63, slightly above my monitor's refresh rate. That way the tearing will drift "randomly" across the screen, which is much nicer than a slowly drifting tear. Vsync just doesn't work AFAIK with the ATI fglrx driver.
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby Alien » Thu Feb 05, 2009 12:18 pm

There shouldn't be tears if dp always rendered framebuffer bytes ahead before this block of bytes would be sent to the monitor and monitor refresh rate would be equal to rendering rate of dp to keep constant distance.
Alien
Forum addon
 
Posts: 1212
Joined: Tue Apr 22, 2008 7:12 am

Postby divVerent » Thu Feb 05, 2009 1:05 pm

Yes, but 60 Hz isn't exactly 60 Hz (or 72, or whatever). Depending on temperature and monitor parameters, these vary a little.

vsync is the only way to get this synced.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Previous

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron