Hi,

On Mon, Feb 2, 2015 at 11:09 PM, Patrick Ohly <[email protected]>
wrote:

> On Fri, 2015-01-30 at 15:47 +0100, Olivier Delbeke wrote:
> > Thanks a lot for your support.
> >
> > FYI, I finally got a picture ! All I needed to do was to use the magic
> > "security=none". But of course, it's not very satisfying ; it should
> > work without that. Please let me know if it works better with the new
> > kernel patches.
>
> Unfortunately it doesn't.
>
> Kevin, Ronan: Olivier is using the current "tizen" branch of
> tizen-distro, which is essentially rev_0.9. Do you have any idea why
> this worked when you tried it?
>

Unfortunately no. I remember Ronan having weston launched but only
displaying a black screen. This has been corrected but I don't know what
commit fixed it. Ronan, do you remember what was the issue ?

>
> > About the wayland-egl error message ("libEGL warning: wayland-egl:
> > could not open /dev/dri/card0 (Permission denied)"), I think I
> > understood what happens :
> > - libwayland-egl is used by all wayland clients
> > - libwayland-egl need to open /dev/dri/card0
> > - the wayland clients are run as user 'app'
> > - /dev/dri/card0 is owned by group 'video'
> > - user 'app' is not a member of group 'video' => denied access
> > As a test, I tried to add the user "app" to group "video" (with
> > "usermod -a -G video app"), but got a "PAM authentication failure". I
> > don't know how to overcome this without recompiling the file system.
>
> You can just edit /etc/groups directly. The fix in the recipes is in
> config-tizen-ivi.bb: adding the "app" user must include the "video"
> group.
>
> Same question here: how can this have worked when rev_0.9 was released?
>
One thing that is important to know: Tizen IVI built with Yocto doesn't
start weston the same way as Tizen IVI because Tizen IVI Yocto is fully
based on Tizen Common Yocto thus work in a similar way (which isn't the
case for Tizen IVI and Tizen Common where the delta between Common and IVI
is more important). For example Tizen IVI Yocto uses tlm (like Tizen
Common) which isn't (or wasn't) the case for Tizen IVI.

>
> I've fixed the group permissions locally; unfortunately now weston
> segfaults in gl-renderer.so, with and without "security=none".
>
>
> Regarding the patches for IVI kernel: they are not integrated yet, Tizen
IVI Yocto uses the exact same kernel as Tizen Common Yocto. This should be
easy to fix by creating a bbappend to the kernel in the IVI layer to add
the missing patches and modify the configuration.

Best regards,
Kevin
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to