Skip to contentSkip to conversation

i915GM+vertical RR+FPS+OpenGL

DISCUSSION SD 1 participant 1 message May 6, 2010

lore
Share & tools
lore

SD

author
#0 lore raw
Quoted 66 lines · SD

From: SD <[email protected]>
Subject: Re: [Intel-gfx] i915GM+vertical RR+FPS+OpenGL
To: "Jesse Barnes" <[email protected]>
Date: Thursday, May 6, 2010, 6:38 AM

--- On Thu, 5/6/10, Jesse Barnes <[email protected]>

Quoted 2 lines · wrote:

From: Jesse Barnes <[email protected]>
Subject: Re: [Intel-gfx] i915GM+vertical

RR+FPS+OpenGL

Quoted 12 lines

To: "SD" <[email protected]>
Cc: [email protected]
Date: Thursday, May 6, 2010, 5:56 AM
On Wed, 5 May 2010 18:14:47 -0700
(PDT)
SD <[email protected]>

Quoted 4 lines · wrote:

Dear All.

Sorry to disturb you again.
When I start glxgears on Fedora 13, it tells me

that

Quoted 2 lines

application and

Quoted 1 line

suppose to be OpenGL, now synchronized to

Vertical

Quoted 2 lines

Refresh Rate

Quoted 1 line

(VRR), which in my case - laptop LCD = 60. And it

also

Quoted 2 lines

tells me that

Quoted 1 line

FPS should be ~ the same. Good. No problem with

it.

Quoted 3 lines
Quoted 3 lines

But when I start it - I got only ~25FPS.
When i start to play a movie in different window,

then

Quoted 4 lines

glxgears gives

Quoted 3 lines

me really nearly 60 (58,xxx)FPS.

Question is why so. If it sync. now to VRR why I

do

Quoted 2 lines

not get 60FPS

Quoted 1 line

always? I notice that conpiz as well not really

smooth

Quoted 6 lines

and it can be

Quoted 3 lines

like that because FPS = 25 and not 60.

Can someone explain me that.

If you're on 945, it could be due to what I think is a

bad

Quoted 2 lines

pipe setup.
On those chips, the vblank interrupt is delayed until

after

Quoted 2 lines

a few other
things happen, and if we program the

pipes/planes/plls

Quoted 2 lines

wrong or don't
wait the right amount of time, I think it can get

stuck and

Quoted 4 lines

you'll not
receive vblank interrupts at all.  If you're lucky, the i915 driver
will share an IRQ with some other device, which will

Quoted 11 lines

cause

Quoted 4 lines

it to get
called.  Since the bits are still flipping in hw, we'll emit vblank
events, but they won't correspond to when they should

have

Quoted 5 lines

occurred or
occur at the right frequency.

Jesse

Thanks.
I use i915GM video chipset, and only can have something like ~58FPS when I start to play video or start to move mouse around (quickly enough). In other cases I have 25. This also happens in game (quake) normally I have 20-25, but if things starts to move around the FPS goes up as well.
Is it a bug, and do I have to fill it up on bugzilla?

Thanks.