All of lore.kernel.org
 help / color / mirror / Atom feed
* screen goes blank when loading gma500_gfx (atom D2500)
@ 2014-02-08 19:56 Michael Tokarev
  2014-02-10 10:44 ` One Thousand Gnomes
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Tokarev @ 2014-02-08 19:56 UTC (permalink / raw)
  To: Linux-kernel, dri-devel

Hello.

Today I rebooted my router into a new kernel and noticed that
the screen goes blank after booting the system (initial bootup
messages are visible).  After some debugging it turns out that
the screen goes blank when loading gma500_gfx module.

This is an intel D2500CC motherboard with Atom D5200 built-in,
with a monitor connected to a VGA port, the following vga device
is reported by lspci:

00:02.0 VGA compatible controller: Intel Corporation Atom Processor D2xxx/N2xxx Integrated Graphics Controller (rev 09)

Here are the dmesg output after loading gma500_gfx:

[  176.427071] Linux agpgart interface v0.103
[  176.452914] [drm] Initialized drm 1.1.0 20060810
[  176.476037] gma500 0000:00:02.0: setting latency timer to 64
[  176.476216] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
[  176.491675] acpi device:29: registered as cooling_device2
[  176.492041] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[  176.492169] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input11
[  176.492357] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[  176.492396] [drm] No driver support for vblank timestamp query.
[  176.607485] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[  176.607531] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[  176.806078] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0

which does not look bad or suspicious to me.

fbcon is loaded so it isn't an issue.

I tried 3.10 kernel initially (the above messages are from it), next
I tried 3.13 kernel too, and that one behaves exactly the same.

As far as I remember, this system never worked with graphics well.
Previous kernel (from which I updated) was 3.2 which had no
gma500 module (local build).

What are the steps to debug this further?

Thanks,

/mjt

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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2014-02-08 19:56 screen goes blank when loading gma500_gfx (atom D2500) Michael Tokarev
@ 2014-02-10 10:44 ` One Thousand Gnomes
  2014-02-15 18:28   ` Michael Tokarev
  0 siblings, 1 reply; 16+ messages in thread
From: One Thousand Gnomes @ 2014-02-10 10:44 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: Linux-kernel, dri-devel

> fbcon is loaded so it isn't an issue.
> 
> I tried 3.10 kernel initially (the above messages are from it), next
> I tried 3.13 kernel too, and that one behaves exactly the same.
> 
> As far as I remember, this system never worked with graphics well.
> Previous kernel (from which I updated) was 3.2 which had no
> gma500 module (local build).
> 
> What are the steps to debug this further?

Check you have X86_SYSFB and SIMPLEFB disabled

Boot with drm.debug=6

collect the logs


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2014-02-10 10:44 ` One Thousand Gnomes
@ 2014-02-15 18:28   ` Michael Tokarev
  2014-04-05  8:15     ` Michael Tokarev
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Tokarev @ 2014-02-15 18:28 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

10.02.2014 14:44, One Thousand Gnomes wrote:
>> fbcon is loaded so it isn't an issue.
>>
>> I tried 3.10 kernel initially (the above messages are from it), next
>> I tried 3.13 kernel too, and that one behaves exactly the same.
>>
>> As far as I remember, this system never worked with graphics well.
>> Previous kernel (from which I updated) was 3.2 which had no
>> gma500 module (local build).
>>
>> What are the steps to debug this further?
> 
> Check you have X86_SYSFB and SIMPLEFB disabled

Neither of these options exists in 3.10 config.  In 3.13 I had X86_SYSFB set
to y initially (SIMPLEFB doesn't exist there too), but setting it to n does
not make any difference.

> Boot with drm.debug=6
> 
> collect the logs

I used `modprobe drm debug=6' (initially booting with gma500_gfx module
disabled), followed with `modprobe gma500_gfx'.  After loading module
the screen goes blank as before, and monitor says 'no signal detected'.

Here are the logs:

[599286.739923] Linux agpgart interface v0.103
[599286.765176] [drm] Initialized drm 1.1.0 20060810
[599303.673734] gma500 0000:00:02.0: setting latency timer to 64
[599303.673883] [drm:psb_intel_opregion_setup], Public ACPI methods supported
[599303.673887] [drm:psb_intel_opregion_setup], ASLE supported
[599303.673923] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
[599303.673950] [drm:psb_intel_init_bios], Using VBT from OpRegion: $VBT CEDARVIEW      d
[599303.673959] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 0 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
[599303.673969] [drm:parse_sdvo_device_mapping], No SDVO device info is found in VBT
[599303.673975] [drm:parse_edp], EDP timing in vbt t1_t3 2000 t8 10 t9 2000 t10 500 t11_t12 5000
[599303.673980] [drm:parse_edp], VBT reports EDP: Lane_count 1, Lane_rate 6, Bpp 24
[599303.673984] [drm:parse_edp], VBT reports EDP: VSwing  0, Preemph 0
[599303.688094] acpi device:29: registered as cooling_device2
[599303.688446] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[599303.688557] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input11
[599303.689160] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[599303.689188] [drm] No driver support for vblank timestamp query.
[599303.740423] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSDDC_C
[599303.741222] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-B
[599303.741732] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
[599303.741736] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
[599303.742242] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
[599303.742246] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
[599303.742997] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-C
[599303.743305] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.743510] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.783922] [drm:cdv_intel_single_pipe_active], pipe enabled 0
[599303.803958] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[599303.803996] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[599303.844370] [drm:cdv_intel_single_pipe_active], pipe enabled 0
[599303.864408] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1]
[599303.877172] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1] disconnected
[599303.877184] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1]
[599303.881764] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSBLC_B
[599303.881778] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1] probed modes :
[599303.881783] [drm:drm_mode_debug_printmodeline], Modeline 22:"1920x1080" 60 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
[599303.881791] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1]
[599303.886292] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
[599303.886298] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1] disconnected
[599303.886304] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1]
[599303.886811] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
[599303.886815] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1] disconnected
[599303.886820] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2]
[599303.891350] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
[599303.891357] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2] disconnected
[599303.891362] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2]
[599303.891569] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
[599303.891876] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.892082] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.892085] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.892391] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.892595] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.892598] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.892904] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.893109] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.893112] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.893417] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.893622] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.893625] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.893944] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.894151] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.894154] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.894460] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.894665] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.894669] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.894975] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.895180] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.895183] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.895489] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.895694] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.895697] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.896002] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.896207] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.896210] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.896515] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.896720] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599303.896723] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599303.896741] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2] probed modes :
[599303.896745] [drm:drm_mode_debug_printmodeline], Modeline 27:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[599303.896752] [drm:drm_mode_debug_printmodeline], Modeline 25:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[599303.896759] [drm:drm_mode_debug_printmodeline], Modeline 24:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[599303.896766] [drm:drm_mode_debug_printmodeline], Modeline 26:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
[599303.896773] [drm:drm_mode_debug_printmodeline], Modeline 23:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
[599303.896780] [drm:drm_setup_crtcs],
[599303.896785] [drm:drm_enable_connectors], connector 7 enabled? no
[599303.896789] [drm:drm_enable_connectors], connector 9 enabled? yes
[599303.896792] [drm:drm_enable_connectors], connector 12 enabled? no
[599303.896796] [drm:drm_enable_connectors], connector 14 enabled? no
[599303.896800] [drm:drm_enable_connectors], connector 18 enabled? no
[599303.896803] [drm:drm_enable_connectors], connector 20 enabled? yes
[599303.896807] [drm:drm_target_preferred], looking for cmdline mode on connector 9
[599303.896811] [drm:drm_target_preferred], looking for preferred mode on connector 9
[599303.896815] [drm:drm_target_preferred], found mode 1920x1080
[599303.896818] [drm:drm_target_preferred], looking for cmdline mode on connector 20
[599303.896821] [drm:drm_target_preferred], looking for preferred mode on connector 20
[599303.896825] [drm:drm_target_preferred], found mode 1024x768
[599303.896828] [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config
[599303.896836] [drm:drm_setup_crtcs], desired mode 1920x1080 set on crtc 4
[599303.896841] [drm:drm_setup_crtcs], desired mode 1024x768 set on crtc 3
[599303.896862] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0
[599546.148642] [drm:drm_helper_hpd_irq_event], [CONNECTOR:7:VGA-1] status updated from disconnected to connected
[599546.153261] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
[599546.153270] [drm:drm_helper_hpd_irq_event], [CONNECTOR:12:DVI-D-1] status updated from disconnected to disconnected
[599546.153779] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
[599546.153783] [drm:drm_helper_hpd_irq_event], [CONNECTOR:14:DP-1] status updated from disconnected to disconnected
[599546.158258] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
[599546.158264] [drm:drm_helper_hpd_irq_event], [CONNECTOR:18:DVI-D-2] status updated from disconnected to disconnected
[599546.158471] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
[599546.158780] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.158987] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.158991] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599546.159297] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.159502] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.159505] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599546.159810] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.160015] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.160018] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599546.160324] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.160528] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[599546.160531] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[599546.160843] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack

This is 3.10.29, monitor is connected to VGA connector.

Thank you!

/mjt

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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2014-02-15 18:28   ` Michael Tokarev
@ 2014-04-05  8:15     ` Michael Tokarev
  2014-08-05 16:11       ` Michael Tokarev
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Tokarev @ 2014-04-05  8:15 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

Hello again

It's been about 2 months since I sent the original debugging output.  Today I tried
out 3.14 kernel.  And this one behaves quite similarly, screen goes blank right
when loading gma500_gfx module.  Here's the dmesg from a freshly booted system
after doing

  modprobe drm debug=6
  modprobe gma500_gfx

with a monitor connected to VGA port (before loading gma500_gfx, it displays the
regular text console):

[   39.863330] Linux agpgart interface v0.103
[   39.900511] [drm] Initialized drm 1.1.0 20060810
[   45.012300] [drm:psb_intel_opregion_setup], Public ACPI methods supported
[   45.012308] [drm:psb_intel_opregion_setup], ASLE supported
[   45.012345] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
[   45.012371] [drm:psb_intel_init_bios], Using VBT from OpRegion: $VBT CEDARVIEW      d
[   45.012384] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 0 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
[   45.012389] [drm:parse_sdvo_device_mapping], No SDVO device info is found in VBT
[   45.012397] [drm:parse_edp], EDP timing in vbt t1_t3 2000 t8 10 t9 2000 t10 500 t11_t12 5000
[   45.012401] [drm:parse_edp], VBT reports EDP: Lane_count 1, Lane_rate 6, Bpp 24
[   45.012405] [drm:parse_edp], VBT reports EDP: VSwing  0, Preemph 0
[   45.012478] gma500 0000:00:02.0: GPU: power management timed out.
[   45.026195] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   45.026891] acpi device:29: registered as cooling_device2
[   45.027104] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input11
[   45.027681] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   45.027726] [drm] No driver support for vblank timestamp query.
[   45.078928] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSDDC_C
[   45.079839] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-B
[   45.080383] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
[   45.080388] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
[   45.080896] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
[   45.080899] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
[   45.081754] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-C
[   45.082062] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.082272] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.122742] [drm:cdv_intel_single_pipe_active], pipe enabled 0
[   45.142780] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[   45.142826] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[   45.183207] [drm:cdv_intel_single_pipe_active], pipe enabled 0
[   45.203249] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1]
[   45.332286] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1] probed modes :
[   45.332297] [drm:drm_mode_debug_printmodeline], Modeline 23:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[   45.332304] [drm:drm_mode_debug_printmodeline], Modeline 33:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[   45.332311] [drm:drm_mode_debug_printmodeline], Modeline 26:"1280x1024" 72 132840 1280 1368 1504 1728 1024 1025 1028 1067 0x0 0x6
[   45.332318] [drm:drm_mode_debug_printmodeline], Modeline 25:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[   45.332325] [drm:drm_mode_debug_printmodeline], Modeline 34:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[   45.332332] [drm:drm_mode_debug_printmodeline], Modeline 35:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
[   45.332338] [drm:drm_mode_debug_printmodeline], Modeline 36:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[   45.332345] [drm:drm_mode_debug_printmodeline], Modeline 37:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[   45.332352] [drm:drm_mode_debug_printmodeline], Modeline 38:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[   45.332359] [drm:drm_mode_debug_printmodeline], Modeline 39:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[   45.332365] [drm:drm_mode_debug_printmodeline], Modeline 27:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[   45.332372] [drm:drm_mode_debug_printmodeline], Modeline 28:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[   45.332379] [drm:drm_mode_debug_printmodeline], Modeline 29:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
[   45.332385] [drm:drm_mode_debug_printmodeline], Modeline 30:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
[   45.332392] [drm:drm_mode_debug_printmodeline], Modeline 31:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[   45.332398] [drm:drm_mode_debug_printmodeline], Modeline 32:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[   45.332405] [drm:drm_mode_debug_printmodeline], Modeline 24:"640x350" 70 25170 640 656 752 800 350 387 389 449 0x40 0x9
[   45.332411] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1]
[   45.336961] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSBLC_B
[   45.336970] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1] probed modes :
[   45.336977] [drm:drm_mode_debug_printmodeline], Modeline 40:"1920x1080" 60 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
[   45.336982] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1]
[   45.341442] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
[   45.341448] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1] disconnected
[   45.341453] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1]
[   45.341961] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
[   45.341966] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1] disconnected
[   45.341971] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2]
[   45.346467] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
[   45.346474] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2] disconnected
[   45.346479] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2]
[   45.346686] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
[   45.346993] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.347199] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.347202] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.347508] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.347713] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.347717] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.348022] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.348227] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.348231] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.348537] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.348742] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.348745] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.349051] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.349257] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.349261] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.349568] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.349773] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.349776] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.350082] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.350288] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.350291] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.350598] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.350804] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.350807] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.351114] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.351319] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.351322] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.351628] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.351833] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
[   45.351836] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
[   45.351854] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2] probed modes :
[   45.351861] [drm:drm_mode_debug_printmodeline], Modeline 45:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[   45.351867] [drm:drm_mode_debug_printmodeline], Modeline 43:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[   45.351874] [drm:drm_mode_debug_printmodeline], Modeline 42:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[   45.351881] [drm:drm_mode_debug_printmodeline], Modeline 44:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
[   45.351888] [drm:drm_mode_debug_printmodeline], Modeline 41:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
[   45.351892] [drm:drm_setup_crtcs],
[   45.351897] [drm:drm_enable_connectors], connector 7 enabled? yes
[   45.351901] [drm:drm_enable_connectors], connector 9 enabled? yes
[   45.351904] [drm:drm_enable_connectors], connector 12 enabled? no
[   45.351908] [drm:drm_enable_connectors], connector 14 enabled? no
[   45.351912] [drm:drm_enable_connectors], connector 18 enabled? no
[   45.351916] [drm:drm_enable_connectors], connector 20 enabled? yes
[   45.351920] [drm:drm_target_preferred], looking for cmdline mode on connector 7
[   45.351924] [drm:drm_target_preferred], looking for preferred mode on connector 7
[   45.351927] [drm:drm_target_preferred], found mode 1280x1024
[   45.351931] [drm:drm_target_preferred], looking for cmdline mode on connector 9
[   45.351935] [drm:drm_target_preferred], looking for preferred mode on connector 9
[   45.351938] [drm:drm_target_preferred], found mode 1920x1080
[   45.351942] [drm:drm_target_preferred], looking for cmdline mode on connector 20
[   45.351945] [drm:drm_target_preferred], looking for preferred mode on connector 20
[   45.351949] [drm:drm_target_preferred], found mode 1024x768
[   45.351953] [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config
[   45.351962] [drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 3
[   45.351967] [drm:drm_setup_crtcs], desired mode 1920x1080 set on crtc 4
[   45.351987] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0

Thank you!

/mjt

15.02.2014 22:28, Michael Tokarev wrote:
> 10.02.2014 14:44, One Thousand Gnomes wrote:
>>> fbcon is loaded so it isn't an issue.
>>>
>>> I tried 3.10 kernel initially (the above messages are from it), next
>>> I tried 3.13 kernel too, and that one behaves exactly the same.
>>>
>>> As far as I remember, this system never worked with graphics well.
>>> Previous kernel (from which I updated) was 3.2 which had no
>>> gma500 module (local build).
>>>
>>> What are the steps to debug this further?
>>
>> Check you have X86_SYSFB and SIMPLEFB disabled
> 
> Neither of these options exists in 3.10 config.  In 3.13 I had X86_SYSFB set
> to y initially (SIMPLEFB doesn't exist there too), but setting it to n does
> not make any difference.
> 
>> Boot with drm.debug=6
>>
>> collect the logs
> 
> I used `modprobe drm debug=6' (initially booting with gma500_gfx module
> disabled), followed with `modprobe gma500_gfx'.  After loading module
> the screen goes blank as before, and monitor says 'no signal detected'.
> 
> Here are the logs:
> 
> [599286.739923] Linux agpgart interface v0.103
> [599286.765176] [drm] Initialized drm 1.1.0 20060810
> [599303.673734] gma500 0000:00:02.0: setting latency timer to 64
> [599303.673883] [drm:psb_intel_opregion_setup], Public ACPI methods supported
> [599303.673887] [drm:psb_intel_opregion_setup], ASLE supported
> [599303.673923] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
> [599303.673950] [drm:psb_intel_init_bios], Using VBT from OpRegion: $VBT CEDARVIEW      d
> [599303.673959] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 0 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
> [599303.673969] [drm:parse_sdvo_device_mapping], No SDVO device info is found in VBT
> [599303.673975] [drm:parse_edp], EDP timing in vbt t1_t3 2000 t8 10 t9 2000 t10 500 t11_t12 5000
> [599303.673980] [drm:parse_edp], VBT reports EDP: Lane_count 1, Lane_rate 6, Bpp 24
> [599303.673984] [drm:parse_edp], VBT reports EDP: VSwing  0, Preemph 0
> [599303.688094] acpi device:29: registered as cooling_device2
> [599303.688446] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
> [599303.688557] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input11
> [599303.689160] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
> [599303.689188] [drm] No driver support for vblank timestamp query.
> [599303.740423] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSDDC_C
> [599303.741222] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-B
> [599303.741732] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
> [599303.741736] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
> [599303.742242] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
> [599303.742246] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
> [599303.742997] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-C
> [599303.743305] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.743510] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.783922] [drm:cdv_intel_single_pipe_active], pipe enabled 0
> [599303.803958] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
> [599303.803996] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
> [599303.844370] [drm:cdv_intel_single_pipe_active], pipe enabled 0
> [599303.864408] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1]
> [599303.877172] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1] disconnected
> [599303.877184] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1]
> [599303.881764] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSBLC_B
> [599303.881778] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1] probed modes :
> [599303.881783] [drm:drm_mode_debug_printmodeline], Modeline 22:"1920x1080" 60 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
> [599303.881791] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1]
> [599303.886292] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
> [599303.886298] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1] disconnected
> [599303.886304] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1]
> [599303.886811] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
> [599303.886815] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1] disconnected
> [599303.886820] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2]
> [599303.891350] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
> [599303.891357] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2] disconnected
> [599303.891362] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2]
> [599303.891569] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
> [599303.891876] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.892082] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.892085] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.892391] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.892595] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.892598] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.892904] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.893109] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.893112] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.893417] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.893622] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.893625] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.893944] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.894151] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.894154] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.894460] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.894665] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.894669] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.894975] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.895180] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.895183] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.895489] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.895694] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.895697] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.896002] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.896207] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.896210] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.896515] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.896720] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599303.896723] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599303.896741] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2] probed modes :
> [599303.896745] [drm:drm_mode_debug_printmodeline], Modeline 27:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
> [599303.896752] [drm:drm_mode_debug_printmodeline], Modeline 25:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
> [599303.896759] [drm:drm_mode_debug_printmodeline], Modeline 24:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
> [599303.896766] [drm:drm_mode_debug_printmodeline], Modeline 26:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
> [599303.896773] [drm:drm_mode_debug_printmodeline], Modeline 23:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
> [599303.896780] [drm:drm_setup_crtcs],
> [599303.896785] [drm:drm_enable_connectors], connector 7 enabled? no
> [599303.896789] [drm:drm_enable_connectors], connector 9 enabled? yes
> [599303.896792] [drm:drm_enable_connectors], connector 12 enabled? no
> [599303.896796] [drm:drm_enable_connectors], connector 14 enabled? no
> [599303.896800] [drm:drm_enable_connectors], connector 18 enabled? no
> [599303.896803] [drm:drm_enable_connectors], connector 20 enabled? yes
> [599303.896807] [drm:drm_target_preferred], looking for cmdline mode on connector 9
> [599303.896811] [drm:drm_target_preferred], looking for preferred mode on connector 9
> [599303.896815] [drm:drm_target_preferred], found mode 1920x1080
> [599303.896818] [drm:drm_target_preferred], looking for cmdline mode on connector 20
> [599303.896821] [drm:drm_target_preferred], looking for preferred mode on connector 20
> [599303.896825] [drm:drm_target_preferred], found mode 1024x768
> [599303.896828] [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config
> [599303.896836] [drm:drm_setup_crtcs], desired mode 1920x1080 set on crtc 4
> [599303.896841] [drm:drm_setup_crtcs], desired mode 1024x768 set on crtc 3
> [599303.896862] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0
> [599546.148642] [drm:drm_helper_hpd_irq_event], [CONNECTOR:7:VGA-1] status updated from disconnected to connected
> [599546.153261] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
> [599546.153270] [drm:drm_helper_hpd_irq_event], [CONNECTOR:12:DVI-D-1] status updated from disconnected to disconnected
> [599546.153779] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
> [599546.153783] [drm:drm_helper_hpd_irq_event], [CONNECTOR:14:DP-1] status updated from disconnected to disconnected
> [599546.158258] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
> [599546.158264] [drm:drm_helper_hpd_irq_event], [CONNECTOR:18:DVI-D-2] status updated from disconnected to disconnected
> [599546.158471] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
> [599546.158780] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.158987] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.158991] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599546.159297] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.159502] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.159505] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599546.159810] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.160015] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.160018] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599546.160324] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.160528] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [599546.160531] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [599546.160843] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> 
> This is 3.10.29, monitor is connected to VGA connector.
> 
> Thank you!
> 
> /mjt


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2014-04-05  8:15     ` Michael Tokarev
@ 2014-08-05 16:11       ` Michael Tokarev
  2014-08-05 16:15         ` Michael Tokarev
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Tokarev @ 2014-08-05 16:11 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

Hello again.

It's been 4 more months since last message in this thread (which was mine).
Now kernel 3.16 has been released, and I decided to give it a try.  And it
behaves just like all previous kernels, -- once gma500_gfx module is loaded,
screen goes blank, monitor turns off ("no signal detected") and nothing to
be seen until reboot.

Can we try to debug this somehow, after more than half a year?... :)

Thank you,

/mjt

05.04.2014 12:15, Michael Tokarev wrote:
> Hello again
> 
> It's been about 2 months since I sent the original debugging output.  Today I tried
> out 3.14 kernel.  And this one behaves quite similarly, screen goes blank right
> when loading gma500_gfx module.  Here's the dmesg from a freshly booted system
> after doing
> 
>   modprobe drm debug=6
>   modprobe gma500_gfx
> 
> with a monitor connected to VGA port (before loading gma500_gfx, it displays the
> regular text console):
> 
> [   39.863330] Linux agpgart interface v0.103
> [   39.900511] [drm] Initialized drm 1.1.0 20060810
> [   45.012300] [drm:psb_intel_opregion_setup], Public ACPI methods supported
> [   45.012308] [drm:psb_intel_opregion_setup], ASLE supported
> [   45.012345] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
> [   45.012371] [drm:psb_intel_init_bios], Using VBT from OpRegion: $VBT CEDARVIEW      d
> [   45.012384] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 0 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
> [   45.012389] [drm:parse_sdvo_device_mapping], No SDVO device info is found in VBT
> [   45.012397] [drm:parse_edp], EDP timing in vbt t1_t3 2000 t8 10 t9 2000 t10 500 t11_t12 5000
> [   45.012401] [drm:parse_edp], VBT reports EDP: Lane_count 1, Lane_rate 6, Bpp 24
> [   45.012405] [drm:parse_edp], VBT reports EDP: VSwing  0, Preemph 0
> [   45.012478] gma500 0000:00:02.0: GPU: power management timed out.
> [   45.026195] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
> [   45.026891] acpi device:29: registered as cooling_device2
> [   45.027104] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input11
> [   45.027681] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [   45.027726] [drm] No driver support for vblank timestamp query.
> [   45.078928] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSDDC_C
> [   45.079839] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-B
> [   45.080383] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
> [   45.080388] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
> [   45.080896] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
> [   45.080899] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
> [   45.081754] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-C
> [   45.082062] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.082272] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.122742] [drm:cdv_intel_single_pipe_active], pipe enabled 0
> [   45.142780] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
> [   45.142826] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
> [   45.183207] [drm:cdv_intel_single_pipe_active], pipe enabled 0
> [   45.203249] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1]
> [   45.332286] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1] probed modes :
> [   45.332297] [drm:drm_mode_debug_printmodeline], Modeline 23:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
> [   45.332304] [drm:drm_mode_debug_printmodeline], Modeline 33:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
> [   45.332311] [drm:drm_mode_debug_printmodeline], Modeline 26:"1280x1024" 72 132840 1280 1368 1504 1728 1024 1025 1028 1067 0x0 0x6
> [   45.332318] [drm:drm_mode_debug_printmodeline], Modeline 25:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
> [   45.332325] [drm:drm_mode_debug_printmodeline], Modeline 34:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
> [   45.332332] [drm:drm_mode_debug_printmodeline], Modeline 35:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
> [   45.332338] [drm:drm_mode_debug_printmodeline], Modeline 36:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
> [   45.332345] [drm:drm_mode_debug_printmodeline], Modeline 37:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
> [   45.332352] [drm:drm_mode_debug_printmodeline], Modeline 38:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
> [   45.332359] [drm:drm_mode_debug_printmodeline], Modeline 39:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
> [   45.332365] [drm:drm_mode_debug_printmodeline], Modeline 27:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
> [   45.332372] [drm:drm_mode_debug_printmodeline], Modeline 28:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
> [   45.332379] [drm:drm_mode_debug_printmodeline], Modeline 29:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
> [   45.332385] [drm:drm_mode_debug_printmodeline], Modeline 30:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
> [   45.332392] [drm:drm_mode_debug_printmodeline], Modeline 31:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
> [   45.332398] [drm:drm_mode_debug_printmodeline], Modeline 32:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
> [   45.332405] [drm:drm_mode_debug_printmodeline], Modeline 24:"640x350" 70 25170 640 656 752 800 350 387 389 449 0x40 0x9
> [   45.332411] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1]
> [   45.336961] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSBLC_B
> [   45.336970] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1] probed modes :
> [   45.336977] [drm:drm_mode_debug_printmodeline], Modeline 40:"1920x1080" 60 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
> [   45.336982] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1]
> [   45.341442] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
> [   45.341448] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1] disconnected
> [   45.341453] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1]
> [   45.341961] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
> [   45.341966] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1] disconnected
> [   45.341971] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2]
> [   45.346467] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
> [   45.346474] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2] disconnected
> [   45.346479] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2]
> [   45.346686] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
> [   45.346993] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.347199] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.347202] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.347508] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.347713] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.347717] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.348022] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.348227] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.348231] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.348537] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.348742] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.348745] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.349051] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.349257] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.349261] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.349568] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.349773] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.349776] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.350082] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.350288] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.350291] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.350598] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.350804] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.350807] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.351114] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.351319] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.351322] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.351628] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.351833] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
> [   45.351836] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
> [   45.351854] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2] probed modes :
> [   45.351861] [drm:drm_mode_debug_printmodeline], Modeline 45:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
> [   45.351867] [drm:drm_mode_debug_printmodeline], Modeline 43:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
> [   45.351874] [drm:drm_mode_debug_printmodeline], Modeline 42:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
> [   45.351881] [drm:drm_mode_debug_printmodeline], Modeline 44:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
> [   45.351888] [drm:drm_mode_debug_printmodeline], Modeline 41:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
> [   45.351892] [drm:drm_setup_crtcs],
> [   45.351897] [drm:drm_enable_connectors], connector 7 enabled? yes
> [   45.351901] [drm:drm_enable_connectors], connector 9 enabled? yes
> [   45.351904] [drm:drm_enable_connectors], connector 12 enabled? no
> [   45.351908] [drm:drm_enable_connectors], connector 14 enabled? no
> [   45.351912] [drm:drm_enable_connectors], connector 18 enabled? no
> [   45.351916] [drm:drm_enable_connectors], connector 20 enabled? yes
> [   45.351920] [drm:drm_target_preferred], looking for cmdline mode on connector 7
> [   45.351924] [drm:drm_target_preferred], looking for preferred mode on connector 7
> [   45.351927] [drm:drm_target_preferred], found mode 1280x1024
> [   45.351931] [drm:drm_target_preferred], looking for cmdline mode on connector 9
> [   45.351935] [drm:drm_target_preferred], looking for preferred mode on connector 9
> [   45.351938] [drm:drm_target_preferred], found mode 1920x1080
> [   45.351942] [drm:drm_target_preferred], looking for cmdline mode on connector 20
> [   45.351945] [drm:drm_target_preferred], looking for preferred mode on connector 20
> [   45.351949] [drm:drm_target_preferred], found mode 1024x768
> [   45.351953] [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config
> [   45.351962] [drm:drm_setup_crtcs], desired mode 1280x1024 set on crtc 3
> [   45.351967] [drm:drm_setup_crtcs], desired mode 1920x1080 set on crtc 4
> [   45.351987] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0
> 
> Thank you!
> 
> /mjt
> 
> 15.02.2014 22:28, Michael Tokarev wrote:
>> 10.02.2014 14:44, One Thousand Gnomes wrote:
>>>> fbcon is loaded so it isn't an issue.
>>>>
>>>> I tried 3.10 kernel initially (the above messages are from it), next
>>>> I tried 3.13 kernel too, and that one behaves exactly the same.
>>>>
>>>> As far as I remember, this system never worked with graphics well.
>>>> Previous kernel (from which I updated) was 3.2 which had no
>>>> gma500 module (local build).
>>>>
>>>> What are the steps to debug this further?
>>>
>>> Check you have X86_SYSFB and SIMPLEFB disabled
>>
>> Neither of these options exists in 3.10 config.  In 3.13 I had X86_SYSFB set
>> to y initially (SIMPLEFB doesn't exist there too), but setting it to n does
>> not make any difference.
>>
>>> Boot with drm.debug=6
>>>
>>> collect the logs
>>
>> I used `modprobe drm debug=6' (initially booting with gma500_gfx module
>> disabled), followed with `modprobe gma500_gfx'.  After loading module
>> the screen goes blank as before, and monitor says 'no signal detected'.
>>
>> Here are the logs:
>>
>> [599286.739923] Linux agpgart interface v0.103
>> [599286.765176] [drm] Initialized drm 1.1.0 20060810
>> [599303.673734] gma500 0000:00:02.0: setting latency timer to 64
>> [599303.673883] [drm:psb_intel_opregion_setup], Public ACPI methods supported
>> [599303.673887] [drm:psb_intel_opregion_setup], ASLE supported
>> [599303.673923] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
>> [599303.673950] [drm:psb_intel_init_bios], Using VBT from OpRegion: $VBT CEDARVIEW      d
>> [599303.673959] [drm:drm_mode_debug_printmodeline], Modeline 0:"1920x1080" 0 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
>> [599303.673969] [drm:parse_sdvo_device_mapping], No SDVO device info is found in VBT
>> [599303.673975] [drm:parse_edp], EDP timing in vbt t1_t3 2000 t8 10 t9 2000 t10 500 t11_t12 5000
>> [599303.673980] [drm:parse_edp], VBT reports EDP: Lane_count 1, Lane_rate 6, Bpp 24
>> [599303.673984] [drm:parse_edp], VBT reports EDP: VSwing  0, Preemph 0
>> [599303.688094] acpi device:29: registered as cooling_device2
>> [599303.688446] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
>> [599303.688557] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input11
>> [599303.689160] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
>> [599303.689188] [drm] No driver support for vblank timestamp query.
>> [599303.740423] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSDDC_C
>> [599303.741222] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-B
>> [599303.741732] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
>> [599303.741736] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
>> [599303.742242] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
>> [599303.742246] [drm:cdv_intel_dp_i2c_aux_ch], aux_ch failed -110
>> [599303.742997] [drm:cdv_intel_dp_i2c_init], i2c_init DPDDC-C
>> [599303.743305] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.743510] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.783922] [drm:cdv_intel_single_pipe_active], pipe enabled 0
>> [599303.803958] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
>> [599303.803996] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
>> [599303.844370] [drm:cdv_intel_single_pipe_active], pipe enabled 0
>> [599303.864408] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1]
>> [599303.877172] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:7:VGA-1] disconnected
>> [599303.877184] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1]
>> [599303.881764] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm LVDSBLC_B
>> [599303.881778] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:9:LVDS-1] probed modes :
>> [599303.881783] [drm:drm_mode_debug_printmodeline], Modeline 22:"1920x1080" 60 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
>> [599303.881791] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1]
>> [599303.886292] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
>> [599303.886298] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:12:DVI-D-1] disconnected
>> [599303.886304] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1]
>> [599303.886811] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
>> [599303.886815] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:14:DP-1] disconnected
>> [599303.886820] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2]
>> [599303.891350] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
>> [599303.891357] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:18:DVI-D-2] disconnected
>> [599303.891362] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2]
>> [599303.891569] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
>> [599303.891876] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.892082] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.892085] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.892391] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.892595] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.892598] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.892904] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.893109] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.893112] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.893417] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.893622] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.893625] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.893944] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.894151] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.894154] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.894460] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.894665] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.894669] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.894975] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.895180] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.895183] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.895489] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.895694] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.895697] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.896002] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.896207] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.896210] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.896515] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.896720] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599303.896723] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599303.896741] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:20:DP-2] probed modes :
>> [599303.896745] [drm:drm_mode_debug_printmodeline], Modeline 27:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
>> [599303.896752] [drm:drm_mode_debug_printmodeline], Modeline 25:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
>> [599303.896759] [drm:drm_mode_debug_printmodeline], Modeline 24:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
>> [599303.896766] [drm:drm_mode_debug_printmodeline], Modeline 26:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
>> [599303.896773] [drm:drm_mode_debug_printmodeline], Modeline 23:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
>> [599303.896780] [drm:drm_setup_crtcs],
>> [599303.896785] [drm:drm_enable_connectors], connector 7 enabled? no
>> [599303.896789] [drm:drm_enable_connectors], connector 9 enabled? yes
>> [599303.896792] [drm:drm_enable_connectors], connector 12 enabled? no
>> [599303.896796] [drm:drm_enable_connectors], connector 14 enabled? no
>> [599303.896800] [drm:drm_enable_connectors], connector 18 enabled? no
>> [599303.896803] [drm:drm_enable_connectors], connector 20 enabled? yes
>> [599303.896807] [drm:drm_target_preferred], looking for cmdline mode on connector 9
>> [599303.896811] [drm:drm_target_preferred], looking for preferred mode on connector 9
>> [599303.896815] [drm:drm_target_preferred], found mode 1920x1080
>> [599303.896818] [drm:drm_target_preferred], looking for cmdline mode on connector 20
>> [599303.896821] [drm:drm_target_preferred], looking for preferred mode on connector 20
>> [599303.896825] [drm:drm_target_preferred], found mode 1024x768
>> [599303.896828] [drm:drm_setup_crtcs], picking CRTCs for 4096x4096 config
>> [599303.896836] [drm:drm_setup_crtcs], desired mode 1920x1080 set on crtc 4
>> [599303.896841] [drm:drm_setup_crtcs], desired mode 1024x768 set on crtc 3
>> [599303.896862] [drm] Initialized gma500 1.0.0 2011-06-06 for 0000:00:02.0 on minor 0
>> [599546.148642] [drm:drm_helper_hpd_irq_event], [CONNECTOR:7:VGA-1] status updated from disconnected to connected
>> [599546.153261] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIB
>> [599546.153270] [drm:drm_helper_hpd_irq_event], [CONNECTOR:12:DVI-D-1] status updated from disconnected to disconnected
>> [599546.153779] [drm:cdv_intel_dp_aux_ch], dp_aux_ch timeout status 0x51440064
>> [599546.153783] [drm:drm_helper_hpd_irq_event], [CONNECTOR:14:DP-1] status updated from disconnected to disconnected
>> [599546.158258] [drm:drm_do_probe_ddc_edid], drm: skipping non-existent adapter intel drm HDMIC
>> [599546.158264] [drm:drm_helper_hpd_irq_event], [CONNECTOR:18:DVI-D-2] status updated from disconnected to disconnected
>> [599546.158471] [drm:cdv_dp_detect], DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
>> [599546.158780] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.158987] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.158991] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599546.159297] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.159502] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.159505] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599546.159810] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.160015] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.160018] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599546.160324] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.160528] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>> [599546.160531] [drm:i2c_algo_dp_aux_xfer], dp_aux_xfer return -121
>> [599546.160843] [drm:cdv_intel_dp_i2c_aux_ch], aux_i2c nack
>>
>> This is 3.10.29, monitor is connected to VGA connector.
>>
>> Thank you!
>>
>> /mjt
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2014-08-05 16:11       ` Michael Tokarev
@ 2014-08-05 16:15         ` Michael Tokarev
  2015-03-19 11:09           ` Michael Tokarev
  0 siblings, 1 reply; 16+ messages in thread
From: Michael Tokarev @ 2014-08-05 16:15 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

05.08.2014 20:11, Michael Tokarev wrote:
> Hello again.
> 
> It's been 4 more months since last message in this thread (which was mine).
> Now kernel 3.16 has been released, and I decided to give it a try.  And it
> behaves just like all previous kernels, -- once gma500_gfx module is loaded,
> screen goes blank, monitor turns off ("no signal detected") and nothing to
> be seen until reboot.
> 
> Can we try to debug this somehow, after more than half a year?... :)

Current debugging (by 3.16), after:

 modprobe drm debug=6
 modprobe gma500_gfx

on a freshly booted system:

[   46.463381] Linux agpgart interface v0.103
[   46.491487] [drm] Initialized drm 1.1.0 20060810
[   56.585520] [drm:psb_intel_opregion_setup] Public ACPI methods supported
[   56.585528] [drm:psb_intel_opregion_setup] ASLE supported
[   56.585563] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
[   56.585591] [drm:psb_intel_init_bios] Using VBT from OpRegion: $VBT CEDARVIEW      d
[   56.585604] [drm:drm_mode_debug_printmodeline] Modeline 0:"1920x1080" 0 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
[   56.585609] [drm:parse_sdvo_device_mapping] No SDVO device info is found in VBT
[   56.585617] [drm:parse_edp] EDP timing in vbt t1_t3 2000 t8 10 t9 2000 t10 500 t11_t12 5000
[   56.585621] [drm:parse_edp] VBT reports EDP: Lane_count 1, Lane_rate 6, Bpp 24
[   56.585624] [drm:parse_edp] VBT reports EDP: VSwing  0, Preemph 0
[   56.598203] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[   56.598902] acpi device:28: registered as cooling_device2
[   56.599109] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input11
[   56.599326] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   56.599366] [drm] No driver support for vblank timestamp query.
[   56.650918] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm LVDSDDC_C
[   56.651842] [drm:cdv_intel_dp_i2c_init] i2c_init DPDDC-B
[   56.652352] [drm:cdv_intel_dp_aux_ch] dp_aux_ch timeout status 0x51440064
[   56.652356] [drm:cdv_intel_dp_i2c_aux_ch] aux_ch failed -110
[   56.652863] [drm:cdv_intel_dp_aux_ch] dp_aux_ch timeout status 0x51440064
[   56.652866] [drm:cdv_intel_dp_i2c_aux_ch] aux_ch failed -110
[   56.653706] [drm:cdv_intel_dp_i2c_init] i2c_init DPDDC-C
[   56.654014] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.654223] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.714765] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[   56.714812] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
[   56.775220] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:10:VGA-1]
[   56.900606] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:10:VGA-1] probed modes :
[   56.900617] [drm:drm_mode_debug_printmodeline] Modeline 26:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
[   56.900624] [drm:drm_mode_debug_printmodeline] Modeline 36:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[   56.900630] [drm:drm_mode_debug_printmodeline] Modeline 29:"1280x1024" 72 132840 1280 1368 1504 1728 1024 1025 1028 1067 0x0 0x6
[   56.900637] [drm:drm_mode_debug_printmodeline] Modeline 28:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[   56.900643] [drm:drm_mode_debug_printmodeline] Modeline 37:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[   56.900649] [drm:drm_mode_debug_printmodeline] Modeline 38:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
[   56.900656] [drm:drm_mode_debug_printmodeline] Modeline 39:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[   56.900662] [drm:drm_mode_debug_printmodeline] Modeline 40:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[   56.900669] [drm:drm_mode_debug_printmodeline] Modeline 41:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[   56.900675] [drm:drm_mode_debug_printmodeline] Modeline 42:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[   56.900681] [drm:drm_mode_debug_printmodeline] Modeline 30:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[   56.900687] [drm:drm_mode_debug_printmodeline] Modeline 31:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[   56.900694] [drm:drm_mode_debug_printmodeline] Modeline 32:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
[   56.900700] [drm:drm_mode_debug_printmodeline] Modeline 33:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
[   56.900706] [drm:drm_mode_debug_printmodeline] Modeline 34:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[   56.900713] [drm:drm_mode_debug_printmodeline] Modeline 35:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[   56.900719] [drm:drm_mode_debug_printmodeline] Modeline 27:"640x350" 70 25170 640 656 752 800 350 387 389 449 0x40 0x9
[   56.900724] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:12:LVDS-1]
[   56.905268] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm LVDSBLC_B
[   56.905276] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:12:LVDS-1] probed modes :
[   56.905283] [drm:drm_mode_debug_printmodeline] Modeline 43:"1920x1080" 60 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
[   56.905288] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:15:DVI-D-1]
[   56.909759] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm HDMIB
[   56.909765] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:15:DVI-D-1] disconnected
[   56.909770] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:17:DP-1]
[   56.910277] [drm:cdv_intel_dp_aux_ch] dp_aux_ch timeout status 0x51440064
[   56.910281] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:17:DP-1] disconnected
[   56.910285] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:21:DVI-D-2]
[   56.914833] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm HDMIC
[   56.914839] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:21:DVI-D-2] disconnected
[   56.914844] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:23:DP-2]
[   56.915051] [drm:cdv_dp_detect] DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
[   56.915423] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.915630] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.915634] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.915940] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.916145] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.916149] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.916454] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.916659] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.916663] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.916969] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.917173] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.917176] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.917482] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.917686] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.917689] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.917996] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.918204] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.918209] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.918514] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.918719] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.918723] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.919028] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.919233] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.919237] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.919542] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.919747] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.919750] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.920055] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.920260] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
[   56.920263] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
[   56.920281] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:23:DP-2] probed modes :
[   56.920288] [drm:drm_mode_debug_printmodeline] Modeline 48:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[   56.920295] [drm:drm_mode_debug_printmodeline] Modeline 46:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[   56.920301] [drm:drm_mode_debug_printmodeline] Modeline 45:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[   56.920308] [drm:drm_mode_debug_printmodeline] Modeline 47:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
[   56.920314] [drm:drm_mode_debug_printmodeline] Modeline 44:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
[   56.920318] [drm:drm_setup_crtcs]
[   56.920324] [drm:drm_enable_connectors] connector 10 enabled? yes
[   56.920327] [drm:drm_enable_connectors] connector 12 enabled? yes
[   56.920331] [drm:drm_enable_connectors] connector 15 enabled? no
[   56.920335] [drm:drm_enable_connectors] connector 17 enabled? no
[   56.920338] [drm:drm_enable_connectors] connector 21 enabled? no
[   56.920342] [drm:drm_enable_connectors] connector 23 enabled? yes
[   56.920346] [drm:drm_target_preferred] looking for cmdline mode on connector 10
[   56.920349] [drm:drm_target_preferred] looking for preferred mode on connector 10
[   56.920353] [drm:drm_target_preferred] found mode 1280x1024
[   56.920356] [drm:drm_target_preferred] looking for cmdline mode on connector 12
[   56.920360] [drm:drm_target_preferred] looking for preferred mode on connector 12
[   56.920363] [drm:drm_target_preferred] found mode 1920x1080
[   56.920367] [drm:drm_target_preferred] looking for cmdline mode on connector 23
[   56.920370] [drm:drm_target_preferred] looking for preferred mode on connector 23
[   56.920373] [drm:drm_target_preferred] found mode 1024x768
[   56.920377] [drm:drm_setup_crtcs] picking CRTCs for 4096x4096 config
[   56.920388] [drm:drm_setup_crtcs] desired mode 1280x1024 set on crtc 5
[   56.920397] [drm:drm_setup_crtcs] desired mode 1920x1080 set on crtc 7
[   56.920417] [drm] Initialized gma500 1.0.0 20140314 for 0000:00:02.0 on minor 0

Thanks,

/mjt


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2014-08-05 16:15         ` Michael Tokarev
@ 2015-03-19 11:09           ` Michael Tokarev
  2015-03-19 11:28               ` Michael Tokarev
  2015-03-19 11:56             ` One Thousand Gnomes
  0 siblings, 2 replies; 16+ messages in thread
From: Michael Tokarev @ 2015-03-19 11:09 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

Half a year passed since my first email in this thread, and current kernels
(4.0-tobe) still does not work properly.  Meanwhile, I found this thread:
http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
which seems to help.  I wonder where they got these boot params from...

Thanks,

/mjt

05.08.2014 20:15, Michael Tokarev wrote:
> 05.08.2014 20:11, Michael Tokarev wrote:
>> Hello again.
>>
>> It's been 4 more months since last message in this thread (which was mine).
>> Now kernel 3.16 has been released, and I decided to give it a try.  And it
>> behaves just like all previous kernels, -- once gma500_gfx module is loaded,
>> screen goes blank, monitor turns off ("no signal detected") and nothing to
>> be seen until reboot.
>>
>> Can we try to debug this somehow, after more than half a year?... :)
> 
> Current debugging (by 3.16), after:
> 
>  modprobe drm debug=6
>  modprobe gma500_gfx
> 
> on a freshly booted system:
> 
> [   46.463381] Linux agpgart interface v0.103
> [   46.491487] [drm] Initialized drm 1.1.0 20060810
> [   56.585520] [drm:psb_intel_opregion_setup] Public ACPI methods supported
> [   56.585528] [drm:psb_intel_opregion_setup] ASLE supported
> [   56.585563] gma500 0000:00:02.0: irq 50 for MSI/MSI-X
> [   56.585591] [drm:psb_intel_init_bios] Using VBT from OpRegion: $VBT CEDARVIEW      d
> [   56.585604] [drm:drm_mode_debug_printmodeline] Modeline 0:"1920x1080" 0 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
> [   56.585609] [drm:parse_sdvo_device_mapping] No SDVO device info is found in VBT
> [   56.585617] [drm:parse_edp] EDP timing in vbt t1_t3 2000 t8 10 t9 2000 t10 500 t11_t12 5000
> [   56.585621] [drm:parse_edp] VBT reports EDP: Lane_count 1, Lane_rate 6, Bpp 24
> [   56.585624] [drm:parse_edp] VBT reports EDP: VSwing  0, Preemph 0
> [   56.598203] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
> [   56.598902] acpi device:28: registered as cooling_device2
> [   56.599109] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input11
> [   56.599326] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [   56.599366] [drm] No driver support for vblank timestamp query.
> [   56.650918] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm LVDSDDC_C
> [   56.651842] [drm:cdv_intel_dp_i2c_init] i2c_init DPDDC-B
> [   56.652352] [drm:cdv_intel_dp_aux_ch] dp_aux_ch timeout status 0x51440064
> [   56.652356] [drm:cdv_intel_dp_i2c_aux_ch] aux_ch failed -110
> [   56.652863] [drm:cdv_intel_dp_aux_ch] dp_aux_ch timeout status 0x51440064
> [   56.652866] [drm:cdv_intel_dp_i2c_aux_ch] aux_ch failed -110
> [   56.653706] [drm:cdv_intel_dp_i2c_init] i2c_init DPDDC-C
> [   56.654014] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.654223] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.714765] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
> [   56.714812] gma500 0000:00:02.0: trying to get vblank count for disabled pipe 1
> [   56.775220] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:10:VGA-1]
> [   56.900606] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:10:VGA-1] probed modes :
> [   56.900617] [drm:drm_mode_debug_printmodeline] Modeline 26:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x48 0x5
> [   56.900624] [drm:drm_mode_debug_printmodeline] Modeline 36:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
> [   56.900630] [drm:drm_mode_debug_printmodeline] Modeline 29:"1280x1024" 72 132840 1280 1368 1504 1728 1024 1025 1028 1067 0x0 0x6
> [   56.900637] [drm:drm_mode_debug_printmodeline] Modeline 28:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
> [   56.900643] [drm:drm_mode_debug_printmodeline] Modeline 37:"1024x768" 75 78800 1024 1040 1136 1312 768 769 772 800 0x40 0x5
> [   56.900649] [drm:drm_mode_debug_printmodeline] Modeline 38:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
> [   56.900656] [drm:drm_mode_debug_printmodeline] Modeline 39:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
> [   56.900662] [drm:drm_mode_debug_printmodeline] Modeline 40:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
> [   56.900669] [drm:drm_mode_debug_printmodeline] Modeline 41:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
> [   56.900675] [drm:drm_mode_debug_printmodeline] Modeline 42:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
> [   56.900681] [drm:drm_mode_debug_printmodeline] Modeline 30:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
> [   56.900687] [drm:drm_mode_debug_printmodeline] Modeline 31:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
> [   56.900694] [drm:drm_mode_debug_printmodeline] Modeline 32:"640x480" 73 31500 640 664 704 832 480 489 491 520 0x40 0xa
> [   56.900700] [drm:drm_mode_debug_printmodeline] Modeline 33:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
> [   56.900706] [drm:drm_mode_debug_printmodeline] Modeline 34:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
> [   56.900713] [drm:drm_mode_debug_printmodeline] Modeline 35:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
> [   56.900719] [drm:drm_mode_debug_printmodeline] Modeline 27:"640x350" 70 25170 640 656 752 800 350 387 389 449 0x40 0x9
> [   56.900724] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:12:LVDS-1]
> [   56.905268] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm LVDSBLC_B
> [   56.905276] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:12:LVDS-1] probed modes :
> [   56.905283] [drm:drm_mode_debug_printmodeline] Modeline 43:"1920x1080" 60 144000 1920 2016 2080 2176 1080 1088 1092 1100 0x8 0xa
> [   56.905288] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:15:DVI-D-1]
> [   56.909759] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm HDMIB
> [   56.909765] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:15:DVI-D-1] disconnected
> [   56.909770] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:17:DP-1]
> [   56.910277] [drm:cdv_intel_dp_aux_ch] dp_aux_ch timeout status 0x51440064
> [   56.910281] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:17:DP-1] disconnected
> [   56.910285] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:21:DVI-D-2]
> [   56.914833] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent adapter intel drm HDMIC
> [   56.914839] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:21:DVI-D-2] disconnected
> [   56.914844] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:23:DP-2]
> [   56.915051] [drm:cdv_dp_detect] DPCD: Rev=11 LN_Rate=a LN_CNT=82 LN_DOWNSP=41
> [   56.915423] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.915630] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.915634] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.915940] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.916145] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.916149] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.916454] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.916659] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.916663] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.916969] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.917173] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.917176] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.917482] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.917686] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.917689] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.917996] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.918204] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.918209] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.918514] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.918719] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.918723] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.919028] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.919233] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.919237] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.919542] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.919747] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.919750] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.920055] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.920260] [drm:cdv_intel_dp_i2c_aux_ch] aux_i2c nack
> [   56.920263] [drm:i2c_algo_dp_aux_xfer] dp_aux_xfer return -121
> [   56.920281] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:23:DP-2] probed modes :
> [   56.920288] [drm:drm_mode_debug_printmodeline] Modeline 48:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
> [   56.920295] [drm:drm_mode_debug_printmodeline] Modeline 46:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
> [   56.920301] [drm:drm_mode_debug_printmodeline] Modeline 45:"800x600" 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
> [   56.920308] [drm:drm_mode_debug_printmodeline] Modeline 47:"848x480" 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5
> [   56.920314] [drm:drm_mode_debug_printmodeline] Modeline 44:"640x480" 60 25175 640 656 752 800 480 489 492 525 0x40 0xa
> [   56.920318] [drm:drm_setup_crtcs]
> [   56.920324] [drm:drm_enable_connectors] connector 10 enabled? yes
> [   56.920327] [drm:drm_enable_connectors] connector 12 enabled? yes
> [   56.920331] [drm:drm_enable_connectors] connector 15 enabled? no
> [   56.920335] [drm:drm_enable_connectors] connector 17 enabled? no
> [   56.920338] [drm:drm_enable_connectors] connector 21 enabled? no
> [   56.920342] [drm:drm_enable_connectors] connector 23 enabled? yes
> [   56.920346] [drm:drm_target_preferred] looking for cmdline mode on connector 10
> [   56.920349] [drm:drm_target_preferred] looking for preferred mode on connector 10
> [   56.920353] [drm:drm_target_preferred] found mode 1280x1024
> [   56.920356] [drm:drm_target_preferred] looking for cmdline mode on connector 12
> [   56.920360] [drm:drm_target_preferred] looking for preferred mode on connector 12
> [   56.920363] [drm:drm_target_preferred] found mode 1920x1080
> [   56.920367] [drm:drm_target_preferred] looking for cmdline mode on connector 23
> [   56.920370] [drm:drm_target_preferred] looking for preferred mode on connector 23
> [   56.920373] [drm:drm_target_preferred] found mode 1024x768
> [   56.920377] [drm:drm_setup_crtcs] picking CRTCs for 4096x4096 config
> [   56.920388] [drm:drm_setup_crtcs] desired mode 1280x1024 set on crtc 5
> [   56.920397] [drm:drm_setup_crtcs] desired mode 1920x1080 set on crtc 7
> [   56.920417] [drm] Initialized gma500 1.0.0 20140314 for 0000:00:02.0 on minor 0
> 
> Thanks,
> 
> /mjt
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2015-03-19 11:09           ` Michael Tokarev
@ 2015-03-19 11:28               ` Michael Tokarev
  2015-03-19 11:56             ` One Thousand Gnomes
  1 sibling, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2015-03-19 11:28 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

19.03.2015 14:09, Michael Tokarev wrote:
> Half a year passed since my first email in this thread, and current kernels

Actually it was more than a year, since Feb-2014 ;)

> (4.0-tobe) still does not work properly.  Meanwhile, I found this thread:
> http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
> which seems to help.  I wonder where they got these boot params from...
> 
> Thanks,
> 
> /mjt


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
@ 2015-03-19 11:28               ` Michael Tokarev
  0 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2015-03-19 11:28 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

19.03.2015 14:09, Michael Tokarev wrote:
> Half a year passed since my first email in this thread, and current kernels

Actually it was more than a year, since Feb-2014 ;)

> (4.0-tobe) still does not work properly.  Meanwhile, I found this thread:
> http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
> which seems to help.  I wonder where they got these boot params from...
> 
> Thanks,
> 
> /mjt

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

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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2015-03-19 11:09           ` Michael Tokarev
  2015-03-19 11:28               ` Michael Tokarev
@ 2015-03-19 11:56             ` One Thousand Gnomes
  2015-03-19 19:48               ` Michael Tokarev
  2015-04-02 11:11                 ` Michael Tokarev
  1 sibling, 2 replies; 16+ messages in thread
From: One Thousand Gnomes @ 2015-03-19 11:56 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: Linux-kernel, dri-devel

On Thu, 19 Mar 2015 14:09:29 +0300
Michael Tokarev <mjt@tls.msk.ru> wrote:

> Half a year passed since my first email in this thread, and current kernels
> (4.0-tobe) still does not work properly.  Meanwhile, I found this thread:
> http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
> which seems to help.  I wonder where they got these boot params from...
> 

Its one of the standard suggestions for dealing with wonky DRM I think.

If that makes the difference on your box can you send me a dmidecode of
it, and I'll see if we can at least teach the driver that the 2500CC
needs LVDS enabled regardless of what the BIOS reports.


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2015-03-19 11:56             ` One Thousand Gnomes
@ 2015-03-19 19:48               ` Michael Tokarev
  2015-03-19 20:05                 ` One Thousand Gnomes
  2015-04-02 11:11                 ` Michael Tokarev
  1 sibling, 1 reply; 16+ messages in thread
From: Michael Tokarev @ 2015-03-19 19:48 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

19.03.2015 14:56, One Thousand Gnomes wrote:
> On Thu, 19 Mar 2015 14:09:29 +0300
> Michael Tokarev <mjt@tls.msk.ru> wrote:
> 
>> Half a year passed since my first email in this thread, and current kernels
>> (4.0-tobe) still does not work properly.  Meanwhile, I found this thread:
>> http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
>> which seems to help.  I wonder where they got these boot params from...
> 
> Its one of the standard suggestions for dealing with wonky DRM I think.
> 
> If that makes the difference on your box can you send me a dmidecode of
> it, and I'll see if we can at least teach the driver that the 2500CC
> needs LVDS enabled regardless of what the BIOS reports.

I think you mean disable, not enable, since this is (again, I think) what
video=LVDS-1:d kernel boot parameter does.

Yes, with video=LVDS-1:d boot parameter, kernel boots fine and there is
graphics/video output on the screen, with the following message from kernel
when loading gma500_gfx:

[    6.472859] [drm] forcing LVDS-1 connector OFF

(and a few others).

There's one funky thing still -- the screen size is not calculated correctly
for the text (vga, d-sub) console, last text line is placed at about 3/4 of
the screen size, with the rest - 1/4 - of the screen being blank.

However, X seems to work fine, using generic modesetting driver.

Below is dmidecode output.

Thanks,

/mjt

===========================================================
# dmidecode 2.12
SMBIOS 2.7 present.
27 structures occupying 1491 bytes.
Table at 0x000EB920.

Handle 0x0000, DMI type 4, 42 bytes
Processor Information
	Socket Designation: CPU 1
	Type: Central Processor
	Family: Other
	Manufacturer: Intel(R) Corporation
	ID: 61 06 03 00 FF FB EB BF
	Version: Intel(R) Atom(TM) CPU D2500   @ 1.86GHz
	Voltage: 1.1 V
	External Clock: 133 MHz
	Max Speed: 4000 MHz
	Current Speed: 1868 MHz
	Status: Populated, Enabled
	Upgrade: None
	L1 Cache Handle: 0x0003
	L2 Cache Handle: 0x0001
	L3 Cache Handle: Not Provided
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified
	Core Count: 2
	Core Enabled: 2
	Thread Count: 1
	Characteristics:
		64-bit capable
		Multi-Core
		Execute Protection

Handle 0x0001, DMI type 7, 19 bytes
Cache Information
	Socket Designation: Unknown
	Configuration: Enabled, Not Socketed, Level 2
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 512 kB
	Maximum Size: 512 kB
	Supported SRAM Types:
		Asynchronous
	Installed SRAM Type: Asynchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Data
	Associativity: 8-way Set-associative

Handle 0x0002, DMI type 7, 19 bytes
Cache Information
	Socket Designation: Unknown
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 32 kB
	Maximum Size: 32 kB
	Supported SRAM Types:
		Asynchronous
	Installed SRAM Type: Asynchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Instruction
	Associativity: 8-way Set-associative

Handle 0x0003, DMI type 7, 19 bytes
Cache Information
	Socket Designation: Unknown
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Write Back
	Location: Internal
	Installed Size: 24 kB
	Maximum Size: 24 kB
	Supported SRAM Types:
		Asynchronous
	Installed SRAM Type: Asynchronous
	Speed: Unknown
	Error Correction Type: Single-bit ECC
	System Type: Data
	Associativity: 32-way Set-associative

Handle 0x0004, DMI type 0, 24 bytes
BIOS Information
	Vendor: Intel Corp.
	Version: CCCDT10N.86A.0039.2013.0425.1625
	Release Date: 04/25/2013
	Address: 0xF0000
	Runtime Size: 64 kB
	ROM Size: 2048 kB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		ATAPI Zip drive boot is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 0.0
	Firmware Revision: 0.0

Handle 0x0005, DMI type 1, 27 bytes
System Information
	Manufacturer:
	Product Name:
	Version:
	Serial Number:
	UUID: 3C0B362E-E80B-E111-BB21-000EA68F75B9
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family: Not Specified

Handle 0x0006, DMI type 2, 20 bytes
Base Board Information
	Manufacturer: Intel Corporation
	Product Name: D2500CC
	Version: AAG43156-301
	Serial Number: BQCC146000RT
	Asset Tag: Base Board Asset Tag
	Features:
		Board is a hosting board
		Board is replaceable
	Location In Chassis: Base Board Chassis Location
	Chassis Handle: 0x0007
	Type: Unknown
	Contained Object Handles: 0

Handle 0x0007, DMI type 3, 22 bytes
Chassis Information
	Manufacturer:
	Type: Desktop
	Lock: Not Present
	Version:
	Serial Number:
	Asset Tag:
	Boot-up State: Safe
	Power Supply State: Safe
	Thermal State: Other
	Security Status: Other
	OEM Information: 0x00000000
	Height: Unspecified
	Number Of Power Cords: Unspecified
	Contained Elements: 0
	SKU Number: Not Specified

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: PRIMARY
	Internal Connector Type: On Board IDE
	External Reference Designator: Not Specified
	External Connector Type: None
	Port Type: Other

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: SECONDARY
	Internal Connector Type: On Board IDE
	External Reference Designator: Not Specified
	External Connector Type: None
	Port Type: Other

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
	Internal Reference Designator: ATX_PWR
	Internal Connector Type: Other
	External Reference Designator: Not Specified
	External Connector Type: None
	Port Type: Other

Handle 0x000B, DMI type 9, 17 bytes
System Slot Information
	Designation: PCIE X1 SLOT 1
	Type: x1 PCI Express
	Current Usage: Available
	Length: Short
	ID: 2
	Characteristics:
		3.3 V is provided
		PME signal is supported
		SMBus signal is supported
	Bus Address: 0000:00:00.0

Handle 0x000C, DMI type 9, 17 bytes
System Slot Information
	Designation: PCI SLOT 1
	Type: 32-bit PCI
	Current Usage: Available
	Length: Long
	ID: 1
	Characteristics:
		3.3 V is provided
		PME signal is supported
		SMBus signal is supported
	Bus Address: 0000:00:00.0

Handle 0x000D, DMI type 10, 6 bytes
On Board Device Information
	Type: Video
	Status: Enabled
	Description: Intel(R) GMA 3600 Video Device

Handle 0x000E, DMI type 10, 6 bytes
On Board Device Information
	Type: Ethernet
	Status: Enabled
	Description: Intel(R) 82574L Gigabit Ethernet Device

Handle 0x000F, DMI type 10, 6 bytes
On Board Device Information
	Type: Sound
	Status: Disabled
	Description: Intel(R) High Definition Audio Device

Handle 0x0010, DMI type 41, 11 bytes
Onboard Device
	Reference Designation: Intel(R) GMA 3600 Video Device
	Type: Video
	Status: Enabled
	Type Instance: 0
	Bus Address: 0000:00:02.0

Handle 0x0011, DMI type 41, 11 bytes
Onboard Device
	Reference Designation: Intel(R) 82574L Gigabit Ethernet Device
	Type: Ethernet
	Status: Enabled
	Type Instance: 0
	Bus Address: 0000:01:00.0

Handle 0x0012, DMI type 41, 11 bytes
Onboard Device
	Reference Designation: Intel(R) High Definition Audio Device
	Type: Sound
	Status: Disabled
	Type Instance: 0
	Bus Address: 0000:00:1b.0

Handle 0x0013, DMI type 13, 22 bytes
BIOS Language Information
	Language Description Format: Abbreviated
	Installable Languages: 1
		enUS
	Currently Installed Language: enUS

Handle 0x0014, DMI type 32, 20 bytes
System Boot Information
	Status: No errors detected

Handle 0x0015, DMI type 16, 23 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: None
	Maximum Capacity: 4 GB
	Error Information Handle: Not Provided
	Number Of Devices: 2

Handle 0x0016, DMI type 17, 34 bytes
Memory Device
	Array Handle: 0x0015
	Error Information Handle: Not Provided
	Total Width: Unknown
	Data Width: Unknown
	Size: No Module Installed
	Form Factor: DIMM
	Set: None
	Locator: SO DIMM 0
	Bank Locator: Channel A DIMM0
	Type: Unknown
	Type Detail: Synchronous
	Speed: Unknown
	Manufacturer: NO DIMM
	Serial Number: NO DIMM
	Asset Tag: NO DIMM
	Part Number: NO DIMM
	Rank: Unknown
	Configured Clock Speed: Unknown

Handle 0x0017, DMI type 17, 34 bytes
Memory Device
	Array Handle: 0x0015
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 1024 MB
	Form Factor: DIMM
	Set: None
	Locator: SO DIMM 1
	Bank Locator: Channel A DIMM1
	Type: DDR3
	Type Detail: Synchronous
	Speed: 1066 MHz
	Manufacturer: 0x0000000000000000
	Serial Number: 0x00000000
	Asset Tag: Unknown
	Part Number: 0x000000000000000000000000000000000000
	Rank: Unknown
	Configured Clock Speed: 1066 MHz

Handle 0x0018, DMI type 20, 35 bytes
Memory Device Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0003FFFFFFF
	Range Size: 1 GB
	Physical Device Handle: 0x0017
	Memory Array Mapped Address Handle: 0x0019
	Partition Row Position: 1

Handle 0x0019, DMI type 19, 31 bytes
Memory Array Mapped Address
	Starting Address: 0x00000000000
	Ending Address: 0x0003FFFFFFF
	Range Size: 1 GB
	Physical Array Handle: 0x0015
	Partition Width: 2

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table


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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2015-03-19 19:48               ` Michael Tokarev
@ 2015-03-19 20:05                 ` One Thousand Gnomes
  2015-03-20  9:34                     ` Michael Tokarev
  0 siblings, 1 reply; 16+ messages in thread
From: One Thousand Gnomes @ 2015-03-19 20:05 UTC (permalink / raw)
  To: Michael Tokarev; +Cc: Linux-kernel, dri-devel

> Yes, with video=LVDS-1:d boot parameter, kernel boots fine and there is
> graphics/video output on the screen, with the following message from kernel
> when loading gma500_gfx:
> 
> [    6.472859] [drm] forcing LVDS-1 connector OFF
> 
> (and a few others).
> 
> There's one funky thing still -- the screen size is not calculated correctly
> for the text (vga, d-sub) console, last text line is placed at about 3/4 of
> the screen size, with the rest - 1/4 - of the screen being blank.

I've seen that in one other case, where what was in fact happening was
that forcing the connector "off" was actually effectively leaving it as
the BIOS set it. What happens if you then use xrandr to change the
display sizes ?

Alan

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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2015-03-19 20:05                 ` One Thousand Gnomes
@ 2015-03-20  9:34                     ` Michael Tokarev
  0 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2015-03-20  9:34 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

19.03.2015 23:05, One Thousand Gnomes wrote:
>> Yes, with video=LVDS-1:d boot parameter, kernel boots fine and there is
>> graphics/video output on the screen, with the following message from kernel
>> when loading gma500_gfx:
>>
>> [    6.472859] [drm] forcing LVDS-1 connector OFF
>>
>> (and a few others).
>>
>> There's one funky thing still -- the screen size is not calculated correctly
>> for the text (vga, d-sub) console, last text line is placed at about 3/4 of
>> the screen size, with the rest - 1/4 - of the screen being blank.
> 
> I've seen that in one other case, where what was in fact happening was
> that forcing the connector "off" was actually effectively leaving it as
> the BIOS set it.

When I use LVDS-1:d in the kernel command line, that connector is not shown
by utilities such as xrandr, at all.  There is, however, another connector,
named LVDS-0, and are also DVI-0, DVI-1, and DisplayPort-0, DisplayPort-1,
while this mobo only have DVI & D-SUB (and LVDS soldered on board too) and
no DP.  At least as far as I can see.  So at least one LVDS connector is
shown anyway (LVDS-0, not LVDS-1), and that one is "not connected".

Besides, DisplayPort-1 is shown as "connected" by xrandr, with monitor set
to 1024x768 mode, -- I think this is why the text VGA size is calculated
wrong.. Lemme see...

..nope.  Adding video=DisplayPort-1:d to the kernel command line (in
addition to video=LVDS-1:d) makes no difference, DisplayPort-1 is still
shown by xrandr as connected @1024x768.

>     What happens if you then use xrandr to change the
> display sizes ?

X11 works fine as far as I can see.  Xrandr works and changes video modes.
Once I switch from X back to the text console the text size occupes 3/4 of
the screen only, as if the monitor was smaller.

I wonder if it will work with more than one monitor... ;)  I'll try hopefully
today.

Thanks,

/mjt

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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
@ 2015-03-20  9:34                     ` Michael Tokarev
  0 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2015-03-20  9:34 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

19.03.2015 23:05, One Thousand Gnomes wrote:
>> Yes, with video=LVDS-1:d boot parameter, kernel boots fine and there is
>> graphics/video output on the screen, with the following message from kernel
>> when loading gma500_gfx:
>>
>> [    6.472859] [drm] forcing LVDS-1 connector OFF
>>
>> (and a few others).
>>
>> There's one funky thing still -- the screen size is not calculated correctly
>> for the text (vga, d-sub) console, last text line is placed at about 3/4 of
>> the screen size, with the rest - 1/4 - of the screen being blank.
> 
> I've seen that in one other case, where what was in fact happening was
> that forcing the connector "off" was actually effectively leaving it as
> the BIOS set it.

When I use LVDS-1:d in the kernel command line, that connector is not shown
by utilities such as xrandr, at all.  There is, however, another connector,
named LVDS-0, and are also DVI-0, DVI-1, and DisplayPort-0, DisplayPort-1,
while this mobo only have DVI & D-SUB (and LVDS soldered on board too) and
no DP.  At least as far as I can see.  So at least one LVDS connector is
shown anyway (LVDS-0, not LVDS-1), and that one is "not connected".

Besides, DisplayPort-1 is shown as "connected" by xrandr, with monitor set
to 1024x768 mode, -- I think this is why the text VGA size is calculated
wrong.. Lemme see...

..nope.  Adding video=DisplayPort-1:d to the kernel command line (in
addition to video=LVDS-1:d) makes no difference, DisplayPort-1 is still
shown by xrandr as connected @1024x768.

>     What happens if you then use xrandr to change the
> display sizes ?

X11 works fine as far as I can see.  Xrandr works and changes video modes.
Once I switch from X back to the text console the text size occupes 3/4 of
the screen only, as if the monitor was smaller.

I wonder if it will work with more than one monitor... ;)  I'll try hopefully
today.

Thanks,

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

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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
  2015-03-19 11:56             ` One Thousand Gnomes
@ 2015-04-02 11:11                 ` Michael Tokarev
  2015-04-02 11:11                 ` Michael Tokarev
  1 sibling, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2015-04-02 11:11 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

19.03.2015 14:56, One Thousand Gnomes wrote:
> On Thu, 19 Mar 2015 14:09:29 +0300
> Michael Tokarev <mjt@tls.msk.ru> wrote:
> 
>> Half a year passed since my first email in this thread, and current kernels
>> (4.0-tobe) still does not work properly.  Meanwhile, I found this thread:
>> http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
>> which seems to help.  I wonder where they got these boot params from...
>>
> 
> Its one of the standard suggestions for dealing with wonky DRM I think.
> 
> If that makes the difference on your box can you send me a dmidecode of
> it, and I'll see if we can at least teach the driver that the 2500CC
> needs LVDS enabled regardless of what the BIOS reports.

Ok. actually this is not so simple.

Yes, LVDS:d makes a difference.  Namely, it enables monitor connected to
VGA-0 to function.

But once I plug in a digital monitor (DVI-0), screen goes blank when loading
the module again, and this time, it does not matter whenever I specify any
video= options (trying to disable any combinations of listed adaptors),
screen is always blank.

So basically the thing is still unusable.  Because d-sub connection isn't
stable (picture "trembles" depending on the cable and environment conditions),
while digital option does not work.

In bios, there's an option to ENable LVDS (it is disabled by default) and
once enabled, to make it primary or secondary (with either automatically
or manually choosen secondary/primary, being d-sub or dvi).  When I enable
LVDS with any other monitor in bios, the thing does not work again, the
same way (screen goes blank once the module is loaded), but now d-sub/vga
monitor does not work too.

Ouf of curiocity I tried to run windows7 on this machine.  Apparently it
works with dvi monitor just fine and supports configuration with 2 monitors.
Maybe they have some quirks in the drivers, I dunno...

Thanks,

/mjt

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

* Re: screen goes blank when loading gma500_gfx (atom D2500)
@ 2015-04-02 11:11                 ` Michael Tokarev
  0 siblings, 0 replies; 16+ messages in thread
From: Michael Tokarev @ 2015-04-02 11:11 UTC (permalink / raw)
  To: One Thousand Gnomes; +Cc: Linux-kernel, dri-devel

19.03.2015 14:56, One Thousand Gnomes wrote:
> On Thu, 19 Mar 2015 14:09:29 +0300
> Michael Tokarev <mjt@tls.msk.ru> wrote:
> 
>> Half a year passed since my first email in this thread, and current kernels
>> (4.0-tobe) still does not work properly.  Meanwhile, I found this thread:
>> http://www.linuxquestions.org/questions/slackware-installation-40/black-screen-on-intel-desktopboard-d2500cc-4175503983/
>> which seems to help.  I wonder where they got these boot params from...
>>
> 
> Its one of the standard suggestions for dealing with wonky DRM I think.
> 
> If that makes the difference on your box can you send me a dmidecode of
> it, and I'll see if we can at least teach the driver that the 2500CC
> needs LVDS enabled regardless of what the BIOS reports.

Ok. actually this is not so simple.

Yes, LVDS:d makes a difference.  Namely, it enables monitor connected to
VGA-0 to function.

But once I plug in a digital monitor (DVI-0), screen goes blank when loading
the module again, and this time, it does not matter whenever I specify any
video= options (trying to disable any combinations of listed adaptors),
screen is always blank.

So basically the thing is still unusable.  Because d-sub connection isn't
stable (picture "trembles" depending on the cable and environment conditions),
while digital option does not work.

In bios, there's an option to ENable LVDS (it is disabled by default) and
once enabled, to make it primary or secondary (with either automatically
or manually choosen secondary/primary, being d-sub or dvi).  When I enable
LVDS with any other monitor in bios, the thing does not work again, the
same way (screen goes blank once the module is loaded), but now d-sub/vga
monitor does not work too.

Ouf of curiocity I tried to run windows7 on this machine.  Apparently it
works with dvi monitor just fine and supports configuration with 2 monitors.
Maybe they have some quirks in the drivers, I dunno...

Thanks,

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

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

end of thread, other threads:[~2015-04-02 11:14 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-08 19:56 screen goes blank when loading gma500_gfx (atom D2500) Michael Tokarev
2014-02-10 10:44 ` One Thousand Gnomes
2014-02-15 18:28   ` Michael Tokarev
2014-04-05  8:15     ` Michael Tokarev
2014-08-05 16:11       ` Michael Tokarev
2014-08-05 16:15         ` Michael Tokarev
2015-03-19 11:09           ` Michael Tokarev
2015-03-19 11:28             ` Michael Tokarev
2015-03-19 11:28               ` Michael Tokarev
2015-03-19 11:56             ` One Thousand Gnomes
2015-03-19 19:48               ` Michael Tokarev
2015-03-19 20:05                 ` One Thousand Gnomes
2015-03-20  9:34                   ` Michael Tokarev
2015-03-20  9:34                     ` Michael Tokarev
2015-04-02 11:11               ` Michael Tokarev
2015-04-02 11:11                 ` Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.