You are not logged in.

#1 2025-04-19 22:09:44

bach
Member
Registered: 2014-10-20
Posts: 36

[resolved] Intel iris graphics g7 (ice lake) i915 hdmi = blackscreen

Hi,

i need your help with this mini pc (bmax b6 power) i am trying to use with my beloved arch linux.
VGA compatible controller : Intel iris plus graphics g7 (ice lake) (rev 07) kernel module i915
when i boot i reach systemd-boot prompt but right after that (and some apci minor errors) screen goes black and hdmi deactivate, the only way to bypass that is

nomodeset

or

i915.modeset=0

When the screen goes black, i can still connect through ssh to a normal shell so pc is booting.
So i booted with i915.modeset=0 and then i tried to activate i915 by doing

sudo modprobe -r i915
sudo modprobe i915 modeset=1

screens goes imediatly black and hdmi disconnect.
and dmesg says :

[  955.549320] i915.modeset=1 is deprecated. Please remove it and the 'nomodeset' kernel parameter instead.
[  955.549606] i915 0000:00:02.0: [drm] Found icelake (device ID 8a51) integrated display version 11.00 stepping D0
[  955.575664] i915 0000:00:02.0: vgaarb: deactivate vga console
[  955.575734] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[  955.577608] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[  955.589044] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[  957.498027] i915 0000:00:02.0: [drm] [ENCODER:242:DDI A/PHY A] failed to retrieve link info, disabling eDP
[  957.540811] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
[  957.563170] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[  957.590717] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[  957.604034] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[  957.614060] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes

looks like i915 is struggling with hdmi
i already tried kernel options

i915.force_probe=* i915.enable_fbc=0 i915.enable_psr=0 i915.enable_guc=2 video=HDMI-A-1:e video=HDMI-A-1:1920x1080e etc

with no success (not sure if the screen name is right)

# with nomodeset
$ for f in /sys/class/drm/*/status; do echo "$f: $(cat $f)"; done
/sys/class/drm/card0-Unknown-1/status: connected
# on black screen
for f in /sys/class/drm/*/status; do echo "$f: $(cat $f)"; done
/sys/class/drm/card1-HDMI-A-1/status: disconnected
/sys/class/drm/card1-HDMI-A-2/status: disconnected
$ sudo xrandr --output HDMI-A-1 --mode 1920x1080 --rate 60
Can't open display 
$ sudo xrandr --output HDMI-A-2 --mode 1920x1080 --rate 60
Can't open display 

Last edited by bach (2025-04-20 20:50:17)

Offline

#2 2025-04-20 00:32:39

jonno2002
Member
Registered: 2016-11-21
Posts: 818

Re: [resolved] Intel iris graphics g7 (ice lake) i915 hdmi = blackscreen

from a quick internet search it seems this hardware is basically not supported by linux, using 'nomodeset' is not a fix, sell it and buy a second hand intel nuc, they work great with linux!

Offline

#3 2025-04-20 14:13:41

bach
Member
Registered: 2014-10-20
Posts: 36

Re: [resolved] Intel iris graphics g7 (ice lake) i915 hdmi = blackscreen

I already red much of these webpages about this pc with linux but the solution was always some sort of nomodeset, which indeed is not a solution at all.
I was hoping that a linux wizard would have some fun digging this issue.
Since the issue is with hdmi, if i can't resolve it i'll use the pc has headless part of my home lab (proxmox)

here is the full boot log https://0x0.st/8OIP.log

Last edited by bach (2025-04-20 14:34:30)

Offline

#4 2025-04-20 16:28:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,962

Re: [resolved] Intel iris graphics g7 (ice lake) i915 hdmi = blackscreen

[    0.000000] DMI: AMI Intel/Intel, BIOS V1.3_226 06/12/2023

Update available?

[    1.264088] i915 0000:00:02.0: [drm:intel_dp_aux_xfer [i915]] AUX A/DDI A/PHY A: timeout (status 0x7d40023f)

But lay-tor:

[    3.107820] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [CRTC:170:pipe B] enable: yes [setup_hw_state]
[    3.107959] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] active: yes, output_types: HDMI (0x40), output format: RGB, sink format: RGB
[    3.108080] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] cpu_transcoder: B, pipe bpp: 24, dithering: 0
[    3.108244] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] MST master transcoder: <invalid>
[    3.108387] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] port sync: master transcoder: <invalid>, slave transcoder bitmask = 0x0
[    3.108496] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] joiner: no, pipes: 0x0
[    3.108602] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] splitter: disabled, link count 0, overlap 0
[    3.108707] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] framestart delay: 1, MSA timing delay: 0
[    3.108832] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] audio: 0, infoframes: 0, infoframes enabled: 0x0
[    3.108939] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] vrr: no, vmin: 0, vmax: 0, pipeline full: 0, guardband: 0 flipline: 0, vmin vblank: -1, vmax vblank: -2
[    3.109063] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] requested mode: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[    3.109167] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] adjusted mode: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[    3.109286] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] crtc timings: clock=148500, hd=1920 hb=1920-2200 hs=2008-2052 ht=2200, vd=1080 vb=1080-1125 vs=1084-1089 vt=1125, flags=0x5
[    3.109385] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pipe mode: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[    3.109483] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] crtc timings: clock=148500, hd=1920 hb=1920-2200 hs=2008-2052 ht=2200, vd=1080 vb=1080-1125 vs=1084-1089 vt=1125, flags=0x5
[    3.109579] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] port clock: 148500, pipe src: 1920x1080+0+0, pixel rate 148500
[    3.109670] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] linetime: 119, ips linetime: 0
[    3.109785] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] num_scalers: 2, scaler_users: 0x80000000, scaler_id: 0, scaling_filter: 0
[    3.109908] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pch pfit: 1920x1080+0+0, enabled, force thru: no
[    3.110006] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] ips: 0, double wide: 0, drrs: 0
[    3.110103] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] dpll_hw_state: cfgcr0: 0x0, cfgcr1: 0x0, div0: 0x0, mg_refclkin_ctl: 0x100, hg_clktop2_coreclkctl1: 0x500, mg_clktop2_hsclkctl: 0x19400, mg_pll_div0: 0x41000074, mg_pll_div2: 0x21012, mg_pll_lf: 0x27110804, mg_pll_frac_lock: 0x5554a, mg_pll_ssc: 0x8001200, mg_pll_bias: 0x0, mg_pll_tdc_coldst_bias: 0x10000
[    3.110196] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] csc_mode: 0x0 gamma_mode: 0x0 gamma_enable: 0 csc_enable: 0
[    3.124550] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [CRTC:170:pipe B] enable: yes [fastset]
[    3.124696] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] active: yes, output_types: HDMI (0x40), output format: RGB, sink format: RGB
[    3.124840] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] cpu_transcoder: B, pipe bpp: 24, dithering: 0
[    3.124949] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] MST master transcoder: <invalid>
[    3.125073] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] port sync: master transcoder: <invalid>, slave transcoder bitmask = 0x0
[    3.125174] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] joiner: no, pipes: 0x0
[    3.125305] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] splitter: disabled, link count 0, overlap 0
[    3.125416] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] framestart delay: 1, MSA timing delay: 0
[    3.125545] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] audio: 0, infoframes: 0, infoframes enabled: 0x0
[    3.125642] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] vrr: no, vmin: 0, vmax: 0, pipeline full: 0, guardband: 0 flipline: 0, vmin vblank: -1, vmax vblank: -2
[    3.125738] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] requested mode: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[    3.125866] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] adjusted mode: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[    3.125966] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] crtc timings: clock=148500, hd=1920 hb=1920-2200 hs=2008-2052 ht=2200, vd=1080 vb=1080-1125 vs=1084-1089 vt=1125, flags=0x5
[    3.126086] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pipe mode: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[    3.126179] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] crtc timings: clock=148500, hd=1920 hb=1920-2200 hs=2008-2052 ht=2200, vd=1080 vb=1080-1125 vs=1084-1089 vt=1125, flags=0x5
[    3.126308] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] port clock: 148500, pipe src: 1920x1080+0+0, pixel rate 148500
[    3.126412] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] linetime: 119, ips linetime: 0
[    3.126512] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] num_scalers: 2, scaler_users: 0x0, scaler_id: -1, scaling_filter: 0
[    3.126630] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pch pfit: 0x0+0+0, disabled, force thru: no
[    3.126722] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] ips: 0, double wide: 0, drrs: 0
[    3.126815] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] dpll_hw_state: cfgcr0: 0x0, cfgcr1: 0x0, div0: 0x0, mg_refclkin_ctl: 0x100, hg_clktop2_coreclkctl1: 0x500, mg_clktop2_hsclkctl: 0x19400, mg_pll_div0: 0x41000074, mg_pll_div2: 0x21012, mg_pll_lf: 0x27110804, mg_pll_frac_lock: 0x5554a, mg_pll_ssc: 0x8001200, mg_pll_bias: 0x0, mg_pll_tdc_coldst_bias: 0x10000
[    3.126930] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] csc_mode: 0x0 gamma_mode: 0x0 gamma_enable: 0 csc_enable: 0
[    3.127020] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pre csc lut: 0 entries, post csc lut: 0 entries
[    3.127141] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] output csc: pre offsets: 0x0000 0x0000 0x0000
[    3.127237] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] output csc: coefficients: 0x0000 0x0000 0x0000
[    3.127356] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] output csc: coefficients: 0x0000 0x0000 0x0000
[    3.127451] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] output csc: coefficients: 0x0000 0x0000 0x0000
[    3.127553] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] output csc: post offsets: 0x0000 0x0000 0x0000
[    3.127654] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pipe csc: pre offsets: 0x0000 0x0000 0x0000
[    3.127768] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pipe csc: coefficients: 0x0000 0x0000 0x0000
[    3.127857] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pipe csc: coefficients: 0x0000 0x0000 0x0000
[    3.127944] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pipe csc: coefficients: 0x0000 0x0000 0x0000
[    3.128030] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] pipe csc: post offsets: 0x0000 0x0000 0x0000
[    3.128127] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:102:plane 1B] fb: [NOFB], visible: no
[    3.128222] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:111:plane 2B] fb: [NOFB], visible: no
[    3.128340] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:120:plane 3B] fb: [NOFB], visible: no
[    3.128439] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:129:plane 4B] fb: [NOFB], visible: no
[    3.128543] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:138:plane 5B] fb: [NOFB], visible: no
[    3.128641] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:147:plane 6B] fb: [NOFB], visible: no
[    3.128759] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:156:plane 7B] fb: [NOFB], visible: no
[    3.128848] i915 0000:00:02.0: [drm:intel_crtc_state_dump [i915]] [PLANE:165:cursor B] fb: [NOFB], visible: no
[    3.128935] i915 0000:00:02.0: [drm:drm_atomic_commit] committing 00000000b67e0355
[    3.131533] i915 0000:00:02.0: [drm:gen9_dbuf_slices_update [i915]] Updating dbuf slices to 0x1
[    3.131850] i915 0000:00:02.0: [drm:verify_connector_state [i915]] [CONNECTOR:253:HDMI-A-2]
[    3.132030] i915 0000:00:02.0: [drm:intel_modeset_verify_crtc [i915]] [CRTC:170:pipe B]

Remove i915 from the initramfs and add "nvidia_drm.modeset=1" to the kernel parameters (this will block the simpledrm device)
Also the active output seems HDMI-A-2 so iff anything "video=HDMI-A-2:1920x1080@60e"

$ sudo xrandr --output HDMI-A-1 --mode 1920x1080 --rate 60
Can't open display

This is nonsense, to use xrandr you need a running X11 server ("startx xterm" or so) and then instead of "sudo make me a sandwich", tell xrandr which display to use, eg.

export DISPLAY=:0
xrandr -q

Online

#5 2025-04-20 19:01:12

bach
Member
Registered: 2014-10-20
Posts: 36

Re: [resolved] Intel iris graphics g7 (ice lake) i915 hdmi = blackscreen

here is the wizard, here is seth!
it is working !! no more black screen, pc is booting normally

$ lsmod | grep i915
i915                 4714496  8
i2c_algo_bit           20480  1 i915
drm_buddy              24576  1 i915
ttm                   110592  1 i915
intel_gtt              28672  1 i915
drm_display_helper    270336  1 i915
cec                    94208  2 drm_display_helper,i915
video                  81920  1 i915

so the fix is adding "nvidia_drm.modeset=1 video=HDMI-A-2:1920x1080@60e" to /boot/loader/entries/arch.conf

title ArchLinux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=UUID=1fd31[...]d621 nvidia_drm.modeset=1 video=HDMI-A-2:1920x1080@60e

is there any drawback with this fix ?

thank you so much !

Last edited by bach (2025-04-20 19:32:34)

Offline

#6 2025-04-20 20:44:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,962

Re: [resolved] Intel iris graphics g7 (ice lake) i915 hdmi = blackscreen

is there any drawback with this fix ?

Nope, the simplydumb device is for the most part just in the way anyway and you're otherwise only telling the system which output to activate.

For posteriority make sure the i915 modules is actually still in the initramfs ("lsinitcpio /boot/initramfs-linux.img | grep i915", though the forced activation might gloss over that and intel implements HDMI/HDCP exclusively in the hardware anyway) and please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#7 2025-04-20 20:56:06

bach
Member
Registered: 2014-10-20
Posts: 36

Re: [resolved] Intel iris graphics g7 (ice lake) i915 hdmi = blackscreen

seth wrote:

For posteriority make sure the i915 modules is actually still in the initramfs

yes it's good !

thanks

Offline

Board footer

Powered by FluxBB