Primary monitor glitches when secondary monitor set to portrait orientation

Asked by Gorav Seth

Added a second monitor to my setup this week. Works great if both monitors are in landscape orientation. However, if I set the secondary (older) monitor to portrait orientation, then the primary monitor has some noticeable display issues.

The issues include
- checkerboard pattern is visible when opening / closing windows. this is across a wide area, maybe 2-3 inches vertical and most of the width of the monitor
- trails / glitches when dragging windows - just kinda choppy is the best I can describe it
- checkerboard pattern is also visible when dragging windows, not as large as when opening / closing.

these patterns are fleeting, while windows are moving / opening / closing. if everything is still, no issues.

I just upgraded from 18.04 to 20.04 but the issue persists.

I'm running Ubuntu on an Intel NUC8isBEK unit which has:
• Iris® Plus Graphics 655
• HDMI* 2.0a port with 4K at 60 Hz
• USB Type-C port with DisplayPort* 1.2

The monitors are a new 29" Lenovo and (2560x1440) and an old 24" Samsung (1920x1080)

The DP input on the lenovo is hooked up to the USB-c output on the nuc,
The samsung is plugged into the HDMI port.

When I run xRandr, it appears to show that the hdmi port is empty, and appears to be indicating that i have two display ports setup or daisy chained This is most definitely not the case, as the samsung does not have a DP input, and the lenovo does not support MST, and does not have a DP output.

Here is the xrandr output.

Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 16384 x 16384
DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080 60.00*+ 59.94 30.00 24.00 29.97 23.98
   1920x1080i 60.00 59.94
   1600x1200 60.00
   1680x1050 59.88
   1280x1024 75.02 60.02
   1440x900 59.90
   1280x960 60.00
   1280x800 59.91
   1152x864 75.00
   1280x720 60.00 59.94
   1024x768 75.03 70.07 60.00
   832x624 74.55
   800x600 72.19 75.00 60.32 56.25
   720x480 60.00 59.94
   640x480 75.00 72.81 66.67 60.00 59.94
   720x400 70.08
DP-2 connected primary 2560x1440+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440 59.95 + 74.78*
   1920x1200 59.88
   1920x1080 60.00 60.00 50.00 59.94
   1920x1080i 60.00 50.00 59.94
   1680x1050 59.95
   1280x1024 75.02 70.00 60.02
   1440x900 59.89
   1152x864 75.00
   1280x720 60.00 50.00 59.94
   1024x768 75.03 70.07 60.00
   832x624 74.55
   800x600 72.19 75.00 60.32
   720x576 50.00
   720x480 60.00 59.94
   640x480 75.00 72.81 66.67 60.00 59.94
   720x400 70.08
HDMI-1 disconnected (normal left inverted right x axis y axis)

Switching the display settings back to landscape orientation immediately resolves the issue.

So seems like there are two, perhaps related issues / questions.

a) why is xrandr showing HDMI1 as disconnected?
b) any suggestions on how to resolve the display issues with one monitor in portrait orientation?

Thanks
GS

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gorav Seth
Solved:
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1

To run 2 monitors using two different type of connectors may be the problem. HDMI is a much faster connection than USB-c.
Than would explain why it says HDMI is not connected. The video card is configuring both for the same speed connection.
This can cause other problems too. If you hook both monitors with the same type of connection whether it is HDMI or D-sub it should work properly.

Revision history for this message
Gorav Seth (goravseth) said :
#2

Thanks for the suggestion.

The setup follows the intel docs on multiple monitors for the nuc kit.
https://www.intel.com/content/www/us/en/support/articles/000056411/intel-nuc.html

I just switched to wayland and that appears to have resolved it. Hopefully my other apps will work in wayland.

i ran xrandr in wayland (assume it is still the right command for this, not sure) and this is what came out

Screen 0: minimum 16 x 16, current 3640 x 1920, maximum 32767 x 32767
XWAYLAND0 connected 2560x1440+1080+0 (normal left inverted right x axis y axis) 600mm x 340mm
   2560x1440 74.75*+
XWAYLAND1 connected 1080x1920+0+0 (normal left inverted right x axis y axis) 90mm x 160mm
   1080x1920 59.96*+

Revision history for this message
Bernard Stafford (bernard010) said :
#3

Good, glad you solved the problem. Good job.