Opened 5 years ago

Last modified 7 weeks ago

#11254 assigned bug

Intel graphics randomly boots with black screen

Reported by: edglex Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: Drivers/Graphics/intel_extreme Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

This is hrev 47865 on a thinkpad x230 with intel HD 4000 graphics.

Two thirds or three quarters of the time this machine has a black screen on boot (with the intel driver). The rest of the time it boots normally and has the correct resolution etc.

The attached syslog is from 2 boots - the first exhibited the problem while the second was a successful boot.

More info: Changing display settings once booted can also cause the same issue (screen goes black to change modes and the image doesn't come back). This is mostly a problem with software that changes the screen mode itself (like SDL apps), since they change without a "return to previous settings" timeout. Actually, SDL apps seem to change the mode to the same as it already is for some reason, but I know the mode has changed because of the flash to a black screen and then back again, and afterwards switching desktops will cause the screen to turn briefly black then come back, unless I use screen preferences and apply to all desktops.

Attachments (3)

syslog (322.4 KB) - added by edglex 5 years ago.
syslog of failed and successful boot
listdev (2.2 KB) - added by edglex 5 years ago.
listdev
syslog_diff (105.7 KB) - added by edglex 5 years ago.
diff -Naur syslog\ success syslog\ fail > syslog_diff

Download all attachments as: .zip

Change History (10)

Changed 5 years ago by edglex

Attachment: syslog added

syslog of failed and successful boot

Changed 5 years ago by edglex

Attachment: listdev added

listdev

comment:1 Changed 5 years ago by edglex

Another couple of notes:

I am sure this is an intel driver problem because booting with vesa does not exhibit the issue. Also, the system still responds - if I press (not hold) the power button I see disk activity and the machine powers off.

The problem has been around since at least hrev 46596 (the first haiku version I installed on here).

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

comment:2 Changed 5 years ago by edglex

Below is a diff of the successful boot against the failed one.

Changed 5 years ago by edglex

Attachment: syslog_diff added

diff -Naur syslog\ success syslog\ fail > syslog_diff

comment:3 Changed 5 years ago by edglex

Can't really see any difference here really except the address the RAM is mapped to by the MMU, if I follow correctly?

Is there a way to enable more logging for the intel_extreme driver?

comment:4 Changed 5 years ago by edglex

Alignment issue? The difference I mentioned was:

-KERN: intel_extreme: mapping VBIOS: 0xc0000 -> 0x81be9000 +KERN: intel_extreme: mapping VBIOS: 0xc0000 -> 0x8060d000

-KERN: [[36mAGP:[[0m create memory 0x82a90440, base e0000000, size 10000, flags 0 -KERN: add_memory_type_range(4464, 0xf252b000, 0x20000, 0) +KERN: [[36mAGP:[[0m create memory 0x82b8bd40, base e0000000, size 10000, flags 0 +KERN: add_memory_type_range(4465, 0xf252b000, 0x20000, 0)

-KERN: [[36mAGP:[[0m create memory 0x82a90800, base e00ff000, size 1000, flags 2 +KERN: [[36mAGP:[[0m create memory 0x82ab5a60, base e00ff000, size 1000, flags 2

-KERN: [[36mAGP:[[0m create memory 0x82a90e80, base e0100000, size 408000, flags 0 +KERN: [[36mAGP:[[0m create memory 0x82b9a3a0, base e0100000, size 408000, flags 0

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

comment:5 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned

comment:6 Changed 7 months ago by pulkomandy

Milestone: R1R1/beta2

comment:7 Changed 7 weeks ago by waddlesplash

Please retest after hrev53040.

Note: See TracTickets for help on using tickets.