Star64: GPU firmware loading on Armbian
#11
(06-08-2023, 10:30 PM)Fishwaldo Wrote: if you want a practical proof of the GPU "working" do this:
Load my desktop image (or kernel on armbian etc) and execute in a terminal window
"cat /sys/kernel/debug/pvr/status" and then do move some windows or play a video:
"Every 2.0s: cat /sys/kernel/debug/pvr/status                                                                                                                                                          star64: Fri Jun  9 04:49:23 2023

Driver Status:  OK

Device ID: 0:128
Firmware Status: OK
Server Errors:  0
HWR Event Count: 0
CRR Event Count: 0
SLR Event Count: 0
WGP Error Count: 0
TRP Error Count: 0
FWF Event Count: 0
APM Event Count: 243
GPU Utilisation: 93%
"

Now do the same with your Framebuffer app, and not that the GPU utilization does not go above 0%.

I've written both framebuffer apps and X apps, so these details are already familiar.

However when I was running X and seeing it run slow and with artifacts, I was using xterm, xconsole, and the Motif window manager, none of which use any part of Mesa,
and X claimed in its log to be using the "fb" device, so it shouldn't have been trying to use an 3D objects and textures to place windows. In fact, it didn't so any such thing because if you watch what happens when I moved a window, it didn't slide like a 3D object would.

Here is the evidence again in case you missed it:
https://youtu.be/Le2g9Kx-pjI

And of course, the fbdev test program that I ran, if it wasn't using any part of the GPU, should not have displayed any out-of-order drawing, but it did.
Therefore it seems it is the GPU driver which is providing /dev/fb0 functionality but that driver is buggy.
  Reply


Messages In This Thread
RE: Star64: GPU firmware loading on Armbian - by tantamount - 06-09-2023, 11:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Star64 Irradium (based on crux linux) riscv64, aarch64 mara 4 2,080 05-07-2025, 04:20 PM
Last Post: mara
  Case for Star64? garyd 0 212 04-22-2025, 12:41 PM
Last Post: garyd
  How to create a valid firmware packet to update MiguelIrusta 0 482 01-20-2025, 12:10 PM
Last Post: MiguelIrusta
  [Star64] Help needed in understanding Yocto and U-boot build process InterestedinFOSS 0 945 04-23-2024, 10:58 AM
Last Post: InterestedinFOSS
  Star64 JH7110 (slarm64, riscv64) mara 2 2,169 10-09-2023, 03:43 AM
Last Post: mara
  Star64: jtag debugging? bluepill 1 1,913 09-20-2023, 08:26 AM
Last Post: bwooster0
  Star64: 4GB on 8GB boards Der Geist der Maschine 4 3,888 07-27-2023, 12:32 AM
Last Post: balbes150
  Star64: SATA Der Geist der Maschine 1 1,873 07-26-2023, 12:35 PM
Last Post: Gladox114
Information Star64: Armbian Installation Der Geist der Maschine 5 7,751 06-03-2023, 01:26 PM
Last Post: Der Geist der Maschine
  Star64: a first benchmark Der Geist der Maschine 0 2,667 05-29-2023, 01:00 PM
Last Post: Der Geist der Maschine

Forum Jump:


Users browsing this thread: 1 Guest(s)