It looks like -Bfbdev-backend.so and --with-pixman both work and start weston on qemu/common.

On 05/15/2014 05:43 PM, Manuel Bachmann wrote:
Hi Roman,

As of today on Tizen, GL rendering is better supported on Intei i9xx hardware. It works so-so on other hardware (including vmgfx). You want this fix, which I provided, but unfortunately has not been accepted yet :
https://review.tizen.org/gerrit/#/c/19513/

Waiting for this to be merged (or Mesa to be upgraded), you may get an usable Weston without GL by starting it with :
weston --use-pixman
(see the "/usr/lib/systemd/user/display-manager-run.service" file to edit the command line)


2014-05-15 17:36 GMT+02:00 Roman Kubiak <[email protected] <mailto:[email protected]>>:

    Well i can't get the DRM backend to work in wayland i tried the
    latest IVI-emul image and the latest COMMON image both for i386.
    Weston says (looks like a missing drm driver):

    root@10:~# weston --tty 1
    Date: 2014-05-15 PDT
    [08:34:28.394] weston 1.4.0
    http://wayland.freedesktop.org/
                   Bug reports to:
    
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.4.0
                   Build:
    [08:34:28.394] OS: Linux, 3.12.18+, #4 PREEMPT Thu May 15 15:57:16
    CEST 2014, i686
    [08:34:28.394] Using config file '/etc/xdg/weston/weston.ini'
    [08:34:28.395] Loading module '/usr/lib/weston/drm-backend.so'
    [08:34:28.395] initializing drm backend
    [08:34:28.396] using /dev/dri/card0
    [08:34:28.396] Loading module '/usr/lib/weston/gl-renderer.so'
    failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot
    open shared object file: No such file or directory
    [08:34:28.396] failed to initialize egl
    [08:34:28.401] fatal: failed to create compositor

    But fbdev works fine.

    best regards
    On 05/15/2014 04:51 PM, Stanislav Vorobiov wrote:
    Hi, please see below

    On 05/15/2014 06:42 PM, Roman Kubiak wrote:
    Helo again.

    I ditched vmware due to licensing issues for now, but thank you for the 
help i know how to fix it and i understand how to get things running.

    I jumped to our own emulator based on qemu (there is a very fresh piece of code 
ontizen.org  <http://tizen.org>). I got it to build and run the Common image, 
weston shows up but starting anything is causing a segfault in the tz-launcher 
process.
    Though i was not able to start weston with the DRM backend, it's running on 
fbdev. The VIGS/Yagl implementation in the kernel/qemu might not be wayland 
ready,
    Actually, VIGS/YaGL already runs wayland, you can refer to Tizen IVI emulator, it 
usestizen.org  <http://tizen.org>  QEMU and runs Tizen IVI image. I'm not sure 
about Common, I never
    actually tried it.

    but the FBDEV stuff seems to work fine. I don't know what tz-launcher is 
doing that it's doing a
    segfault, i was able to start a weston terminal and that seems to work.

    The small fix i had to do was adding the display user to the video group. 
Also the kernel for the emulator needs to be rebuilt (the default config in the 
emulator-kernel repo assumes that the root disk is /dev/vda and has that 
hard-coded in a minimal
    initramfs that builds with the kernel)

    Could someone tell me if tz-launcher might need DRM and that's why it's 
crashing or is that something else i'd need to check ?

    best regards

    On 05/14/2014 07:15 PM, VanCutsem, Geoffroy wrote:
    Quick update:

    I got the Tizen Common Weston desktop up and running under VMware using 
this 
image:http://download.tizen.org/releases/daily/tizen/common/common-wayland-x86_64/tizen_20140513.6/

    The quickest way is to modify the /boot/extlinux/extlinux.conf file and add 
‘security=none’ to the kernel command-line (workaround 
forhttps://bugs.tizen.org/jira/browse/TIVI-2964), a more permanent workaround 
(but not a complete fix) would be to modify
    the kernel config to have vmwgfx built-in (instead of a module). I have 
also verified that such modifications solves the issue (and you can keep 
security turned on in that case which you really really want).

    I can push a patch to have ‘vmwgfx’ built-in to Tizen Common. In general, 
it may be good to re-use some of the specific kernel configs that are described 
here also in the Tizen Common kernel:
    https://wiki.tizen.org/wiki/IVI/artem-kernel#Kernel_configuration  (look 
for those that are documented as useful for VMware).

    Geoffroy

    *From:*Dev [mailto:[email protected]] *On Behalf Of *VanCutsem, 
Geoffroy
    *Sent:* Wednesday, May 14, 2014 5:56 PM
    *To:* Roman Kubiak;[email protected]  <mailto:[email protected]>
    *Subject:* Re: [Dev] Common/Generic profile images usability

    Hi Roman,

    If you’re interested, I used to keep some ‘recipes’ on how to run Tizen IVI 
2.0 (based on X) under VMware, it’s described 
here:https://wiki.tizen.org/wiki/IVI/IVI_2.0_VMware. Back then, I had to 
provide the xorg-x11-drv-vmware driver (as you have
    pointed out below) and I also had to modify some of the build options used 
for mesa and libdrm. Feel free to take a look there if you want to get that 
working but as pointed out by Dominique, we are not focused on X in Tizen 3.0 
so I’m not sure where
    this would lead you to.

    A more interesting path would be to get the Wayland image running on 
VMware. I have quickly looked at the kernel used in Common and the vmwgfx 
driver is built as a module which means we could be 
hittinghttps://bugs.tizen.org/jira/browse/TIVI-2964
    <https://bugs.tizen.org/jira/browse/TIVI-2964>  
<https://bugs.tizen.org/jira/browse/TIVI-2964>. I’ll see if I can run a quick test on 
my side to validate this. If that’s the problem, you could try to turn security off (add 
‘security=none’ at the kernel command-line) or rebuild the kernel with the
    ‘vmwgfx’ driver built-in.

    Geoffroy

    *From:*Dev [mailto:[email protected]] *On Behalf Of *Roman Kubiak
    *Sent:* Wednesday, May 14, 2014 4:07 PM
    *To:*[email protected]  <mailto:[email protected]>  
<mailto:[email protected]>  <mailto:[email protected]>
    *Subject:* Re: [Dev] Common/Generic profile images usability

    Just to update the Xorg image won't work either, there is only one driver 
included in the image for Xorg and that's the intel_drv.so (bit selfish i 
think) no fbdev or vmware drivers are present so Xorg will never start.
    Also i can't any service in systemctl that could be some sort of a windows 
manager.

    best regards
    Roman Kubiak

    On 05/14/2014 03:59 PM, Dominig ar Foll (Intel OTC) wrote:


         Le 14/05/2014 15:38, Roman Kubiak a écrit :

             I got the images running before (the IVI profile) on VMware, so 
VMware itself is not an issue.
             My question was really, SHOULD I see something in the image, is 
there a UI in the common profile at all or is this a bare bones sort of OS 
image that contains no UI experience at all.

         When booting Tizen Common you should have a  test UX (basic Weston) 
with several user pre-logged on the system.
         The background show the sea and several islands.




         My question about Xorg is still not answered, what is the UI for Xorg 
i should expec t to find in the common image (is there some sort of default WM 
that should launch?)

         We currently do not build a Tizen Common for X but only Wayland 32 and 
64 nits for IA and 32 bits for ARM (work in progress)
         If someone is interested to take the responsibility of building and 
maintain X Common images, thanks to speak up.

         Regards

         Dominig




         _______________________________________________

         Dev mailing list

         [email protected]  <mailto:[email protected]>  
<mailto:[email protected]>  <mailto:[email protected]>

         https://lists.tizen.org/listinfo/dev

-- --------------
      Roman Kubiak
    --------------

    Intel Corporation NV/SA
    Kings Square, Veldkant 31
    2550 Kontich
    RPM (Bruxelles) 0415.497.718.
    Citibank, Brussels, account 570/1031255/09

    This e-mail and any attachments may contain confidential material for the 
sole use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all
    copies.

    Intel Corporation NV/SA
    Kings Square, Veldkant 31
    2550 Kontich
    RPM (Bruxelles) 0415.497.718.
    Citibank, Brussels, account 570/1031255/09

    This e-mail and any attachments may contain confidential material for the 
sole use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all
    copies.

-- --------------
      Roman Kubiak
    --------------



    _______________________________________________
    Dev mailing list
    [email protected]  <mailto:[email protected]>
    https://lists.tizen.org/listinfo/dev


-- --------------
      Roman Kubiak
    --------------


    _______________________________________________
    Dev mailing list
    [email protected] <mailto:[email protected]>
    https://lists.tizen.org/listinfo/dev




--
Regards,

/*Manuel BACHMANN*
Tizen Project
VANNES-FR/

--
--------------
 Roman Kubiak
--------------

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to