PowerVR Perf Server Error

Hi Expert,

I am running PVRPerfServer on QNX 7.1.0 OS, and it end up with the error below.
(Error at socket(): Address family not supported by protocol family)
.
The console output is following:

PVRPerfServerDeveloper v14.157 64-bits - Build unknown.
Copyright (C) Imagination Technologies Ltd. All rights reserved.

  • Support: DevTech@imgtec.com
  • OS: QNX
  • Time (local): Thu, 01 Jan 1970 00:05:23 +0000 (00:05:23)
  • Time (UTC): Thu, 01 Jan 1970 00:05:23 +0000 (00:05:23)
  • System Perf Events: Unavailable
  • GPU driver: Not connected! (driver support initialisation failed)
  • NNA driver: Not connected! (driver support not found)
  • Processor count: 0
    Error at socket(): Address family not supported by protocol family

Quit!

Can you explain the reason behind and how can I solve it?
I checked the Ethernet settings, and they work well.

Here, I attach the GPU configurations using egl-configs command.

PVR_K: 15: Read BVNC 36.53.104.796 from HW device registers
PVR_K: 15: RGX Device registered BVNC 36.53.104.796 with 1 core in the system
PVR_K: 15: RGX Firmware image ‘rgx.fw.36.53.104.796’ loaded
PVR_K: 15: Shader binary image ‘rgx.sh.36.53.104.796’ loaded
EGL_VENDOR = Imagination Technologies
EGL_VERSION = 1.4 build 1.15@6133109
EGL_CLIENT_APIS = OpenGL_ES OpenGL
EGL_EXTENSIONS = EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_renderbuffer_image EGL_IMG_cl_image EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs EGL_EXT_swap_buffers_with_damage EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update EGL_EXT_buffer_age EGL_EXT_yuv_surface EGL_IMG_context_priority EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_no_config_context EGL_QNX_api_trace
EGL_EXTENSIONS (client) = n/a

±----±—±—±—±—±--------±-----±-------------±---------------±-----------------------+
| cfg | color buffer | depth/ | MSAA | surface type | supported APIs | native |
| id | r | g | b | a | stencil | | win/pbuf/pix | es1/es2/es3/vg | renderable / type / id |
±----±—±—±—±—±--------±-----±-------------±---------------±-----------------------+
| 1 | 8 | 8 | 8 | 8 | 0 / 0 | - | x x x | x x x - | x / 8 / RGBA8888 |
| 2 | 8 | 8 | 8 | 8 | 24 / 0 | - | x x x | x x x - | x / 8 / RGBA8888 |
| 3 | 8 | 8 | 8 | 8 | 24 / 8 | - | x x x | x x x - | x / 8 / RGBA8888 |
| 4 | 8 | 8 | 8 | 8 | 24 / 8 | 4x | x x x | x x x - | x / 8 / RGBA8888 |
| 5 | 8 | 8 | 8 | 8 | 24 / 8 | 2x | x x | x x x - | x / 8 / RGBA8888 |
| 6 | 8 | 8 | 8 | 8 | 24 / 8 | 4x | x x | x x x - | x / 8 / RGBA8888 |
| 7 | 8 | 8 | 8 | 8 | 0 / 0 | - | x x x | x x x - | x / 21 / BGRA8888 |
| 8 | 8 | 8 | 8 | 8 | 24 / 0 | - | x x x | x x x - | x / 21 / BGRA8888 |
| 9 | 8 | 8 | 8 | 8 | 24 / 8 | - | x x x | x x x - | x / 21 / BGRA8888 |
| 10 | 8 | 8 | 8 | 8 | 24 / 8 | 4x | x x x | x x x - | x / 21 / BGRA8888 |
| 11 | 8 | 8 | 8 | 8 | 24 / 8 | 2x | x x | x x x - | x / 21 / BGRA8888 |
| 12 | 8 | 8 | 8 | 8 | 24 / 8 | 4x | x x | x x x - | x / 21 / BGRA8888 |
| 13 | 10 | 10 | 10 | 2 | 0 / 0 | - | x x x | x x x - | x / 23 / RGBA1010102 |
| 14 | 10 | 10 | 10 | 2 | 24 / 0 | - | x x x | x x x - | x / 23 / RGBA1010102 |
| 15 | 10 | 10 | 10 | 2 | 24 / 8 | - | x x x | x x x - | x / 23 / RGBA1010102 |
| 19 | 10 | 10 | 10 | 2 | 0 / 0 | - | x x x | x x x - | x / 25 / BGRA1010102 |
| 20 | 10 | 10 | 10 | 2 | 24 / 0 | - | x x x | x x x - | x / 25 / BGRA1010102 |
| 21 | 10 | 10 | 10 | 2 | 24 / 8 | - | x x x | x x x - | x / 25 / BGRA1010102 |
| 25 | 5 | 6 | 5 | 0 | 0 / 0 | - | x x x | x x x - | x / 6 / RGB565 |
| 26 | 5 | 6 | 5 | 0 | 24 / 0 | - | x x x | x x x - | x / 6 / RGB565 |
| 27 | 5 | 6 | 5 | 0 | 24 / 8 | - | x x x | x x x - | x / 6 / RGB565 |
| 28 | 5 | 6 | 5 | 0 | 24 / 8 | 4x | x x x | x x x - | x / 6 / RGB565 |
| 29 | 5 | 6 | 5 | 0 | 24 / 8 | 2x | x x | x x x - | x / 6 / RGB565 |
| 30 | 5 | 6 | 5 | 0 | 24 / 8 | 4x | x x | x x x - | x / 6 / RGB565 |
| 31 | 5 | 5 | 5 | 1 | 0 / 0 | - | x x x | x x x - | x / 4 / RGBA5551 |
| 32 | 5 | 5 | 5 | 1 | 24 / 0 | - | x x x | x x x - | x / 4 / RGBA5551 |
| 33 | 5 | 5 | 5 | 1 | 24 / 8 | - | x x x | x x x - | x / 4 / RGBA5551 |
| 34 | 5 | 5 | 5 | 1 | 24 / 8 | 4x | x x x | x x x - | x / 4 / RGBA5551 |
| 35 | 5 | 5 | 5 | 1 | 24 / 8 | 2x | x x | x x x - | x / 4 / RGBA5551 |
| 36 | 5 | 5 | 5 | 1 | 24 / 8 | 4x | x x | x x x - | x / 4 / RGBA5551 |
| 37 | 4 | 4 | 4 | 4 | 0 / 0 | - | x x x | x x x - | x / 2 / RGBA4444 |
| 38 | 4 | 4 | 4 | 4 | 24 / 0 | - | x x x | x x x - | x / 2 / RGBA4444 |
| 39 | 4 | 4 | 4 | 4 | 24 / 8 | - | x x x | x x x - | x / 2 / RGBA4444 |
| 40 | 4 | 4 | 4 | 4 | 24 / 8 | 4x | x x x | x x x - | x / 2 / RGBA4444 |
| 41 | 4 | 4 | 4 | 4 | 24 / 8 | 2x | x x | x x x - | x / 2 / RGBA4444 |
| 42 | 4 | 4 | 4 | 4 | 24 / 8 | 4x | x x | x x x - | x / 2 / RGBA4444 |
| 43 | 8 | 8 | 8 | 8 | 24 / 8 | - | x | x x x - | x / 8 / RGBA8888 |
| 44 | 5 | 6 | 5 | 0 | 24 / 8 | - | x | x x x - | x / 6 / RGB565 |
| 45 | 4 | 4 | 4 | 4 | 24 / 8 | - | x | x x x - | x / 2 / RGBA4444 |
| 46 | 5 | 5 | 5 | 1 | 24 / 8 | - | x | x x x - | x / 4 / RGBA5551 |
| 47 | 8 | 8 | 8 | 8 | 24 / 8 | - | x | x x x - | x / 21 / BGRA8888 |
| 48 | 10 | 10 | 10 | 2 | 24 / 8 | - | x | x x x - | x / 23 / RGBA1010102 |
| 49 | 10 | 10 | 10 | 2 | 24 / 8 | - | x | x x x - | x / 25 / BGRA1010102 |
±----±—±—±—±—±--------±-----±-------------±---------------±-----------------------+

After using the egl-configs command, the GPU driver version is printed.

PVRPerfServerDeveloper v14.157 64-bits - Build unknown.
Copyright (C) Imagination Technologies Ltd. All rights reserved.

  • Support: DevTech@imgtec.com
  • OS: QNX
  • Time (local): Thu, 01 Jan 1970 00:05:53 +0000 (00:05:53)
  • Time (UTC): Thu, 01 Jan 1970 00:05:53 +0000 (00:05:53)
  • System Perf Events: Unavailable
  • GPU driver build: 1.15@6133109
  • NNA driver: Not connected! (driver support not found)
  • Processor count: 0
    Error at socket(): Address family not supported by protocol family

Quit!

Thanks.
bkpark.

Hi bkpark,

Thanks for your message, and welcome to the PowerVR Developer Forum!

We have a similar case in thread https://forums.imgtec.com/t/pvrperfserver-coredump-on-qnx-710/ which has been reported internally and is currently under investigation, with no updates yet. I recommend following the steps mentioned in that thread:

  • Download the latest version of PVRTune (R24.1, v14.157) from our Developer Portal Login - Imagination Developers (please note you will need to make a new account to access the downloads section).
  • If possible, it would be really useful to have a backtrace or coredump generated with gdb, which hopefully will help clarify what is failing. You can download it to devtech.portal@imgtec.com
  • Also you can try doing a clean install of the OS just in case something went wrong during the setup process.

Best regards,
Alejandro

Hi bkpark,

We had some conversations with QNX where they took a look at this ticket. They believe the issue you are experiencing might be a network issue.

QNX suggested you get in touch with them by opening a standard ticket support to QNX, where you will be guided to debug the cause of your issue.

Best regards,
Alejandro

Thank you for your update, Alejandro.

I already have an open ticket on QNX.
I will discuss that in the ticket and receive guidance from QNX.

Thanks.
bkpark.

Hi, Alejandro.

I had some discuss about this issue with QNX.

I found that the reason why the error “socket creation failed: Address family not supported by protocol family” occurs in PVRPerfServerDeverloper.
The socket library of PVRPerfServerDeverloper is not the io_sock used in QNX710.

QNX guided to you to generate a new io-sock PVRPerfServerDeverloper build variant.
For instance, to have similar changes in the CMake configuration file, such as:
IOSOCK_VARIANT=$(filter iosock, $(VARIANT_LIST))
EXTRA_LIBVPATH+=$(if $(IOSOCK_VARIANT), $(QNX_TARGET)/$(CPUVARDIR)/io-sock/lib)
EXTRA_INCVPATH+=$(if $(IOSOCK_VARIANT), $(QNX_TARGET)/usr/include/io-sock)

Can you let me know how much time it will take to create a new version of the io-sock PVRPerfServerDeveloper?

Thanks,
bkpark.

Hi bkpark,

Thanks for your message and for providing all the information from QNX, it is much appreciated as we were not able to reproduce this issue.

I already reported this issue internally and will provide an estimate time for the fix as soon as I am provided that information.

Best regards,
Alejandro

Hi, Alejandro.

Could you please share the estimated timeline for the release of the new version of PVRPerfServerDeveloper that supports the io.sock library?

Additionally, I would appreciate it if you could let me know if there are any updates on this matter.

Best regards,
bkpark.

Hi bkpark,

The Tools Team is working on this issue following two different approaches, unfortunately there is still no information on when a new version of PVRPerfServerDeveloper supporting io-sock library will be ready.

Best regards,
Alejandro

Hi bkpark,

Our Tools Team has generated a new variant of PVRPerfServerDeveloper and PVRPerfServerComplete which succesfully works with the io-sock library on QNX v7.1

I will provide directions on how to get the new PVRTune version through your opened ticket in our internal Support Portal.

Best regards,
Alejandro

Hi, Alejandro.

Thank you for your support.

I will check the new version and let you know if I encounter any issues.

Best regards,
bkpark.