GithubHelp home page GithubHelp logo

Comments (2)

GensokyoLover avatar GensokyoLover commented on June 12, 2024

i tried to run testbed on linux and windows using vulkan,and found large performance gap.

def setup_renderpass(testbed):
    render_graph = testbed.create_render_graph("PathTracer")
    render_graph.create_pass("PathTracer", "PathTracer", {'samplesPerPixel': 1})
    render_graph.create_pass("GBufferRT", "GBufferRT", {'samplePattern': 'Stratified', 'sampleCount': 16, 'useAlphaTest': True})
    render_graph.create_pass("AccumulatePass", "AccumulatePass", {'enabled': True, 'precisionMode': 'Single'})
    render_graph.add_edge("GBufferRT.vbuffer", "PathTracer.vbuffer")
    render_graph.add_edge("GBufferRT.posW", "AccumulatePass.posW")
    render_graph.add_edge("GBufferRT.emissive", "AccumulatePass.emissive")
    render_graph.add_edge("GBufferRT.normW", "AccumulatePass.normW")
    render_graph.add_edge("GBufferRT.viewW", "AccumulatePass.viewW")
    render_graph.add_edge("GBufferRT.diffuseOpacity", "AccumulatePass.diffuseOpacity")
    render_graph.add_edge("GBufferRT.specRough", "AccumulatePass.specRough")
    render_graph.add_edge("PathTracer.color", "AccumulatePass.input")
    render_graph.mark_output("AccumulatePass.output")
    testbed.render_graph = render_graph
class FalcorVariableRenderer:
    def __init__(self, tonemap_type = "log1p",deviceType = falcor.DeviceType.Vulkan, deviceID = 0):
        self.device = falcor.Device(type=deviceType, gpu=deviceID)
        self.tonemap_type = tonemap_type
        self.width = 1920
        self.height = 1080
        self.resolution = falcor.uint2(1920,1080)
        self.startPosition = falcor.uint2(0,0)
        self.renderer = falcor.Testbed(width=self.width, height=self.height, position = self.startPosition,ow =self.resolution ,create_window=False, device=self.device)
        self.renderer.setSpp(400)
        self.scene = None
        self.integrator = None
        self.params = None
        self.variables_ids = None
        self.sensors = None
        self.emitters = None
        self.shapes = None
        self.shapegroups = None
        self.bsdfs = None
        self.initial_values = None
        self.variables = {}
        self.min_bounds = {}
        self.len_bounds = {}
        self.totalPara = 0

linux performance, gpu memory usage is only 500MB,and we need nearly 40S to render a 400spp 1920 * 1080 image image windows performance,gpu memory usage is nearly 1.5 GB,and we need only 4S to render the same image before running: image runtime image Ii will profile it later and give more details
GPU on linux is A6000 and the other is 4090

from falcor.

saada2006 avatar saada2006 commented on June 12, 2024

How did you get GBufferRT to run on Linux? I keep getting an error saying ROVs are not supported.

Are you using A6000 Ada Generation or A6000 Ampere? I am using a RTX 3080.

from falcor.

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.