Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - running openGLES2 apps with screen-api on generic x86 desktop pc with intel i915: Page 1 of 3 (3 Items)
   
running openGLES2 apps with screen-api on generic x86 desktop pc with intel i915  
Hello to All!

I'm  trying to run gles2-gears example on a generic x86 desktop pc with intel i915 graphics card. 

My base is the x86 BSP for qnx 660 - bios version. In build file I added env vars  SCREEN-DIR, GRAPHICS_ROOT and 
LD_LIBRARY_PATH. Then I start screen command and the gles2-gears example. 
Furthermore I added the original target specific files e.g. graphics.conf, libs, ... to the file system. In graphics.
conf in winmgr section I only changed in framebuffer classes "usage" from "gles2" to "gles2blt" (see release notes http:
//www.qnx.com/developers/articles/rel_5849_7.html).

I also checked all dependencies for all shared libs, it seems to be not the problem! 

Running screen still fails with a segmentation fault!

sloginfo says:
....
Jun 18 14:12:02    5     8   300 screen: starting up...
Jun 18 14:12:02    5     8   300 screen: connected to powman...
Jun 18 14:12:02    6     8   200 wfd_init_driver
Jun 18 14:12:02    7     8   200 init_driver_locked ok
Jun 18 14:12:02    7     8   200 deref_device_handle: bad device handle 0
Jun 18 14:12:02    2     8   200 open_drm_dev failed: No such file or directory
Jun 18 14:12:02    6     8   200 create_internal_device failed, err=2
Jun 18 14:12:02    6     8   200 wfd_deinit_driver starting
Jun 18 14:12:02    7     8   200 wfd_deinit_driver complete
Jun 18 14:12:02    2     8   300 screen: win_enumerate_displays: could not create display device 1
Jun 18 14:12:02    2     8   300 screen: invalid display id:
	>>>   begin display 2

Jun 18 14:12:02    2     8   300 screen: invalid display id:
	>>>   begin display 3

Jun 18 14:12:02    5     8   300 screen: loading EGL display 1...
Jun 18 14:12:02    5     8   300 screen: loading blit module gles2blt...
Jun 18 14:12:02    2     8   300 screen-gles2blt: eglInitialize: EGL is not initialized, or could not be initialized, 
for the specified display
Jun 18 14:12:02    2     8   300 screen: win_blit_module_init: could not create a blitting context


I hope anybody of you understand what I did wrong!?

Thanks & Regards