Bug 89155 - Dual monitor setup does not initialize
Summary: Dual monitor setup does not initialize
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-15 13:53 UTC by Adam Reichold
Modified: 2019-11-19 09:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
journalctl -b | grep "\[drm" (4.31 KB, text/plain)
2015-02-15 13:53 UTC, Adam Reichold
no flags Details
journalctl -b | grep "\[drm" (3.45 KB, text/plain)
2015-02-15 13:54 UTC, Adam Reichold
no flags Details

Description Adam Reichold 2015-02-15 13:53:52 UTC
Created attachment 113508 [details]
journalctl -b | grep "\[drm"

I am running Arch Linux on an AMD A6-3500 with Radeon HD 6530D graphics on an Gigabyte A55M-S2V mainboard. I just received updated X server to version 1.17.1 together with a rebuilt version 7.5.0 of the XFree86 ATI driver with the kernel staying at 3.18.6.

I do have two Samsung monitors connected to the system, one via DVI and one via VGA. This setup always initialized unreliably and I had to manually add modes for the VGA-connected monitor using

xrandr --newmode "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA-0 "1680x1050_60.00"
xrandr --output VGA-0 --mode "1680x1050_60.00"

for it to work at all. But after the update described above, the two monitors never initialize properly anymore. Before the update, I sometimes had to power-cycle (meaning switch off power not just a reboot) but it did eventually work after two or three tries.

The reason I am reporting this as a Radeon DRM issue instead of an X server problem is that my system log contains errors from the DRM driver about "channel eq" and "clock recovery". I attached those logs grepped for "[drm".

Thank for your help and please tell me if I can provide any further information to help diagnose this.
Comment 1 Adam Reichold 2015-02-15 13:54:25 UTC
Created attachment 113509 [details]
journalctl -b | grep "\[drm"
Comment 2 Adam Reichold 2015-02-15 14:02:48 UTC
Maybe as a clarification: Both monitors always initialize properly when only one is connected.
Comment 3 Alex Deucher 2015-02-16 17:29:53 UTC
(In reply to Adam Reichold from comment #2)
> Maybe as a clarification: Both monitors always initialize properly when only
> one is connected.

When only one is connected at boot time?  If so does it matter which one?
Comment 4 Adam Reichold 2015-02-16 19:32:48 UTC
(In reply to Alex Deucher from comment #3)
> (In reply to Adam Reichold from comment #2)
> > Maybe as a clarification: Both monitors always initialize properly when only
> > one is connected.
> 
> When only one is connected at boot time?  If so does it matter which one?

If at boot time, only one monitor is connected, then it does initialize properly. This is true for both monitors, i.e. VGA-only works and DVI-only works, but not both at the same time. (It also works correctly if I boot using only one monitor and attach the second one later.)
Comment 5 Adam Reichold 2015-08-15 13:12:21 UTC
I had some more time to test this (now on kernel 4.1.4 and X server 1.17.2) and have made two hopefully useful observations:

* The Catalyst driver (version 15.7) is always able to initialize the setup even though VGA-connected monitor seems to always "flicker" two times before reaching the final mode.

* I have found a somewhat reliable workaround to use with the free driver: By adding

xrandr --output VGA-0 --off

before

xrandr \
    --output VGA-0 --preferred --primary \
    --output DVI-0 --preferred --rotate left --right-of VGA-0

to my .xinitrc, the system will properly initialize both displays even though the first command seems to take around two seconds to complete.
Comment 6 Adam Reichold 2016-01-16 11:00:06 UTC
Maybe of interest w.r.t this: Running kernel 4.3.3. by now, I found a seemingly reliable workaround, i.e. if the VGA-connected monitor does not initialize after boot, it will always properly initialize when I put the system into suspend-to-memory and wake it up again immediately after that. (But the VGA-connected monitor will sometimes go dark for a few seconds some time after it initialized for the first time.)
Comment 7 Martin Peres 2019-11-19 09:01:33 UTC
-- 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/583.


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.