Bug 1033922

Summary: Test case failure: Panning on Radeon HD 8770 [1002:6650]
Product: Red Hat Enterprise Linux 7 Reporter: Vasiliy Sharapov <vsharapo>
Component: kernelAssignee: Jérôme Glisse <jglisse>
kernel sub component: Graphics QA Contact: Desktop QE <desktop-qa-list>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: desktop-qa-list, jglisse, tpelka, vsharapo
Version: 7.0   
Target Milestone: rc   
Target Release: 7.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-31 21:55:28 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 2013-11-24 10:34:15 UTC
Filed from caserun https://tcms.engineering.redhat.com/run/100139/#caserun_3856463

Version-Release number of selected component (if applicable):
Build : RHEL-7.0-20131111.1
xorg-x11-server-Xorg-1.14.99.901-5.20131101.el7.x86_64
xorg-x11-drv-ati-7.2.0-6.20131023gitf1dc677.el7.x86_64
kernel-3.10.0-48.el7.x86_64

Steps to Reproduce: 
Get your display highest supported resolution, use xrandr for example (it is
the first resolution in the list, 1680x1050 in my case).

 


 1. Run xrandr and set higher resolution that you have supported

    xrandr  --output LVDS --panning 1600x1200


Note: replace "LVDS" with real name of your output interface.

 



Actual results: 
"""
[test@dhcp46-252 Desktop]$ xrandr --output default --panning 1600x1200
xrandr: Failed to get size of gamma for output default
xrandr: screen cannot be larger than 1680x1050 (desired size 1680x1200)
""" Panning didn't turn on but I tried setting it to 0 anyway: """
[test@dhcp46-252 Desktop]$ xrandr --output default --panning 0x0*0+0
xrandr: Failed to get size of gamma for output default
X Error of failed request:  BadRRCrtc (invalid Crtc parameter)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  29 (RRSetPanning)
  Crtc id in failed request: 0x17c
  Serial number of failed request:  21
  Current serial number in output stream:  21
[test@dhcp46-252 Desktop]$ 
"""

Expected results:
Make sure the screen is panned and you can tavel in panned space. No crashes/
errors at display should appear.

Comment 2 Vasiliy Sharapov 2013-11-26 00:39:21 UTC
Bug also affects AMD/ATI Kaveri [1002:1304]

Comment 3 Jérôme Glisse 2013-12-10 21:44:29 UTC
You need linux-kernel-firmware >= 20131106-0.2.git7d0c7a8

Comment 4 Jérôme Glisse 2014-02-20 20:51:38 UTC
This need to be retested but here i can not reproduce with :

linux-firmware-20140102-0.2.git52d77db.el7.noarch
kernel-3.10.0-89
mesa-dri-drivers-9.2.5
xorg-x11-drv-ati-7.2.0-8.20140113git3213df1
xorg-x11-glamor-0.5.1-4.20140115gitfb4d046c

Note that bonaire GPU are still likely to lockup you will have something like :
radeon 0000:01:00.0: GPU lockup

In the kernel log. When GPU lockup screen is likely to go black.

Comment 5 Jérôme Glisse 2014-03-07 15:28:16 UTC
We believe this is already fixed but moving to 7.1

Comment 7 Jérôme Glisse 2014-07-17 15:26:10 UTC
This should already work in 7.0 but reassigning to kernel as if it is an issue than it is a kernel issue.

Comment 8 Vasiliy Sharapov 2014-10-31 21:55:28 UTC
Retested on build : RHEL-7.1-20141006.1
  linux-firmware-20140911-0.1.git365e80c.el7.noarch
  kernel-3.10.0-175.el7.x86_64
  mesa-dri-drivers-10.2.7-3.20140910.el7.x86_64
  xorg-x11-drv-ati-7.4.0-1.20140918git56c7fb8.el7.x86_64
  xorg-x11-glamor-0.6.0-2.20140918git347ef4f.el7.x86_64
No longer affects:  Radeon HD 8770 [1002:6650]
No longer affects:  AMD/ATI Kaveri [1002:1304]