begin khronos # Run "drm-probe-displays" to list the available displays, modes and pipelines. # # Select specific display number for primary display and substitute for "2" # at locations marked with "###***". # Optionally, select specific display number for second display and substitute # for "4" at locations marked with "###***". # Theoretically, you can add as many displays as you have pipelines. # # Run "use $GRAPHICS_ROOT/libWFDintel-drm.so" for more information on # driver-specific settings. 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 # Pipeline IDs 1 to 9 are used for DRM CRTCs. One should be assigned # to each display that will be used. pipeline1-display = 1 ###*** # pipeline2-display = 4 ###*** # Pipeline IDs 10 and above are used for DRM planes. A plane can only # be used on a display with an active CRTC. pipeline10-display = 1 ###*** # pipeline11-display = 4 ###*** end wfd device end khronos begin winmgr begin globals # Next line is ignored - mtouch will use everything it finds on usb # input = keyboard mouse # select the primary display default-display = 1 ###*** # Adjust the stack size of Screen's resmgr threads. The default size # is insufficient for blitters/compositors using Mesa (e.g., gles2blt). stack-size = 2048 # in units of 1024 bytes blit-config = gles2blt end globals begin display 1 ###*** # video-mode = 800 x 480 @ 60 # video-mode = 1280 x 1024 @ 60 video-mode = 1024 x 768 @ 60 formats = rgba8888 rgb888 cursor = on # Adjust the stack size of Screen's composition thread; required when the # display's framebuffer uses Mesa (e.g. "usage = gles2"), as noted above. stack-size = 2048 # in units of 1024 bytes end display # begin display 4 ###*** # video-mode = 800 x 480 @ 60 # # cursor = on # # Adjust the stack size of Screen's composition thread; required when the # # display's framebuffer uses Mesa (e.g. "usage = gles2"), as noted above. # stack-size = 2048 # in units of 1024 bytes # end display begin class framebuffer # Be sure to configure the "pipeline%d-display" options (above) so the # specified display and pipeline are bindable. Normally a framebuffer # will use a CRTC pipeline. display = 1 ###*** pipeline = 1 format = rgba8888 usage = gles2blt end class # begin class framebuffer # display = 4 ###*** # pipeline = 2 # format = rgba8888 # usage = gles2blt # end class # begin mtouch # ###*** FIRST SCREEN # driver = devi # options = height=480,width=800,poll=1000,devi_dev=/dev/devi/touch0 # display = 2 ###*** # end mtouch # begin mtouch # ###*** SECOND SCREEN # driver = devi # options = height=480,width=800,poll=1000,devi_dev=/dev/devi/touch1 # display = 4 ###*** # end mtouch end winmgr