Re: Issue with starting Weston service

2024-04-01 Thread Marius Vlad
On Sat, Mar 30, 2024 at 09:16:57AM +0530, Akshaya Maran wrote:
> Hi Marius,
Hi,
> 
> pvr kernel module was not loaded properly . After loading the module , I
> end up with below issue ,
> 
> *weston.service - Weston, a Wayland compositor, as a system service*
> *Loaded: loaded (/etc/systemd/system/weston.service; disabled; preset:
> enabled)*
> *Active: failed (Result: exit-code)*
> *  Docs: man:weston(1)*
> *man:weston.ini(5)*
> *http://wayland.freedesktop.org/ *
> *Process: 252 ExecStart=/usr/bin/weston --modules=systemd-notify.so
> (code=exited, status=224/PAM)*
> *  Main PID: 252 (code=exited, status=224/PAM)*
> *   CPU: 24ms*
> 
> 
> *systemd[1]: Starting weston.service...*
> *(weston)[252]: PAM failed: Authentication service cannot retrieve
> authentication info*
This seems to indicate further issues with your system's
setup/installation regarding PAM (man 3 pam). 
This is unrelated to Weston.
> *(weston)[252]: weston.service: Failed to set up PAM session: Operation not
> permitted*
> *(weston)[252]: weston.service: Failed at step PAM spawning
> /usr/bin/weston: Operation not permitted*
> *systemd[1]: weston.service: Main process exited, code=exited,
> status=224/PAM*
> *systemd[1]: weston.service: Failed with result 'exit-code'.*
> *systemd[1]: Failed to start weston.service.*
> 
> 
> Can you help me with this?
> 
> Thanks,
> Akshaya.M
> 
> On Fri, Mar 29, 2024 at 2:29 PM Marius Vlad 
> wrote:
> 
> > On Fri, Mar 29, 2024 at 12:28:36AM +0530, Akshaya Maran wrote:
> > > Hi,
> > Hi,
> > >
> > > I am facing an issue while trying to start the weston service .
> > > Below is the error message :
> > >
> > > *weston.service - Weston, a Wayland compositor, as a system service*
> > >
> > > * Loaded: loaded (/lib/systemd/system/weston.service; disabled;
> > preset:
> > > enabled)*
> > >
> > > * Active: failed (Result: exit-code)*
> > >
> > > *TriggeredBy: �● weston.socket*
> > >
> > > *   Docs: man:weston(1)*
> > >
> > > * man:weston.ini(5)*
> > >
> > > * http://wayland.freedesktop.org/
> > > *
> > >
> > > *Process: 167 ExecStart=/usr/bin/weston
> > > --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so
> > > (code=exited, status=1/FAILURE)*
> > >
> > > *   Main PID: 167 (code=exited, status=1/FAILURE)*
> > >
> > > *CPU: 28ms*
> > >
> > >
> > > * weston[167]: failed to load swrast driver*
> > >
> > > * weston[167]: Internal warning: debug scope 'drm-backend' has not been
> > > destroyed.*
> > >
> > > * weston[167]: PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]*
> > These issues are related to the graphics driver/display driver and not
> > Weston.
> > Either your installation is broken, incomplete, it's missing something
> > else to run
> > (kernel driver loaded), it can't run on your system, or something else is
> > already
> > using the same resource (DRM master) on system. Suggest looking for
> > 'PVRDRMOpenRender' as that might further assistance to get the graphics
> > driver working.
> > >
> > > * weston[167]: PVR:(Error): PVRSRVConnect: Unable to open connection.
> > [0, ]*
> > >
> > > * weston[167]: PVR:(Error): Couldn't connect to services [0, ]*
> > >
> > > * weston[167]: PVR:(Error): PVRDRIEGLGlobalDataInit: PVR Services
> > > initialisation failed [0, ]*
> > >
> > > * weston[167]: PVR:(Error): PVRDRICreateScreenImpl: Couldn't create EGL
> > > global data [0, ]*
> > >
> > > * systemd[1]: weston.service: Main process exited, code=exited,
> > > status=1/FAILURE*
> > >
> > > * systemd[1]: weston.service: Failed with result 'exit-code'.*
> > >
> > > * systemd[1]: Failed to start weston.service.*
> > >
> > > Can you please help me to understand and fix this error ?
> > >
> > > Thanks,
> > > Akshaya.M
> >


signature.asc
Description: PGP signature


Re: Issue with starting Weston service

2024-03-29 Thread Marius Vlad
On Fri, Mar 29, 2024 at 12:28:36AM +0530, Akshaya Maran wrote:
> Hi,
Hi,
> 
> I am facing an issue while trying to start the weston service .
> Below is the error message :
> 
> *weston.service - Weston, a Wayland compositor, as a system service*
> 
> * Loaded: loaded (/lib/systemd/system/weston.service; disabled; preset:
> enabled)*
> 
> * Active: failed (Result: exit-code)*
> 
> *TriggeredBy: �● weston.socket*
> 
> *   Docs: man:weston(1)*
> 
> * man:weston.ini(5)*
> 
> * http://wayland.freedesktop.org/
> *
> 
> *Process: 167 ExecStart=/usr/bin/weston
> --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so
> (code=exited, status=1/FAILURE)*
> 
> *   Main PID: 167 (code=exited, status=1/FAILURE)*
> 
> *CPU: 28ms*
> 
> 
> * weston[167]: failed to load swrast driver*
> 
> * weston[167]: Internal warning: debug scope 'drm-backend' has not been
> destroyed.*
> 
> * weston[167]: PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]*
These issues are related to the graphics driver/display driver and not Weston. 
Either your installation is broken, incomplete, it's missing something else to 
run 
(kernel driver loaded), it can't run on your system, or something else is 
already 
using the same resource (DRM master) on system. Suggest looking for 
'PVRDRMOpenRender' as that might further assistance to get the graphics 
driver working.
> 
> * weston[167]: PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]*
> 
> * weston[167]: PVR:(Error): Couldn't connect to services [0, ]*
> 
> * weston[167]: PVR:(Error): PVRDRIEGLGlobalDataInit: PVR Services
> initialisation failed [0, ]*
> 
> * weston[167]: PVR:(Error): PVRDRICreateScreenImpl: Couldn't create EGL
> global data [0, ]*
> 
> * systemd[1]: weston.service: Main process exited, code=exited,
> status=1/FAILURE*
> 
> * systemd[1]: weston.service: Failed with result 'exit-code'.*
> 
> * systemd[1]: Failed to start weston.service.*
> 
> Can you please help me to understand and fix this error ?
> 
> Thanks,
> Akshaya.M


signature.asc
Description: PGP signature


Issue with starting Weston service

2024-03-28 Thread Akshaya Maran
Hi,

I am facing an issue while trying to start the weston service .
Below is the error message :

*weston.service - Weston, a Wayland compositor, as a system service*

* Loaded: loaded (/lib/systemd/system/weston.service; disabled; preset:
enabled)*

* Active: failed (Result: exit-code)*

*TriggeredBy: �● weston.socket*

*   Docs: man:weston(1)*

* man:weston.ini(5)*

* http://wayland.freedesktop.org/
*

*Process: 167 ExecStart=/usr/bin/weston
--log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so
(code=exited, status=1/FAILURE)*

*   Main PID: 167 (code=exited, status=1/FAILURE)*

*CPU: 28ms*


* weston[167]: failed to load swrast driver*

* weston[167]: Internal warning: debug scope 'drm-backend' has not been
destroyed.*

* weston[167]: PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]*

* weston[167]: PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]*

* weston[167]: PVR:(Error): Couldn't connect to services [0, ]*

* weston[167]: PVR:(Error): PVRDRIEGLGlobalDataInit: PVR Services
initialisation failed [0, ]*

* weston[167]: PVR:(Error): PVRDRICreateScreenImpl: Couldn't create EGL
global data [0, ]*

* systemd[1]: weston.service: Main process exited, code=exited,
status=1/FAILURE*

* systemd[1]: weston.service: Failed with result 'exit-code'.*

* systemd[1]: Failed to start weston.service.*

Can you please help me to understand and fix this error ?

Thanks,
Akshaya.M