You are not logged in.

#1 2018-03-14 13:33:50

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Black screen at boot when i915.modeset=0 is not set

I have the following laptop (first model issued in January 2018)
Dell Latitude 5490
8th generation i7-8650U intel iGPU 620 (i915)
dGPU geforce MX130 (former 940MX) Maxwell architecture
500GB NVMe drive Toshiba
32GB RAM

I installed Arch from existing debian because Arch Installer crashes at some point.

After installation, I boot Arch and after a few line of messeges I get blank/black screen.
I found that 'nomodeset' or 'i915.modeset=0' allows to get login but I have problems with running Xorg (no screens found, xrandr - no devices found)
Since I have no logs during the boot with blank/black screen I took a picture just before (added 'debug' kernel parameter)

https://ibb.co/hBDLAH

The last message line before getting blank screen is: "fb: switching to inteldrmfb from EFI VGA" (as seen in the picture)

Any help?

Last edited by rafalsk (2018-03-14 13:39:28)

Offline

#2 2018-03-15 20:55:56

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

To add information to my previous post, I include the output of 'lscpi -v'

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
	Subsystem: Dell Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=10 <?>

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
	Subsystem: Dell UHD Graphics 620
	Flags: bus master, fast devsel, latency 0, IRQ 255
	Memory at eb000000 (64-bit, non-prefetchable) [size=16M]
	Memory at a0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
	Subsystem: Dell Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
	Flags: fast devsel, IRQ 16
	Memory at ec340000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 3
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
	Subsystem: Dell Sunrise Point-LP USB 3.0 xHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 124
	Memory at ec330000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
	Subsystem: Dell Sunrise Point-LP Thermal subsystem
	Flags: fast devsel, IRQ 18
	Memory at ec354000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
	Subsystem: Dell Sunrise Point-LP Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at ec353000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
	Subsystem: Dell Sunrise Point-LP Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at ec352000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
	Subsystem: Dell Sunrise Point-LP CSME HECI
	Flags: bus master, fast devsel, latency 0, IRQ 132
	Memory at ec351000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ec200000-ec2fffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Sunrise Point-LP PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [200] L1 PM Substates
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ec100000-ec1fffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Sunrise Point-LP PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [200] L1 PM Substates
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=03, subordinate=3b, sec-latency=0
	I/O behind bridge: 0000e000-0000efff [size=4K]
	Memory behind bridge: d4000000-ea0fffff [size=353M]
	Prefetchable memory behind bridge: 00000000b0000000-00000000d1ffffff [size=544M]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Sunrise Point-LP PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [200] L1 PM Substates
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=3c, subordinate=3c, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ec000000-ec0fffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Dell Sunrise Point-LP PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [200] L1 PM Substates
	Capabilities: [220] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
	Subsystem: Dell Device 0816
	Flags: bus master, fast devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
	Subsystem: Dell Sunrise Point-LP PMC
	Flags: fast devsel
	Memory at ec34c000 (32-bit, non-prefetchable) [size=16K]
	Kernel driver in use: intel_pmc_core

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) (prog-if 80)
	Subsystem: Dell Sunrise Point-LP HD Audio
	Flags: bus master, fast devsel, latency 32, IRQ 135
	Memory at ec348000 (64-bit, non-prefetchable) [size=16K]
	Memory at ec320000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 3
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
	Subsystem: Dell Sunrise Point-LP SMBus
	Flags: medium devsel, IRQ 16
	Memory at ec350000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
	Subsystem: Dell Ethernet Connection (4) I219-LM
	Flags: bus master, fast devsel, latency 0, IRQ 133
	Memory at ec300000 (32-bit, non-prefetchable) [size=128K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [e0] PCI Advanced Features
	Kernel driver in use: e1000e
	Kernel modules: e1000e

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
	Subsystem: Dell RTS525A PCI Express Card Reader
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Memory at ec200000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [b0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Device Serial Number 00-00-00-01-00-4c-e0-00
	Capabilities: [158] Latency Tolerance Reporting
	Capabilities: [160] L1 PM Substates
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
	Subsystem: Intel Corporation Wireless 8265 / 8275
	Flags: bus master, fast devsel, latency 0, IRQ 134
	Memory at ec100000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 00-23-15-ff-ff-f5-dd-4a
	Capabilities: [14c] Latency Tolerance Reporting
	Capabilities: [154] L1 PM Substates
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce MX130] (rev a2)
	Subsystem: Dell GM108M [GeForce MX130]
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at d4000000 (32-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Memory at c0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at d5000000 [disabled] [size=512K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [250] Latency Tolerance Reporting
	Capabilities: [258] L1 PM Substates
	Capabilities: [128] Power Budgeting <?>
	Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
	Capabilities: [900] #19
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

3c:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0116 (prog-if 02 [NVM Express])
	Subsystem: Toshiba America Info Systems Device 0001
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at ec000000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable- Count=1/32 Maskable+ 64bit+
	Capabilities: [b0] MSI-X: Enable+ Count=32 Masked-
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [260] Latency Tolerance Reporting
	Capabilities: [300] #19
	Capabilities: [400] L1 PM Substates
	Kernel driver in use: nvme

dmesg when using i915.modeset=0 is here:

https://ptpb.pw/1t4H

So to summarize, if I understand it correctly, 'inteldrmfb' framebuffer leads to black screen (no response for Ctrl-Alt-F2), while with i915.modeset=0, VGA framebuffer is used and I can login but without possibility to run xorg.

Last edited by rafalsk (2018-03-15 21:05:00)

Offline

#3 2018-03-15 20:59:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Black screen at boot when i915.modeset=0 is not set


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2018-03-15 21:35:27

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

jasonwryan, I don't see any solution in https://wiki.archlinux.org/index.php/NVIDIA_Optimus
I have no option to turn off Nvidia GPU in BIOS.

Last edited by rafalsk (2018-03-15 21:35:47)

Offline

#5 2018-03-15 21:40:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Black screen at boot when i915.modeset=0 is not set

If you have dual cards, as far as I understand it, you have to set up your system with one of the nvidia-related solutions (optimus, bumblebee, whatever).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2018-03-15 22:12:28

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

I thought that the problem is with kernel 4.14 or 4.15 not handling well my hardware. Without i915 modesetting, xrandr gives no output. Perhaps I should notify this problem as a bug in drm/i915 kernel core?

Offline

#7 2018-03-15 22:25:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Black screen at boot when i915.modeset=0 is not set

xrandr give you no output because it only runs in X.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2018-03-15 23:16:17

loqs
Member
Registered: 2014-03-06
Posts: 17,305

Re: Black screen at boot when i915.modeset=0 is not set

If the nvidia GPU needs to be configured depends on a combination of if rafalsk wants to use that device and to which GPU the internal and any external screens are physically connected possibly configurable by firmware as well.
Without modesetting disabled does the system reach a console login without a blank screen?  If not if you check the journal are there no records from a boot without modesetting disabled?
If you blacklist the nvidia module does that have any effect on the blank screen?

Offline

#9 2018-03-16 07:42:13

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

loqs,
1. Without modesetting disabled the system does not reach a console login. The result is that for a quater of second I see the screen with some messages which I took picture in my first post. Then the screen becomes black, I mean the there is black light on the screen but I can do nothing (Ctrl-Alt-F2 does not work). I cannot login even blindly to power off. Neither I have any records in the journal - simply as if the booting process is non-existing in logs. The final line before the screen goes black is "fb: switching to inteldrmfb from EFI VGA"
2. While with modesetting the journal log is in may post #2. I can login. From the journal (link in post #2) I see that EFI VGA frame buffer is used: "[    5.722465] fb0: EFI VGA frame buffer device" instead of inteldrmfb. For now I see this difference which make to continue displaying boot messages.
3. I added nvidia module to /etc/modprobe.d/modprobe.conf blacklist. No positive results. sad

Other than that I can say that the same situation is on debian installed on the same laptop. Both for debian and arch I have the same kernel 4.15. On kernel 4.14 both debian and archlinux (linux-lts) the difference is that the sole i915.modeset=0 is not enough to see the console login screen - instead I have to pass "nomodeset" to kernel parameters to get the login prompt.

EDIT:
here is the output of mkinitcpio -M
https://ptpb.pw/ENPp

EDIT 2:
My problem is similar to
https://bbs.archlinux.org/viewtopic.php?id=234659
but blacklisting nvidiafb does not help

Last edited by rafalsk (2018-03-16 07:58:33)

Offline

#10 2018-03-16 08:09:10

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

Perhaps the output of 'lsmod | grep nvidia' can be useful?

nvidia_drm             45056  0
nvidia_modeset       1110016  1 nvidia_drm
nvidia              14368768  1 nvidia_modeset
ipmi_msghandler        53248  2 nvidia,ipmi_devintf
drm_kms_helper        200704  2 i915,nvidia_drm
drm                   466944  4 i915,nvidia_drm,drm_kms_helper

the whole lsmod is as follows

Module                  Size  Used by
snd_hda_codec_hdmi     57344  1
snd_soc_skl           102400  0
snd_soc_skl_ipc        73728  1 snd_soc_skl
snd_hda_ext_core       28672  1 snd_soc_skl
btusb                  53248  0
snd_soc_sst_dsp        36864  1 snd_soc_skl_ipc
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
8021q                  32768  0
btrtl                  16384  1 btusb
snd_soc_acpi           16384  1 snd_soc_skl
btbcm                  16384  1 btusb
btintel                16384  1 btusb
mrp                    20480  1 8021q
snd_soc_core          286720  1 snd_soc_skl
uvcvideo              102400  0
bluetooth             634880  5 btrtl,btintel,btbcm,btusb
snd_hda_codec_realtek   110592  1
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
videobuf2_core         45056  2 uvcvideo,videobuf2_v4l2
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
videodev              208896  3 uvcvideo,videobuf2_core,videobuf2_v4l2
hid_generic            16384  0
usbhid                 57344  0
media                  45056  2 uvcvideo,videodev
ecdh_generic           24576  1 bluetooth
arc4                   16384  2
nvidia_drm             45056  0
nvidia_modeset       1110016  1 nvidia_drm
iwlmvm                425984  0
nvidia              14368768  1 nvidia_modeset
mac80211              909312  1 iwlmvm
iwlwifi               315392  1 iwlmvm
mei_wdt                16384  0
nls_ascii              16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    77824  1 vfat
cfg80211              741376  3 iwlmvm,iwlwifi,mac80211
joydev                 24576  0
iTCO_wdt               16384  0
mousedev               24576  0
iTCO_vendor_support    16384  1 iTCO_wdt
ipmi_devintf           20480  0
rtsx_pci_ms            20480  0
ipmi_msghandler        53248  2 nvidia,ipmi_devintf
memstick               16384  1 rtsx_pci_ms
hid_multitouch         24576  0
dell_smbios_wmi        16384  0
dell_wmi               16384  0
wmi_bmof               16384  0
dell_rbtn              16384  0
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios_wmi
intel_wmi_thunderbolt    16384  0
mxm_wmi                16384  0
dell_laptop            24576  1
rfkill                 28672  5 bluetooth,dell_laptop,dell_rbtn,cfg80211
dell_smbios_smm        16384  0
dell_smbios            16384  4 dell_wmi,dell_laptop,dell_smbios_wmi,dell_smbios_smm
dcdbas                 16384  1 dell_smbios_smm
dell_smm_hwmon         16384  0
intel_rapl             24576  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             229376  0
tpm_crb                16384  0
kvm                   704512  1 kvm_intel
snd_hda_intel          45056  0
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
snd_hda_core           94208  7 snd_hda_intel,snd_hda_codec,snd_hda_ext_core,snd_soc_skl,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
pcbc                   16384  0
e1000e                282624  0
snd_hwdep              20480  1 snd_hda_codec
aesni_intel           188416  0
snd_pcm               135168  8 snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_ext_core,snd_hda_core,snd_soc_skl,snd_hda_codec_hdmi,snd_soc_core
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
snd_timer              36864  1 snd_pcm
mei_me                 45056  1
intel_cstate           16384  0
ptp                    20480  1 e1000e
intel_uncore          131072  0
snd                    98304  10 snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_soc_core,snd_pcm
input_leds             16384  0
mei                   106496  3 mei_me,mei_wdt
intel_rapl_perf        16384  0
idma64                 20480  0
pps_core               20480  1 ptp
led_class              16384  3 iwlmvm,input_leds,dell_laptop
pcspkr                 16384  0
soundcore              16384  1 snd
processor_thermal_device    16384  0
i2c_i801               32768  0
shpchp                 40960  0
intel_lpss_pci         20480  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
intel_lpss             16384  1 intel_lpss_pci
intel_pch_thermal      16384  0
i2c_hid                24576  0
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
hid                   131072  4 i2c_hid,hid_generic,usbhid,hid_multitouch
battery                20480  0
rtc_cmos               24576  1
dell_smo8800           16384  0
wmi                    28672  6 dell_wmi,wmi_bmof,intel_wmi_thunderbolt,dell_wmi_descriptor,mxm_wmi,dell_smbios_wmi
tpm                    65536  3 tpm_tis,tpm_crb,tpm_tis_core
evdev                  20480  7
int3400_thermal        16384  0
intel_hid              16384  0
int3403_thermal        16384  0
acpi_thermal_rel       16384  1 int3400_thermal
mac_hid                16384  0
sparse_keymap          16384  2 dell_wmi,intel_hid
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
ac                     16384  0
ip_tables              28672  0
x_tables               45056  1 ip_tables
ext4                  712704  2
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
rtsx_pci_sdmmc         28672  0
serio_raw              16384  0
mmc_core              172032  1 rtsx_pci_sdmmc
atkbd                  32768  0
libps2                 16384  1 atkbd
xhci_pci               16384  0
crc32c_intel           24576  4
xhci_hcd              258048  1 xhci_pci
rtsx_pci               65536  2 rtsx_pci_sdmmc,rtsx_pci_ms
usbcore               286720  5 uvcvideo,usbhid,xhci_pci,btusb,xhci_hcd
usb_common             16384  1 usbcore
i8042                  32768  1 dell_laptop
serio                  28672  4 serio_raw,atkbd,i8042
i915                 1929216  0
i2c_algo_bit           16384  1 i915
drm_kms_helper        200704  2 i915,nvidia_drm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   466944  4 i915,nvidia_drm,drm_kms_helper
intel_agp              24576  0
intel_gtt              24576  2 intel_agp,i915
agpgart                49152  3 intel_agp,intel_gtt,drm

Last edited by rafalsk (2018-03-16 08:11:38)

Offline

#11 2018-03-16 16:24:55

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

I took another better picture of messages just before the screen becomes black and the system is blocked (with loglevel=7)

https://ibb.co/iqpcAH

Offline

#12 2018-03-17 11:10:53

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

I checked that kernel 4.9 hangs at fb: switching to inteldrmfb from EFI VGA, but in this case the screen does not get black, I see all the messages. I need to press power button to reset.

Then I compiled kernel 4.4 and in this case without any nomodeset or i915.modeset=0 I get login prompt. I attach dmesg when kernel 4.4 is running. Note that in dmesg there is no line about switching to inteldrmfb from EFI VGA after which the hang (kernel 4.9) or black screen (kernel 4.14, 4.15) happens.

I filed a bug here:
https://bugs.freedesktop.org/show_bug.cgi?id=105549

Offline

#13 2018-03-18 04:46:32

m3thodic
Member
Registered: 2004-08-24
Posts: 67

Re: Black screen at boot when i915.modeset=0 is not set

@rafalsk I don't know if this will help you but you can try adding video=efifb to your kernel boot arguments.

Offline

#14 2018-03-18 07:05:15

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

m3thodic, thank you, but still I can see the same last line with inteldrmfb, and then the black screen.

Offline

#15 2018-04-12 08:40:15

rafalsk
Member
Registered: 2018-03-11
Posts: 12

Re: Black screen at boot when i915.modeset=0 is not set

Almost one month later there is a patch to fix this problem.
I applied the patch in the link below and now my computer boots properly.

https://bugs.freedesktop.org/show_bug.cgi?id=105549#c34

I can tell that rebuilding and applying this patch to archlinux kernel is easy, while in debian similar procedure is painful and following manuals I still get errors.

Last edited by rafalsk (2018-04-12 08:41:09)

Offline

Board footer

Powered by FluxBB