FS#53334 - [xorg, intel, nvidia] Bugs in external monitor support

Attached to Project: Arch Linux
Opened by Mikhail (mskorzhinskiy) - Thursday, 16 March 2017, 11:44 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 12 February 2020, 11:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Sven-Hendrik Haase (Svenstaro)
Laurent Carlier (lordheavy)
Felix Yan (felixonmars)
Giancarlo Razzolini (grazzolini)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Using PRIME technology cause very odd and strange behaviour of external monitors. The are two different problems:

1) If I enable two external monitors and try to rotate one of them, this monitor stuck with some odd image (parts of other screen);
2) If I enable two external monitors, and switch their places (for exmample DP-1 right of DP-2 insted of DP-1 left of DP-2), both monitors stuck with some very-very odd image, like the images intersecting in some odd way.

After that, if I try to do something with my monitor setup, at least one monitor disables and I got a blank screen. Xrandr says that everything is ok. Sometimes the whole system stuck, and can event switch from X to tty.

If using only one card (disabling OPTIMUS in BIOS and enable only one card) everything working fine. But Intel card is wired only to VGA and internal monitor, so I can't check external monitor support with Intel.

o Additional info:
Packages versions:

local/xorg-server 1.19.2-1 (xorg)
local/xf86-video-intel 1:2.99.917+760+ge9cd8c21-1 (xorg-drivers)
local/xf86-video-nouveau 1.0.14-1 (xorg-drivers)

Used hardware:

# lspci| grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [NVS 5400M] (rev a1)

# xrandr | grep connected | grep -v dis
LVDS2 connected (normal left inverted right x axis y axis)
DP-1-2 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 546mm x 352mm
DP-1-3 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 546mm x 352mm

# cat .xprofile
xrandr --setprovideroutputsource nouveau Intel

# cat setup-two-monitors.sh
xrandr --output LVDS-1-1 --off --output VIRTUAL1 --off --output DP-1-3 --primary --mode 1920x1200 --pos 0x0 --rotate normal --output VGA-1-1 --off --output LVDS2 --off --output VGA2 --off --output DP-1-2 --mode 1920x1200 --pos 1920x0 --rotate normal --output DP-1-1 --off

# cat setup-two-monitors-one-rotated.sh
xrandr --output LVDS-1-1 --off --output VIRTUAL1 --off --output DP-1-3 --primary --mode 1920x1200 --pos 0x0 --rotate left --output VGA-1-1 --off --output LVDS2 --off --output VGA2 --off --output DP-1-2 --mode 1920x1200 --pos 1920x0 --rotate normal --output DP-1-1 --off

# cat setup-two-monitors-and-rearange-them.sh
xrandr --output LVDS-1-1 --off --output VIRTUAL1 --off --output DP-1-3 --primary --mode 1920x1200 --pos 0x0 --rotate normal --output VGA-1-1 --off --output LVDS2 --off --output VGA2 --off --output DP-1-2 --mode 1920x1200 --pos 1920x0 --rotate normal --output DP-1-1 --off
xrandr --output LVDS-1-1 --off --output VIRTUAL1 --off --output DP-1-3 --primary --mode 1920x1200 --pos 3840x0 --rotate normal --output VGA-1-1 --off --output LVDS2 --off --output VGA2 --off --output DP-1-2 --mode 1920x1200 --pos 1920x0 --rotate normal --output DP-1-1 --off

May be related discussion:

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1386620

o Steps to reproduce:
1) Install fresh Arch Linux
2) Install xorg, noveau and intel device drivers
3) Run Xorg server
4) Setup external monitors
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Wednesday, 12 February 2020, 11:39 GMT
Reason for closing:  Deferred
Comment by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 09:52 GMT
Is this still an issue?
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 15 December 2019, 16:41 GMT
@grazzolini can you have a look at this?
Comment by Giancarlo Razzolini (grazzolini) - Monday, 16 December 2019, 16:17 GMT
@Sven,

I can't use nouveau on my card, it does not work. So, I can't really test this. I have, however, been more than able to use multiple monitors with xf86-video-intel + nvidia. *After* fixing the file in  FS#64805  of course.
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 12 February 2020, 11:39 GMT
Even though this is a pretty detailed bug report, the user hasn't come back to this in 3 years and PRIME stuff has changed a ton in that time. I'm going to close this for now. If this remains an issue, request to reopen.

Loading...