On Fri, Nov 25, 2005 at 11:02:28PM +0000, Tony Houghton wrote:
> I've got a strange problem with DirectFB on a Matrox G450, using TV out.
> Sometimes DirectFBCreate fails with this error:
> 
> (!) DirectFB/FBDev: Could not mmap MMIO region (offset 0, length 16384)!
>     --> Invalid argument

That error comes from the mmap() call. The kernel's fb_mmap() function 
returns -EINVAL in quite a few places. Either the arguments of the 
mmap() call are incorrect or var.accel_flags is not 0. offset and length 
are correct in your case so either fix.smem_len and/or var.accel_flags 
are somehow corrupted, or the kernel has gone mad, or maybe the error 
comes from libc...

You could add printk()s to the fb_mmap() function in 
drivers/video/fbmem.c.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to