On Tue, 19 Aug 2014 02:20:58 +0000 Yang Andy <williamyan...@hotmail.com> said:
> Hi Carsten > > Thank you very much for your reply. > > > EFL itself doesn't care what the compositor uses for acceleration. efl > > supports either software rendering using shm protocol with wayland that > > SHOULD work everywhere on all wayland compositors regardless of any driver > > infra, types, acceleration etc. - there is also egl + gles2 rendering > > support for acelerated rendering. of course compositor will then need to > > handle drm buffers etc. to make this work. > > If i choose software rendering using shm protocol,dose weston(compositor) > use fbdev-backed? what clients use is not relevant to what weston or the compositor might use. shm is a universal "works everywhere" buffer exchange protocol for clients to server. thus this works regardless what weston or any other compositor might use to display. or should. > My senario is that my target device do not support hardware accelerate.(do > not use gpu) But i have to use EFL to develop application in wayland/weston > platform. > > In order to achieve my task,how do i setup weston? i can't tell you how to set up weston, but clients are a separate matter and shm should work just fine. > Best regards. > > Andy > > Date: Mon, 18 Aug 2014 15:02:47 +0900 > > From: ras...@rasterman.com > > To: williamyan...@hotmail.com > > CC: ppaala...@gmail.com; wayland-devel@lists.freedesktop.org > > Subject: Re: [Help]Question about graphics architecture for weson/wayland > > > > On Mon, 18 Aug 2014 05:32:41 +0000 Yang Andy <williamyan...@hotmail.com> > > said: > > > > > Hi Pekka > > > > > > Thank you very much for your reply. > > > > > > > > 3.In order to run weston-launch,do i have to use gpu? > > > > No, you can choose e.g. the fbdev backend for Weston, and so Weston > > > > will run on the /dev/fb, software rendered. No GPU used there in that > > > > sense. Software rendering also means that no application under Weston > > > > can use the GPU for rendering windows. > > > > > > If i choose fbdev backend for weston,can i use EFL/Evas and EGL/OpenGL for > > > draw graphics? I mean that EGL/OpenGL which implement Software rendering. > > > > > > What the difference between > > > drm-backend/fbdbin/eolian/impl_generator.c:ev-backend/wayland-backend/x11-backend? > > > > EFL itself doesn't care what the compositor uses for acceleration. efl > > supports either software rendering using shm protocol with wayland that > > SHOULD work everywhere on all wayland compositors regardless of any driver > > infra, types, acceleration etc. - there is also egl + gles2 rendering > > support for acelerated rendering. of course compositor will then need to > > handle drm buffers etc. to make this work. > > > > > Best regards. > > > > > > Andy > > > > Date: Thu, 14 Aug 2014 16:57:26 +0300 > > > > From: ppaala...@gmail.com > > > > To: williamyan...@hotmail.com > > > > CC: wayland-devel@lists.freedesktop.org > > > > Subject: Re: [Help]Question about graphics architecture for > > > > weson/wayland > > > > > > > > On Thu, 14 Aug 2014 08:36:43 +0000 > > > > Yang Andy <williamyan...@hotmail.com> wrote: > > > > > > > > > Hi everyone > > > > > > > > > > When i run 3D application through weston-launch, it failed because the > > > > > graphics driver is not right. > > > > > > > > weston-launch starts weston, you cannot use it to launch something else. > > > > > > > > > I have some questions for help. > > > > > > > > > > 1.Is there any requirement for Hardware(GPU??) / Drivers? > > > > > > > > Yes, see hardware enabling at > > > > http://wayland.freedesktop.org/architecture.html > > > > > > > > > 2.Is DRM must for weston(compositor),how to setup DRM? > > > > > > > > Weston's DRM backend depends on DRM. Make sure your kernel has a DRM > > > > driver for your graphics chip. > > > > > > > > > 3.In order to run weston-launch,do i have to use gpu? > > > > > > > > No, you can choose e.g. the fbdev backend for Weston, and so Weston > > > > will run on the /dev/fb, software rendered. No GPU used there in that > > > > sense. Software rendering also means that no application under Weston > > > > can use the GPU for rendering windows. > > > > > > > > You can also choose Weston's DRM backend with the software (Pixman) > > > > renderer. That will not use the GPU either, but does need DRM and KMS. > > > > > > > > > 4.Does GPU kernel drvier consist of kernel/driver/gpu/xxxx(xxxx.ko??) > > > > > and of kernel/driver/gpu/drm/xxxx(DRM_xxxx.ko)? > > > > > > > > Roughly yes. > > > > > > > > > 5.Does user side drvier consist of EGL/OpenGLES? > > > > > > > > The user space side of the driver usually implements EGL and OpenGL > > > > (desktop/ES/whatever). > > > > > > > > > 6.graphics architecture is > > > > > Application⇒EGL/OpenGLES/⇒libDRM⇒DRM_xxxx.ko⇒xxxx.ko⇒GPU? > > > > > > > > Yes, where EGL/OpenGLES is actually Mesa, since you have libdrm there. > > > > This is specific to the open source drivers. > > > > > > > > > > > > Thanks, > > > > pq > > > > > > > -- > > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel