Configuring Screen for your display
You need to configure your display in graphics.conf and restart Screen.
Configuring wfd device
section
In your configuration file (graphics.conf),
on your target, you need to specify the Wfdcfg library (or
libraries) and any parameters related to your display device. In
the wfd device
section, ensure that you have
the appropriate libraries specified for your display. For example,
begin wfd device 1
wfd-dlls = libwfdcfg-imx6x-okaya.so libimx6xCSCgamma-generic.so libWFDimx6x.so
grpx0 = lcd
grpx1 = hdmi
grpx2 = hdmi
video-layer0 = lcd
video-layer1 = hdmi
end wfd device
You need to configure one wfd device
section
for each display you are using.
For more information on configuring Screen, refer to the Screen Developer's Guide.
Restarting Screen
Ensure the following:
- Your target hardware is running QNX Neutrino RTOS.
- On your target, you can run a shell and commands such as pidin.
-
On your target, from the command line, stop screen
by using the following command:
slay screen
You can verify that the screen process is no longer running by using the following command:pidin ar
-
If not already set, ensure that your LD_LIBRARY_PATH is set to correct paths..
-
Restart screen.
screen
-
Verify that there were no warnings generated from your new
configuration by using the following command:
slog2info
-
Use any of the available sample Screen
applications to verify that your display has been correctly
integrated for use with your target. For example:
sw-vsync
For more information on applying your Screen, configuration, refer to the Screen Developer's Guide.