Page 1 of 1

Intel Cherry Trail - Dual Display

Posted: Tue Jan 08, 2019 10:01 pm
by effin_dead_again
Hello all!

I'm attempting to get a Z83 Intel Cherry Trail machine to work with dual displays. It has an HDMI out and a VGA out. When I boot into WTware without specifying monitor configuration, only the Intel(U) driver, I can see in the logs the monitor designations:

Code: Select all

[            gm] [   27.330780] DP1: display 510x290mm.
[            gm] [   27.331056] DP2: no display found.
[            gm] [   27.331550] HDMI1: no display found.
[            gm] [   27.332012] HDMI2: display 510x290mm.
[            gm] [   27.332924] VIRTUAL1: no display found.
However when I attempt to configure The 'display' setting with 'DisplayPort' and 'M2_display' as 'HDMI2' I get black screens. It seems that X is having trouble mapping the monitors:

Code: Select all

[             X] [   22.102172] [    22.102] (==) intel(0): Default visual is TrueColor
[             X] [   22.102235] [    22.102] (**) intel(0): Option "ZaphodHeads" "DisplayPort1"
[             X] [   22.103986] [    22.103] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[             X] [   22.104800] [    22.104] (II) intel(0): Output VIRTUAL1 using monitor section Monitor0
[             X] [   22.104837] [    22.104] (**) intel(0): Option "PreferredMode" "1024x768"
[             X] [   22.104862] [    22.104] (II) intel(0): Enabled output VIRTUAL1
[             X] [   22.104908] [    22.104] (II) intel(0): EDID for output VIRTUAL1
[             X] [   22.104935] [    22.104] (II) intel(0): Output VIRTUAL1 disconnected
[             X] [   22.104957] [    22.104] (WW) intel(0): No outputs definitely connected, trying again...
[             X] [   22.104980] [    22.104] (II) intel(0): Output VIRTUAL1 disconnected
[             X] [   22.105001] [    22.104] (WW) intel(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[             X] [   22.105190] [    22.105] (==) intel(0): TearFree disabled
[             X] [   22.105248] [    22.105] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[             X] [   22.105298] [    22.105] (==) intel(0): DPI set to (96, 96)

Code: Select all

[             X] [   22.106387] [    22.106] (**) intel(1): Option "ZaphodHeads" "HDMI2"
[             X] [   22.107424] [    22.107] (EE) intel(1): HDMI2 is an invalid output for screen 1
[             X] [   22.107474] [    22.107] (EE) intel(1): No outputs and no modes.
I have attached the logs from both scenarios for your consideration

Re: Intel Cherry Trail - Dual Display

Posted: Wed Jan 09, 2019 7:11 pm
by effin_dead_again
Just for testing I booted Xubuntu 18.04 on this device and it was able to utilize the dual screen funtionality, xrandr showed DP-1 and HDMI-2 were the connections used.

Re: Intel Cherry Trail - Dual Display

Posted: Fri Jan 11, 2019 6:00 am
by akatik
More testing needed...

Please, install and run this build:

http://wtware.com/testing/201901102036.zip

The same config. To avoid "<<<REDACTED>>>", I only need part of log starting from line:

Code: Select all

[ gm] [ so.metime] WTware 5.8.45/UEFI session manager.
To the end of log.

If it fails, please one more test. Remove file packages/uefi-u on USB flash you boot device from and replace with file form archive:

http://wtware.com/testing/201901101640.zip

The same config, the same test, the same log.

Re: Intel Cherry Trail - Dual Display

Posted: Fri Jan 11, 2019 6:54 pm
by effin_dead_again
Alright I have tested and it is now working. I had to install the new version provded, and also I had to replace the uefi-u file in order to make it work.

I have attached the log of the fully working system for your reference.

Re: Intel Cherry Trail - Dual Display

Posted: Sun Jan 13, 2019 9:28 am
by akatik
In previous uefi-u, I hardcoded your config settings. Now I try to write code that should run automatically. Please make another test. Try this build:

http://wtware.com/testing/201901130110.zip
If it runs, replace monitor connections (M2 is now DP and first display on HDMI2) in config and try again:

Code: Select all

M2_display=1024x768, DP
display=1024x768, HDMI2
If it will not run, make me another logs, starting from "WTware 5.8.47/UEFI session manager" line.

Also, open terminal web interface in web browser. "Video card and driver" page. Will it print video outputs and connected monitor resolutions?

Re: Intel Cherry Trail - Dual Display

Posted: Tue Jan 15, 2019 12:01 am
by effin_dead_again
The video outputs and connected monitors now display:

Code: Select all

For this terminal you may specify next video drivers:

video=i915(F)
video=intel(U)

Video output should be specified in display= and m2_display= parameters while using video=i915(f), radeon(f), gma(f), nouveau(f) drivers and when you connect two displays with any driver. Determined by driver video outputs may not match physical outputs. In configuration file specify video outputs, that driver sees.

On this terminal driver determined next video outputs:

DP first display:
display = 1920x1080, DP
or second display:
m2_display = 1920x1080, DP

HDMI: failed to detect monitor.
DP2: failed to detect monitor.
HDMI2 first display:
display = 1920x1080, HDMI2
or second display:
m2_display = 1920x1080, HDMI2
I was able to run with dual monitors on the latest version without issue. Additionally, I swapped out the displays in the config as instructed and there were not any issues. This issue should be considered resolved, please let me know if it is OK to continue running this 5.8.47 version or if I should wait for an officially supported version to be released.

Re: Intel Cherry Trail - Dual Display

Posted: Tue Jan 15, 2019 2:11 pm
by akatik
Thank you for the report. It is OK to continue running this 5.8.47 version.