GPU-accelerated distro now running on Star64
#1
I've created a Frankenstein image for Star64 based on Fishwaldo's plasma 1.2 image and the root partition of StarFive's GPU-accelerated image, which was demo'd on Reddit by Slammernanners.

Some context:
On Reddit, Slammernanners showed off a Debian image with StarFive's closed-source drivers and an older Mesa, which only works on the VisionFive 2 board. That board uses the same SoC and GPU as the Star64.

See the video he uploaded here: https://www.reddit.com/r/RISCV/comments/...able_as_a/

I inquired about getting this Debian image and Slammernanners gave me this direct link:
https://drive.google.com/drive/folders/1...2KCQjJ8JI5

I took Fishwaldo's 1.2 plasma image and tried two experiments:

Experiment 1. Clear out his root partition and rsync over StarFive' files and boot it up: This failed. Systemd complained about some files.

Experiment 2. Use dd to copy over the StarFive' root partition verbatim, as it is location independent of course, overwriting Fishwaldo's. This worked. It booted up to the Gnome login screen of Debian and I logged in.

You can download my 4GB Frankenstein image here:
https://drive.google.com/file/d/1u7qiCJv...sp=sharing

There's not a lot of free space in the root partition (#4), so on Linux you'll need to dd it to a larger microSD, and resize the partition and run resize2fs on it.
I'll upload a larger image in a few days with some updates etc.

The login in user/starfive. You can sudo to install packages.
Never do an apt update, as that'll destroy the GPU acceleration.

Watch the boot up of the image on Star64:
https://youtu.be/qzg7ZwHwU5k
  Reply
#2
Just a FYI, that’s not his image - that’s the Debian snapshot released by starfive.

Caveat - don’t run apt upgrade on that image. It will overwrite all the custom binaries for GPU acceleration. (It’s a snapshot release!)
  Reply
#3
(06-08-2023, 09:54 PM)Fishwaldo Wrote: Just a FYI, that’s not his image - that’s the Debian snapshot released by starfive.

Caveat - don’t run apt upgrade on that image. It will overwrite all the custom binaries for GPU acceleration. (It’s a snapshot release!)

Interesting. When I asked him where to download it, he said on the StarFive site, but in the google section it was missing at that moment. He then provided me with a direct link. Maybe someone at StarFive shared it with him. I've updated the naming to reflect its origin.

That's correct, he's said a few times we can't apt update because that will replace Mesa with the newer, post-refactor version of Mesa which isn't compatible with the closed-source userland code. By the way what is the origin of the images that you provide (pinix)?
  Reply
#4
The starfive guys post a lot on their wiki. If you scroll down to the VF2 section you will see links to the Debian image on Google drive. -> https://rvspace.org/en/home

The Mesa and kernel patches come from Starfive. A lot of the app patches I’ve done myself (mainly KDE/plasma related as that’s easier (for my anyway) than GTK/gnome.
  Reply
#5
Very impressive! You managed to successfully craft a customized image for Star64 by merging Fishwaldo's plasma 1.2 image with the root partition from StarFive GPU-accelerated image and Experiment 2, wherein dd was used to copy over this partition successfully, producing results which allowed Gnome login screen bootup of Debian image on Star64.

Your 4GB Frankenstein image, which can be downloaded via the provided link, comes with limited root partition space; therefore if using Linux you must dd the root partition onto a larger microSD and use resize2fs to extend its size.

Log in as "starfive," use sudo to install packages, but avoid doing an apt update as that may interfere with GPU acceleration.

Thanks for sharing your project and its video that showed off its boot up process on Star64; that was amazing to witness. Looking forward to any updates or larger files uploaded in future updates or uploads.

thanks and regards
revida marcos
https://www.multispanindia.com
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Star64 Mechanicals nbxmike 5 2,031 04-08-2024, 03:30 AM
Last Post: Luishayes74
  Star64 distro overview October 2023 tantamount 5 1,541 02-13-2024, 10:56 PM
Last Post: segaloco
  [Star64] UART activity stopped yogo1212 0 322 02-11-2024, 04:34 PM
Last Post: yogo1212
  star64 bootable images, u-boot, sbi, forum? hexdump 2 1,429 12-06-2023, 09:47 PM
Last Post: faultyforelimb
  Armbian and AltLinux for Star64 (RISC-V) balbes150 28 6,355 11-24-2023, 06:26 AM
Last Post: balbes150
  [Article] Star64 JH7110: Experiments with OpenSBI (Supervisor Binary Interface) lupyuen 0 550 10-28-2023, 06:55 PM
Last Post: lupyuen
  [Article] Star64: Strange Workaround for TFTP Timeout in U-Boot Bootloader lupyuen 0 614 10-05-2023, 07:22 PM
Last Post: lupyuen
  star64-image-minimal-star64-2.1 & X fonts tantamount 0 533 10-02-2023, 07:02 PM
Last Post: tantamount
  [Article] Star64 JH7110: Power Up the Display Controller with U-Boot Bootloader lupyuen 0 665 09-02-2023, 10:13 AM
Last Post: lupyuen
  [Article] RISC-V Star64 JH7110: Inside the Display Controller lupyuen 2 947 08-23-2023, 05:08 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)