Comments (16)
@funcelot that has nothing to do with Python or Panda3D, but it's because the RenderPipeline is using deferred rendering. That means most of the shaders run in postprocessing, once per fragment, and so any doubling in resolution will result in a quadrupling of the render time of the entire postprocessing pipeline, which adds up quickly.
4K has a lot of pixels to render. Most games that use deferred rendering do not run well in 4K, and typically render downscaled and then upscale in a postprocessing pass.
from renderpipeline.
Hi,
can you run pstats and see which parts of the pipeline are running slow?
from renderpipeline.
Spstatus + Sys Monitor
In both cases, i have many, many lags when i move the camera, but, the frame rate never drops.
from renderpipeline.
It would be very helpful to see the pstats charts. If you have the pstats process running, press 1 in the pipeline to enable it.
from renderpipeline.
Sorry, i confuse the pstats and stats gui.
Here is the PStats:
from renderpipeline.
Could you open the gpu graph and check which parts take the most time?
from renderpipeline.
Also, keep in mind you can double-click the labels on the left to get a more detailed subdivision of that category of the graph. For example, clicking the "Draw" label will open up a new chart showing how the draw time is divided up.
from renderpipeline.
Note: My pc use's a APU technology - https://www.youtube.com/watch?v=ER_u3yLccBU
So i have made a print for every graph option i will post the most critical first:
1280 x 720
* AMD(TM)R7 Graphics:
800 x 600
* AMD(TM)R7 Graphics:
from renderpipeline.
Thats weird, it looks like everything is too slow. Are you sure you are not running it on an integrated gpu or so?
from renderpipeline.
Yes, an APU has integrated graphics, so make sure that it has been switched to use the external graphics card.
Are these the CPU charts you're showing or the GPU charts? (The GPU charts are available under the "AMD Radeon… > Frame" menu.
Which version of Panda do you have?
Is there any improvement from adding 'gl-version 3 2' in the pipeline Config.prc?
from renderpipeline.
Yes, i am using the integrated Graphics, my integrated graphic is a Readeon R7 250 with 2gb vram and 512 stream processors, my integrated Graphics are running the Unreal 4 into cinematic quality and CryEngine 5 in best no 4k quality. The external card works only into the Crossfire, but the AMD crossfire crashe's all OpenGL applications, and work only into the DX11 applications.
The AMD(TM)R7 Graphics charts are showing my integrated card.
from renderpipeline.
I have 1080 ti, and funny part that in small window, it is 400fps+ but in 4k, any scene of almost any complex is no more than 40 fps, seems that python doing some weird staff with paints windows background, cause it is bitbltm the more sureface are, the more ms is spend on purpouseless repaint of transparent background, anyway this is a window and borderless window preoblem on any of the samples. It looks like this is a problem with Pandas3d itself, can you take a look and fix it? @tobspr
from renderpipeline.
@funcelot that has nothing to do with Python or Panda3D, but it's because the RenderPipeline is using deferred rendering. That means most of the shaders run in postprocessing, once per fragment, and so any doubling in resolution will result in a quadrupling of the render time of the entire postprocessing pipeline, which adds up quickly.
4K has a lot of pixels to render. Most games that use deferred rendering do not run well in 4K, and typically render downscaled and then upscale in a postprocessing pass.
Is that the same technique i seen in Cyberpunk2077 wher image seems crispy and make somewhat more detaild in one sec or so? Got your point, thanx
from renderpipeline.
@funcelot that has nothing to do with Python or Panda3D, but it's because the RenderPipeline is using deferred rendering. That means most of the shaders run in postprocessing, once per fragment, and so any doubling in resolution will result in a quadrupling of the render time of the entire postprocessing pipeline, which adds up quickly.
4K has a lot of pixels to render. Most games that use deferred rendering do not run well in 4K, and typically render downscaled and then upscale in a postprocessing pass.
I saw down scaling & posptrocess upscaling in Horizon Zero Dawn, where i play in 4K, but can postprocess in 1080p, using 50% or 25% scale
from renderpipeline.
Can you provide upscaling / downscaling example using you pipline renderer @tobspr ? That would be really aswesome to see 120 fps on 4K, indeed :)
from renderpipeline.
There are multiple ways of doing that, IIRC the pipeline supports it natively though, you can set resolution_scale
in the config:
https://github.com/tobspr/RenderPipeline/blob/master/config/pipeline.yaml#L26
To e.g. 0.75, the pipeline will then render at 75% resolution and scale up
from renderpipeline.
Related Issues (20)
- Black screen after render pipeline is rendered HOT 4
- Unclear display with black blocks HOT 4
- cubemap.txo can't find HOT 2
- No water or flame sample included
- Using RenderPipeline in C++? HOT 4
- Missing reflections HOT 4
- A room without windows is lit up
- SSLR won't work
- Motion blur blurs whole image HOT 1
- glFramebufferParameteri error when enabling fractional scaling and going full screen
- Bloom plugin broken on AMD GPU
- Models shows a white Region HOT 1
- Setting texture to shader terrain through custom shader failed HOT 1
- AttributeError: module 'collections' has no attribute 'Hashable' HOT 1
- Terrain shadow problem HOT 1
- Custom Shaders HOT 1
- Framebuffer errors when using EGL HOT 1
- translucent object handling question
- How to realize the effect of Transparent in samples\07-Shading-Models HOT 1
- GL_INVALID_VALUE and GL_INVALID_OPERATION HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from renderpipeline.