Code Monkey home page Code Monkey logo

Comments (4)

rsta2 avatar rsta2 commented on September 28, 2024

from circle.

makuto avatar makuto commented on September 28, 2024

The only bare metal project with GPU support on Pi 4 I've found is this one. It looks like if you want GPU support, you'll need to read the Linux kernel driver and figure out how to port it to your bare metal system. See this issue.

from circle.

makuto avatar makuto commented on September 28, 2024

I have been making good progress on this in my fork. See the header and the example. As you can see, the example has most of the code and is quite messy, but I plan on greatly bolstering it in the coming weeks. Don't expect any OpenGL/Vulkan style api or anything, and the shader compiler problem is still up in the air, but at least there's an exciting seed here. I was rendering 100k triangles at reasonable framerates today with the GPU!

I'm making it a single header so it should be very easy to bring to Circle proper once it's ready.

Another good news: the Raspberry Pi 5's VPU is looking to be very similar (the driver in Linux is very nearly the same), which means this work should benefit both 4 and 5.

from circle.

JoeStrout avatar JoeStrout commented on September 28, 2024

Hey @makuto, your project sounds great! The example link is giving me 404 though. I read through your header file but, though I have some experience with low-level 3D graphics, a working example or two of how to use it would be enormously helpful. Got any you can share?

from circle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.