Hi, Roman On 06/09/2014 04:42 PM, Roman Kubiak wrote: > I tried this today too, it seems to work, i agree that the image is blurrde > but i think this is due to scaling of the window (is there some command line > option that the new windows that shows up is at exactly 1x1 scale so that i > don't have to manually > adjust the size ?) Thanks for the feedback. The window is started not 1:1 because of one problem with SDL, I'll address that
> > Also i tried the GTK window and i get an error (i think this is expected?) Yes, the latest patch works with SDL only. I tried to make it work with GTK, but that's not as easy as with SDL, the working area of GTK frontend seems to be child GtkWidget and I can't get an X11 window out of it to render directly into it. > > [r.kubiak@AMDC2543:~/tizen/vm]$ ./run.sh > > Follow serial.log file to see the emulator output > > Running command: > /home/r.kubiak/tizen/sources/qemu/i386-softmmu/qemu-system-i386 -M pc -device > vigs -device yagl -display gtk -drive file=root.img,if=virtio,index=1 -boot > c -serial file:serial.log -m 1024 -net > nic,model=virtio,macaddr=B8:CA:3A:B7:F8:CD -soundhw all -usb > -vga none -net user -rtc base=utc -enable-kvm -redir tcp:2222::22 -kernel > kernel.img -append 'root=/dev/vda rw console=ttyS0 > video=LVDS-1:1280x1024-32@30 dpi=3140 > ip=10.0.2.16::10.0.2.2:255.255.255.0::eth0:none security=none' > 14:40:54 INFO vigs_gl_backend_glx_check_gl_version:187 - > glXCreateContextAttribsARB failed, using OpenGL 2.1 > 14:40:54 INFO vigs_gl_backend_glx_get_config:235 - GLX config ID: 0x89 > 14:40:54 INFO vigs_gl_backend_glx_get_config:242 - GLX visual ID: 0x21 > 14:40:54 INFO vigs_device_init:365 - VIGS initialized > 14:40:54 INFO [0/0] yagl_egl_glx_get_gl_version:221 - > glXCreateContextAttribsARB failed, using OpenGL 2.1 > 14:40:54 INFO vigs_device_reset:407 - VIGS reset > The program 'qemu-system-i386' received an X Window System error. > This probably reflects a bug in the program. > The error was 'BadMatch (invalid parameter attributes)'. > (Details: serial 44 error_code 8 request_code 154 minor_code 26) > (Note to programmers: normally, X errors are reported asynchronously; > that is, you will receive the error a while after causing it. > To debug your program, run it with the --sync command line > option to change this behavior. You can then get a meaningful > backtrace from your debugger if you break on the gdk_x_error() function.) > Done > > > On 06/09/2014 02:36 PM, Lukasz Skalski wrote: >> On 06/09/2014 01:50 PM, Stanislav Vorobiov wrote: >>> Hi, all >>> >> >> Hi Stanislav, >> >>> For those who's using standalone emulator, I've just pushed >>> a performance improvement that will make graphics run much smoother. >>> >> >> With the latest patch, screen seems to be more blurred and I don't see >> performance improvement. >> >>> It would be great to have some feedback on this, so far I've tested >>> it only on ubuntu 12.04 with the following GPUs: >>> * Intel HD Graphics 2000 >>> * Intel HD Graphics 4000 >>> * nVidia GT240 >> >> [user]$ lspci | grep -i --color 'VGA' >> 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen >> Core processor Graphics Controller (rev 09) >> >>> >>> Thanks. >>> >> >> Thanks, >> Lukasz Skalski >> Samsung R&D Institute Poland >> Samsung Electronics >> [email protected] >> >>> On 06/06/2014 02:22 PM, Stanislav Vorobiov wrote: >>>> Hi, Lukasz >>>> >>>> Thanks for your feedback, very appreciated! >>>> >>>> And the commit related to this problem is merged >>>> >>>> On 06/06/2014 12:45 PM, Lukasz Skalski wrote: >>>>> On 06/06/2014 07:35 AM, Stanislav Vorobiov wrote: >>>>>> Hi, Stéphane and everyone >>>>>> >>>>> >>>>> Hi, >>>>> >>>>>> I've been thinking about your suggestion to provide a standalone >>>>>> emulator for Tizen Common >>>>>> and I decided to give it a try :) You can find it here - >>>>>> https://github.com/Sheph/qemu >>>>>> together with build/run instructions which are 3 simple steps, you don't >>>>>> need Tizen SDK or anything special >>>>>> to make this work. >>>>>> >>>>> >>>>> Thanks for your work - standalone emulator will be very useful. >>>>> Installing the whole Tizen SDK on Fedora (with debootstrapped Ubuntu) >>>>> is not the best solution especially if I need only emulator. >>>>> >>>>>> Currently I just want to get some feedback from users, will this be >>>>>> useful to anybody ? If yes, then >>>>>> I can push more patches that improve performance and usability. >>>>>> >>>>>> Thanks. >>>>>> >>>>>> P.S: This is still experimental, there may be problems, so don't >>>>>> hesitate to >>>>>> report them >>>>>> >>>>> >>>>> On my Fedora20 I had to add '-ldl' to linker command: >>>>> >>>>> LIBS=-ldl make >>>>> >>>>> otherwise: >>>>> >>>>> CC i386-softmmu/hw/yagl/yagl_drivers/egl_glx/yagl_egl_glx.o >>>>> CC i386-softmmu/hw/yagl/yagl_drivers/gles_ogl/yagl_gles_ogl.o >>>>> CC i386-softmmu/hw/yagl/yagl_drivers/gles_onscreen/yagl_gles_onscreen.o >>>>> LINK i386-softmmu/qemu-system-i386 >>>>> /usr/bin/ld: hw/vigs/vigs_gl_backend_glx.o: undefined reference to symbol >>>>> 'dlclose@@GLIBC_2.2.5' >>>>> /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO >>>>> /lib64/libdl.so.2 so try adding it to the linker command line >>>>> /lib64/libdl.so.2: could not read symbols: Invalid operation >>>>> collect2: error: ld returned 1 exit status >>>>> make[1]: *** [qemu-system-i386] Error 1 >>>>> make: *** [subdir-i386-softmmu] Error 2 >>>>> >>>>> Thanks, >>>>> Lukasz Skalski >>>>> Samsung R&D Institute Poland >>>>> Samsung Electronics >>>>> [email protected] >>>>> >>>>>> On 06/02/2014 01:48 PM, Stanislav Vorobiov wrote: >>>>>>> Hi, Stéphane >>>>>>> >>>>>>> Please see below >>>>>>> >>>>>>> On 06/02/2014 01:20 PM, Stéphane Desneux wrote: >>>>>>>> Hi Stanislav, >>>>>>>> >>>>>>>> Can you elaborate a bit to tell everyone how to boot the Tizen:Common >>>>>>>> emulator image ? >>>>>>> Bootable Tizen:Common images are here - >>>>>>> http://download.tizen.org/snapshots/tizen/common/common-wayland-emulator32/ >>>>>>> You can use Tizen IVI SDK to boot them. >>>>>>> >>>>>>>> Is it usable outside the SDK ? If so how ? >>>>>>> Well, yes, but it's too much work for the one who's not dedicated to >>>>>>> all these qemu things, one will have to >>>>>>> build qemu and emulator kernel from tizen.org and run that qemu with >>>>>>> appropriate arguments. IMO it's much easier >>>>>>> to use Tizen IVI SDK. >>>>>>> >>>>>>>> >>>>>>>> It would be interesting for any developer to boot the emulator image on >>>>>>>> a classic laptop or desktop to test new features. It would be also >>>>>>>> interesting to provide it as a single tool to avoid installing the >>>>>>>> whole >>>>>>>> SDK. >>>>>>> That's an interesting idea. Technically the important bit you need is >>>>>>> YaGL/VIGS - the virtual GPU/DRM/OpenGL >>>>>>> that's needed to run wayland/weston/xwalk. Currently it's part of tizen >>>>>>> emulator, but it can be made standalone, i.e. >>>>>>> work with upstream qemu/upstream kernel. >>>>>>> >>>>>>>> >>>>>>>> Maybe updating the wiki page >>>>>>>> https://wiki.tizen.org/wiki/Modify_Emulator_Image with a chapter on >>>>>>>> Tizen:Common makes sense. >>>>>>> Since Tizen:Common has image builds for emulator then I believe we >>>>>>> don't need to do >>>>>>> any of these steps. btw, this page looks outdated even for IVI, the >>>>>>> only things one needs >>>>>>> to install is system-plugin-emulator and emulator-yagl packages. >>>>>>> Regarding weston.patch - it >>>>>>> fixes weston touchscreen support in general, the patch set is sent >>>>>>> upstream - >>>>>>> http://lists.freedesktop.org/archives/wayland-devel/2014-May/014838.html >>>>>>> so once it's merged we wouldn't need this as well >>>>>>> >>>>>>>> >>>>>>>> Please update bug TC-9 to fix the remaining integration problems on the >>>>>>>> emulator image of Tizen:Common. >>>>>>> I guess Max's fix - https://review.tizen.org/gerrit/#/c/22147/ should >>>>>>> be merged and >>>>>>> SR be generated and accepted. >>>>>>> >>>>>>> I've already sent SR for these xwalk fixes - >>>>>>> https://bugs.tizen.org/jira/browse/PTAPI-37 >>>>>>> >>>>>>> So once these SRs are accepted remaining integration problems should be >>>>>>> fixed. But there're >>>>>>> still problems remaining described in >>>>>>> https://bugs.tizen.org/jira/browse/PTAPI-37, I'm investigating them >>>>>>> currently >>>>>>> >>>>>>>> >>>>>>>> Thanks. >>>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> https://lists.tizen.org/listinfo/dev >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> https://lists.tizen.org/listinfo/dev >>>> >>> >>> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> https://lists.tizen.org/listinfo/dev >> > > -- > -------------- > Roman Kubiak > -------------- > > > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev > _______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
