Saturday, December 9, 2023

[fedora-arm] Re: Fedora on ROCK 5 Model B

Hi,

> I've installed Fedora 40 Rawhide on my Rock 5
>
> Short howto:
>
> What you need:
> 1) https://github.com/edk2-porting/edk2-rk3588/releases/download/v0.9.1/rock-5b_UEFI_Release_v0.9.1.img
> dd this Image on a SD-Card
>
> 2) https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/aarch64/iso/Fedora-Everything-netinst-aarch64-Rawhide-20231113.n.0.iso
>
> dd this Image on a USB stick
>
> Put both in your Rock 5B and boot. I've done the Net-install installation with KDE Wayland. The SD-Card with UEFI is needed for booting.
>
>
> Questions:
>
> 1. GPU:
> root@rockpi5:~# inxi -Gx
> Graphics:
> Message: No PCI device data found.
> Display: server: X.Org v: 23.2.2 with: Xwayland v: 23.2.2 driver: X:
> loaded: modesetting dri: swrast gpu: N/A resolution: 1920x1080~60Hz
> API: EGL v: 1.5 drivers: kms_swrast,swrast platforms:
> active: gbm,x11,surfaceless,device inactive: wayland
> API: OpenGL v: 4.5 vendor: mesa v: 23.3.0 glx-v: 1.4 direct-render: yes
> renderer: llvmpipe (LLVM 17.0.4 128 bits)
> API: Vulkan v: 1.3.268 drivers: llvmpipe surfaces: xcb,xlib devices: 1
> root@rockpi5:~#
>
> How can I improve GPU Performance ? Mali / Panfrost Driver are available but not loaded /used
>
> root@rockpi5:~# rpm -ql mesa-dri-drivers-23.3.0-1.fc40.aarch64 | grep -i pan
> /usr/lib64/dri/panfrost_dri.so
> root@rockpi5:~# rpm -ql mesa-dri-drivers-23.3.0-1.fc40.aarch64 | grep -i mali
> /usr/lib64/dri/mali-dp_dri.so
> root@rockpi5:~#
>
> Creating a custom xorg.conf doesn't make sense while using Wayland ?

That won't make any difference.

The support for accelerated graphics isn't upstream yet. There's a few
series of patches that would need to land, at least this one [1], and
one to support HDMI, possibly more. Looking at [1] I doubt that will
now land for 6.8, the rule of thumb is usually it has to be accepted
by rc5 of the previous cycle, so we'd be looking at 6.9 at the
earliest assuming any other patch series also land, it'll also need
patches for device tree. You could collect the patch series together
and build a kernel if you want it before then.

> 2. Boot
>
> Is there any way to boot Fedora direct from NVME instead using rock-5b_UEFI_Release_v0.9.1.img on SD-Card ?

You need to put the FW on the SPI flash, not sure if the firmware
supports that yet, but there's confirmation it'll work at some point
in their FAQ:
https://wiki.radxa.com/Rock5/FAQs#Q:_Without_eMMC_and_TF_card.2C_can_ROCK_5B_boot_from_PCIe_M.2_NVME_SSD.3F

[1] https://lists.freedesktop.org/archives/dri-devel/2023-December/434211.html
--
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

No comments:

Post a Comment