Open beren12 opened 6 years ago
I booted with your edid (using hdmi_edid_file=1
) and it seemed happy:
pi@domnfs:~ $ tvservice -s
state 0x12000a [HDMI DMT (68) RGB full 16:10], 1920x1200 @ 60.00Hz, progressive
No panics. What does
vcgencmd version
uname -a
report for you?
hdmi_ignore_edid=0xa5000080 made no difference it still froze.
I have no usb devices attached, and I used config.txt to force the things that got it to boot:
hdmi_group=2 hdmi_mode=4 or display_hdmi_rotate=1
let it boot.
I'm also able to plug in the monitor after it's fully booted and do tvservice -p
and it's fine, I can play emulation station without issue.
pi@raspberrypi:~ $ vcgencmd version Apr 16 2018 18:16:56 Copyright (c) 2012 Broadcom version af8084725947aa2c7314172068f79dad9be1c8b4 (clean) (release) pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.14.34-v7+ #1110 SMP Mon Apr 16 15:18:51 BST 2018 armv7l GNU/Linux
You say:
If I force dtoverlay=vc4-kms-v3d it boots but seems to be 1080p not the native 1920x1200.
Are you normally using vc4-fkms-v3d or the default VPU-based graphics?
I should note that I am using an initrd image with raspbian but the kernel and all are stock. I just have a root filesystem on zfs. This panic occurs before any of those modules are loaded however, and it boots fine connected to a tv or nothing at all.
I'm using default graphics as I wanted this for retropie mainly. No gui installed it's mostly a plain -lite image
config.txt is currently:
dtparam=audio=on
enable_uart=1
hdmi_drive=2
initramfs initrd.img-4.14.34-v7+ followkernel
and cmdline.txt is dwc_otg.lpm_enable=0 console=serial0,115200 root=ZFS=rastank/raspbian-stretch rootfstype=zfs elevator=noop rootwait plymouth.enable=0 zfs.zfs_arc_max=134217728
Also, the 2408wfp fails to boot when connected to hdmi or hdmi→dvi, the other dell monitor only has dvi so it's connected hdmi→dvi.
Think it's a hardware problem? strange that it's monitors not tv showing the problem...
Can you copy the edid to /boot/edid.dat and add to config.txt
hdmi_edid_file=1
hdmi_force_hotplug=1
Does it still fail? Does it still fail if booted with monitor unplugged?
I should note that I am using an initrd image with raspbian
Probably same issue as here then: https://github.com/raspberrypi/linux/issues/2450
it works fine if the monitor is unplugged. it maybe related to raspberrypi/linux#2450 but it's not the same if I'm reading it correctly. mine only has a problem with plugged into the 2 monitors I tried, not with the 2 TVs I tried. serial console or not doesn't matter, and it happens every single time. if the pi is hot or cold. I gotta grab the monitor from work to play more since I won't be in the office the next 4 days.
Do you also still get the exact same kernel panic if you comment out the initramfs from config.txt for testing purposes?
I'm not sure. I can't boot it without the image.
Just wondering if it gets past the "Bad mode in data abort handler" error you have now...
(yes. I realize that even if gets past that point it would fail afterwards due to missing init.)
it works fine if the monitor is unplugged.
Can you clarify this? Is this with:
hdmi_edid_file=1
hdmi_force_hotplug=1
and are you saying it panics with monitor plugged in and doesn't panic with monitor unplugged?
no, sorry. i mean w/o the following and the monitor not plugged in, it works fine. with
hdmi_edid_file=1
hdmi_force_hotplug=1
in the config.txt and the monitor unplugged it panics with the initrd.
I have to get the actual monitor to check if it doesn't panic w/o the initrd.
Does it panic both with the monitor plugged in and without? (with the quoted config.txt settings).
I just tried a fresh image, updated it, then added the
hdmi_edid_file=1
hdmi_force_hotplug=1
and it didn't freeze, so maybe it is related to initrd. still, very odd.
(no monitor but force hotplug)
but it's also strange, rotating the video lets it boot, or 640x480, why would that matter?
but it's also strange, rotating the video lets it boot, or 640x480, why would that matter?
Anything that can affect timing or memory layout can cause it to happen/not happen. While I am only seeing it very occasionally myself (as reported in the linux repo issue), for others it indeed does happen almost every time (for example reported by lucky here: https://github.com/maxnet/berryboot/issues/488 who is using same files as me)
yeah this is an every single time thing for me.
is there anything that can be done to avoid it? maybe load the the initrd at a slightly different address or something? IIRC you can specify an address instead of just followkernel…
is there anything that can be done to avoid it?
Either downgrade to 4.9.x or disable FIQ by
appending dwc_otg.fiq_enable=0 dwc_otg.fiq_fsm_enable=0
to cmdline.txt
maybe load the the initrd at a slightly different address or something?
Can always try that, but do note that it's only a temporary location. The data is extracted/copied to a different memory location pretty soon after the kernel starts.
@beren12 Did newer firmware fix this or is it still a problem?
It also fails when a dell p2212hf is attached. It works fine when my 24 or 65" TV is attached.
This is a raspbian install with latest packages installed as of today.
If I force 640x480 mode it boots. If I force dtoverlay=vc4-kms-v3d it boots but seems to be 1080p not the native 1920x1200. If I tell it to rotate the screen 90° it boots.
It fails so early the serial console isn't setup yet.
/opt/vc/bin/edidparser edid.dat
shows:I am attaching my edid.dat and a high pic
of the boot log.