Mesa-Gallium with R600 - Framerate limited to 60 fps after suspend-cycle
Submitted by Peter Weber
Assigned to Default DRI bug account
Description
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:
- $export vblank_mode=0 // switching of vsync
- Launch an IOQuake3 based game (Quake3 Arena, OpenArena, World of Padman...)
- check that VSYNC in IOQuake3 is also disabled!
- 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
- switch to a tty during playing (should be no problem with Kernel-Mode-Setting)
- #pm-suspend (as root)
- resume from suspend
- 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?