weston-launch can not be started up in user mode

Pekka Paalanen ppaalanen at gmail.com
Thu Sep 18 03:58:30 PDT 2014


On Thu, 18 Sep 2014 09:04:14 +0000
Yang Andy <williamyang13 at hotmail.com> wrote:

> Hi Pekka
> 
> > There is no "fbGetDisplay" in the Weston sources and has never been.
> > Where is that coming from?
> 
> I use vivante-gpu for hardware accelerate.
> 
> I got software patch from vivante graphics stack.
> 
> Now it can work well in root mode,but can not work in user mode.

Then you should look at what your patch is doing that your normal user
does not have the permissions to do. Or maybe it is your EGL that is
trying to do something.

We cannot help with that. We have no idea what they do.

The fbdev backend as in Weston upstream does assume, that the /dev/fb0
is writable by your user, as it does not use weston-launch to open it.
But you don't get even that far yet.


Thanks,
pq

> > Date: Thu, 18 Sep 2014 11:33:39 +0300
> > From: ppaalanen at gmail.com
> > To: williamyang13 at hotmail.com
> > CC: wayland-devel at lists.freedesktop.org
> > Subject: Re: weston-launch can not be started up in user mode
> > 
> > On Thu, 18 Sep 2014 07:43:56 +0000
> > Yang Andy <williamyang13 at hotmail.com> wrote:
> > 
> > > Hi everyone
> > > 
> > > I want to start up weston-launch at console terminal in user mode.
> > > 
> > > It failed to start up weston-launch and echo error info below.
> > > 
> > > But when i change user mode to root mode,it can start up weston-launch correctly.
> > > 
> > > Could anyone give some hint on how to solve this issue?
> > > 
> > > [Error Info]
> > > weston-launch[262]: [16:00:12.513] weston 1.4.0
> > > weston-launch[262]: http://wayland.freedesktop.org/
> > > weston-launch[262]: Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Waylan
> > > weston-launch[262]: [16:00:12.516] OS: Linux, 3.10.17-1.0.0_ga, #8 SMP PREEMPT Fri Aug 29 16:
> > > weston-launch[262]: [16:00:12.529] Using config file '/etc/xdg/weston/weston.ini'
> > > weston-launch[262]: [16:00:12.532] Loading module '/usr/lib/weston/fbdev-backend.so'
> > > weston-launch[262]: [16:00:12.553] initializing fbdev backend
> > > weston-launch[262]: [16:00:12.594] Loading module '/usr/lib/weston/gl-renderer.so'
> > > weston-launch[262]: [16:00:12.605] fbGetDisplay failed.
> > > weston-launch[262]: [16:00:12.605] fatal: failed to create compositor
> > 
> > There is no "fbGetDisplay" in the Weston sources and has never been.
> > Where is that coming from?
> > 
> > Any particular reason why you are trying to use the GL-renderer on
> > fbdev? That won't usually work except maybe on some proprietary
> > graphics stacks on embedded.
> > 
> > 
> > Thanks,
> > pq
>  		 	   		  


More information about the wayland-devel mailing list