Bug 1381434

Summary: Test case failure: Hotplugging multiple displays on Dell Precision 7710 - Amethyst XT [Radeon R9 M295X] [1002:6921]
Product: Red Hat Enterprise Linux 7 Reporter: Vasiliy Sharapov <vsharapo>
Component: xorg-x11-drv-atiAssignee: Lyude <lyude>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: lyude, tpelka, vsharapo
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 07:02:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vasiliy Sharapov 2016-10-04 05:52:11 UTC
Filed from caserun (https://tcms.engineering.redhat.com/run/289603/#caserun_13279439)

Version-Release number of selected component (if applicable):
RHEL-7.3-20160914.1
xorg-x11-server-Xorg-1.17.2-22.el7.x86_64
xorg-x11-drv-ati-7.6.1-3.20160215gitd41fccc.el7.x86_64
kernel-3.10.0-506.el7.x86_64
linux-firmware-20160830-49.git7534e19.el7.noarch
package mesa is not installed
mesa-dri-drivers-11.2.2-2.20160614.el7.x86_64
package xorg-x11-glamor is not installed

Steps to Reproduce: 
 1. Obtain 3 displays


 1. For every functioning output port (BIOS can output to it) try the following
    hotplug sequences:
      + Having a second display plugged in, disconnect display and connect the
        same display to the same port
      + Having a second display plugged in, disconnect display and connect the
        same display to any other port
      + Having a second display plugged in, disconnect display and connect any
        other display to the same port
      + Having a second display plugged in, disconnect display and connect any
        other display to any other port



Actual results: 
After some brute-force hotplugging two issues arise:
 - The same "lag" issue as seen in https://bugzilla.redhat.com/show_bug.cgi?id=1381286 : The screen refresh rate seems to drop to 1fps (applications think everything is fine)
 - On the integrated display the output is shifted ~5px to the right - rightmost edge is off-screen and leftmost edge appears black or grey in GDM and windows that extend past the left edge show some extra area rendering properly. The cursor cannot enter this extra exposed area.

Expected results:
 1. Every time a display is connected check the following conditions:
      + The display's native resolution is in use
      + The display comes on in a reasonable amount of time (10s)

Comment 2 Lyude 2017-07-27 20:42:32 UTC
The 7710 is made of pure evil and cannot be trusted. Please check https://bugzilla.redhat.com/show_bug.cgi?id=1381286#c2 and do that first before I look into this.

Comment 3 Vasiliy Sharapov 2017-08-08 07:02:29 UTC
Don't see this anymore in:
RHEL-7.4-20170711.0
xorg-x11-server-Xorg-1.19.3-11.el7.x86_64
xorg-x11-drv-ati-7.7.1-3.20160928git3fc839ff.el7.x86_64
package amdgpu is not installed
kernel-3.10.0-693.el7.x86_64
linux-firmware-20170606-56.gitc990aae.el7.noarch
package mesa is not installed
mesa-dri-drivers-17.0.1-6.20170307.el7.x86_64
package xorg-x11-glamor is not installed
libdrm-2.4.74-1.el7.x86_64