Go to advanced search

by Paeryn
Tue Jun 11, 2019 8:05 pm
Forum: OpenGLES
Topic: undefined reference to BlendFuncSeparateOES
Replies: 5
Views: 500

Re: undefined reference to BlendFuncSeparateOES

... blend modes for alpha when running in an ES1 context. There's nothing preventing the hardware from doing it as blending is done in software on the QPUs but the driver that generates QPU code for ES1 might assume the blending modes are the same. If nobody from the Foundation replies in the next ...
by hippy
Fri May 31, 2019 12:51 pm
Forum: Python
Topic: Executing VPU code with Python (TAG_EXECUTE_CODE)
Replies: 0
Views: 58

Executing VPU code with Python (TAG_EXECUTE_CODE)

... There seems to be almost no public code out there using TAG_EXECUTE_CODE - And please note that this is for running Scalar/Vector (VPU) code, not QPU code. As for the "why?" - I am generating Vector/Scalar opcodes for running on the VPU and, while I can burn that to card, boot it, see what happens, ...
by boban_r
Wed May 01, 2019 5:14 pm
Forum: General discussion
Topic: QPULib: a language and compiler for the QPUs
Replies: 11
Views: 4054

how to display the number of QPUs on the screen?

I'm using your QPU library created on GitHub (https://github.com/mn416/QPULib) to run a sample code on Raspberry Pi 3B I need to display the number of QPUs utilised by the GCD algorithm. I'm getting an error which seems to say that ...
by Aran
Sun Apr 07, 2019 10:30 am
Forum: Bare metal, Assembly language
Topic: Spider-OS a new operating system
Replies: 90
Views: 9421

Re: Spider-OS a new operating system

... than the ARM you can just pass it a float being the angle. To create the shader download MESA, setup a GLSL rotation shader and use VC4_DEBUG=qpu and it will dump the VC4 shader code. LdB, good point. Indeed it will be faster, if it is the chip that performs 3D calculations directly. I just ...
by LdB
Sat Apr 06, 2019 1:47 am
Forum: Bare metal, Assembly language
Topic: Spider-OS a new operating system
Replies: 90
Views: 9421

Re: Spider-OS a new operating system

... than the ARM you can just pass it a float being the angle. To create the shader download MESA, setup a GLSL rotation shader and use VC4_DEBUG=qpu and it will dump the VC4 shader code.
by jamesh
Thu Apr 04, 2019 5:42 am
Forum: General discussion
Topic: Pi 4 questions
Replies: 166
Views: 8084

Re: Pi 4 questions

I really doubt that anything more than 4 cores makes any sense. Do the 48 ALU's in the 12 QPU's count as cores? The 2 vector cpu's in the VC4 that control them. Scaler cpu's as well? Can an ALU be called a CPU? Exactly how many ALU's that can be coded do we have? Will ...
by W. H. Heydt
Thu Apr 04, 2019 3:31 am
Forum: General discussion
Topic: Pi 4 questions
Replies: 166
Views: 8084

Re: Pi 4 questions

I really doubt that anything more than 4 cores makes any sense. Do the 48 ALU's in the 12 QPU's count as cores? The 2 vector cpu's in the VC4 that control them. Scaler cpu's as well? Can an ALU be called a CPU? I wouldn't count them any more than I would count all the ...
by Gavinmc42
Thu Apr 04, 2019 12:52 am
Forum: General discussion
Topic: Pi 4 questions
Replies: 166
Views: 8084

Re: Pi 4 questions

I really doubt that anything more than 4 cores makes any sense. Do the 48 ALU's in the 12 QPU's count as cores? The 2 vector cpu's in the VC4 that control them. Scaler cpu's as well? Can an ALU be called a CPU? Exactly how many ALU's that can be coded do we have? Will ...
by krom
Wed Mar 20, 2019 4:22 am
Forum: Bare metal, Assembly language
Topic: Trying Bare Metal on Raspberry Pi 3
Replies: 4
Views: 4283

Re: Trying Bare Metal on Raspberry Pi 3

... use all the info I learned from Jaymin, but I used a special option which let me use non Swizzled Textures. I also made my own commented assembly QPU texture shader: FRAGMENT_SHADER_CODE: ; Texture Shader ; Tex S: ACC0 = S * W (R15A) ; Add Op: No Operation, Add Cond: Never ; Mul Pipe: Floating ...
by DavidS
Tue Mar 19, 2019 10:05 am
Forum: Bare metal, Assembly language
Topic: Puzzled, Mem speed?
Replies: 31
Views: 2382

Re: Puzzled, Mem speed?

... in the result. Now if only I can get the Ray Tracer to reach better than 14FPS at 640x480 16bpp (using 4 ARM cores, 4 NEON cores, and as much QPU time as I feel comfortable using) for only up to 850 surfaces visible. I am sure I will improve my algorithm, as well as learn some tricks from ...
by DavidS
Sun Mar 17, 2019 3:40 pm
Forum: Graphics programming
Topic: SPi Display Questions?
Replies: 22
Views: 2108

Re: SPi Display Questions?

... Oversimplified Description: The VC4 GPU is a multicore VPU (read CPU enhanced for graphics type operations, specializing in SIMD), multi core QPU that provides a powerful implementation of HW floating point and a good bit more, and some control, bus systems, and other stuff builtin. Put simply ...
by Gavinmc42
Sat Mar 16, 2019 11:17 am
Forum: General discussion
Topic: questions about the pi zero cluster hat
Replies: 4
Views: 325

Re: questions about the pi zero cluster hat

... even the Pi cameras will work. That will get you a 5 camera system. There is some OpenCL stuff mostly working so you can do that too on the Zero's QPU's. The Zero's GPIO's work as normal. Not sure what difference the new version 2 does, I only have the older one.
by hippy
Sat Mar 09, 2019 10:36 am
Forum: Bare metal, Assembly language
Topic: RPi VC4 QPU binary blob
Replies: 8
Views: 5752

Re: RPi VC4 QPU binary blob

Just an update on getting the latest version of Volker Barthelmann's VASM Videocore 4 Assembler onto a Pi and built - cd ~ wget http://sun.hasenbraten.de/vasm/release/vasm.tar.gz tar xzvf vasm.tar.gz cd vasm make CPU=vidcore SYNTAX=std Then to run the assembler - ~/vasm/vasmvidcore_std -Fbin -o test...
by terraspace
Sun Feb 24, 2019 5:14 pm
Forum: C/C++
Topic: Software Rendering Performance with Dispmanx
Replies: 7
Views: 941

Re: Software Rendering Performance with Dispmanx

Ok, so after some more digging I found http://www.aholme.co.uk/GPU_FFT/Main.htm , which is using the mailbox to the VC4 to execute QPU code on the GPU. It includes a mailbox.c and mailbox.h which seemed useful, so I'm trying to use similar logic to lock and map the location of this dispmanx ...
by LdB
Fri Feb 22, 2019 9:26 pm
Forum: Bare metal, Assembly language
Topic: Spider-OS a new operating system
Replies: 90
Views: 9421

Re: Spider-OS a new operating system

... talking with Eric Anholt I found a really neat way to make up new shader assembler code https://www.mesa3d.org/envvars.html The setting VC4_DEBUG=qpu and it writes the VC4 assembler code of a shader out for you :-) That was actually my biggest problem with going further with the VC4 which is now ...
by fanoush
Fri Feb 22, 2019 3:31 pm
Forum: General discussion
Topic: Why must the raspberrypi be so proprietary?
Replies: 44
Views: 2200

Re: Why must the raspberrypi be so proprietary?

... talking about VPU here - that CPU that boots bootcode.bin which is indeed not publicly documented fully as such. There is also the 3d parts with QPU units which were documented directly by broadcom so even your "does not publish any documentation" does not apply here. And the android driver source ...
by ab1jx
Sun Feb 10, 2019 2:58 am
Forum: Troubleshooting
Topic: My es2gears went black
Replies: 52
Views: 2075

Re: My es2gears went black

... a link to it. I've read some of Herman Hermitage's stuff. I have directories marked QPULib, rpi-playground, vc4-gpu-tools, vc4asm, videocoreiv-qpu. Much of it crashes on a Pi 3B because I guess it dates back to a Pi 1 and an address was different. I haven't messed with a lot, part of my objective ...
by Gavinmc42
Sun Feb 03, 2019 3:10 am
Forum: Troubleshooting
Topic: My es2gears went black
Replies: 52
Views: 2075

Re: My es2gears went black

... part of the main memory! This means, an OpenCL kernel could be used to read sensitive data or write into kernel memory! Of course doing fft on the QPU's and allowing the VC4 to write to framebuffer memory is a NICE feature ;) Not sure if there is FFT in the Compute library? Yikes, lots in there, ...
by Gavinmc42
Fri Feb 01, 2019 2:56 am
Forum: Troubleshooting
Topic: My es2gears went black
Replies: 52
Views: 2075

Re: My es2gears went black

... I have even started looking at FPGAs to do the FFT's in hardware, I expect it will take me a few years to learn that ;) FFT's can be done in the QPU's but what happens to them if I use OpenVG to then plot the data? Not sure how to measure QPU usage, so I am looking at ARM's Compute Library to ...
by Gavinmc42
Thu Jan 31, 2019 8:41 am
Forum: Off topic discussion
Topic: Why Avoid BASIC on RPi?
Replies: 2312
Views: 94020

Re: Why Avoid BASIC on RPi?

... thorugh parallel matching filters? Got my new Lattice fpga vision kit, got two microphones, time to read the examples. Dig out that old Jetpac? QPU FFT code or would quad core Arm's be faster for FFT's? Fastest langauge for FFT's = C? Can FFT's be done in FPGA hardware? I don't like how PI's ...
by Gavinmc42
Mon Jan 14, 2019 3:20 am
Forum: General discussion
Topic: RISC-V
Replies: 135
Views: 7830

Re: RISC-V

If you put 100 cpu's on a $1 fpga, does that count?
What is the smallest cpu core? Intel 4004?
Could the QPU's in the VC4 be made on a FPGA?

4bit instructions, 8bit data, enough to do Neural networking stuff?
More fun if it can all be done on a Pi :D
by Gavinmc42
Sat Jan 05, 2019 11:48 am
Forum: General discussion
Topic: Why didn't we go with Mali?
Replies: 157
Views: 23897

Re: Why didn't we go with Mali?

... on only a few times, one day perhaps. BeagleBone PRU's are interesting, I had thought the Pi's 2 x VPU's could be used the same way, the 48 x QPU's cannot access the GPIO. One day perhaps :lol: Hard to beat the price of Zeros, got so many of those now I have to think up new things to use them ...
by jamesh
Thu Dec 20, 2018 10:14 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 350
Views: 60867

Re: 64-bit operating system

How much of the VC4/QPU's does the new OpenGL driver use? I don't know, will piglit help? How do you test Mesa? Does it use the Arm' cores to software render? If so, does that free up some QPU's for OpenCL stuff? Lots of questions ...
by Gavinmc42
Thu Dec 20, 2018 2:56 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 350
Views: 60867

Re: 64-bit operating system

... VC4 OpenGL driver works much better now than it did 6 months ago and I expect 6 months from now it will be even better still. How much of the VC4/QPU's does the new OpenGL driver use? I don't know, will piglit help? How do you test Mesa? Does it use the Arm' cores to software render? If so, does ...
by DavidS
Sat Dec 01, 2018 12:43 pm
Forum: General discussion
Topic: Setting Clocking on 3B+?
Replies: 24
Views: 1194

Re: Setting Clocking on 3B+?

... have it throttle when under heavy load, and NOT reach 60C, even under a multiple hour stress test running all 4 CPU's, all 4 NEON units, All VPU/QPU's at 100% load for many hours while hitting ram as hard as possible without stalling any pipeline. Though even then I want to be able to set the ...

Go to advanced search