grr and rust-gpu pbr rendering

Overview
You might also like...
A light-weight Anchor-Offset based 2D sprite rendering system for the bevy engine.
A light-weight Anchor-Offset based 2D sprite rendering system for the bevy engine.

Bevy AoUI A light-weight anchor-offset based 2D sprite layout system for the bevy engine. Bevy AoUI provides a light-weight rectangular anchor-offset

GFA visualizer, GPU-accelerated using Vulkan

gfaestus - Vulkan-accelerated GFA visualization Demo: https://youtu.be/TOJZeeCqatk gfaestus is a tool for visualizing and interacting with genome grap

Tic-Tac-Toe on the GPU, as an example application for wgpu
Tic-Tac-Toe on the GPU, as an example application for wgpu

Tic-Tac-GPU A simple (cough cough) example on a tic-tac-toe game with wgpu. Why? Because I didn't find that many small applications which use wgpu as

πŸ–A WGPU graphics pipeline, along with simple types used to marshal data to the GPU
πŸ–A WGPU graphics pipeline, along with simple types used to marshal data to the GPU

renderling πŸ– This library is a collection of WGPU render pipelines. Shaders are written in GLSL. shaderc is used to compile shaders to SPIR-V. Defini

Provides a mechanism to lay out data into GPU buffers according to WGSL's memory layout rules

Provides a mechanism to lay out data into GPU buffers ensuring WGSL's memory layout requirements are met. Features supports all WGSL host-shareable ty

Victorem - easy UDP game server and client framework for creating simple 2D and 3D online game prototype in Rust.

Victorem Easy UDP game server and client framework for creating simple 2D and 3D online game prototype in Rust. Example Cargo.toml [dependencies] vict

Abstreet - Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit
Abstreet - Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit

A/B Street Ever been stuck in traffic on a bus, wondering why is there legal street parking instead of a dedicated bus lane? A/B Street is a project t

"putzen" is German and means cleaning. It helps keeping your disk clean of build and dependency artifacts safely.

Putzen "putzen" is German and means cleaning. It helps keeping your disk clean of build and dependency artifacts safely. About In short, putzen solves

Plugins and helpful methods for using sepax2d with Bevy for 2d overlap detection and collision resolution.

bevy_sepax2d Plugins and helpful methods for using sepax2d with Bevy for 2d overlap detection and collision resolution. Compatible Versions bevy bevy_

Comments
  • core dumped trying to run grr-gltf

    core dumped trying to run grr-gltf

    cat /etc/os-release
    NAME="Pop!_OS"
    VERSION="20.10"
    ID=pop
    ID_LIKE="ubuntu debian"
    PRETTY_NAME="Pop!_OS 20.10"
    VERSION_ID="20.10"
    HOME_URL="https://pop.system76.com"
    SUPPORT_URL="https://support.system76.com"
    BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
    PRIVACY_POLICY_URL="https://system76.com/privacy"
    VERSION_CODENAME=groovy
    UBUNTU_CODENAME=groovy
    LOGO=distributor-logo-pop-os
    
    $ lspci|grep VGA
    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga PRO [Radeon R9 285/380] (rev f1)
    
    $ lsgpu
    sys:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/card0
        subsystem       : drm
        drm card        : /dev/dri/card0
        parent          : sys:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0
    
    sys:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/renderD128
        subsystem       : drm
        drm render      : /dev/dri/renderD128
        parent          : sys:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0
    
    sys:/sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0
        subsystem       : pci
        drm card        : /dev/dri/card0
        drm render      : /dev/dri/renderD128
        vendor          : 1002
        device          : 6939
    

    I downloaded all the required assets as requested. Why aren't they simply in the github project alongside the sources so that everybody may simply git clone the project without having to download the assets?

    I then proceeded to "cargo build --release". Then ran "strace ./target/release/grr-gltf"

    Here are the results of that:

    write(1, "path:<<\"assets/lut_ggx.png\">>\n", 30path:<<"assets/lut_ggx.png">>
    ) = 30
    openat(AT_FDCWD, "assets/lut_ggx.png", O_RDONLY|O_CLOEXEC) = 11
    brk(0x555c128bf000)                     = 0x555c128bf000
    read(11, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\4\0\0\0\4\0\10\2\0\0\0\360\177\274"..., 32768) = 32768
    brk(0x555c12bc7000)                     = 0x555c12bc7000
    read(11, "Z L\215D\215\326\303B\fK\327\5k\260#\245l|\5\23\222^\302\261\2115\326(\311B\230"..., 32768) = 32768
    brk(0x555c12bf7000)                     = 0x555c12bf7000
    read(11, "<\305\210\26RH\266\343\tL\362ta)\224px\26E\345\177\00625b\v(\6\22\5\377\343"..., 32768) = 32768
    read(11, "\200\251\374?\260\23\5`\347\376\377Oz\343\33\303\247\377\251\321\323`\300c\10\330\306\377T\352'0"..., 32768) = 32768
    read(11, "\221|\207\350\177\322\313W\274ZpJ\376'\253 '\317.\22kP\354\226\220\347`d_b\230@"..., 32768) = 32768
    read(11, "20\f\303;\4\310\216A\254Y\202\272\24610\f\311k\206\251\36\10\230AM\7+\340\226\322\323"..., 32768) = 28654
    close(11)                               = 0
    brk(0x555c12fc7000)                     = 0x555c12fc7000
    write(1, "24.17462ms\n", 1124.17462ms
    )            = 11
    ioctl(10, DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM, 0x7fff7b147110) = 0
    ioctl(10, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7fff7b147120) = 0
    ioctl(10, DRM_IOCTL_AMDGPU_CTX or DRM_IOCTL_ETNAVIV_GEM_NEW or DRM_IOCTL_LIMA_GEM_INFO or DRM_IOCTL_MSM_GEM_NEW or DRM_IOCTL_V3D_CREATE_BO or DRM_IOCTL_VC4_WAIT_BO, 0x7fff7b1470d0) = 0
    futex(0x555c124ebd6c, FUTEX_WAKE_PRIVATE, 1) = 1
    futex(0x555c124ebd18, FUTEX_WAKE_PRIVATE, 1) = 1
    futex(0x555c125091dc, FUTEX_WAIT_BITSET, 2, NULL, FUTEX_BITSET_MATCH_ANY) = 0
    futex(0x555c125b7a74, FUTEX_WAKE_PRIVATE, 1) = 1
    futex(0x555c125b7a20, FUTEX_WAKE_PRIVATE, 1) = 1
    ioctl(10, DRM_IOCTL_AMDGPU_GEM_CREATE or DRM_IOCTL_VIA_ALLOCMEM, 0x7fff7b146fc0) = 0
    ioctl(10, _IOC(_IOC_READ|_IOC_WRITE, 0x64, 0x48, 0x28), 0x7fff7b146fd0) = 0
    ioctl(10, DRM_IOCTL_AMDGPU_GEM_MMAP, 0x7fff7b147f50) = 0
    mmap(NULL, 4194304, PROT_READ|PROT_WRITE, MAP_SHARED, 10, 0x127167000) = 0x7f3fe013f000
    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x20} ---
    rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f401a0bcbb0}, NULL, 8) = 0
    rt_sigreturn({mask=[]})                 = 93853942532464
    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x20} ---
    +++ killed by SIGSEGV (core dumped) +++
    Segmentation fault (core dumped)
    
    opened by omac777 3
Owner
Markus Siglreithmaier
Physics-based Animations, Embedded and Computer Graphics
Markus Siglreithmaier
Vulkan and Rust rendering~game engine which creation is covered with YouTube videos

Vulkan and Rust rendering~game engine which creation is covered with YouTube videos

小ι³₯ 11 Dec 4, 2022
A 3D modeling and rendering programming language utilizing SDFs.

ForgedThoughts is a modeling and rendering programming language utilizing SDFs and is in early development. For documentation and examples see the Web

Markus Moenig 4 Feb 27, 2023
Cross-platform GPU-accelerated viewer for the Mandelbrot set and similar (escape-time) fractals

fractal_viewer A cross-platform, GPU-accelerated viewer for the Mandelbrot Set and related fractals. Try it online! Usage Scroll wheel to zoom, click

null 5 Jan 8, 2023
Collection of rust crates providing rendering abstractions.

render-rs License Licensed under either of Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license (LIC

Graham Wihlidal 31 Aug 25, 2022
Cross platform rendering in Rust

Miniquad Miniquad is a manifestation of a dream in a world where we do not need a deep dependencies tree and thousands lines of code to draw things wi

Fedor Logachev 937 Jan 4, 2023
Vulkan rendering sandbox for raytracing

sol-rs β˜€ sol-rs is a small rendering toolkit for Vulkan, with a focus on real-time raytracing (which is not currently available via other APIs such as

Γ‰ric Renaud-Houde 65 Dec 7, 2022
A tilemap rendering crate for bevy which is more ECS friendly.

bevy_ecs_tilemap A tilemap rendering plugin for bevy which is more ECS friendly by having an entity per tile. Features A tile per entity Fast renderin

John 414 Dec 30, 2022
Proof-of-concept of getting OpenXR rendering support for Bevy game engine using gfx-rs abstractions

Introduction Proof-of-concept of getting OpenXR rendering support for Bevy game engine using gfx-rs abstractions. (hand interaction with boxes missing

Mika 52 Nov 14, 2022
Self Study on developing a game engine using wgpu as the rendering API. Learning as I go.

Fabled Engine Any issues, enhancement, features, or bugs report are always welcome in Issues. The obj branch is where frequent development and up to d

Khalid 20 Jan 5, 2023
πŸ€Ήβ€ 2D sprite rendering extension for the specs ECS system

specs-blit 2D sprite rendering extension for the Specs ECS system. All sprites are loaded onto a big array on the heap. Example // Setup the specs wor

Thomas Versteeg 8 Aug 14, 2022