Xfbdev on intelfb framebuffer.

Peter Hanzel hanzelpeter at gmail.com
Wed Jan 14 05:27:42 PST 2009


Hello.

I have compiled Xfbdev. It works great with VesaFramebuffer in kernel 
compiled.
But I have Intel 965GM graphic so I changed kernel to work with "intelfb" 
framebuffer. Console in framebuffer works good.
But when I start X I received:

error: invalid argumenr
No screens found
Existing.

I have digged into sources and found this line:

xorg-server-1.2.0\xorg-server-1.2.0\hw\kdrive\fbdev\fbdev.c
line 201

    k = ioctl (priv->fd, FBIOPUT_VSCREENINFO, &var);

    if (k < 0)
    {
 fprintf (stderr, "error: %s\n", strerror (errno));
 return FALSE;
    }

So this is causing problems. IntelFb framebuffer on my laptop doesn't 
support changing video modes, so this is probably reason, why it returns 
error.
But as next I have commented out this lines, and recompiled Xfbdev.
But it doesn't start. It passes init, but screen stays black and text cursor 
is shown (but not blinking). Ctrl+Alt+Backspace is not working.
I have only to reboot. (Ctrl+Alt+Del works).
But when I reboot to kernel with VesaFramebuffer, the newly compiled Xfbdev 
works like a charm. So only kernel differencies make this X to hang.

Next i will try it with logging to file and strace.

Any suggestions?

Thanks.






More information about the xorg mailing list