cb-linux / breath

Linux for Chromebooks
https://cb-linux.github.io/breath/
MIT License
300 stars 53 forks source link

Black Screen on DEDEDE (Samsung Chromebook Go, Acer 317, several other devices) #34

Closed dazWiLLiE closed 2 years ago

dazWiLLiE commented 2 years ago

Hi, followed the tutorial, but upon boot I get a black screen.

Samsung 14 Go is a Jasper Lake Gen 11.

lspci
00:00.0 Host bridge: Intel Corporation Device 4e22
00:02.0 VGA compatible controller: Intel Corporation Device 4e55 (rev 01)
00:04.0 Signal processing controller: Intel Corporation Device 4e03
00:08.0 System peripheral: Intel Corporation Device 4e11
00:14.0 USB controller: Intel Corporation Device 4ded (rev 01)
00:14.2 RAM memory: Intel Corporation Device 4def (rev 01)
00:14.3 Network controller: Intel Corporation Device 4df0 (rev 01)
00:14.5 SD Host controller: Intel Corporation Device 4df8 (rev 01)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device 4de8 (rev 01)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device 4de9 (rev 01)
00:15.2 Serial bus controller [0c80]: Intel Corporation Device 4dea (rev 01)
00:15.3 Serial bus controller [0c80]: Intel Corporation Device 4deb (rev 01)
00:16.0 Communication controller: Intel Corporation Device 4de0 (rev 01)
00:19.0 Serial bus controller [0c80]: Intel Corporation Device 4dc5 (rev 01)
00:19.2 Communication controller: Intel Corporation Device 4dc7 (rev 01)
00:1a.0 SD Host controller: Intel Corporation Device 4dc4 (rev 01)
00:1e.0 Communication controller: Intel Corporation Device 4da8 (rev 01)
00:1e.2 Serial bus controller [0c80]: Intel Corporation Device 4daa (rev 01)
00:1f.0 ISA bridge: Intel Corporation Device 4d87 (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Device 4dc8 (rev 01)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 4da4 (rev 01)
lsmod
Module                  Size  Used by
snd_seq_dummy          16384  0
snd_seq                57344  5 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
bridge                126976  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
tun                    45056  18
8021q                  28672  0
ccm                    20480  3
vhost_vsock            20480  3
vhost                  36864  1 vhost_vsock
vmw_vsock_virtio_transport_common    24576  1 vhost_vsock
vsock                  36864  21 vmw_vsock_virtio_transport_common,vhost_vsock
veth                   24576  0
rfcomm                 40960  2
cmac                   16384  3
algif_hash             16384  1
algif_skcipher         16384  1
af_alg                 20480  6 algif_hash,algif_skcipher
xt_cgroup              16384  2
uinput                 20480  0
xt_MASQUERADE          16384  1
snd_soc_sof_da7219_max98373    24576  3
snd_soc_intel_hda_dsp_common    16384  1 snd_soc_sof_da7219_max98373
iio_trig_hrtimer       16384  2
industrialio_sw_trigger    16384  1 iio_trig_hrtimer
industrialio_configfs    16384  2 industrialio_sw_trigger
iio_trig_sysfs         16384  0
snd_soc_dmic           16384  1
uvcvideo              102400  0
videobuf2_vmalloc      16384  1 uvcvideo
snd_hda_codec_hdmi     53248  1
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_common       40960  2 videobuf2_v4l2,uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
snd_sof_pci            16384  0
snd_sof_intel_hda_common    65536  1 snd_sof_pci
snd_sof_xtensa_dsp     16384  1 snd_sof_intel_hda_common
snd_sof_intel_hda      16384  1 snd_sof_intel_hda_common
soundwire_intel        28672  1 snd_sof_intel_hda_common
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      24576  1 soundwire_intel
snd_soc_hdac_hda       20480  1 snd_sof_intel_hda_common
snd_soc_acpi_intel_match    40960  2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_sof                86016  2 snd_sof_pci,snd_sof_intel_hda_common
snd_hda_ext_core       16384  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
soundwire_bus          61440  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_intel_dspcfg       20480  2 snd_sof_pci,snd_sof_intel_hda_common
snd_hda_codec         106496  3 snd_hda_codec_hdmi,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda
snd_hwdep              16384  1 snd_hda_codec
snd_hda_core           65536  7 snd_hda_codec_hdmi,snd_hda_ext_core,snd_hda_codec,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
mei_me                 32768  0
mei                    77824  1 mei_me
intel_gna              28672  0
cros_ec_typec          20480  0
snd_soc_da7219         65536  2 snd_soc_sof_da7219_max98373
acpi_als               16384  1
industrialio_triggered_buffer    16384  1 acpi_als
roles                  16384  1 cros_ec_typec
kfifo_buf              16384  1 industrialio_triggered_buffer
typec                  36864  1 cros_ec_typec
industrialio           57344  5 industrialio_triggered_buffer,iio_trig_hrtimer,acpi_als,kfifo_buf,iio_trig_sysfs
snd_soc_max98357a      16384  1
ip6table_nat           16384  1
fuse                  106496  12
lzo_rle                16384  2
lzo_compress           16384  1 lzo_rle
zram                   20480  1
iwlmvm                446464  0
iwl7000_mac80211      729088  1 iwlmvm
iwlwifi               372736  1 iwlmvm
cfg80211              638976  3 iwl7000_mac80211,iwlmvm,iwlwifi
btusb                  53248  0
btrtl                  20480  1 btusb
btandroid              16384  1 btrtl
btintel                24576  1 btusb
btbcm                  16384  1 btusb
bluetooth             475136  33 btrtl,btandroid,btintel,btbcm,btusb,rfcomm
ecdh_generic           16384  2 bluetooth
ecc                    28672  1 ecdh_generic
joydev                 24576  0

Since the gfxcard is an intel (Intel Corporation Device 4e55 (rev 01)) I thought it would work right away

During the black screen, the usbdisk blinks on and off for about 40s, maybe more.

Edit:

chrome://system/
CHROMEOS_FIRMWARE_VERSION: Google_Sasuke.13606.333.0
platform_identity_model: sasuke
platform_identity_name: Dedede

Edit 2: Redid the install on a different computer, still getting a black screen.

hede5562 commented 2 years ago

For me it's the Lenovo IdeaPad Flex 3 11IJL6 (botenflex). The black screen appears but /var/log/syslog gets written. The relevant parts seem to be:

Apr 17 15:43:52 cbflex kernel: [    0.000000] Linux version 5.10.106 (milkydevel
oper@GF63) (gcc (Ubuntu 11.2.0-13ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubunt
u) 2.37) #1 SMP PREEMPT Sun Mar 20 10:38:25 CDT 2022
Apr 17 15:43:52 cbflex kernel: [    0.000000] Command line: cros_secure console=
tty1 root=/dev/sda2 i915.modeset=1 rootwait rw fbcon=logo-pos:center,logo-count:
1 loglevel=0 splash
...
Apr 17 15:43:52 cbflex kernel: [    0.000000] DMI: Google Boten/Boten, BIOS Google_Boten.13606.340.0 09/29/2021
...
Apr 17 15:43:52 cbflex kernel: [    0.746001] pci 0000:00:02.0: attach allowed to drvr i915 [internal device]
Apr 17 15:43:52 cbflex kernel: [    0.746018] i915 0000:00:02.0: Your graphics device 4e71 is not properly supported by the driver in this
Apr 17 15:43:52 cbflex kernel: [    0.746018] kernel version. To force driver probe anyway, use i915.force_probe=4e71
Apr 17 15:43:52 cbflex kernel: [    0.746018] module parameter or CONFIG_DRM_I915_FORCE_PROBE=4e71 configuration option,
Apr 17 15:43:52 cbflex kernel: [    0.746018] or (recommended) check for kernel updates.

This is Kernel 5.10 while ChromeOS uses Kernel 5.4 and both using the same driver version?? Debian Kernel (my old Thinkpad shows this): [ 3.360991] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0 The Chromebook with ChromeOS:

[    0.000000] Linux version 5.4.180-17902-g44152654f29b (chrome-bot@localhost) (Chromium OS 14.0_pre437112_p20211208-r8 clang version 14.0.0 (/var/tmp/portage/sys-devel/llvm-14.0_pre437112_p20211208-r8/work/llvm-14.0_pre437112_p20211208/clang 79d58b4d3017d159bf09a77398c9a116128de193)) #1 SMP PREEMPT Mon Apr 11 19:34:26 PDT 2022
...
[    0.879342] [drm] Initialized i915 1.6.0 20200114 for 0000:00:02.0 on minor 0

The Chromebook doesn't have the i915.force_probe=4e71 set in the cmdline...

MilkyDeveloper commented 2 years ago

I've fixed this in the latest few commits, I just need to rebuild the kernel tomorrow morning. Huge thanks @hede5562, I wouldn't have thought of using syslog!

MilkyDeveloper commented 2 years ago

I've just rebuilt and uploaded the kernel. @dazWiLLiE and @hede5562, you can update your kernel by running:

bash updatekernel.sh

on the Linux PC you built Breath with. The fix ended up being to remove the requirement for force-probing i915 within Jasperlake.

hede5562 commented 2 years ago

For me, I'm using a modified kernel.flags with the old kernel (btw. since yesterday) and it works so far. I haven't activated audio yet nor updated to your new kernel.

But thanks for your good work! I'll give it a try if I have time to do so.