Hi Cristian,
On 11/12/2015 02:54 PM, Christian Prochaska wrote:
Hello Humberto,
On 11/12/2015 06:17 PM, Humberto López León wrote:
Hello Genode community,
I'm testing the port of Qt_5.1.0 in Genode 15.08. I ran the example "qt5_openglwindow" but a sale with black background is shown. I tried it on in the pbxa9 using Qemu with hw and foc.
does it work with this patch from the current Genode master branch?
https://github.com/genodelabs/genode/commit/650267b425b90241bff7c97e2d5a5a32...
Christian
Thanks for the patch, now works correctly the example "qt5_openglwindow".
I also tried two more examples of qt5_gui module (qtbase/examples/gui), the rasterwindow and analogclock. To include these examples in the compilation mechanism of Genode I relied on the example "qt5_openglwindow". Both examples compiled correctly, but do not run as they should. I tried it on Qemu with pbxa9 using the foc kernel.
Foc_pbxa9 serial output (rasterwindow example): ==================================================== Genode 15.08-215-g455cef5 <local changes> int main(): --- create local services --- int main(): --- start init --- int main(): transferred 191 MB to init int main(): --- init created, waiting for exit condition --- Quota exceeded! amount=24576, size=4096, consumed=24576 [init] upgrading quota donation for Env::CPU (8192 bytes) [init -> fb_drv] --- pl11x framebuffer driver --- [init -> ps2_drv] Detected ExPS/2 mouse - activating scroll-wheel and 5-button support. [init -> ps2_drv] Using keyboard with scan code set 1 (xlate). [init -> nitpicker] create session with args: label="wm", ram_quota=28672 [init -> nitpicker] create session with args: label="pointer", ram_quota=28672 [init -> nitpicker] create session with args: label="wm -> decorator", ram_quota=28672 [init -> rasterwindow] tar archive 'qt5_fs_rasterwindow.tar' local at bf000, size is 503808 [init -> rasterwindow] void init_libc_lock_pipe(): init_libc_lock_pipe() [init -> rasterwindow] using the pipe libc plugin [init -> rasterwindow] read_rtc: rtc not configured, returning 0 [init -> rasterwindow] pid_t getpid(): getpid not implemented [init -> nitpicker] create session with args: label="wm -> rasterwindow", ram_quota=28672 [init -> rasterwindow] fcntl(): command 4 arg 4 not supported - pipe [init -> rasterwindow] fcntl(): command 4 arg 5 not supported - pipe [init -> rasterwindow] fcntl(): command 4 arg 4 not supported - pipe [init -> rasterwindow] fcntl(): command 4 arg 5 not supported - pipe [init -> rasterwindow] read_rtc: rtc not configured, returning 0 [init -> rasterwindow] void qDefaultMessageHandler(QtMsgType, const QMessageLogContext&, const QString&): QObject::connect: Cannot connect (null)::framebuffer_changed() to QNitpickerWindowSurface::framebuffer_changed() [init -> nitpicker] create session with args: label="wm -> rasterwindow", ram_quota=28672 no RM attachment (READ pf_addr=0 pf_ip=101ce20 from 414000) Genode::Signal_session_component::submit(Genode::Signal_context_capability, unsigned int)::<lambda(Genode::Signal_context_component*)>: invalid signal-context capability Genode::Pager_entrypoint::entry()::<lambda(Genode::Pager_object*)>: Could not resolve pf=0 ip=101ce20 =====================================================
Foc_pbxa9 serial output (analogclock example): ===================================================== Genode 15.08-215-g455cef5 <local changes> int main(): --- create local services --- int main(): --- start init --- int main(): transferred 191 MB to init int main(): --- init created, waiting for exit condition --- Quota exceeded! amount=24576, size=4096, consumed=24576 [init] upgrading quota donation for Env::CPU (8192 bytes) [init -> fb_drv] --- pl11x framebuffer driver --- [init -> ps2_drv] Detected ExPS/2 mouse - activating scroll-wheel and 5-button support. [init -> ps2_drv] Using keyboard with scan code set 1 (xlate). [init -> nitpicker] create session with args: label="wm", ram_quota=28672 [init -> nitpicker] create session with args: label="pointer", ram_quota=28672 [init -> nitpicker] create session with args: label="wm -> decorator", ram_quota=28672 [init -> analogclock] tar archive 'qt5_fs_analogclock.tar' local at bf000, size is 503808 [init -> analogclock] void init_libc_lock_pipe(): init_libc_lock_pipe() [init -> analogclock] using the pipe libc plugin [init -> analogclock] read_rtc: rtc not configured, returning 0 [init -> analogclock] pid_t getpid(): getpid not implemented [init -> nitpicker] create session with args: label="wm -> analogclock", ram_quota=28672 [init -> analogclock] fcntl(): command 4 arg 4 not supported - pipe [init -> analogclock] fcntl(): command 4 arg 5 not supported - pipe [init -> analogclock] fcntl(): command 4 arg 4 not supported - pipe [init -> analogclock] fcntl(): command 4 arg 5 not supported - pipe [init -> analogclock] read_rtc: rtc not configured, returning 0 [init -> analogclock] void qDefaultMessageHandler(QtMsgType, const QMessageLogContext&, const QString&): QObject::connect: Cannot connect (null)::framebuffer_changed() to QNitpickerWindowSurface::framebuffer_changed() [init -> nitpicker] create session with args: label="wm -> analogclock", ram_quota=28672 no RM attachment (READ pf_addr=0 pf_ip=101ce20 from 414000) Genode::Signal_session_component::submit(Genode::Signal_context_capability, unsigned int)::<lambda(Genode::Signal_context_component*)>: invalid signal-context capability Genode::Pager_entrypoint::entry()::<lambda(Genode::Pager_object*)>: Could not resolve pf=0 ip=101ce20
=====================================================
You have any idea what is happening? Thank you
Humberto