DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: WAITFORSYNC sleeps too long
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Re: WAITFORSYNC sleeps too long



On Sun, Jan 16, 2005 at 03:59:03PM +0100, Jan Gukelberger wrote:
> Hi Ville,
> 
> first of all thank you for your quick and comprehensive reply. :)
> I'm forwarding this to my colleagues so hopefully we'll see clearer by
> tomorrow.
> 
> > > Why does the wait_event_bla fail? Isn't there any VSYNC interrupt? How
> > > can this happen? 
> > 
> > Obviously the first thing to check is if your kernel actually supports 
> > FBIO_WAITFORSYNC ioctl.
> 
> Are there any 2.6 kernels that don't support it? How can we check this?
> Probably by looking at the sources?

All 2.6 kernels support the ioctl.

> > Secondly make sure the graphics card actually has an irq assigned to it. 
> > BIOS usually has an option for it. lspci should tell you if the irq is 
> > assigned.
> > 
> > If everything checks out the next step would probably adding some debug 
> > printks to the kernel to see what happens. One thing that might be the 
> > cause is some irq routing problem (ACPI related maybe).
> 
> That means switching ACPI off could help?

You could try pci=noacpi or acpi=off kernel options.

-- 
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/




Home | Main Index | Thread Index


directfb.org / Development / Old Archives