On RPi4 aarch64 with linux-raspberrypi kernel I have installed LXDE desktop as follows:
$this->bbcode_second_pass_code('', '
Display server
* Install Xorg.
# pacman -S xorg-server xorg-xinit xterm xf86-video-fbdev
* Test display server.
$ startx
Desktop environment
* Install LXDE.
# pacman -S lxde
* Edit ~/.xinitrc shell script for starting LXDE from terminal using startx.
$ nano /home/user/.xinitrc
exec startlxde
')
With the following config.txt this works fine:
$this->bbcode_second_pass_code('', '
initramfs initramfs-linux.img followkernel
temp_limit=70
hdmi_group=2
hdmi_mode=87
hdmi_cvt 2560 1440 60 3 0 0 1
max_framebuffer_width=2560
max_framebuffer_height=1440
hdmi_blanking=1
dtoverlay=vc4-fkms-v3d
dtparam=audio=on
dtoverlay=disable-wifi
dtoverlay=disable-bt
')
But as I change fkms to kms and reboot then I get random black screens.
I've search the arch wiki on kms and on the Installation chapter it says:
$this->bbcode_second_pass_quote('', '
')At first, note that for any method you use, you should always disable:
Any vga= options in your bootloader as these will conflict with the native resolution enabled by KMS.
Any video= lines that enable a framebuffer that conflicts with the driver.
Any other framebuffer drivers (such as uvesafb).