Hi Jiri, I've just checked out sources, built it for both ia32 and amd64. System boots with GUI in Qemu and mode setting works.
Could you show your config and Qemu version? 2014-07-07 11:48 GMT+04:00, Jiri Svoboda <[email protected]>: > Hi Wolf, > > is it supposed to work in Qemu? I tried it, both ia32 and amd64, with the > same result. When the system is booting up, the GUI does not start. > Compositor prints these messages: > > compositor: HelenOS Compositor server > compositor: Unable to set mode (Not enough memory) > compositor: Failed to get viewports. > > > > > Best regards, > > Jiri > > > > > > ---------- Původní zpráva ---------- > Od: Wolf Ramovsky <[email protected]> > > > "Hello > > I've just commited code which allows you: > 1. to ask compostior about known viewports > 2. enumerate modes for viewport > 3. set mode for viewport > > Tested: > - amd64 build; > - execution in qemu > - execution in vbox > > A few details about implementation: > 1. Compositor name (e.g. ":0" in comp/ directory) its controlling interface > now. > 2. In vesafb driver, I had to move initialization to thread and > return from stub_init() ASAP because if compositor starts earlier than > driver finishes initialization, devman reports vesafb/vsl0 as > misfunctional. > 3. In vesafb driver, there is a all-zeros mode in the end of modes > list. It terminates modes list. It's a workaround for problem that > visualizer hangups if one try to get mode with number out of list > range. If you get all-zeros mode, you'd better stop enumerating or > visualizer session will hangup. See one of my recent e-mails. > > How to: > Utility is named "compctl". > The first parameter should be a compositor name, in form it registered > to location server, "comp/:0" at this time. > Then you can either list viewports using "l[ist] <vp|viewports>" > arguments or select viewport by id (as it listed by listing viewport > command), using "<vp|viewport> {numeric id}" to perform > viewport-specific operations. > If you selected viewport you can either list its modes using "l[ist] > m[odes]" or set mode using "set {mode number}" arguments. Use mode > numbers from viewports list. > > Examples: > # compctl comp/:0 l vp > will list viewports > # compctl comp/:0 vp {id from above list} l m > will list viewport modes > # compctl comp/:0 vp {id} set 0x112 > will set mode 0x112 > > CAUTION! > Don't try to set mode not listed in viewport modes list or compositor > will freeze due do visualizer hangup. I've made workaround for similar > issue, see point 3 of impelementation details. Of course, I'll make > workaround for this issue too, but now: just don't try. > > _______________________________________________ > HelenOS-devel mailing list > [email protected] > http://lists.modry.cz/listinfo/helenos-devel" _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
