[Bug 34626] New: Mesa-Gallium with R600 - Framerate limited to 60 fps after suspend-cycle

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 23 08:18:30 PST 2011


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

           Summary: Mesa-Gallium with R600 - Framerate limited to 60 fps
                    after suspend-cycle
           Product: DRI
           Version: XOrg CVS
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel at lists.freedesktop.org
        ReportedBy: peterle at hottemptation.org


Hello,
I past I thought this is a bug of IOQuake3, but during switching between
Mesa-Classic and Mesa-Gallium I recognized, that the problem only exists with
Mesa-Gallium!

Reproduce:
1. $export vblank_mode=0 // switching of vsync
2. Launch an IOQuake3 based game (Quake3 Arena, OpenArena, World of Padman...)
3. check that VSYNC in IOQuake3 is also disabled!
4. Start a game and set "cg_drawpfs 1", know you should have at the top right
corner a display with your current framerate which is hopefully over 60 fps
5. switch to a tty during playing (should be no problem with
Kernel-Mode-Setting)
6. #pm-suspend (as root)
7. resume from suspend
8. switch back to X11/IOQuake3 -> framerate is limited to 60 fps

To fix this you have to relaunch IOQuake3 or simply type into quake-console
"vid_restart".
With Mesa-Classic and the R600-Driver this is not necessary, it displays always
the maximum possible framerate.

Maybe Gallium doesn't read or forget the environment-variable export_vblank
during resume from suspend?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the dri-devel mailing list