Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - How to configure QNX6.6 to display the application on two monitors?: (3 Items)
   
How to configure QNX6.6 to display the application on two monitors?  
In QNX6.6 need to adjust the output of the image to two monitors.
For that, I changed the file / myr./lib/graphics/intel-drm/graphics.conf:

---------------------------------------------------------------------------------
begin khronos
  begin egl display 1
    egl-dlls = libEGL-mesa.so

    glesv1-dlls = libglapi-mesa.so libGLESv1_CM-mesa.so
    glesv2-dlls = libglapi-mesa.so libGLESv2-mesa.so
  end egl display

  begin wfd device 1
    wfd-dlls = libwfdcfg-sample.so libWFDintel-drm.so
    pipeline1-display = 2
    pipeline2-display = 3
  end wfd device
  
end khronos

begin winmgr

  begin globals
    input = keyboard mouse
    keymap = /usr/share/keyboard/ru_RU_102a
	blit-config = gles2blt
  end globals
  
  begin display 2
  	cbabc = ui
  	video-mode = 1600 x 1200 @ 60
  	cursor = on
  	stack-size = 4096
  end display

  begin display 3
	cbabc = ui
    video-mode = 1600 x 1200 @ 60
    cursor = on
    stack-size = 40960
  end display

  begin class framebuffer
  	display = 2  
  	pipeline = 1
  	format = rgba8888
  	usage = gles2blt
  end class		

  begin class framebuffer 
    display = 3
    pipeline = 2
  	format = rgba8888
    usage = gles2blt
  end class

  begin mtouch
    driver = devi
    display = 2
  end mtouch
  
  begin mtouch
  	driver = devi
  	display = 3  
  end mtouch

end winmgr

---------------------------------------------------------------------------------
But output of the image still goes to the first monitor (display = 2).
What am I doing wrong?
Re: How to configure QNX6.6 to display the application on two monitors?  
Please post the output of drm-probe-displays utility, it will show proper display mapping on your system.

Also please clarify how you output image on display 3 for test purposes? Is it gles1-gears -display=3 command or similar
 to that?
Re: How to configure QNX6.6 to display the application on two monitors?  
I used the drm-probe-diplays utility for checked the display numbers.
I tried to launch a standard application /usr/bin/gles1-gears, but it is only displayed on the 2nd display.
If I specified when starting application the display number, it will be displayed on that display.
Or so:
/usr/bin/gles1-gears -display=2
, оr so:
/usr/bin/gles1-gears -display=3

I can output different applications on different displays:
/usr/bin/gles1-gears -display=2 & /usr/bin/gles1-gears -display=3

But one application can not be displayed on different displays:
/usr/bin/gles1-gears

Probably, I need to somehow configure file /usr/lib/graphics/intel-drm/graphics.conf.