-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feedback on starfive_visionfive2-riscv64-sidriscv.img #149
Comments
I dug out my powered USB 3.0 hub. The USB 3 SATA SSD adapter still only gives me ~200 Kb/s but I can use my 2.5" mechanical USB 3 disk when its plugged into the powered hub and I get about 110 MB/s reads which is pretty much its full speed. |
I've been looking into gettng the video decoding working. The README for the wave511 driver ( https://github.com/starfive-tech/soft_3rdpart.git ) says: By default, VDEC uses the cma method to allocate mem from the general CMA space. If you want to specify a reserved space for VDEC, you can reserve it in the dts file. At the same time, in the file code/vdi/linux/driver/vdec.c, open the VPU_SUPPORT_RESERVED_VIDEO_MEMORY macro. Simple example of reservation method:
https://github.com/starfive-tech/soft_3rdpart/tree/JH7110_VisionFive2_devel/wave420l If we can get wave420l to build and load its kernel module it promises realtime encoding of 4K H265, which is very impressive for a ~£100 SBC. |
I have been able to successfully boot your sid image directly from NVMe but only when manually entering these commands into u-boot:
I'll update you when I get u-boot configured correctly to directly boot into Debian - its clearly possible. Let me know if you beat me to it please! |
sorry for the deleyed response, i'm mostly offline right now - i did not yet look into this - i think i remember a thread in the rvspace forum about it or it was in here maybe? - https://github.com/riscv/meta-riscv/pull/382/files |
Ignore my comment about vdec and the video driver. I've decompiled the current dts that your kernel is using and it already includes vdec support. I've not had a proper go at getting the vdec ffmpeg to build yet. |
I have now got Debian sid automatically booting from my m.2 SSD! This is a hacky solution because it uses the You might want to run
|
The good news is that starfive_visionfive2-riscv64-sidriscv.img (230321-02) is the best of the five or so Linux distros I've tried on the VF2 so far. It's the only one I've tried that has working 4K HDMI support (albeit unaccelerated) that has survived an
apt upgrade
so far.I initially booted it on a 1080p display and the Xorg display was a bit distorted but after an apt update/upgrade/reboot cycle, 1080p output fixed itself and 4K is happy enough too, if a bit jerky with it just being just a fbdev output.
Have you tried enabling / building the mesa (experimental) powervr driver yet? Some build instructions are here:
https://forum.rvspace.org/t/did-anyone-tested-mesa-git-for-current-powervr-status/2676/3
It was a nice surprise to see (hear) that HDMI audio is working already. I wasn't expecting that yet.
I've got a SAMSUNG 980 PRO m.2 disk attached to my VF2 but
hdparm
says I only get ~155 MB/s. On the rvspace forums I've read of people claiming to get around 280 MB/s, almost twice as fast. Might I need to enable PCIe 2.0 support somehow?I can use regular USB memory sticks OK with the VF2 but it doesn't seem to provide enough power via its USB to power either an SSD via a USB SATA adapter nor does it provide enough power to use my 2.5" mechanical HD, which I can use via bus power alone on my laptop and TV box etc. I can kinda use a SATA SSD via USB but I only get ~200 KB (KILObytes) per second so its not really usable without external power.
Tomorrow I'll try to get it booting off NVME. I don't know how to mount the regular BTRFS image so I'll have to use rsync to transfer it onto an ext4 partition on my NVMe disk so that I can edit its fstab afterwards.
Great work @hexdump0815! Thanks!
The text was updated successfully, but these errors were encountered: