VisionFive 2 Debian 202409 Released

VisionFive 2 Debian Image 202409 has been released. Here are the simple release notes.
Please check the wiki page for more details:
https://rvspace.org/en/project/VisionFive2_Debian_Wiki_202409_Release

Tips :

  1. Although 4K@30fps is supported and we have improved the desktop performance, there is still frame drop issue during video playback. Thus, it is recommended to switch to 1080p60 resolution for a smooth video playback experience.
  2. Advised to update the u-boot binary if booting from QSPI to support multi-kernel switching at bootmenu.
  3. This debian image contains FFmpeg, Firefox and VLC by default.
  4. Please update the SPI flash to the latest SPL/U-Boot binaries if you would like to try nvme booting (set boot mode as QSPI boot).

Image Download link :https://debian.starfivetech.com/

What’s New

  • Support SarFive Debian official archive;
  • Support Debian-port snapshot 20230612T050707Z;
  • Support update old images by StarFive Debian repository;
  • Support automatic disk expansion during system startup;
  • adb:
    • add adbd component to SarFive Debian repository;
  • firefox:
    • Update version to 119.0.1-1;
  • gnome:
    • Install the improved-osk-gnome extension by default;
    • lmprove preview performance on setting;
  • LibreOffice:
    • Update version to 24.2.0-3;
  • linux-header:
    • Fix “exec format error” in some compilation cases;
  • vf2-spl-uboot:
    • Support update u-boot binary on Debian system;

Known Issues

  • Chromium FFmpeg is not working;
  • NVME image occasionally has a slow boot time;
  • Qt modules qtwebengine failed to build;
  • NWjs Filesystem access APIs failed;
  • NWjs mp3 encoder failed to be detected;
  • Libcamera-raw and libcamera-vid saving 480P raw and mjpeg files will appear random stripes;
  • Libcamera has obvious noises on the full screen of the desktop;
  • Desktop UI is not very suitable for portrait screen;
  • Vulkan CTS;

What’s Next

  • Upgrade Debian snapshot to 20230612;
  • Update FireFox version;
  • Debian-Installer support - Could support both SD + eMMC boot in single image;
  • Vulkan support;
10 Likes

GOOD!
This is necessary.

What’s the status on Vulkan support?

2 Likes

This release fixes mpv video and audio in general.

Controllers do not work however. No js0 in /dev/input/

But how do you enable the GPU driver (no matter how buggy it is) for OpenGL ES applications? I only want to use the GPU driver for an app since if it crashes I don’t want to brick my install.

It defaults to mesa software rendering since release 2 years back and there is no information online how to enable the GPU.

1 Like

no information online how to enable the GPU.

:slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face:

2 Likes

I don’t want to build the image from scratch I want to enable the GPU driver in the release that this thread is about.

Also maybe provide a URL instead of a photo?

Another thing that is still broken in this release are the colors. Red is more brown and somehow black is more grey.

When I run my OpenGL ES app (or glxgears and es2gears_x11) it uses dri/swrast_dri.so and runs at 1 FPS

When I run es2gears_wayland it uses pvr_dri.so and runs at 1000 FPS

So this has to do with wayland all along?!?!

How do I pretend my X11 app is wayland?

Tomorrow I will port my engine to wayland following this example: Wayland++: egl.cpp

But this is the last time I reimplement the wheel for nothing.

Sorry, I don’t know. I’m just providing information. :slightly_smiling_face:

Another thing that is still broken in this release are the colors. Red is more brown and somehow black is more grey.

The old GPU driver has poor support for Xorg and always changes color.
I guess,Someone is already testing the new GPU driver. I discovered it a few days ago while testing OpenKylin 2.0 SP1.Very good support for Xorg, unchanged color. openKylin 2.0 SP1 RISC-V for VisionFive 2 (2024.12.21).
openKylin 2.0 SP1 for vf2 download
openKylin 2.0 SP1 Mirror Site Download

1 Like

new GPU driver. unchanged color.


1 Like

I tried to launch under X11 and then it uses the pvr_dri.so… and the output is completely garbled.

How do you update the GPU drivers? Is there anything to update to after this release?

New GPU drivrs , I guess,It is still under testing and has many issues, so it has not been officially announced.
Keep following it, having new GPU driver testing should be good news。 :grinning:

1 Like

I tried OpenKylin 2.0 SP1, but I can’t read Chinese, so it wasn’t easy to switch to English.
In the end I did it as explained below.

sudo apt-get install language-pack-en language-pack-en-base manpages

sudo nano /etc/default/locale

LANG="en_GB.UTF-8"

vkcube is working, but I still want to test some more things with Vulkan. glxinfo segfaults, so OpenGL support is probably not available.
And I see some GFX glitches.

1 Like

:+1: :+1: :+1:
Replace linghtdm with sddm,It will be better。

sudo apt install sddm
sudo dpkg-reconfigure sddm
:laughing:

I still had issues with sddm, and the login screen changed a lot.

I was able to install mangohud.
I wanted to test Vulkan-Samples, I was able to build it, but it segfaults.

I tested mangohud with vkcube, but it reports no GPU usage and very low CPU usage. I guess mangohud can’t read the GPU usage.
Taking a screenshot uses CPU, but vkcube consumes less than 10% CPU.

1 Like