Skip to contentSkip to conversation

New: horrible performance with vblank_mode=1 which is the default

Bug 83012 [email protected] 1 participant 5 messages Aug 24, 2014 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=83012

Priority: medium
Bug ID: 83012
Assignee: [email protected]
Summary: horrible performance with vblank_mode=1 which is the
default
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: Drivers/Gallium/r600
Product: Mesa

For example, Unigine Tropics benchmark gives 20fps, but with vblank_mode=0 it's 54fps. Games that don't turn off vsync by themselves suffer from this as well.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 83012] Unigine Tropics horrible performance with vblank_mode=2 (which is the default) or =3

https://bugs.freedesktop.org/show_bug.cgi?id=83012

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|horrible performance with   |Unigine Tropics horrible
                   |vblank_mode=1 which is the  |performance with
                   |default                     |vblank_mode=2 (which is the
                   |                            |default) or =3

--- Comment #1 from Michel Dänzer <[email protected]> --- (In reply to comment #0)

Quoted 2 lines

For example, Unigine Tropics benchmark gives 20fps, but with vblank_mode=0 it's 54fps.

I can only reproduce this with vblank_mode=2 or =3, though AFAICT the default is 2.

Quoted 1 line

Games that don't turn off vsync by themselves suffer from this as well.

Actually, as long as the game can sustain at least 60 fps (or whatever the display refresh rate is) with vblank_mode < 2, it should still get 60 fps with vblank_mode >= 2, and IME that's indeed the case with a lot of games.

The issue with Tropics is that it can only sustain just below 60 fps, which becomes 30 fps (half the refresh rate, since it misses every other vertical blank period) with sync-to-vblank, and then there are some scenes where it drops even lower.

We will hopefully be able to handle this better with DRI3/Present.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 83012] Unigine Tropics horrible performance with vblank_mode=2 (which is the default) or =3

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83012

--- Comment #2 from almos <[email protected]> ---
Thanks for the clarification about vblank_mode. With the default vblank settings Tropics always stays in the range of 15-25 fps.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 83012] Unigine Tropics horrible performance with vblank_mode=2 (which is the default) or =3

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83012

--- Comment #3 from Marek Olšák <[email protected]> ---
Why don't we disable vsync by default? I think that's what proprietary drivers do.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 83012] Unigine Tropics horrible performance with vblank_mode=2 (which is the default) or =3

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=83012

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #5 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/521.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel