Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Black screen after loading i915 on Dell D630.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 216
Location: Ancient Rome

PostPosted: Sun Nov 26, 2023 9:03 am    Post subject: [SOLVED] Black screen after loading i915 on Dell D630. Reply with quote

I'm trying to run Gentoo with Bcachefs on Dell D630. Using Live GUI I prepared basic system with Bcachefs support on a thumb drive with Bcachefs support (kernel from kernel.org) and using it I installed Gentoo on Bcachefs into Dell's SSD. My main problem is black screen moment after boot. After a little of investigation I found that loading i915 causes black screen. Right now kernel command line is:
Code:
BOOT_IMAGE=/vmlinuz-6.7.0-rc2 root=/dev/mapper/vg_nugget-gentoo ro rootfstype=bcachefs modprobe.blacklist=i915 video.allow_duplicates=1 console=ttyS0,115200

When I try to modprobe the module using serial console I get blackscreen and this:
Code:
root@nugget ~ # modprobe i915
[  211.298441] pci 0000:00:00.0: Intel 965GM Chipset
[  211.303190] pci 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
[  211.310820] pci 0000:00:00.0: detected 8192K stolen memory
[  211.316373] i915 0000:00:02.0: vgaarb: deactivate vga console
[  211.322752] Console: switching to colour dummy device 80x25
[  211.332360] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[  211.461910] i915 0000:00:02.0: [drm] Initialized overlay support.
[  211.470523] [drm] Initialized i915 1.6.0 20230929 for 0000:00:02.0 on minor 0
[  211.481395] ACPI: video: Video Device [VID1] (multi-head: yes  rom: no  post: no)
[  211.489253] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:01/input/input8
[  211.498516] ACPI: video: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow_duplicates=1"if the current driver doesn't work.
[  211.515661] ACPI: video: Video Device [VID2] (multi-head: yes  rom: no  post: no)
[  211.523230] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:02/input/input9

lspci:
Code:
root@nugget ~ # lspci -k
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
        Subsystem: Dell Mobile PM965/GM965/GL960 Memory Controller Hub
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
        Subsystem: Dell Latitude D630
        Kernel driver in use: i915
        Kernel modules: i915
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 0c)
        Subsystem: Dell Mobile GM965/GL960 Integrated Graphics Controller (secondary)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
        Kernel driver in use: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
        Kernel driver in use: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) USB2 EHCI Controller
        Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
        Subsystem: Dell Latitude D630
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) PCI Express Port 1
        Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) PCI Express Port 2
        Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) PCI Express Port 6
        Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
        Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
        Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
        Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) USB2 EHCI Controller
        Kernel driver in use: ehci-pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
        Subsystem: Dell 82801 Mobile PCI Bridge
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 02)
        Subsystem: Dell 82801HM (ICH8M) LPC Interface Controller
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
        Subsystem: Dell 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
        Kernel driver in use: ata_piix
00:1f.2 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] (rev 02)
        Subsystem: Dell 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode]
        Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
        Subsystem: Dell 82801H (ICH8 Family) SMBus Controller
        Kernel driver in use: i801_smbus
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
        Subsystem: Dell Cardbus bridge
        Kernel driver in use: yenta_cardbus
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
        Subsystem: Dell Firewire (IEEE 1394)
09:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5755M Gigabit Ethernet PCI Express (rev 02)
        Subsystem: Dell NetXtreme BCM5755M Gigabit Ethernet PCI Express
        Kernel driver in use: tg3
        Kernel modules: tg3
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
        Subsystem: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection
        Kernel driver in use: iwl3945
        Kernel modules: iwl3945


.config: https://file.io/yNV9w4melODr

PS in Live GUI i915 works correctly.

#EDIT
I connected external monitor, in case there is a signal, but signal wasn't detected.


Last edited by lekto on Thu Nov 30, 2023 6:38 pm; edited 2 times in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5372
Location: Bavaria

PostPosted: Sun Nov 26, 2023 11:46 am    Post subject: Reply with quote

lekto,

your link doesnt work (IO is saying it is deleted). So please try again OR

Check if you have framebuffer and framebufer console enabled:

https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 216
Location: Ancient Rome

PostPosted: Sun Nov 26, 2023 3:03 pm    Post subject: Reply with quote

I was missing CONFIG_FB_VESA. It was hidden because CONFIG_FB was set to module, instead of built-in and CONFIG_X86_INTEL_LPSS, but it didn't help. I also tried to built i915 in.

config: https://pastebin.com/dEmuS0Q0
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5372
Location: Bavaria

PostPosted: Mon Nov 27, 2023 2:40 am    Post subject: Reply with quote

I would try:

1. Only to be on a safe side enable: # CONFIG_FB_SIMPLE is not set

2. Its okay to enable this static: CONFIG_DRM_I915=m

3. Remove: modprobe.blacklist=i915 video.allow_duplicates=1 console=ttyS0,115200

4. I have seen this is a very old Intel Notebook without EFI and without USB 3 having an old PCH, so you will need (this is maybe a / one reason of your problem) the first option, and maybe one of the others; Enabling (static) all 3 doesnt hurt:

# CONFIG_LPC_ICH is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set

5. Maybe you will need also those enabled:

# CONFIG_INTEL_IOMMU_DEFAULT_ON is not set
# CONFIG_IRQ_REMAP is not set

-------

Not related to your problem:

I would enable both static:

CONFIG_BCACHEFS_FS=m
# CONFIG_BCACHEFS_POSIX_ACL is not set

Think about:

CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y

# CONFIG_INTEL_IDLE is not set

CONFIG_DEFAULT_MMAP_MIN_ADDR=4096



(You know that this kernel version has no support from Gentoo because it is a rc-kernel?)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 216
Location: Ancient Rome

PostPosted: Thu Nov 30, 2023 4:25 pm    Post subject: Reply with quote

I did everything from your post one by one to know what is the problem, but it still doesn't work. I know this is rc kernel, I many times use them strait from kernel.org to test new features and never had problems with them. I tried sys-kernel/gentoo-kernel-bin-6.6.3 and it loads i915 correctly. Also, my USB to serial converter died, so I can't temporarily use serial console.
Back to top
View user's profile Send private message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 216
Location: Ancient Rome

PostPosted: Thu Nov 30, 2023 6:38 pm    Post subject: Reply with quote

Found it! I was missing CONFIG_DRM_FBDEV_EMULATION.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5372
Location: Bavaria

PostPosted: Thu Nov 30, 2023 6:45 pm    Post subject: Reply with quote

lekto wrote:
Found it! I was missing CONFIG_DRM_FBDEV_EMULATION.

Ouch ... I must admit that I did not check this section in your .config (because this parm is normally enabled by default) ... :oops:
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum