[Intel-gfx] CRT not detected via hotplug on resume
Rainer Dorsch
ml at bokomoko.de
Thu Sep 22 10:36:12 CEST 2011
Am Wednesday, 21. September 2011 schrieb Keith Packard:
> On Wed, 21 Sep 2011 18:15:27 +0200, Rainer Dorsch <ml at bokomoko.de> wrote:
> > Since I can ssh into the machine, when the problem occurs, are there some
> > diagnosis scripts/tools I could run?
>
> Hrm. As far as I can tell, we're turning on the monitor successfully.
>
> You might try playing with xrandr over ssh to make sure the system
> thinks the monitor is running, then try turning it off and back on to
> see if it lights up.
>
> > Do you expect that it can be applied to a Linux 3.0 kernel?
>
> yes, give v6 of the patch a try if you like; it will at least eliminate
> the 10-second polling of your device, which won't suck.
I applied it and built. Although I am pretty sure, that the patch is included
in the built kernel, Is there an easy way to validate that the patch is really
included in the kernel?
This kind of output I do not see in the syslog anymore during regular
operation now (is that the 10-second polling?):
Sep 22 09:25:58 blackbox kernel: [41988.264136] [drm:output_poll_execute],
[CONNECTOR:5:VGA-1] status updated from 2 to 2
Sep 22 09:25:58 blackbox kernel: [41988.264139] [drm:intel_sdvo_debug_write],
SDVOB: W: 0B (SDVO_CMD_GET_ATTACHED_DISPLAYS)
Sep 22 09:25:58 blackbox kernel: [41988.266996]
[drm:intel_sdvo_read_response], SDVOB: R: (Success) 01 00
Sep 22 09:25:58 blackbox kernel: [41988.272117] [drm:intel_sdvo_detect], SDVO
response 1 0 [1]
Sep 22 09:25:58 blackbox kernel: [41988.272121] [drm:intel_sdvo_debug_write],
SDVOB: W: 7A 02 (SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Sep 22 09:25:58 blackbox kernel: [41988.277823] [drm:intel_sdvo_debug_write],
SDVOB: W: 7A 02 (SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Sep 22 09:25:58 blackbox kernel: [41988.331077] [drm:output_poll_execute],
[CONNECTOR:8:HDMI-A-1] status updated from 1 to 1
Sep 22 09:26:08 blackbox kernel: [41998.344065] [drm:intel_crt_detect], CRT
not detected via hotplug
Sep 22 09:26:08 blackbox kernel: [41998.344069] [drm:output_poll_execute],
[CONNECTOR:5:VGA-1] status updated from 2 to 2
Sep 22 09:26:08 blackbox kernel: [41998.344073] [drm:intel_sdvo_debug_write],
SDVOB: W: 0B (SDVO_CMD_GET_ATTACHED_DISPLAYS)
Sep 22 09:26:08 blackbox kernel: [41998.346928]
[drm:intel_sdvo_read_response], SDVOB: R: (Success) 01 00
Sep 22 09:26:08 blackbox kernel: [41998.352327] [drm:intel_sdvo_detect], SDVO
response 1 0 [1]
Sep 22 09:26:08 blackbox kernel: [41998.352331] [drm:intel_sdvo_debug_write],
SDVOB: W: 7A 02 (SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Sep 22 09:26:08 blackbox kernel: [41998.365324] [drm:intel_sdvo_debug_write],
SDVOB: W: 7A 02 (SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Sep 22 09:26:08 blackbox kernel: [41998.418677] [drm:output_poll_execute],
[CONNECTOR:8:HDMI-A-1] status updated from 1 to 1
Sep 22 09:26:18 blackbox kernel: [42008.456018] [drm:intel_crt_detect], CRT
not detected via hotplug
Sep 22 09:26:18 blackbox kernel: [42008.456023] [drm:output_poll_execute],
[CONNECTOR:5:VGA-1] status updated from 2 to 2
Sep 22 09:26:18 blackbox kernel: [42008.456027] [drm:intel_sdvo_debug_write],
SDVOB: W: 0B (SDVO_CMD_GET_ATTACHED_DISPLAYS)
Sep 22 09:26:18 blackbox kernel: [42008.458900]
[drm:intel_sdvo_read_response], SDVOB: R: (Success) 01 00
Sep 22 09:26:18 blackbox kernel: [42008.463907] [drm:intel_sdvo_detect], SDVO
response 1 0 [1]
Sep 22 09:26:18 blackbox kernel: [42008.465590] [drm:intel_sdvo_debug_write],
SDVOB: W: 7A 02 (SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Sep 22 09:26:19 blackbox kernel: [42008.474405] [drm:intel_sdvo_debug_write],
SDVOB: W: 7A 02 (SDVO_CMD_SET_CONTROL_BUS_SWITCH)
Sep 22 09:26:19 blackbox kernel: [42008.527805] [drm:output_poll_execute],
[CONNECTOR:8:HDMI-A-1] status updated from 1 to 1
just these messages are left
Sep 22 10:28:51 blackbox kernel: [ 454.725402] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:28:51 blackbox kernel: [ 454.765622] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:28:55 blackbox kernel: [ 458.500948] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:28:55 blackbox kernel: [ 458.526514] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:28:55 blackbox kernel: [ 458.550393] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:28:55 blackbox kernel: [ 458.575057] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:28:55 blackbox kernel: [ 458.591470] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:28:58 blackbox kernel: [ 461.028958] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:28:58 blackbox kernel: [ 461.647929] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:28:59 blackbox kernel: [ 462.239917] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:29:01 blackbox kernel: [ 464.473398] [drm:intel_crtc_cursor_set],
Sep 22 10:29:01 blackbox kernel: [ 464.473401] [drm:intel_crtc_cursor_set],
cursor off
Sep 22 10:29:05 blackbox kernel: [ 468.123755] [drm:intel_crtc_cursor_set],
Sep 22 10:29:24 blackbox kernel: [ 487.733920] [drm:intel_crtc_cursor_set],
Sep 22 10:29:24 blackbox kernel: [ 487.733923] [drm:intel_crtc_cursor_set],
cursor off
Sep 22 10:29:25 blackbox kernel: [ 488.916750] [drm:intel_crtc_cursor_set],
Sep 22 10:29:31 blackbox kernel: [ 494.066445] [drm:intel_crtc_cursor_set],
Sep 22 10:29:31 blackbox kernel: [ 494.066448] [drm:intel_crtc_cursor_set],
cursor off
Sep 22 10:29:37 blackbox kernel: [ 500.581494] [drm:intel_crtc_cursor_set],
Sep 22 10:29:44 blackbox kernel: [ 507.530714] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:29:46 blackbox kernel: [ 509.739071] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:29:46 blackbox kernel: [ 509.771637] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:29:46 blackbox kernel: [ 509.791881] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:29:46 blackbox kernel: [ 509.809341] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:29:46 blackbox kernel: [ 509.825489] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:29:46 blackbox kernel: [ 509.842508] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:29:46 blackbox kernel: [ 509.859454] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:29:46 blackbox kernel: [ 509.876596] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:29:46 blackbox kernel: [ 509.893746] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:29:47 blackbox kernel: [ 510.921999] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:30:04 blackbox kernel: [ 527.865405] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:30:04 blackbox kernel: [ 527.913576] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:30:05 blackbox kernel: [ 527.951193] [drm:drm_mode_addfb], [FB:18]
Sep 22 10:30:05 blackbox kernel: [ 527.992412] [drm:drm_mode_addfb], [FB:21]
Sep 22 10:30:09 blackbox kernel: [ 532.298081] [drm:intel_crtc_cursor_set],
Sep 22 10:30:09 blackbox kernel: [ 532.298084] [drm:intel_crtc_cursor_set],
cursor off
Sep 22 10:30:34 blackbox kernel: [ 557.530754] [drm:intel_crtc_cursor_set],
Sep 22 10:30:41 blackbox kernel: [ 564.646592] [drm:intel_crtc_cursor_set],
Sep 22 10:30:41 blackbox kernel: [ 564.646595] [drm:intel_crtc_cursor_set],
cursor off
Sep 22 10:31:40 blackbox kernel: [ 623.605144] [drm:intel_crtc_cursor_set],
> Let me know if it actually helps your suspend/resume issues.
So far the patch at least did not break anything visible to me :-) Since I
cannot reproduce the suspend/resume issues reliably, this takes now some time.
If I will have not seen it within the next two weeks, the problem is fixed or
at least improved.
Many thanks,
Rainer
--
Rainer Dorsch
http://bokomoko.de/
More information about the Intel-gfx
mailing list