Git Product home page Git Product logo

Comments (2)

yhutter avatar yhutter commented on May 23, 2024

I also have some problems with my Graphics card AMD Radeon RX6800. I have pulled the latest master branch as described in the getting started guide. However when I try to run any examples such as the material demo I am getting a lot of shader errors on startup. I am running this under Ubuntu 20.04LTS with the proprietary graphics drivers.

The output I get when starting an example (e.g material demo) is the following:

[>] CORE                      Using panda3d-supplied core module 
[>] RenderPipeline            Using Python 3.8 with architecture linux_amd64 
[>] RenderPipeline            Using Panda3D 1.10.9 built on Mar 26 2021 09:46:47 
[>] RenderPipeline            Using git commit aac27409cfe3a608c1edf028af19b59d08ddc7f4 
[>] MountManager              Auto-Detected base path to /home/yahart/Data/GitRepos/render_pipeline 
[>] RenderPipeline            Mount manager was not mounted, mounting now ... 
[>] MountManager              Setting up virtual filesystem 
[>] MountManager              Mounting auto-detected config dir: /home/yahart/Data/GitRepos/render_pipeline/config/ 
[>] MountManager              Mounting ramdisk as /$$rptemp 
[>] RenderPipeline            No settings loaded, loading from default location 
Known pipe types:
  glxGraphicsPipe
(1 aux display modules not yet loaded.)
[>] RenderPipeline            Driver Version = 4.6 (Core Profile) Mesa 20.3.4 
[>] RenderPipeline            Driver Vendor = AMD 
[>] RenderPipeline            Driver Renderer = AMD Radeon RX 6800 (SIENNA_CICHLID, DRM 3.40.0, 5.8.0-50-generic, LLVM 11.0.1) 
[>] RenderPipeline            Render resolution is 800 x 600 
[>] LightManager              Tile size = 24 x 16 , Num tiles = 34 x 38 
[>] GPUCommandQueue           Allocating command buffer of size 32768 
[>] GroupedInputBlock         Native UBO support = False 
[!] RPLoader                  Loading '/$$rp/data/default_cubemap/cubemap.txo' took 102.05 ms
[>] PluginManager             Loading plugin settings 
[>] PluginManager             Creating plugin instances .. 
[>] Debugger                  Creating debugger 
[>] plugin:scattering         Loading scattering method for 'eric_bruneton' 
[>] StageManager              Setup stages .. 
[>] StageManager              Preparing stages .. 
[>] AOStage                   Blur quality is MEDIUM 
[>] StageManager              Awaiting future pipe Exposure 
[>] UpdatePreviousPipesStage  Creating previous pipes stage .. 
[>] StageManager              Writing shader config 
[>] plugin:pssm               Initializing pssm .. 
[>] ScatteringMethodEricBruneton Precomputing ... 
[>] RenderPipeline            Finished initialization in 0.697 s, first frame: 3 
[>] RenderPipeline            Took 1.44 s until first frame 

[!!!] Panda3D                 :display:gsg:glgsg(error): 0:3(1): error: #extension directive is not allowed in the middle of a shader


[!!!] Panda3D                 :display:gsg:glgsg(error): An error occurred while compiling GLSL fragment shader rpplugins/scattering/shader/apply_scattering.frag.glsl:


[!!!] Panda3D                 rpplugins/scattering/shader/apply_scattering.frag.glsl:3(1): error: #extension directive is not allowed in the middle of a shader


[!!!] Panda3D                 :display:gsg:glgsg(error): 0:3(1): error: #extension directive is not allowed in the middle of a shader


[!!!] Panda3D                 :display:gsg:glgsg(error): An error occurred while compiling GLSL fragment shader rpplugins/scattering/shader/scattering_envmap.frag.glsl:


[!!!] Panda3D                 rpplugins/scattering/shader/scattering_envmap.frag.glsl:3(1): error: #extension directive is not allowed in the middle of a shader

The example runs but I get some really bad flickering and the FPS is also not optimal (below 30 FPS). If anyone has any idea what to do in this situation, it would be greatly appreciated.

from renderpipeline.

yhutter avatar yhutter commented on May 23, 2024

I just noticed that this error I reported is actually related to: #105.
Therefore the comment above can be ignored.

from renderpipeline.

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.