Opened 21 months ago

Last modified 3 weeks ago

#13669 new bug

Intel HD Graphics 2500 black screen

Reported by: vidrep Owned by: kallisti5
Priority: normal Milestone: R1/beta2
Component: Drivers/Graphics/intel_extreme Version: R1/Development
Keywords: IvyBridge Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev51365 x86_gcc2 and x86_64 HP Elite 8300 SFF Desktop Name: Intel HD Graphics 2500 Model: Ivy Bridge GT1 Device ID: 8086:0152

Black screen on VGA and DisplayPort

Attachments (11)

listdev (46.3 KB) - added by vidrep 21 months ago.
syslog (128.8 KB) - added by vidrep 21 months ago.
dmidecode (22.8 KB) - added by vidrep 21 months ago.
VESA.png (20.3 KB) - added by vidrep 9 months ago.
serial.txt (129.8 KB) - added by vidrep 9 months ago.
syslog_new.txt (165.4 KB) - added by vidrep 9 months ago.
syslog_patch2.txt (141.3 KB) - added by vidrep 9 months ago.
syslog_patch_3.txt (141.3 KB) - added by vidrep 9 months ago.
Intel_8086:0152.txt (144.7 KB) - added by vidrep 8 months ago.
intel_extreme_HDMI_hrev52726.txt (10.0 KB) - added by kallisti5 3 months ago.
hrev52726 x86_64 syslog. HDMI display black screen.
syslog.2 (356.5 KB) - added by vidrep 3 weeks ago.

Download all attachments as: .zip

Change History (32)

Changed 21 months ago by vidrep

Attachment: listdev added

comment:1 Changed 21 months ago by vidrep

Has a Patch: set

Changed 21 months ago by vidrep

Attachment: syslog added

Changed 21 months ago by vidrep

Attachment: dmidecode added

comment:2 Changed 20 months ago by pulkomandy

Has a Patch: unset

comment:3 Changed 9 months ago by vidrep

Component: Drivers/GraphicsDrivers/Graphics/intel_extreme
Owner: changed from nobody to kallisti5

comment:4 Changed 9 months ago by vidrep

In this particular case, the native resolution of the monitor (1680x1050) is supported by the VESA driver.

Changed 9 months ago by vidrep

Attachment: VESA.png added

comment:5 Changed 9 months ago by pulkomandy

1822	KERN: intel_extreme: compute_dpll_g4x: required MHz: 146.25
1823	KERN: intel_extreme: PLL limits, min: p 5 (p1 2, p2 14), n 1, m 79 (m1 12, m2 5)
1824	KERN: intel_extreme: PLL limits, max: p 80 (p1 8, p2 14), n 3, m 118 (m1 22, m2 9)
1825	KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/net/ipro1000
1826	KERN: intel_extreme: compute_dpll_g4x: best MHz: 124.571 (error: 21.6786)
1827	KERN: intel_extreme: compute_pll_divisors: found: p = 28 (p1 = 2, p2 = 14), n = 3, m = 109 (m1 = 18, m2 = 7)

Not a very good match…

comment:7 Changed 9 months ago by vidrep

Attached is a serial log that i grabbed using a serial null cable. I hope it's of some use.

Changed 9 months ago by vidrep

Attachment: serial.txt added

comment:8 Changed 9 months ago by vidrep

I built the intel_extreme driver and accelerant using the patch on Gerrit. These were placed in non-packaged, and the system drivers blacklisted. Unfortunately, still a black screen. I have attached the syslog_new.txt for the modified files.

Changed 9 months ago by vidrep

Attachment: syslog_new.txt added

comment:9 Changed 9 months ago by pulkomandy

2140	KERN: intel_extreme: PLL limits, min: p 5 (p1 2, p2 14), n 3, m 79 (m1 12, m2 5)
2141	KERN:   Shared Option[0]: full-duplex
2142	KERN: intel_extreme: PLL limits, max: p 80 (p1 8, p2 14), n 8, m 118 (m1 22, m2 9)
2143	KERN: ifmedia_add: Adding Entry...
2144	KERN: intel_extreme: compute_dpll_g4x: best MHz: 124.286 (error: 21.9643)
2145	KERN:   Type: Ethernet
2146	KERN: intel_extreme: compute_pll_divisors: found: p = 28 (p1 = 2, p2 = 14), n = 3, m = 87 (m1 = 14, m2 = 5)

This is only marginally better (we are still only managing to get a 124.286MHz pixel clock when we need 146.25MHz), so we are way off and all timings will be 15-20% lower than expected. I suspect now there is a problem with another constraint (one not mentionned in the logs), because with m=103 we would get much closer:

clock = ref * m / (n * p)

120 * 102 / (3 * 28) = 145.71MHz, about 0.5MHz off-target, is 40 times better.

I will check the VCO limits, and make sure the minimal value for P is indeed 28 (14*2) and not 14 (14*1), which would allow to divide the VCO output (ref * m) by two and probably stay under limits.

comment:10 Changed 9 months ago by vidrep

Still a black screen with last patch. Attched syslog_patch2.txt.

Changed 9 months ago by vidrep

Attachment: syslog_patch2.txt added

comment:11 Changed 9 months ago by vidrep

Has a Patch: set

comment:12 Changed 9 months ago by pulkomandy

2009	KERN: intel_extreme: PLL limits, min: p 5 (p1 1, p2 14), n 3, m 79 (m1 12, m2 5)
2011	KERN: intel_extreme: PLL limits, max: p 80 (p1 8, p2 14), n 8, m 118 (m1 22, m2 9)
2013	KERN: intel_extreme: compute_dpll_g4x: best MHz: 124.286 (error: 21.9643)
2015	KERN: intel_extreme: compute_pll_divisors: found: p = 28 (p1 = 2, p2 = 14), n = 3, m = 87 (m1 = 14, m2 = 5)

Still not right. I will try to write an unit test for this and debug on my side.

comment:13 Changed 9 months ago by vidrep

Tried patch 3. Frequency is right, but still a black screen. syslog_patch_3.txt attached.

Changed 9 months ago by vidrep

Attachment: syslog_patch_3.txt added

comment:14 Changed 9 months ago by pulkomandy

Has a Patch: unset

comment:15 Changed 8 months ago by vidrep

Serial debugging log attached using hrev52280, which includes modified Intel_extreme driver.

Changed 8 months ago by vidrep

Attachment: Intel_8086:0152.txt added

comment:16 Changed 6 months ago by pulkomandy

Milestone: UnscheduledR1/beta2

comment:17 Changed 3 months ago by kallisti5

Hey, Just noticed I have the same chipset (and same issue) on my Haiku box.

 Intel® HD Graphics 2500

device Display controller (VGA compatible controller, VGA controller) [3|0|0]
  vendor 8086: Intel Corporation
  device 0152: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller

Changed 3 months ago by kallisti5

hrev52726 x86_64 syslog. HDMI display black screen.

comment:18 Changed 3 months ago by kallisti5

Keywords: IvyBridge added

comment:19 Changed 3 weeks ago by waddlesplash

Please retest after hrev53040.

comment:20 Changed 3 weeks ago by vidrep

Updated to hrev53042, and it still boots to a black screen.

Changed 3 weeks ago by vidrep

Attachment: syslog.2 added

comment:21 Changed 3 weeks ago by vidrep

New syslog attached

Note: See TracTickets for help on using tickets.