[Openpvrsgx-devgroup] trying to get SGX 1.14 running on DM3730 (SGX530)

Adam Ford aford173 at gmail.com
Sun Nov 24 19:28:46 CET 2019


On Sun, Nov 24, 2019 at 11:57 AM H. Nikolaus Schaller <hns at goldelico.com> wrote:
>
>
> > Am 24.11.2019 um 18:16 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> >
> > Hi Adam,
> >
> >> Am 24.11.2019 um 15:12 schrieb Adam Ford <aford173 at gmail.com>:
> >>
> >> On Sat, Nov 23, 2019 at 5:27 PM Adam Ford <aford173 at gmail.com> wrote:
> >>>
> >>>
> >>>
> >>> Thanks for all your help.  I don't know what I did, but I have it
> >>> working now.  :-)
> >>
> >> Nikolaus,
> >> Out of curiosity, can you share the contents of /etc/powervr.ini?
> >
> > I use this one: http://git.goldelico.com/?p=letux-rootfs.git;a=blob;f=packages/letux-pvrsgx-1.14/etc/powervr.ini;h=4cc2573879d4bc5a3cc3f8a11d9da09b68f45722;hb=d7b8773676cc9deb468fb807eed01c823c1228d1
> >
> > [default]
> > WindowSystem=libpvrDRMWSEGL.so
> > DefaultPixelFormat=RGB888
> >
> >>
> >> I was messing around with different revisions of the stuff, and now
> >> I've got my board into some mode where gles1test1 starts and dies
> >> right away.  I'm trying to figure out where I broke it.
> >
> > Yes, powervr.ini can be a reason.
>
> After experimenting a little myself, I also ran into an issue that it
> did no longer work:
>
> root at letux:~# gles1test1
> [  344.204145] PVR_K:(Error): DoMapToUser: Error - vmf_insert_mixed failed (100)
> PVR:(Error): PVRPMapKMem: mmap(2) failed: Mapping handle=0xf: TǶP偾 [0, ]
> PVR:(Error): WSEGL_CreateWindowDrawable: Couldn't set CRTC: Invalid argument [0, ]
> 'eglCreateWindowSurface' returned egl error 'EGL_BAD_ALLOC' (0x3003)
> root at letux:~#
>
> It turns out that the "make" and targetfs copy their own version of
> powervr.ini which is:
>
> root at letux:~# cat /etc/powervr.ini
> [default]
> #WindowSystem=libpvrws_WAYLAND.so
> root at letux:~#
>
> That one fails...
>
> So I have to rework my installer scripts to not copy /etc/powervr.ini from
> the TI package or overwrite afterwards with the required settings.
>
> BR,
> Nikolaus
>
> BTW: I played a little with DDK1.17 and it seems to require a newer libc
> version that what Stretch provides. Buster may be ok.

I was looking at those.  I have use glibc in my buildroot environment
and noticed the kernel you posted seems to support 1.17.  Do you think
it's safe to build?

adam

> _______________________________________________
> https://github.com/openpvrsgx-devgroup/linux_openpvrsgx
> openpvrsgx-devgroup mailing list
> openpvrsgx-devgroup at letux.org
> http://lists.goldelico.com/mailman/listinfo.cgi/openpvrsgx-devgroup


More information about the openpvrsgx-devgroup mailing list