Bug 97783 - TearFree fails in dual card configuration
Summary: TearFree fails in dual card configuration
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-13 08:55 UTC by denisgolovan
Modified: 2016-09-27 10:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (705 bytes, text/plain)
2016-09-13 08:59 UTC, denisgolovan
no flags Details
Xorg.0.log (110.13 KB, text/plain)
2016-09-13 09:01 UTC, denisgolovan
no flags Details
dmesg (73.27 KB, text/plain)
2016-09-13 09:02 UTC, denisgolovan
no flags Details

Description denisgolovan 2016-09-13 08:55:36 UTC
Hi

I am trying to use radeon driver git (38797a33117222dadbc89e5f21ed8cd5deef9bea) together with 2 radeon cards under Linux 64bit.

# uname -a
Linux denis-devuan 4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.4-1~bpo8+1 (2016-08-11) x86_64 GNU/Linux

# lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus LE [Radeon HD 8830M] (rev 87)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus LE [Radeon HD 8830M] (rev 87)

It works until I try to rotate one of outputs.
$ xrandr --setprovideroutputsource 1 0
$ xrandr --output DisplayPort-1-1 --auto
$ xrandr --output DisplayPort-1-1 --rotate left --left-of DisplayPort-0

Right after attempt to rotate rotated output hangs. The other one still works though.
Comment 1 denisgolovan 2016-09-13 08:58:12 UTC
Rotation without TearFree works, but tearing of large displays (2560x1440) is scary.
Comment 2 denisgolovan 2016-09-13 08:59:48 UTC
Created attachment 126474 [details]
xorg.conf
Comment 3 denisgolovan 2016-09-13 09:01:22 UTC
Created attachment 126475 [details]
Xorg.0.log
Comment 4 denisgolovan 2016-09-13 09:02:01 UTC
Created attachment 126476 [details]
dmesg
Comment 5 Michel Dänzer 2016-09-13 09:13:59 UTC
Does

xrandr --output DisplayPort-1-1 --auto --rotate left --left-of DisplayPort-0

as a single command work?
Comment 6 denisgolovan 2016-09-13 09:52:06 UTC
Yes, single line command works, but with some quirks.

Rotated display seems like lacks redraw(damage? not sure how to call them) events in its bottom half. Does it has something to do with height of right display? 
Mouse cursor leaves trails, moving windows leaves their contents on desktop, etc.

I mean my display configuration is:
+----------+---------------+
|          |               |
|    1     |     3         |
|          |               |
|----------|---------------|
|          |
|    2     |
|          |
+----------+

1,2 - halves on rotated display and 3 - horizontal monitor.
1 and 3 - redraw ok, 2 - does not.

Hope it'll help.
Comment 7 Michel Dänzer 2016-09-27 09:46:50 UTC
The missing redraws should be fixed with current xf86-video-ati Git master. Can you still reproduce the original problem with that?
Comment 8 denisgolovan 2016-09-27 10:05:08 UTC
Works perfectly now.
Thanks a lot!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.