GithubHelp home page GithubHelp logo

greenteaos / njraa Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 95 KB

Graphics stack of the @GreenteaOS

License: GNU Lesser General Public License v3.0

cuda direct3d directx opencl opengl vulkan njraa gaming

njraa's Introduction

NjRAA Work-in-progress GPU Driver Foundation

[nee-jee-ray] stands for Not just Renamed AMD API

What we are doing here is a GPU driver as a prototype for future graphics stack of the @GreenteaOS

  • Vulkan
  • DirectX / Direct3D
  • OpenGL
  • OpenCL

Uses safe programming language Hexa.

Aim

To support AMD GCN 1.0+ GPUs. And Intel/Nvidia ones that conform to Resource binding Tier 3 and Resource heap Tier 2.

Later GCN/RDNA GPUs will reuse huge parts of GCN 1.0 code.

Investigate three ways of implementing things. You are welcome to participate at any one you feel comfortable:

  • Use NT GPU drivers
    • Note that means using closed-source third-party software
    • Implementing Vulkan ICD and then use it in tandem with DXVK seems like the most approachable way
  • Use Mesa open-source drivers
    • This one requires libDRM compatible API implementation
  • Write own GPU drivers
    • Mostly depends on DMA mapping and command stream (modern GPUs)

Supported GPUs

Depends on the available hardware. You may sponsor this project for broader testable hardware.

Step by step goals

  • Create IOCTL API to control the driver from userspace
  • Init GPU engine and setup command buffer
  • Mode setting
  • Draw anything on screen

Build

Follow build instructions from the Tofita repo.

License

GNU LESSER GENERAL PUBLIC LICENSE Version 3

njraa's People

Contributors

peyty avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.