Launchpad has imported 18 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=30654.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-10-06T13:18:39+00:00 Xavier wrote:

The 3 games I tried (teeworlds,tremulous,neverball) trigger the following error 
when run at fullscreen 1024x768 (laptop native resolution) :
[drm:intel_prepare_page_flip] *ERROR* Prepared flip multiple times

On tremulous and teeworlds, this is associated with a lot of black
flashes / flickers.

In window mode or in fullscreen at lower resolution (e.g. 800x600),
there is no flicker and no ERROR.

I am using latest git of everything but I believe the flickers have been
there for quite some time and are probably reproducible on the latest
stable release too.

00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated 
Graphics Device (rev 02)
mesa 06472ad7e835813ef7c9bf8a5cd8b62a25fa9cc3
ddx 1444ea35706992a1f094fe029e6a7d9eec0f93c6
drm-intel-next 7b4f3990a22fbe800945f12001bc30db374d0af5
X.Org X Server 1.9.0

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/0

------------------------------------------------------------------------
On 2010-10-06T13:19:46+00:00 Xavier wrote:

Created attachment 39227
kernel log

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/1

------------------------------------------------------------------------
On 2010-10-06T16:49:14+00:00 Chris Wilson wrote:

Daniel, if you have the opportunity, can you check for the same issue on
your 855? Why would gen2 be any more susceptible to this than gen3?
Unlikely to be purely a timing issue as then there would have been some
reports on i915.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/2

------------------------------------------------------------------------
On 2010-10-06T17:42:05+00:00 Daniel-ffwll wrote:

> --- Comment #2 from Chris Wilson <[email protected]> 2010-10-06 
> 09:49:14 PDT ---
> Daniel, if you have the opportunity, can you check for the same issue on your
> 855? Why would gen2 be any more susceptible to this than gen3? Unlikely to be
> purely a timing issue as then there would have been some reports on i915.

I've seen this problem on my i855gm and my ilk. Can't remember whether it
happens on my i945, too. Atm I can't reproduce it anymore on any of my
machines, tough. It usually happens fairly reliable with kde
compositioning (vsync enabled) and full-screen video watching when
switching between mplayer and other apps using the cover flip. Recently
I've also seen it without composition in gnome and mesa stuff.

So my money is on timing problem ... at least for the moment.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/3

------------------------------------------------------------------------
On 2010-10-06T17:53:29+00:00 Chris Wilson wrote:

Daniel mentioned observing this on Ironlake with virtual forbidden city
on default fedora.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/4

------------------------------------------------------------------------
On 2010-10-06T18:53:45+00:00 Daniel-ffwll wrote:

The "Prepared flip multiple times" might not be related to the flicker
bug. I can reproduce the flicker on my i855, too, and there I also have
tons of "Prepared flip multiple times". But not on my ironlake (even when
it flickers).

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/5

------------------------------------------------------------------------
On 2010-10-07T10:51:13+00:00 Chris Wilson wrote:

Tremulous (via pts) on 965GM or Pineview isn't flickering nor spewing
page flip errors. Sounds like a have a pair of separate bugs.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/6

------------------------------------------------------------------------
On 2010-10-07T10:51:52+00:00 Chris Wilson wrote:

(In reply to comment #5)
> But not on my ironlake (even when it flickers).

Daniel can you report a second bug for this?

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/7

------------------------------------------------------------------------
On 2010-11-06T17:48:05+00:00 Xavier wrote:

ickle said a while ago 'Prepared flip multiple times' error might just be a 
misunderstanding of the hardware. 
It indeed does not seem to have any ill effect so maybe the debug message could 
be removed or put at a higher debug level (ratelimit would be good to have if 
it's not removed).

Today I finally found the real culprit : sync to vblank.
With vblank_mode=0, I don't see any flickering, either in fullscreen or window.

But by default (vblank on), I get flickering in both window and
fullscreen mode.

Looking at the framerate in several games, it seems quite clear that the 
flickering happens when constant 60 fps (refresh rate) cannot be maintained.
So when the scene is too complex for the gpu, it seems to flicker at every 
frame associated with fps jumps.
When the scene is very simple, I see a constant 60fps and not any flickering.
And all the granularity between these two extremes.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/8

------------------------------------------------------------------------
On 2010-11-07T09:55:57+00:00 Xavier wrote:

It's interesting that when pageflip is active, it's always vsync-ed, so
enabling/disabling vblank_mode just enables/disables flickering, without
real effects on the framerate.

IE with pageflip on and vblank_mode=0, the fps can jump between 30 and
60 fps because my machine is too slow but there is not any flickering to
see.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/9

------------------------------------------------------------------------
On 2011-01-19T12:34:09+00:00 Daniel-ffwll wrote:

Fyi, my flickering problem got fixed by recompiling mesa. According to
Jesse Barnes, inconsisten versions of the dri2 and gl proto headers when
compiling the x server and mesa may lead to this flickering (for unknown
reasons).

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/10

------------------------------------------------------------------------
On 2011-01-24T09:51:06+00:00 Xavier wrote:

(In reply to comment #10)
> Fyi, my flickering problem got fixed by recompiling mesa. According to Jesse
> Barnes, inconsisten versions of the dri2 and gl proto headers when compiling
> the x server and mesa may lead to this flickering (for unknown reasons).

Last update of dri2 and gl proto headers on my system was before 2010-11-07 
(date of my last comment).
I brought my system up-to-date yesterday, and the problem was completely gone.
I went back to older versions of kernel / libdrm / ddx / mesa, and never 
managed to reproduce the problem.
I did not try to downgrade everything though, there were probably a bunch of 
other xorg components that were updated by my distrib in the meantime.

vblank was definitely on since fps was either 30 or 60 fps, but no
flickering to be seen. Well good news I guess !

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/11

------------------------------------------------------------------------
On 2011-02-27T17:48:57+00:00 Xavier wrote:

Just a few days later my last report, the bug was back, while I didn't
touch anything related to the graphic stack. It drove me mad.

Today I noticed something :
vblank off : it works and kernel log is fine (but pageflip seems to be used)
vblank on : it flickers, and dmesg is flooded with :
[drm:intel_prepare_page_flip] *ERROR* Prepared flip multiple times

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/12

------------------------------------------------------------------------
On 2011-04-16T17:42:31+00:00 Jd-girard wrote:

I'm having the same problem when enabling desktop effects in KDE on my laptop 
(chipset 82852/855GM).
How do you enable / disable vblank ? I tried to use driconf but it does not 
seem to have any effect on vblank.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/13

------------------------------------------------------------------------
On 2011-04-17T15:41:38+00:00 Xavier wrote:

driconf does not support dri2, but it's only one dumb change : use driver=dri2.
One example I just found with google :
http://pastebin.com/3gr5VbHY

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/14

------------------------------------------------------------------------
On 2011-04-17T20:50:21+00:00 Jd-girard wrote:

(In reply to comment #14)
> driconf does not support dri2, but it's only one dumb change : use 
> driver=dri2.

Ok, thanks, I've been able to disable vblank, but KDE effects still
produce the same error. Compiz works fine though (with vblank disabled),
so maybe kwin is re-enabling it somehow.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/15

------------------------------------------------------------------------
On 2011-09-08T22:56:22+00:00 Eugeni Dodonov wrote:

This issue is affecting a hardware component which is not being actively
worked on anymore.

Moving the assignee to the dri-devel list as contact, to give this issue
a better coverage.

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/28

------------------------------------------------------------------------
On 2012-04-24T09:11:18+00:00 Chris Wilson wrote:

I believe this will be fixed with:

commit 8fa2a569d3fb6ea78b83c6062b2f3aec528cc9e5
Author: Chris Wilson <[email protected]>
Date:   Sun Apr 22 21:13:57 2012 +0100

    drm/i915: i8xx interrupt handler
    
    gen2 hardware has some significant differences from the other interrupt
    routines that were glossed over and then forgotten about in the
    transition to KMS. Such as
    
    - 16bit IIR
    - PendingFlip status bit
    
    This patch reintroduces a handler specifically for gen2 for the purpose
    of handling pageflips correctly, simplifying code in the process.
    
    v2: Also fixup ring get/put irq to only access 16bit registers (Daniel)
    
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=24202
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41793
    Signed-off-by: Chris Wilson <[email protected]>
    Signed-off-by: Daniel Vetter <[email protected]>

Reply at: https://bugs.launchpad.net/dri/+bug/765813/comments/36


** Changed in: dri
       Status: Unknown => Fix Released

** Changed in: dri
   Importance: Unknown => Medium

** Bug watch added: Linux Kernel Bug Tracker #24202
   http://bugzilla.kernel.org/show_bug.cgi?id=24202

** Bug watch added: freedesktop.org Bugzilla #41793
   https://bugs.freedesktop.org/show_bug.cgi?id=41793

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/765813

Title:
  [drm:intel_prepare_page_flip] *ERROR* Prepared flip multiple times
  every frame with intel graphics

To manage notifications about this bug go to:
https://bugs.launchpad.net/dri/+bug/765813/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to