rivafb

"James Lehman" <[email protected]> Tue, 13 Feb 2007 19:03:44 -0500
Newsgroups gmane.linux.fbdev.user
Message-ID <003e01c74fcb$97ec2720$0200a8c0@foam>
Why does the riva driver force the virtual resolution to be as high as
possible? If I can not choose to make the visible and the virtual screen
size the same, then one of my frame buffer animation techniques doesn't
work.

I create a bitmap memory object, the size of the screen, do my rendering
there and dump the whole thing to the display over and over again. In this
case, there's no reason to have a virtual area bigger than the visible
screen.

// drivers/video/riva/fbdev.c   approximately line 1232

        if (var->xres_virtual < var->xres)
                var->xres_virtual = var->xres;
        //if (var->yres_virtual <= var->yres)
        //        var->yres_virtual = -1;
        if (var->yres_virtual < var->yres)
              var->yres_virtual = var->yres;
        //if (rivafb_do_maximize(info, var, nom, den) < 0)
        //        return -EINVAL;

This change in the code makes it work, but the console text cursor is still
visible.

I also like to make the virtual screen exactly twice the size of the visible
screen and render in the off screen area and switch the offsets. This works
(*sort-of*) with the rivafb driver but there is some kind of sync problem.
The screen does not stay lit and provide a nice smooth animation like other
cards do. It looks noisy and blacks out sporadically.

http://www.akrobiz.com/ezfb
http://www.akrobiz.com/laserboy

James.   :o)



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642