Talk:IMac Unibody
Better solution for the KMS bug
I use other solution for the KMS bug which does not depend on Xorg and xrandr. I can also use tty without blackout.
Adding video=DP-1:e
to kernel command line solved blackout. But tty did not use correct resolution. cp /sys/class/drm/card0-eDP-1/edid /usr/lib/firmware/edid/edid.bin
and adding drm.edid_firmware=DP-1:edid/edid.bin
to kernel command line fixed it.
I can use Xorg with
/etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor" Identifier "eDP" Option "PreferredMode" "1920x1080" EndSection
Some Wayland compositors worked without settings for them. mpv worked with DRM backend if I set to use eDP-1. KMSCON wtthout no-drm and Some Wayland compositor made screen blackout and they don't have option to choose connector.