VisionFive 2 Debian Image 202306 Released

i finally got packages to install. had to use this command
apt --fix-broken install
i’m getting unbeliveable slow downloads and some lag spikes with firefox too

1 Like

this is 10000000000000000% (deliberately annoying) more sane than using 9999 as the version. I Honestly don’t know what they were thinking.

1 Like

@LewisCowles what “this” in your message refers to? to a versioning scheme? to something else?

1 Like

I had to guess, as well, and I suspect that, this might be what is annoying him:

But the thing to always keep in mind is that official Debian currently supports NO RISC-V hardware at all (Not until Debian 13, Debian Trixie, is released sometime in 2025). That this image is a custom engineering build based on Debian for developers, it is not perfect, but for people to write code it works.

4 Likes

You do not known which version9999 means.
Gentoo have a lot of pkg-9999.
all of these pkgs is fetch source from git-or-svn when you build .

jiangtao@gentoo-x6 ~ $ equery l yuzu
 * Searching for yuzu ...
[I-O] [  ] games-emulation/yuzu-9999:0
jiangtao@gentoo-x6 ~ $ 

I currently use existing Debian commands, to protect me from my own level of stupidity, immediately after I initially install a new StarFive image.

$ cat hold.sh
#!/bin/bash --
for PACKAGE in $(dpkg --get-selections '*' | awk '{print $1}')
do
  sudo apt-mark hold ${PACKAGE}
done

I deliberately block myself from being able to modify any of the initially installed packages. Of course I can still break things, if I really really try, but it requires a much higher level of stupidity.

6 Likes

I have always seen an error about an invalid signature. Apt works but occasionally doing updates is like watching paint dry.
Is there a way to fix this?

I’m not sure applying Gentoo practices in Debian is not the silliest thing I’ve heard all month; but it’s certainly not a convention that is common. If you are doing something uncommon. Perhaps stop to think about why, and what alternatives exist.

This is a common thing.
You have not seen debian choose under development version, then you think every software have unique version.

9999 is not only in the major version, minor is more common.
eg. https://gamemaker.io/zh-CN/blog/gamemaker-studio-1-dot-4-9999-released

9999 is biger than stable version. If you dont like , you can choose 9000 to 9998.

You can try a solve simple problem:
How to let apt automatic update a VF2-version mesa, not upsteam version .
Hack Debian’s server and del “unneed”?

I finally got around to testing the 202306 SF Debian VF2 image last night. Whilst its a shame that we can’t upgrade yet without likely breaking the graphics and the unstable rv64 repos are dialup speed most of the time, 202306 is one of the most significant updates to an OS I’ve ever seen. Most “desktop” Linux type apps like browsers were barely usable before but now Firefox is looking much more usable with some mostly working graphics drivers in place, Youtube seems quite usable under Firefox now.

The most impressive thing is that I was able to install mpv then get the VF2 to do a good job of playing back a 60fps 4K hevc/h265 video, scaling it in realtime to play on a 1080p display. I have only seen mpv work this well on the Jetson Nano before, outside of running mpv on x86/64. Unfortnately 4K playback on a 4K display isn’t working yet:

The Jetson Nano can play 4K 60 fps video on a 4K display via mpv but only with nvidias closed GPU driver and on an OS they’ve stopped supporting. The Nano was barely supported for two years before nvidia left everyone on Ubuntu 18.04.

Earlier in this thread, Michael gave some instructions for configuring VLC. He said you should configure VLC to use FFmpeg (which is wrong anyway, the ffmpeg command is all lower case) as the decoding program when what he should’ve wrote is ffplay.

I get better NVMe performance running Arch instead of SF Debian 202306

Watch out for this error if you try running any SDL2 programs (eg games and emulators):

The SF minimal Debian desktop image should also include the nautilus (GNOME) file manager at least IMO:

I am currently building Godot 4.1 to see if I can get that run to test out the Vulkan / OGLES support…

Exciting progress!

EDIT

I got godot 4.1 to build, it took 2h 42m, but it doesn’t run. I just get the error:

free(): invalid pointer

a few times before it aborts but this is most likely a problem for the godot devs, the ones who care about rv64 at least, rather than the StarFive engineers.

If anyone else wants to build godot on the VF2 you need to run:

scons -j 4 use_llvm=yes

To build it with clang instead of gcc. Godot only supports being built with clang on rv64.

2 Likes

Kudos. I’m somewhat of a novice. My SF2 wouldn’t boot from NVMe. I was missing the steps to update the u-boot ‘stuff’ that @mzs pointed out. This fixed it! Thanks.

3 Likes

Some bugs on Xorg Gnome :

  • red and blue inverted in gtk3 when using wxWidgets : wxBitmap
  • glitches and lags in menu drawing
  • exFat shareds are not working for usb disk plug in nautilus
  • lags with keybard in terminal, and in selection in menus
  • some reboot gives white screen and does not boot to login
  • keyboard language management (azerty) does not work on login

Hello all,

I have been away from this forum for several months.
I decided to install the Debian image 202306 to see what had changed/improved.
I also updated the firmware (flashcp) to enable booting from NVME.

The desktop is experiencing massive lagging/latency issues.
I have not installed anything special and I have NOT ran apt upgrade.
If I ssh into the box, I can see no obvious factor that is causing/contributing to this.
Memory use is normal as is CPU usage.
Out of frustration, I installed XFCE.
No change, response times still abysmal.
Has anyone experienced the same issues or have I missed something?
Please see attached excerpt of the ring buffer (dmesg).
With the desktop in this present state, it is unusable.

Regards

AubreyVersionfive - 2 dmesg

Another screenshot - ringbuffer filtered for hdmi entries -
dmesg hdmi

From the very first post in this thread:

Is there any chance that your monitor is 4K ?

No. I am running the same 27" 2K Benq monitor that I used to test earlier releases of VF2.
I have also tweaked no display settings.

Aubrey

1 Like

Is it 2K at 60Hz or 2K at 30Hz refresh rate ?

1920*1080 60Hz.

I was going to say that is probably the cause but then I saw this post:

But it might be worthwhile at least trying to force the resolution to 30Hz (since it would be pushing 50% less data about), which might double the responsiveness. I guess that the first step would be to check if your monitor actually supports 1920x1080 at 30Hz

$ sudo apt install libdrm-tests
$ sudp modetest -M starfive -c

And maybe there is a gnome option to select a new frame rate.
gnome → settings → displays

But since you installed XFCE, you are on your own. Because you might have overwritten some of the critical files with newer versions but with less functionality for the VF2 board in the process.

I do not suppose that you safeguarded against that ?

2 Likes

I will try the settings as you suggest in the morning.
I have had enough of non-responsive desktops for one day.
If needs be, I will reinstall the image.
Much appreciate the tips about human stupidity.

Aubrey

1 Like

@mzs Rather than adjust screen resolution/frequency, I reinstalled the 202306 NVME image - quicker.
The Gnome desktop (which I dislike) is reasonably responsive using wayland (which I abhore).
Visionfive seem to have neglected xorg in favour of wayland, which is unfortunate.
What are your entries in /etc/apt/sources.list?

I am receiving this error -

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: debian-ports:/ 2022-12-25 08:48:46 - snapshot.debian.org unstable InRelease: The following signatures were invalid: EXPKEYSIG E852514F5DF312F6 Debian Ports Archive Automatic Signing Key (2022) ftpmaster@ports-master.debian.org
When doing an apt upgrade - but NOT going any further.

Regards

Aubrey