Created attachment 14581 [details]
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.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.
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 18.104.22.168, -intel 2.2.1 (debian sid).
Ross, does this still happen with the latest DRM bits? Nanhai recently fixed a bug in this area...
Modifying summary & classification since I think this is a DRM bug.
Ross, any update here? This bug should be fixed with the lateset DRM bits.
Do I need to build the DRM from version control, or should this be fixed in a kernel/mesa tarball release?
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.
Have you had a chance to try the DRM tree yet Ross?
There's been a lot of activity in this area, so this bug is likely fixed, and since Ross isn't around to confirm... :)
Sorry for the lag... I just tested on my laptop and it appears to be working again.
No problem, thanks for confirming, Ross.