Hello,
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... dd this Image on a SD-Card
2) https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything...
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 ?
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 ?
Thanks Andreas
Hi,
I've installed Fedora 40 Rawhide on my Rock 5
Short howto:
What you need:
dd this Image on a SD-Card
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:
- 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.
- 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...
[1] https://lists.freedesktop.org/archives/dri-devel/2023-December/434211.html
Thanks Peter
putting FW on SPI works fine, so no SD-Card is needed to boot.
For accelerated graphics I'll wait.
Andreas
Am 09.12.23 um 17:42 schrieb Peter Robinson:
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... dd this Image on a SD-Card
2)https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything...
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:
- 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.
- 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...
[1]https://lists.freedesktop.org/archives/dri-devel/2023-December/434211.html
arm mailing list --arm@lists.fedoraproject.org To unsubscribe send an email toarm-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
Hi,
I can confirm this method works fine for Fedora Beta 40. That's great, I will be able to use standard Fedora 40 next month.
I had to overcome two problems: - My keyboard behind a USB switch would not work in UEFI, I had to directly connect it. In Fedora it would work again behind the switch. - The ACPI/DTB setting needed to be set on "ACPI". "DTB" or "Both" would not work for me.
Thanks, Pim
On 12/8/23 19:28, Andreas Reschke wrote:
Hello,
I've installed Fedora 40 Rawhide on my Rock 5
Short howto:
What you need:
https://github.com/edk2-porting/edk2-rk3588/releases/download/v0.9.1/rock-5b... dd this Image on a SD-Card
https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything...
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:
- GPU:
root(a)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(a)rockpi5:~#
How can I improve GPU Performance ? Mali / Panfrost Driver are available but not loaded /used
root(a)rockpi5:~# rpm -ql mesa-dri-drivers-23.3.0-1.fc40.aarch64 | grep -i pan /usr/lib64/dri/panfrost_dri.so root(a)rockpi5:~# rpm -ql mesa-dri-drivers-23.3.0-1.fc40.aarch64 | grep -i mali /usr/lib64/dri/mali-dp_dri.so root(a)rockpi5:~#
Creating a custom xorg.conf doesn't make sense while using Wayland ?
- Boot
Is there any way to boot Fedora direct from NVME instead using rock-5b_UEFI_Release_v0.9.1.img on SD-Card ?
Thanks Andreas
I can confirm this method works fine for Fedora Beta 40. That's great, I will be able to use standard Fedora 40 next month.
I had to overcome two problems:
- My keyboard behind a USB switch would not work in UEFI, I had to
directly connect it. In Fedora it would work again behind the switch.
By UEFI do you mean the EDK2 builds?
- The ACPI/DTB setting needed to be set on "ACPI". "DTB" or "Both" would
not work for me.
That's in the EDK2 menu? In both cases if it's EDK2 you should look at the bug reports for that project and maybe file bugs there.
Thanks, Pim
On 12/8/23 19:28, Andreas Reschke wrote:
Hello,
I've installed Fedora 40 Rawhide on my Rock 5
Short howto:
What you need:
https://github.com/edk2-porting/edk2-rk3588/releases/download/v0.9.1/rock-5b... dd this Image on a SD-Card
https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything...
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:
- GPU:
root(a)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(a)rockpi5:~#
How can I improve GPU Performance ? Mali / Panfrost Driver are available but not loaded /used
root(a)rockpi5:~# rpm -ql mesa-dri-drivers-23.3.0-1.fc40.aarch64 | grep -i pan /usr/lib64/dri/panfrost_dri.so root(a)rockpi5:~# rpm -ql mesa-dri-drivers-23.3.0-1.fc40.aarch64 | grep -i mali /usr/lib64/dri/mali-dp_dri.so root(a)rockpi5:~#
Creating a custom xorg.conf doesn't make sense while using Wayland ?
- Boot
Is there any way to boot Fedora direct from NVME instead using rock-5b_UEFI_Release_v0.9.1.img on SD-Card ?
Thanks Andreas
-- _______________________________________________ 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
On 3/30/24 04:46, Peter Robinson wrote:
I had to overcome two problems:
- My keyboard behind a USB switch would not work in UEFI, I had to
directly connect it. In Fedora it would work again behind the switch.
By UEFI do you mean the EDK2 builds?
Yes.
- The ACPI/DTB setting needed to be set on "ACPI". "DTB" or "Both" would
not work for me.
That's in the EDK2 menu? In both cases if it's EDK2 you should look at the bug reports for that project and maybe file bugs there.
I am sure that the "keyboard behind the USB switch" issue is purely an EDK2 issue, but I'm not equally sure that Fedora 40 Beta not booting unless ACPI/DTB is set to "ACPI" is an EDK2 issue. Or whether it is an issue at all, and that the ACPI setting is just the appropriate setting.
Questions:
- 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
The hardware support isn't fully upstream in released versions as yet so it's not expected to work. The firmware is upstream in linux-firmware 20240220 and later, the kernel support is due to land in 6.10 and the mesa support is under review. We should be able to support it all later in the summer, so probably officially in F-41.
Creating a custom xorg.conf doesn't make sense while using Wayland ?
Nope, if the support was upstream it would "just work"
- Boot
Is there any way to boot Fedora direct from NVME instead using rock-5b_UEFI_Release_v0.9.1.img on SD-Card ?
Write it to the SPI flash or eMMC, the SoC only supports SPL (the very very early part of the boot process) on SPI flash, eMMC or mSD. The docs explain how to do that on the various devices :)
This: HP notebook, seems operating { somehow } Kubuntu??-however, BIOS Files are indicated [corrupted=c02693833-hopefully mr, peter an complete redirection, beyond windows 11, is possible
On Fri, Mar 29, 2024 at 11:53 PM Peter Robinson pbrobinson@gmail.com wrote:
Questions:
- 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
The hardware support isn't fully upstream in released versions as yet so it's not expected to work. The firmware is upstream in linux-firmware 20240220 and later, the kernel support is due to land in 6.10 and the mesa support is under review. We should be able to support it all later in the summer, so probably officially in F-41.
Creating a custom xorg.conf doesn't make sense while using Wayland ?
Nope, if the support was upstream it would "just work"
- Boot
Is there any way to boot Fedora direct from NVME instead using
rock-5b_UEFI_Release_v0.9.1.img on SD-Card ?
Write it to the SPI flash or eMMC, the SoC only supports SPL (the very very early part of the boot process) on SPI flash, eMMC or mSD. The docs explain how to do that on the various devices :) -- _______________________________________________ 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