dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
@ 2014-07-18 21:53 ` bugzilla-daemon
  2014-07-18 22:46 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-18 21:53 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 656 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|xorg-driver-ati@lists.x.org |dri-devel@lists.freedesktop
                   |                            |.org
         QA Contact|xorg-team@lists.x.org       |
            Product|xorg                        |DRI
            Version|7.7 (2011)                  |unspecified
          Component|Driver/Radeon               |DRM/Radeon

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1818 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
  2014-07-18 21:53 ` [Bug 81476] three monitors on two radeon cards works with some layouts not others bugzilla-daemon
@ 2014-07-18 22:46 ` bugzilla-daemon
  2014-07-19  4:35 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-18 22:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 692 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #12 from Ian! D. Allen <idallen@idallen.ca> ---
(In reply to comment #11)
> Does this kernel patch help?

I haven't built a kernel from source in years.
Let's see if I still remember how to do this.

I've fetched the Ubuntu kernel source.
Found /usr/src/linux-lts-trusty-3.13.0/drivers/gpu/drm/radeon/radeon_display.c
I've made the edit. (Was line 1422 in my file, not 1547 as in yours.)
Now "make oldconfig" and "make all" and wait...

I'll let you know.
Thanks for the quick action on this.
I see you're the co-author on this file; nice to meet you!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1617 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
  2014-07-18 21:53 ` [Bug 81476] three monitors on two radeon cards works with some layouts not others bugzilla-daemon
  2014-07-18 22:46 ` bugzilla-daemon
@ 2014-07-19  4:35 ` bugzilla-daemon
  2014-07-19 10:45 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-19  4:35 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1764 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #13 from Ian! D. Allen <idallen@idallen.ca> ---
(In reply to comment #11)
> Does this kernel patch help?

Not with my problem.

1. It doesn't fix the bug and make my desktop work across three monitors.
2. It doesn't prevent all the configurations that can trigger the bug.
3. It does prevent some valid configurations that used to work before.

With your patch, xrandr shows the new smaller screen maximum:

    Screen 0: minimum 320 x 200, current 4096 x 1200, maximum 4096 x 4096
    DVI-0 connected 1600x1200+0+0 
    DVI-1 connected 1600x1200+1600+0 
    DVI-1-2 connected 1600x1200+2496+0 
    DVI-1-3 disconnected

The +2432 offset still works fine across three monitors, as it did before:

    xrandr --output DVI-1-2 --pos 2432x0 --auto

Offsets from +2433 to +2496 are still allowed and still trigger the bug and
cause video crap on the first two monitors, just as they did before.

Offsets above +2496 are now prohibited due to the new smaller screen maximum,
even though I know they would work if I rotated or inverted the first two
monitors.

Your patch doesn't fix the bug.  It does prevent me from using the actual
available screen resolution, should I want to invert or rotate the first two
monitors.  Functionality is lost.

I gather you don't know how to fix the bug, so you're instead trying to limit
the inputs so as not to not let people trigger it?

You said "Rotation uses an additional buffer for each display".  I guess I'll
have to go through the code and find out how to make the non-inverted outputs
use the same type of buffering as the inverted outputs for widths above 4064. 
That should work.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2679 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (2 preceding siblings ...)
  2014-07-19  4:35 ` bugzilla-daemon
@ 2014-07-19 10:45 ` bugzilla-daemon
  2014-07-19 13:50 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-19 10:45 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 680 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #14 from Ian! D. Allen <idallen@idallen.ca> ---
(In reply to comment #13)
> I guess I'll have to go through the code and find out how to make the
> non-inverted outputs use the same type of buffering as the inverted
> outputs for widths above 4064.

This looks like too much work; I'm not a graphics card programmer.  It would be
faster for me to give away these two old FireMV cards and buy a single modern
card that Linux X11 supports with three 1600x1200 DVI monitors and full 3D (no
Xinerama).  Alex - does AMD have anything like this?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1591 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (3 preceding siblings ...)
  2014-07-19 10:45 ` bugzilla-daemon
@ 2014-07-19 13:50 ` bugzilla-daemon
  2014-07-21 14:48 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-19 13:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 598 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #15 from Ian! D. Allen <idallen@idallen.ca> ---
(In reply to comment #14)
> a single modern card that Linux X11 supports with three 1600x1200 DVI
> monitors and full 3D (no Xinerama).

Phoronix suggests that the open source drivers work well on Radeon HD 6000
cards: http://www.phoronix.com/vr.php?view=20509

"If you find a good deal on a Radeon HD 6000 series GPU (outside of the HD 6900
series), that's where open-source fans will best likely be served".

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1572 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (4 preceding siblings ...)
  2014-07-19 13:50 ` bugzilla-daemon
@ 2014-07-21 14:48 ` bugzilla-daemon
  2014-07-21 16:06 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-21 14:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 612 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #16 from Alex Deucher <agd5f@yahoo.com> ---
(In reply to comment #14)
> 
> This looks like too much work; I'm not a graphics card programmer.  It would
> be faster for me to give away these two old FireMV cards and buy a single
> modern card that Linux X11 supports with three 1600x1200 DVI monitors and
> full 3D (no Xinerama).  Alex - does AMD have anything like this?

All evergreen (hd 5000 series) and newer dGPUs can support up to 6 monitors
depending on the board.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1525 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (5 preceding siblings ...)
  2014-07-21 14:48 ` bugzilla-daemon
@ 2014-07-21 16:06 ` bugzilla-daemon
  2014-07-21 16:28 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-21 16:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 796 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #17 from Ian! D. Allen <idallen@idallen.ca> ---
(In reply to comment #16)
> All evergreen (hd 5000 series) and newer dGPUs can support up to 6
> monitors depending on the board.

Phoronix suggests they don't all work well with open source drivers, those that
do work often don't do well multi-monitor, and most don't do triple DVI output
unless one buys one or more active adapters.

I don't want to pick a card that becomes obsolete and where the driver writers
have moved on and aren't interested in fixing the old bugs (e.g. the above bug
in the radeon driver).

Are the open source drivers for the evergreen cards (and newer) under active
development?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1704 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (6 preceding siblings ...)
  2014-07-21 16:06 ` bugzilla-daemon
@ 2014-07-21 16:28 ` bugzilla-daemon
  2014-07-21 23:17 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-21 16:28 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1614 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #18 from Alex Deucher <agd5f@yahoo.com> ---
(In reply to comment #17)
> 
> Phoronix suggests they don't all work well with open source drivers, those
> that do work often don't do well multi-monitor, and most don't do triple DVI
> output unless one buys one or more active adapters.

Displays should generally work fine.  Note that Evergreen, NI, and SI parts
only have two non-DP PLLs so they are limited to two independent non-DP clocks.
 So what this means is that you can only use two non-DP monitors with
independent timings.  If you want to use more than two non-DP monitors, you
have to use the exact same pixel clocks on several of the monitors so you don't
use more then two different clocks.  E.g., if all three of your monitors are
identical use the same modeline and pixel clock, you'd only need one PLL so you
should be fine.

> 
> I don't want to pick a card that becomes obsolete and where the driver
> writers have moved on and aren't interested in fixing the old bugs (e.g. the
> above bug in the radeon driver).

TBH, I think it's a hw limitation on r5xx hardware that's not properly handled.
 Unfortunately, X didn't support multi-card xrandr support when r5xx was still
actively being developed.  At that time, the only way to support multi-card
multi-head was zaphod mode which uses separate buffers for each display so you
never hit the hw limits.

> 
> Are the open source drivers for the evergreen cards (and newer) under active
> development?

Yes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2601 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (7 preceding siblings ...)
  2014-07-21 16:28 ` bugzilla-daemon
@ 2014-07-21 23:17 ` bugzilla-daemon
  2014-07-22  0:04 ` bugzilla-daemon
  2019-11-19  8:53 ` bugzilla-daemon
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-21 23:17 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1149 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #19 from Ian! D. Allen <idallen@idallen.ca> ---
(In reply to comment #18)
> if all three of your monitors are identical use the same modeline and
> pixel clock, you'd only need one PLL so you should be fine.

Yes: Three identical 1600x1200.  I just have to find an available card that can
handle three DVI connectors, ideally without having to buy an active adapter. 
(Sapphire makes a "Flex" card that claims to do this; my initial attempts to
find one to buy have turned up nothing useful.)

> TBH, I think it's a hw limitation on r5xx hardware that's not properly handled.

I'd believe it as a hardware limitation if inverting the first two monitors
didn't fix it.  If I were willing to physically turn my first two monitors
upside-down, it would work fine with the given hardware.  The hardware can
display across my three monitors at 4800x1200 as long as two of the screens are
inverted.  We just need to make the software put those screens into the
hardware the other way up!

Thanks for your comments.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2098 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (8 preceding siblings ...)
  2014-07-21 23:17 ` bugzilla-daemon
@ 2014-07-22  0:04 ` bugzilla-daemon
  2019-11-19  8:53 ` bugzilla-daemon
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-07-22  0:04 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1526 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

--- Comment #20 from Alex Deucher <agd5f@yahoo.com> ---
(In reply to comment #19)
> 
> I'd believe it as a hardware limitation if inverting the first two monitors
> didn't fix it.  If I were willing to physically turn my first two monitors
> upside-down, it would work fine with the given hardware.  The hardware can
> display across my three monitors at 4800x1200 as long as two of the screens
> are inverted.  We just need to make the software put those screens into the
> hardware the other way up!

As I said before, it only works with rotation because it's scanning out of
different buffers when rotation is enabled.  When you enable rotation a shadow
buffer is created which is a rotated duplicate of the sub-region of the entire
desktop.  So for the rotated case, the display hw is scanning out of a
1600x1200 surface rather than the full 4800x1200 surface.  If you wanted to you
could do something similar for the non-rotated case in the xserver, but that
would incur an extra copy for every update of the desktop in the non-rotated
case.

If you want to test further, try and disable acceleration (Option "NoAccel"
"true" in the device section of your xorg.conf) or use the modesetting driver
(xf86-video-modesetting).  You won't be able to use rotation since that
requires acceleration do to the rotated blit, but that will take all
non-display hw factors (3D, etc.) out of the equation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2465 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 81476] three monitors on two radeon cards works with some layouts not others
       [not found] <bug-81476-502@http.bugs.freedesktop.org/>
                   ` (9 preceding siblings ...)
  2014-07-22  0:04 ` bugzilla-daemon
@ 2019-11-19  8:53 ` bugzilla-daemon
  10 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:53 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=81476

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|REOPENED                    |RESOLVED

--- Comment #21 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/511.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2433 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-11-19  8:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-81476-502@http.bugs.freedesktop.org/>
2014-07-18 21:53 ` [Bug 81476] three monitors on two radeon cards works with some layouts not others bugzilla-daemon
2014-07-18 22:46 ` bugzilla-daemon
2014-07-19  4:35 ` bugzilla-daemon
2014-07-19 10:45 ` bugzilla-daemon
2014-07-19 13:50 ` bugzilla-daemon
2014-07-21 14:48 ` bugzilla-daemon
2014-07-21 16:06 ` bugzilla-daemon
2014-07-21 16:28 ` bugzilla-daemon
2014-07-21 23:17 ` bugzilla-daemon
2014-07-22  0:04 ` bugzilla-daemon
2019-11-19  8:53 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox