- February 19, 2013 at 11:16 pm #31147
In the HelloAPI example, there is a NonWS version. It looks like it’s not using the X11 display. I am wondering what kind of display it is using? I was able to compile it but when I ran it, I got this error:
PVR:(Warning): LoadWSModule: Window system module libpvrws_KMS.so did not validate native display [98, /generic_ws.c]
PVR:(Warning): LoadWSModule: Window system module libpvrws_WAYLAND.so did not validate native display [98, /generic_ws.c]
PVR:(Warning): PVRSRVOpenDCDevice: Warning – 138 returned [80, /bridged_pvr_dc_glue.c]
ERROR: Bad drawable!
eglCreateWindowSurface failed (12299).
PVR:(Warning): PVRDRMSetFD: DRM fd already set [57, /pvr_bridge_u.c]
I am trying to render to texture and bypass displaying anything in any display. I am wondering if this can be done. Also is big texture dimension supported (3840×2160)?February 20, 2013 at 10:02 am #36683
The NonWS version is for platforms where there is no windowing system and applications render directly into the device’s framebuffer. If you are running on a platform with X11, you should use the X11 version.
As we’ve started discussing in this thread, there is probably a better way of solving this problem depending on what you need to do with the rendered data.
The biggest texture dimensions supported on all SGX cores is 2Kx2K. On some SGX’s, the maximum is 4Kx4K. For example, SGX540 (used in the Pandaboard and many other devices) has a 2Kx2K maximum texture size. SGX543 is an example of a GPU that supports 4Kx4K.
JoeFebruary 21, 2013 at 5:18 am #36684
Thank you! Is there a way to find this 2kx2k number? Is it exactly 2048×2048?