Re: Changing resolution on the fly ....
Matthew Allum <[email protected]>
| Newsgroups | gmane.comp.handhelds.matchbox,gmane.comp.handhelds.gpe |
|---|---|
| Message-ID | <20030702090011.GA27864@debian> |
Hi; on Wed, Jul 02, 2003 at 05:21:15PM +0900, Armand Vedadi wrote: > Hi, > I am knocking my head on the wall for days trying to find out how to > change the resolution of the Xipaq (and so the GPE that lays above) on > the fly ... I didn't think the fb on the ipaq was capable of changing resolution. > When no application is running, one can change the resolution by using > fbset, but as soon as an application runs, fbset has no effect until > that application is killed. Can anyone explain me why? I dont think its a good idea to run fbset under X. > Since Xrandr works fine, I think it is possible to change the resolution > on the fly. The only problem is that only one "randr size" is set (the > one given by the framebuffer when the first Xclient is launched). Right, on the ipaq that is. On tabletPC with xrandr I get a whole range of screen sizes, but thats using an Xvesa tinyX server. > I > looked in the Xrandr library, but found no way to "register" new > sizes. I've also looked in the sources of the randr extension of the XServer. > Apparently, the function "RRRegisterSize" is used once when the default > screen is used with the default size values, thus enabling only one > size. I'd like to change and register different sizes, but have no > experience in X development. > Maybe the Xfbdev tinyX server is missing code to figure out valid fb sizes. On the C700 the fb driver can do different resolutions ( though its mostly crashes when you do change it :( ), though xrandr dont list them so maybe the code is missing. I think You'd probably be better to mail the xfree developers list and ask about this there. Or compare code for the Xvesa and XFbdev tinyX servers ( see xc/programs/Xserver/hw/kdrive in X src ). > I am working on a driver that allows different resolution for the iPAQ, > and I need a window system that can also be resized on the fly in order > to carry out further experiments ... Cool. > Correct me if I m wrong, but Opie > has no such capabilities, right? I wouldn't have thought so. Last time I looked it could do a rotation, but needed to restart and alot of stuff broke. -- Matthew