[Mesa-users] mesa 3D and drm

Chia-I Wu olvaffe at gmail.com
Thu Oct 21 18:33:13 PDT 2010


On Fri, Oct 22, 2010 at 2:10 AM, Alberich de megres
<alberich2k5 at gmail.com> wrote:
> Thanks!!
>
> Is there some guide or tuto on how to start with opengl egl with kms?
> Becouse i could not find something where to start on.
You may start with demos in mesa/demos that use
EGL_MESA_screen_surface.  But for a more serious application, you may
consider using EGL_MESA_drm_image with libdrm.  The only example I am
aware of is Krisitian's Wayland project.
>
> thanks
>
> On Thu, Oct 21, 2010 at 3:41 PM, Chia-I Wu <olvaffe at gmail.com> wrote:
>> On Thu, Oct 21, 2010 at 3:07 PM, Alberich de megres
>> <alberich2k5 at gmail.com> wrote:
>>> Thanks!!
>>> I will try it then.
>>>
>>> One last question, using drm is better than framebuffer, isn't it? The
>> Yes, I think.  But you will have to program the display modes using libdrm.
>>> only advantage (significative one) that i know, is that all
>>> manufacturers make dri drivers not f framebffered, is that all right?
>>>
>>> thanks!!
>>>
>>>
>>>
>>> On Thu, Oct 21, 2010 at 6:31 AM, Chia-I Wu <olvaffe at gmail.com> wrote:
>>>> On Thu, Oct 21, 2010 at 5:37 AM, Alberich de megres
>>>> <alberich2k5 at gmail.com> wrote:
>>>>> will i be able to get rid of the x windows with EGL?
>>>>> and of couerse have opengl hw acceleration?
>>>> Yes.  You may configure mesa with --with-egl-platforms=drm and disable
>>>> components you don't need.
>>>>> thanks for the quick reply
>>>>>
>>>>>
>>>>> On Wed, Oct 20, 2010 at 10:35 PM, Slavko Glamocanin <slavko at naprave.net> wrote:
>>>>>> It looks like you're looking for the EGL gallium driver with the KMS backend
>>>>>> (http://www.mesa3d.org/egl.html) and i dont think you're the only one:)
>>>>>>
>>>>>> On Wed, Oct 20, 2010 at 10:17 PM, Alberich de megres <alberich2k5 at gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> I read some questions about if it's possible to have 3d acceleration
>>>>>>> without xwindow. And i know this one could be one more..sorry for that
>>>>>>> but i'm really lost.
>>>>>>>
>>>>>>> Using directfb is an option is there's available a fb driver for the
>>>>>>> graphic card in use. Other things to have in account would be miniglx,
>>>>>>> and fbdri but not of these seems to work with many different graphics
>>>>>>> cards, so they are not an option.
>>>>>>>
>>>>>>> My question is about the projects in mesa could I in some way have hw
>>>>>>> accelerated opengl, without the x window?
>>>>>>> Even if dri is a X concept, could i interface the drm into the kernel
>>>>>>> so i can use dri drivers out of the X? It will be hard? anyone has
>>>>>>> tried before?
>>>>>>>
>>>>>>> I also read these two pages:
>>>>>>>
>>>>>>> http://mirror.leaseweb.com/NetBSD/NetBSD-release-5-0/xsrc/dist/Mesa/docs/fbdev-dri.html
>>>>>>> http://www.mesa3d.org/egl.html
>>>>>>>
>>>>>>> But i'm not sure if they are what i want.
>>>>>>>
>>>>>>> Could anyone please point me some light?
>>>>>>> thanks!!
>>>>>>> _______________________________________________
>>>>>>> mesa-users mailing list
>>>>>>> mesa-users at lists.freedesktop.org
>>>>>>> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Slavko Glamočanin
>>>>>> http://naprave.net
>>>>>> GSM: 0038631847589
>>>>>>
>>>>> _______________________________________________
>>>>> mesa-users mailing list
>>>>> mesa-users at lists.freedesktop.org
>>>>> http://lists.freedesktop.org/mailman/listinfo/mesa-users
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> olv at LunarG.com
>>>>
>>>
>>
>>
>>
>> --
>> olv at LunarG.com
>>
>



-- 
olv at LunarG.com


More information about the mesa-users mailing list