Bug 14682 - [915] timeouts on vblank waits at app startup
Summary: [915] timeouts on vblank waits at app startup
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
Keywords: NEEDINFO
Depends on:
Reported: 2008-02-26 07:43 UTC by Ross Burton
Modified: 2008-06-26 07:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Xorg log (45.69 KB, text/plain)
2008-02-26 07:43 UTC, Ross Burton
no flags Details

Description Ross Burton 2008-02-26 07:43:51 UTC
Created attachment 14581 [details]
Xorg log

When I start a GL app which uses vsyncing, it hangs for a second on startup.  It then says:

do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.

But I don't have those set.  dmesg says this:

[drm:i915_vblank_swap] *ERROR* Invalid pipe 0

I'm guessing that this might be related to the fact that since I've booted I've used xrandr to turn on the VGA port and disable the LVDS.

Attached is my xorg log.  This is xserver, -intel 2.2.1 (debian sid).
Comment 1 Jesse Barnes 2008-03-12 11:30:11 UTC
Ross, does this still happen with the latest DRM bits?  Nanhai recently fixed a bug in this area...
Comment 2 Jesse Barnes 2008-03-12 11:31:49 UTC
Modifying summary & classification since I think this is a DRM bug.
Comment 3 Jesse Barnes 2008-03-21 09:23:11 UTC
Ross, any update here?  This bug should be fixed with the lateset DRM bits.
Comment 4 Ross Burton 2008-03-21 10:52:06 UTC
Do I need to build the DRM from version control, or should this be fixed in a kernel/mesa tarball release?
Comment 5 Jesse Barnes 2008-03-21 11:15:56 UTC
The fix is just in the DRM tree afaik, so you'll have to build the out of tree modules rather than the upstream kernel ones.
Comment 6 Jesse Barnes 2008-03-28 14:10:07 UTC
Have you had a chance to try the DRM tree yet Ross?
Comment 7 Jesse Barnes 2008-06-20 10:34:22 UTC
There's been a lot of activity in this area, so this bug is likely fixed, and since Ross isn't around to confirm... :)
Comment 8 Ross Burton 2008-06-26 05:59:13 UTC
Sorry for the lag...  I just tested on my laptop and it appears to be working again.
Comment 9 Jesse Barnes 2008-06-26 07:15:34 UTC
No problem, thanks for confirming, Ross.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.