Bug 66191 - Radeon xrandr event when unplug external display on VGA
Summary: Radeon xrandr event when unplug external display on VGA
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 06:45 UTC by Honza Tvrznik
Modified: 2019-11-19 07:41 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg log (51.26 KB, text/plain)
2013-06-26 06:45 UTC, Honza Tvrznik
no flags Details
dmesg (66.27 KB, text/plain)
2013-06-26 06:46 UTC, Honza Tvrznik
no flags Details

Description Honza Tvrznik 2013-06-26 06:45:30 UTC
Created attachment 81444 [details]
xorg log

Hello,

i have notebook and external display connected via VGA port. I am using kscreen for display management. When I connect external display everything works well (notebook display switched off and all screen is on external display).

But when I unplug VGA cable, display on notebook stays black. Workaround is run xrandr (without parametrs) in console for flushing cache.

I have suspicion, that raden driver don't generate Xrandr event (message) when external display is unplugged from VGA port.

GPU: ATI Radeon X1400
Driver: OS Radeon (xf86-video-ati 1:7.1.0-3)
Distro: Arch Linux
KDE: 4.10.4
Kscreen: 1.0
Comment 1 Honza Tvrznik 2013-06-26 06:46:33 UTC
Created attachment 81445 [details]
dmesg
Comment 2 Alex Deucher 2013-06-26 13:37:31 UTC
There are no hotplug interrupts for analog outputs like VGA.   The drm core has code to poll non-hotplug capable connectors to see if a monitor is present or not.  Make sure you haven't disabled polling in the drm_kms_helper module.
Comment 3 Honza Tvrznik 2013-06-26 15:00:02 UTC
(In reply to comment #2)
> There are no hotplug interrupts for analog outputs like VGA.   The drm core
> has code to poll non-hotplug capable connectors to see if a monitor is
> present or not.  Make sure you haven't disabled polling in the
> drm_kms_helper module.

Thanks for reply Alex,

polling is enabled:
cat /sys/module/drm_kms_helper/parameters/poll
Y

Still without success, maybe it's time for new hardware (with hdmi) ;-)
You can close this ticket.

Thanks.
Comment 4 Eugene Shalygin 2013-08-26 15:31:43 UTC
I have the very same problem --- sometimes there are no randr events on plug and much more frequently on unplug for HDMI/DP connectors.

I have feeling that events works fine right after boot, but cease after some time (somewhat about tens of minutes). Firstly unplug events disappear, then after several minutes plug events also. If I call xrandr or activate randr via KScreen, plug events come back and unplug events sometimes also start to work.

GPU: Radeon HD 5850M
Kernel: 3.10.9
xf86-video-ati from git master
Comment 5 Ivo Anjo 2014-12-27 14:46:13 UTC
I just migrated from an old Intel Atom using i915 to a Radeon on a E-350 and this stopped working.

Polling is on, but I had to add my own polling script to call xrandr in a loop.

Maybe a more apt description of this bug is that "polling is broken for radeon vga outputs".
Comment 6 Martin Peres 2019-11-19 07:41:26 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/xorg/driver/xf86-video-ati/issues/69.


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.