Re: Cannot start afm-user-daemon.service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

The errors are due to wrong configurations of weston.service and GPU driver, now it's fixed. AGL has been brought up on Hikey960.

Thanks for all your help.

Best Regards,
Clive

-----Original Message-----
From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx [mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Clive Xu (Arm Technology China)
Sent: 2018年12月27日 19:30
To: José Bollo <jose.bollo@xxxxxxx>
Cc: AGL ml <automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re:  Cannot start afm-user-daemon.service

Hi Jose

Thanks for your suggestion, but I think my problem is not related to the setting of XDG_RUNTIME_DIR.

Previously, to resolve the weston build errors, I removed the weston recipes in meta-96boards.
But now I find that it's wrong to do this, so I used attached weston-recipes.patch and solved the build errors.

Now I think the weston services has been started correctly, attached the log.

Now some other problems comes out, I see some error logs in journalctl, could you please help have a check what's wrong with my configurations?
├── journalctl.log --> journalctl log after restart weston.service ├── weston.ini ├── weston.log ├── weston-recipes.patch --> patch meta-96boards to fix weston build errors └── weston.service --> /lib/systemd/system/weston.service

I have also tried to run *systemctl restart run-agl-postinsts.service*, many following errors occurred☹, my user is root, should I used the *root*?
Dec 27 11:12:00 hikey960 systemd[1]: user@0.servicecd.service: Unit configuration has fatal error, unit will not be started.
Dec 27 11:12:00 hikey960 systemd[1]: /var/local/lib/systemd/system/afm-user-session@.target.wants/../afm-service-windowmanager-service--0.1--main@.service:35: Invalid user/group name or numeric ID: 0.servicecd Dec 27 11:12:00 hikey960 systemd[1]: /var/local/lib/systemd/system/afm-user-session@.target.wants/../afm-service-low-can-service--5.99--main@.service:36: Invalid user/group name or numeric ID: 0.servicecd ...

Thanks & Brs,
Clive

-----Original Message-----
From: José Bollo [mailto:jose.bollo@xxxxxxx]
Sent: 2018年12月27日 0:18
To: Clive Xu (Arm Technology China) <Clive.Xu@xxxxxxx>
Cc: Jan-Simon Moeller <jsmoeller@xxxxxxxxxxxxxxxxxxx>; Phong Tran <tranmanphong@xxxxxxxxx>; AGL ml <automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re:  Cannot start afm-user-daemon.service

On Tue, 25 Dec 2018 05:21:58 +0000
"Clive Xu (Arm Technology China)" <Clive.Xu@xxxxxxx> wrote:

> Hi, Jan-Simon, Jose, Phong,
>
> Thanks very much for your suggestions, it really helps.
> I have tried to use meta-96boards and its patch to setup the AGL, it
> tooks some time to fix weston build errors and some DRM issues.
>
> Now, the weston can be started manually and displayed with following
> command
> - mkdir -p /tmp/wayland && chmod 0700 /tmp/wayland

Hi Clive

It may be related to the setting of XDG_RUNTIME_DIR. Have you tried /run/platform/display ?

Best regards
José Bollo

> - XDG_RUNTIME_DIR=/tmp/wayland
> LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/0/yocto_mali_libs/server:/usr/lib:/usr/local/lib"
> weston --tty=1 --backend=drm-backend.so --idle-time=0
>
> *afm-util list* can show a lot of runnable widgets now, attached the
> list.
>
> I can start the widgets manually using following command:
> - systemctl restart  run-agl-postinsts.service
> - afm-util start homescreen@0.1
> - afm-util run launcher@0.1
>
> *afm-util ps* shows nothing, but this command also shows nothing on
> *qemux86-64* which display the the AGL homescreen correctly. *ps -ef*
> shows afbd-homescreen-service, afbd-launcher and some other afbd
> services have started, attached the log of *ps -ef", but the widgets
> are not displayed on the screen, the journalctl log attached.
>
> Is there something wrong with my steps? Really appreciate your
> suggestions.
>
> Thanks & Brs,
> Clive
>
> -----Original Message-----
> From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx
> [mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Jan-Simon Moeller Sent: 2018年12月18日 2:40 To: José Bollo
> <jose.bollo@xxxxxxx> Cc: AGL ml
> <automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx> Subject: Re:
>  Cannot start afm-user-daemon.service
>
> Hi Clive!
>
> You might want to look at the dragoboard 410/820 support that is in
> the tree and do likewise. Best, Jan-Simon
>
> On Mon, Dec 17, 2018 at 1:11 PM José Bollo <jose.bollo@xxxxxxx> wrote:
> >
> > Hi Clive,
> >
> > In the journal I can read:
> >
> >   [   0.038955] Security Framework initialized
> >   [   0.043134] SELinux:  Initializing.
> >   [   0.046731] SELinux:  Starting in permissive mode
> >
> > AGL runs Smack LSM, not SELinux.
> >
> > Could you check how other BSP are made [1]?
> >
> > AGL use a setup script [2]. It allows to tune features.
> >
> > There is also a troubleshooting section there [3]
> >
> > Best regrds
> > José Bollo
> >
> >
> > [1]
> > https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;
> > a=
> > tree;f=meta-agl-bsp;h=a4948f62d2d65ed9e228bd5a2050cf71980c5136;hb=re
> > fs
> > /heads/master
> >
> > [2]
> > https://docs.automotivelinux.org/docs/getting_started/en/dev/referen
> > ce /source-code.html#set-up-build-environment-info
> >
> > [3]
> > https://docs.automotivelinux.org/docs/getting_started/en/dev/referen
> > ce
> > /troubleshooting.html
> > _______________________________________________
> > automotive-discussions mailing list
> > automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> > https://lists.linuxfoundation.org/mailman/listinfo/automotive-discus
> > si
> > ons
> _______________________________________________
> automotive-discussions mailing list
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussi
> ons IMPORTANT NOTICE: The contents of this email and any attachments
> are confidential and may also be privileged. If you are not the
> intended recipient, please notify the sender immediately and do not
> disclose the contents to any other person, use it for any purpose, or
> store or copy the information in any medium. Thank you.

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux