Giter Club home page Giter Club logo

kazan's Introduction

Kazan

Kazan is an in-progress Vulkan driver that supports cross-platform software rendering, and (eventually) is a driver for libre-riscv.org's RISC-V based GPU.

License

Kazan is licensed under the LGPL, v2.1 or later. See LICENSE.md for details.

Kazan uses third-party software, which has their own licenses.

Code of Conduct

As part of Kazan being hosted by Debian, it is important to follow the Debian Code of Conduct when participating in Kazan's development.

Branches

The master branch is the new Rust version. The previous C++ version is in the kazan-old branch. The version as of the end of GSOC 2017 is in the gsoc-2017 tag.

Building using Docker

  • Clone Git repo: git clone --recursive https://salsa.debian.org/Kazan-team/kazan.git

  • Build: cd kazan docker build -t kazan-cts . If the build fails due to Out-of-Memory, reduce the number of processes run simultaneously by passing --cpuset-cpus=<cpu-numbers> to only use the specified CPUs: # only use CPUs 0, 1, and 2 docker build --cpuset-cpus=0,1,2 -t kazan-cts .

Building on Ubuntu 18.04

  • Install Rust via rustup: curl https://sh.rustup.rs -sSf | sh You need to restart your shell after installing Rust so PATH gets set correctly.

  • Install required packages: sudo apt-get install cmake ninja-build libgl1-mesa-dev libxcb-shm0 libclang-dev clang build-essential git

  • Clone Git repo: git clone --recursive https://salsa.debian.org/Kazan-team/kazan.git

  • Build using Cargo: cd kazan cargo build -vv Building using -vv is recommended because the build process builds LLVM and it doesn't show LLVM's build progress unless using -vv.

  • Run unit tests: cargo test

  • Run a program using the built driver: ./run.sh [ ...] For example, to run vulkaninfo: ./run.sh vulkaninfo

  • Run the Vulkan Conformance Test Suite (CTS):

    • Build and run the CTS: ./run-cts.sh
    • Only build the CTS: ./run-cts.sh --update-only
    • Run the CTS without trying to rebuild: ./run-cts.sh --no-update The CTS is known to fail the dEQP-VK.api.version_check.entry_points test due to a bug in the libvulkan1.so that comes packaged in Ubuntu 18.04. That test should pass when using the libvulkan1.so from the Vulkan SDK.

News

We've moved! - 2018-10-23

Kazan's new canonical location is salsa.debian.org/Kazan-team/kazan.

The Kazan GitHub repository is now used as a read-only mirror.

Kazan's domain names, kazan-3d.org and kazan.graphics, now redirect to Kazan's canonical location on Debian Salsa.

kazan's People

Contributors

nicokoch avatar programmerjake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.