Opened 5 years ago

Closed 3 years ago

#15241 closed bug (fixed)

Intel HD Graphics Ironlake driver issue

Reported by: cocobean Owned by: kallisti5
Priority: normal Milestone: R1/beta3
Component: Drivers/Graphics/intel_extreme/ironlake Version: R1/Development
Keywords: Cc: ttcoder
Blocked By: Blocking:
Platform: All

Description (last modified by cocobean)

Usually blacks out screen before Haiku logo boot splash screen appears or before the desktop appears. Normally, desktop screen won't appear unless we use the fail-safe (VESA) graphics driver.

WORKAROUND: Unplug monitor during bootup and reattach after computer fully boots to installer/desktop.

NOTE: Can change screen resolutions under preflet up to 1920x1440 under VESA driver (mentioned in preflet)

Intel HD Graphics - 5th Generation: Ironlake/Westmere (rev 18) 256MB VRAM
Outputs: VGA, DVI
VGA Max res. 1920x1200
DVI-D Max res. 2560x1600
Intel CPU: Intel i3 550
PCI ID: 0042

Attachments (13)

listdev_cocobean_x86_64 (2.2 KB ) - added by cocobean 5 years ago.
listdev info for Intel HD Ironlake graphics
listimage_cocobean_x86_64 (239 bytes ) - added by cocobean 5 years ago.
listimage info for Intel HD Ironlake graphics
intel_extreme-syslog_cocobean_x86_64 (9.9 KB ) - added by cocobean 5 years ago.
syslog intel_extreme driver info for Intel HD Ironlake graphics - hrev53353 x86_64
intel_extreme-ironlake_cocobean.txt (4.4 KB ) - added by cocobean 5 years ago.
Intel IronLake Graphics - xrandr dump
intel_vesa_accel_test-cocobean-hrev53365.jpeg (232.5 KB ) - added by cocobean 5 years ago.
Haiku VESA driver screen preflet info - hrev53365 x86_64
intel_ironlake_cocobean.png (19.2 KB ) - added by cocobean 5 years ago.
Working Intel HD Graphics - Ironlake, Haiku screen preference setup hrev53790 x86_64
screenshot2.png (23.4 KB ) - added by vidrep 5 years ago.
intel_extreme_syslog_hrev53790_cocobean (11.2 KB ) - added by cocobean 5 years ago.
Syslog for intel_extreme driver- Ironlake test, hrev53790 x86_64
haiku_hrev53864-ironlake_cocobean.txt (5.8 KB ) - added by cocobean 5 years ago.
Syslog for intel_extreme driver- Intel Ironlake GPU test, hrev53864 x86_64
intel_drv_2.21.8-Mit-E85LCD_cocobean.txt (17.7 KB ) - added by cocobean 5 years ago.
xf86-video-intel 2.21.8 testing w/ Mitsubishi E85LCD 1280x1024 monitor
IronlakeGPU_IntelExtreme_full_Haiku_hrev54023_x86-cocobean.txt (102.0 KB ) - added by cocobean 5 years ago.
Full Syslog for Intel Extreme driver hrev54023 x86-64
IronlakeGPU_Vesa_full_Haiku_hrev54023_x86-cocobean.txt (109.0 KB ) - added by cocobean 5 years ago.
Full Syslog for VESA driver hrev54023 x86-64
Haiku_55117-Ironlake-GPU_cocobean.png (126.5 KB ) - added by cocobean 3 years ago.
Haiku hrev55117 boots to desktop/installer with Intel IronLake GPU

Download all attachments as: .zip

Change History (45)

by cocobean, 5 years ago

Attachment: listdev_cocobean_x86_64 added

listdev info for Intel HD Ironlake graphics

by cocobean, 5 years ago

Attachment: listimage_cocobean_x86_64 added

listimage info for Intel HD Ironlake graphics

by cocobean, 5 years ago

syslog intel_extreme driver info for Intel HD Ironlake graphics - hrev53353 x86_64

comment:1 by cocobean, 5 years ago

Intel Corporation Core Processor Integrated Graphics Controller (rev 18) 256M]
Outputs: VGA, DVI-D (dual link, digital)
Max. resolution output: 2560x1600x32 @ 60hz
Mesa DRI Intel(R) Ironlake Desktop x86/MMX/SSE2 (0x42)
Video memory: 1536MB
Unified memory: yes
 *-display                 
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 18
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:26 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:dc00(size=8) memory:c0000-dffff

Comparing xf86-video-intel 2.99.917:

**Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192**
VGA-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 880mm x 490mm
   1920x1080     60.00*+
   1680x1050     59.95  
   1440x900      59.89  
   1360x768      60.02  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
   720x400       70.08  
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)

Intel VGA output->VGA: works (retested with 1080p monitor)

Main issues: Either I can get past the Haiku logo boot splash screen and it fails to a black screen during screen init, or it just fails directly after I exit the Haiku boot loader menu. Sometimes, I don't get the Haiku logo splash screen at all until it fails to black screen.

With effort, I can get it to load with the VESA driver in which I can modify screen resolutions up to 1920x1440 (I also see this in the boot menu for modifying default screen mode settings).

NOTE: Setting fail-safe driver (true) and using 1024x768x32 @60hz default. Rebooted. This works as a workaround. Screen preflet shows monitor info, monitor dpi, and VESA driver (VESA) in left window pane. Resolutions changeable (when applied) from 640x480 to 1920x1400.

VESA driver/Intel IronLake Graphics reboot test: Rebooting at >1024x768 resolutions seems to crash during boot. Staying at <=1024x768 resolutions seems to boot reliably on Haiku.

Now that the output works reliably through the Intel video VGA output, we can isolate the intel_extreme driver issues better.

NOTE: The intel_extreme driver modeline PLL clock info seems off. See working modeline xrandr output for comparison.

intel_extreme:

KERN: intel_extreme: compute_dpll_g4x: best MHz: 109 (error: 0.116997)
KERN: intel_extreme: _IlkTrain: FDI train 1 failure!

xf86-video-intel:

1920x1080 (0x47) 148.500MHz +HSync +VSync *current +preferred
h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
Last edited 5 years ago by cocobean (previous) (diff)

by cocobean, 5 years ago

Intel IronLake Graphics - xrandr dump

by cocobean, 5 years ago

Haiku VESA driver screen preflet info - hrev53365 x86_64

comment:2 by pulkomandy, 5 years ago

Component: Drivers/Graphics/intel_extremeDrivers/Graphics/intel_extreme/ironlake

comment:3 by cocobean, 5 years ago

Tested hrev53556 x86_gcc2.

  1. Fail point right after:
    Intel extreme: Found EDID information!!
    (Detailed monitor info appears)
    Post-install script: sshd_keymaker.sh
    Size: 36 cm x 29 cm
    
  2. Then, display screen inits to black screen. Fails at point normally where Haiku logo splash screen would appear.

NOTE: I didn't get the crtc info. Also, I get the 'h:' info, but not the 'v:' info after the clock info. Normally, I get the 'h:', 'v:', Maximum pixel clock info, H/V Freq ranges, and crtc info. Also, the full serial number of the active monitor (last four digits appear here).

If the intel_extreme driver can mimic/baseline the VESA driver moreso, this may/should solve the problem as the VESA driver works as expected with this graphics chip.

comment:4 by pulkomandy, 5 years ago

Please include an updated syslog booting with the driver enabled.

comment:5 by cocobean, 5 years ago

LiveCD session: I only have recorded video session and screenshots from the online syslog debugger.

comment:6 by cocobean, 5 years ago

You can close this ticket. I remember seeing that this driver was not intended for the Intel HD series. Possible quick fix is to default all Intel HD graphic chips (Gen 5 and higher) to the VESA driver (i.e. removing them from the intel_extreme driver).

comment:7 by pulkomandy, 5 years ago

Then let's not close the ticket until that is done.

comment:8 by cocobean, 5 years ago

Description: modified (diff)

comment:9 by cocobean, 5 years ago

Tested hrev53790 x86_64; Default settings: No Haiku splash screen, black screen output. Set the default resolution to: 800x600x32 Got the Haiku boot screen. Rocket lit up. Monitor resets. RESULT: Black screen.

If monitor disconnected before bootup, wait 3-5 minutes for full bootup, reconnected monitor. Got blue desktop (success!). So, seems like a sync issue during boot to desktop.

Last edited 5 years ago by cocobean (previous) (diff)

by cocobean, 5 years ago

Attachment: intel_ironlake_cocobean.png added

Working Intel HD Graphics - Ironlake, Haiku screen preference setup hrev53790 x86_64

comment:10 by cocobean, 5 years ago

Intel driver seems to work fine other than the monitor sync issue during boot to desktop.

comment:11 by vidrep, 5 years ago

The "trick" cocobean outlines above works indeed. I've tried it on 3 PC's so far.

Attached is a screenshot of the Intel driver working at full HD resolution.

by vidrep, 5 years ago

Attachment: screenshot2.png added

comment:12 by pulkomandy, 5 years ago

The "trick" makes the driver go "oh, there's no display so I will not set up anything". So it's essentially the same as using the VESA driver.

As I mentionned in my forum post and already here in the comments, the intel driver does not work at all for these newer devices currently. Up to sandybridge it's ok, but the later ones we're missing support in the driver.

by cocobean, 5 years ago

Syslog for intel_extreme driver- Ironlake test, hrev53790 x86_64

comment:13 by cocobean, 5 years ago

Hmmm. With Live CD, I turned off monitor, booted CD, let things boot to installer screen, turned on monitor, selected 'Boot to Desktop', screen flashes/init, then it displays the desktop without monitor issues. I'm OK with this for now - versus the safe-mode driver setting or boot menu fiddling.

I'll await further...

comment:14 by cocobean, 5 years ago

NOTE: Ironlake (Gen5) is BEFORE Sandy Bridge (Gen6). So, it is supported (based on driver info).

Last edited 5 years ago by cocobean (previous) (diff)

comment:15 by pulkomandy, 5 years ago

Yes, but I don't have an Iron Lake machine here. So I probably missed some things.

SandyBridge and G45 are the ones I can test easily. For the other ones I need to carefully check the registers in the docs.

comment:16 by ttcoder, 5 years ago

Cc: ttcoder added

/me guesses he might need to keep an eye on this ticket, for an IronLake/Mobile (instead of IronLake/Desktop as in cocobean's screenshot) laptop that works well in R1/b1 but will get updated to b2.

by cocobean, 5 years ago

Syslog for intel_extreme driver- Intel Ironlake GPU test, hrev53864 x86_64

comment:17 by cocobean, 5 years ago

Description: modified (diff)

comment:18 by cocobean, 5 years ago

Description: modified (diff)

comment:19 by cocobean, 5 years ago

If I go into Haiku Boot Loader and set the video mode resolution to 1024x768x32, I can get the Haiku splash screen after I continue booting. The screen inits after the rocket icon lights up. Then, stays on a black screen - but finishes booting.

As long as I disconnect the monitor before Haiku splash screen disappears (i.e. after the rocket lights up), I can get a working desktop display. Works good enough for me at the moment.

NOTE: hrev53864 x86_64.

Last edited 5 years ago by cocobean (previous) (diff)

comment:20 by cocobean, 5 years ago

Description: modified (diff)

comment:21 by cocobean, 5 years ago

Description: modified (diff)

comment:22 by pulkomandy, 5 years ago

If I understand correctly there are two problems here:

Problem 1: the splash screen (with boot logo and loading icons) does not work properly. This would be a problem in the VESA side because at that point the intel driver is not used

Problem 2: the desktop is also not working, this time with the intel driver

Is this correct?

I think it would be simpler, if possible, to first fix the first issue. Because if even the VESA BIOS provided with your card does not manage to set up a working display, it is unlikely that our own driver will.

comment:23 by cocobean, 5 years ago

Fail safe VESA driver is not the problem. That works fine when enabled. Haiku splash screen usually comes up properly.

So, it is the intel_extreme driver.

If I don't touch anything and just let the computer reboot/boot up:

I see the intel_extreme driver reads the monitor's EDID info (i.e. monitor screen resolutions and product info) then the screen goes black from that point. If I disable the monitor, reboot, wait till disk activity finishes, then reconnect - I have a 1024x768 @ 60Hz display with the installer GUI options and I can either install or go to the desktop. Notice it looks like 'Screen' preflet shows the Intel driver info but not the correct monitor info since I disconnected the monitor.

So, it gets the monitor's EDID info, if connected, then ...

Last edited 5 years ago by cocobean (previous) (diff)

by cocobean, 5 years ago

xf86-video-intel 2.21.8 testing w/ Mitsubishi E85LCD 1280x1024 monitor

comment:24 by cocobean, 5 years ago

Description: modified (diff)

comment:25 by cocobean, 5 years ago

Description: modified (diff)

comment:26 by cocobean, 5 years ago

Description: modified (diff)

comment:27 by pulkomandy, 5 years ago

I'm checking the attached syslogs and:

  • They include only logs from intel_extreme, but sometimes other logs are important too. For example, the EDID info is dumped, as well as some info from the VESA driver, which can be relevant.
  • They are all, as far as I can tell, from when you boot with the display unplugged (that is your workaround which is working fine).

To see where things go wrong I'd instead need a syslog from a failed boot, to try to understand what we try and fail to configure, and preferably a complete one.

Note that with the workaround, the Intel driver will not attempt to do anything, it will just leave the video card as configured using VESA to show the splash screen. So there is no real benefit to using the driver in that case.

by cocobean, 5 years ago

Full Syslog for Intel Extreme driver hrev54023 x86-64

by cocobean, 5 years ago

Full Syslog for VESA driver hrev54023 x86-64

comment:28 by cocobean, 5 years ago

Just installed a fresh copy of Haiku hrev54023 x86-64. Added Intel Extreme syslog from failed boot.

Last edited 5 years ago by cocobean (previous) (diff)

comment:29 by cocobean, 5 years ago

hrev54052 x86_64, VESA driver/Intel IronLake Graphics boot test:

  • Jump into Haiku BOOT Menu
  • Select screen resolution: 1024x768x32 resolution.
  • Continue boot

Result:

  • Haiku splash logo appears. Lights up all small icons and disappears.
  • Black screen (no install GUI or blue desktop screen)

comment:30 by cocobean, 5 years ago

hrev54154-31 through hrev54185 x86_64, VESA driver/Intel IronLake Graphics boot test:

Same results as previous.

comment:31 by cocobean, 3 years ago

hrev55117: Main issue resolved. Using LiveCD, computer fully boots to installer/desktop. Booted with LiveCD using intel_extreme driver.

by cocobean, 3 years ago

Haiku hrev55117 boots to desktop/installer with Intel IronLake GPU

comment:32 by pulkomandy, 3 years ago

Milestone: UnscheduledR1/beta3
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.