Skip to contentSkip to conversation

AMD 7470m When VGA plugged into laptop, only one monitor working at a time

Bug 99784 [email protected] 1 participant 14 messages Feb 13, 2017 – Nov 19, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

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

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|Driver/Radeon               |DRM/Radeon
            Product|xorg                        |DRI
         QA Contact|[email protected]       |
           Assignee|[email protected] |[email protected]
                   |                            |.org
            Version|7.7 (2012.06)               |unspecified
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to a message not in the archive

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

--- Comment #7 from [email protected] ---
Problem persists with kernel 4.11.rc4. I also made imgur post with relevant screenshots and explanations http://imgur.com/a/3kwiq

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to a message not in the archive

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

--- Comment #8 from Michel Dänzer <[email protected]> ---
I wonder if at least some of the issues could be related to the internal panel's horizontal resolution of 1366... Does setting a lower resolution on the internal panel make any difference?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to a message not in the archive

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

--- Comment #9 from [email protected] ---
I changed resolution to 1280x768, and it disabled both internal monitor and VGA. After message box timed out and reverted resolution to 1366x768, VGA is now off and HDMI and internal are on.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to a message not in the archive

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

--- Comment #10 from [email protected] ---
Created attachment 130604
--> https://bugs.freedesktop.org/attachment.cgi?id=130604&action=edit
xrandr outputs for radeon and fglrx

Also there are a lot differences in xrandr outputs for fglrx and radeon, maybe timings are off too?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to a message not in the archive

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

--- Comment #11 from [email protected] ---
Problem persists with 4.11rc7 kernel. Should I try updating some other package?

Also, I noticed that problem starts before X is active (at grub/systemd/ubuntu splash logo). With fglrx only internal monitor would display image at that time
- until lightdm and X start (when all three monitors would turn on). Using radeon drivers/drm however, external monitors would display mirrored systemd log/splash screen and internal monitor is off right after grub menu.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to a message not in the archive

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

--- Comment #12 from [email protected] ---
Problem persists with Ubuntu 17.10 / DRM 2.49.0 / 4.11.0-041100rc8-lowlatency, LLVM 4.0.0

Tested all resolution options for all three of the monitors, and has been able to output either on HDMI and VGA or HDMI and LVDS (internal). I have no idea what else could I test (or which code could I look at). Would setting drm.debug flag to 0x4 in GRUB provide some more relevant data?

Also, I have found this forum thread about the same issue, which dates from 2013: https://ubuntuforums.org/showthread.php?t=2194601

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to a message not in the archive

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

--- Comment #13 from [email protected] ---
4.12.rc1 kernel (from http://kernel.ubuntu.com/~kernel-ppa/mainline/) crashes at boot during DRM loading phase, just after internal display turns off.
http://imgur.com/a/VBKv4

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to a message not in the archive

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

--- Comment #14 from Valeriu Balaban <[email protected]> --- Created attachment 131429
--> https://bugs.freedesktop.org/attachment.cgi?id=131429&action=edit
Output of xrandr and dmesg

I have the same issue on Ubuntu 16.04 LTS with Mate desktop that runs on an iMac 11. The second monitor is connected through a Display Port to VGA adapter and the kernel selects it to be primary by default.

After a fresh boot, since the second monitor is the primary one it contains the login screen, however the screen is black. So I have to unplug it to make the internal monitor (eDP) primary. If I plug again the external one, the internal monitor turns black and the external becomes active and starts to display it's content.

If I take a screenshot, I can see what is displayed on both monitors.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw
In reply to a message not in the archive

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

--- Comment #15 from [email protected] ---
Created attachment 131434
--> https://bugs.freedesktop.org/attachment.cgi?id=131434&action=edit
Kernel oops at drm module (4.12.rc2 kernel)

Just tested 4.12.rc2 kernel, and had another kernel oops in drm related functions (at line 909 in attachment).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to a message not in the archive

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

--- Comment #16 from [email protected] ---
Created attachment 131532
--> https://bugs.freedesktop.org/attachment.cgi?id=131532&action=edit
"dmesg | grep drm" output (4.12.rc2, libdrm 2.4.8)

I updated libdrm and xorg from edgers ppa, and drm-tip kernel is now able to boot.
I attached latest "dmesg | grep drm" output. I went trough logs while changing drm.debug mask, but have failed to see any errors.

Package versions are:
libdrm-radeon1/artful,now 2.4.80+git20170524.eeb51df3-0ubuntu0ricotz, 4.12.0-994-lowlatency kernel,
xorg 1:7.7+19 with xserver-xorg-video-radeon 1:7.9.0-0ubuntu1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#13 lore raw
In reply to a message not in the archive

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

--- Comment #17 from [email protected] ---
Created attachment 136058
--> https://bugs.freedesktop.org/attachment.cgi?id=136058&action=edit
Workaround (Ubuntu 17.10 DRM 2.50.0 / 4.13.0-19-generic, LLVM 5.0.0)

After testing new version of kernel on Ubuntu 17.10 installation (wayland + systemd) I discovered by chance that after suspend and unsuspend (systemctl suspend), internal monitor starts displaying image and everything works (for the first time with radeon driver).

So as a workaround I used /etc/rc.local compatibility to trigger suspend after appropriate ring level is initialized during boot(sudo chmod +x /etc/rc.local is also required).

I tested same method with 14.04 LTS with no success (so I don't know exactly what upgrade made it work).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw
In reply to a message not in the archive

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #18 from Martin Peres <[email protected]> --- -- 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/772.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel