Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Compile Shaders #53

Open
derickcoder44 opened this issue Jul 29, 2024 · 7 comments
Open

Failed to Compile Shaders #53

derickcoder44 opened this issue Jul 29, 2024 · 7 comments

Comments

@derickcoder44
Copy link

derickcoder44 commented Jul 29, 2024

Describe the bug
I'm Getting a "Failed to Compile Shaders Error" when I run open the simulation in any water based environment. The simulation runs but I'm experiencing weird rendering errors with the water surface.

Screenshots

Screenshot from 2024-07-29 11-34-01
Screenshot from 2024-07-29 11-34-17
Screenshot from 2024-07-29 11-34-26
Screenshot from 2024-07-29 11-34-45

To Recreate

./FluidDynamicsTest &> fluid_test_out.txt

fluid_test_out.txt

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • OpenGL Version: 4.6 (Compatibility Profile)
  • Graphics Card: AMD Radeon rx 5700 xt
  • CPU: AMD Ryzen 7 3700x 8-core processor × 16
@Michele1996
Copy link

Hello, do you still have this issue?

@fjiwrogno
Copy link

Meets the same problem

@Michele1996
Copy link

@fjiwrogno do you have an AMD graphics card?

@fjiwrogno
Copy link

fjiwrogno commented Feb 13, 2025

@Michele1996 No, I use nvidia graphics card.
Desktop (please complete the following information):
OS: Ubuntu 22.04
OpenGL Version: 4.6 (Compatibility Profile)
NVIDIA GeForce RTX 4060, Driver Version: 550.120
CPU: Intel® Core™ i9-14900HX × 32
When I run FloatingTest in Test folder, it showed the following error:
Image

@patrykcieslak
Copy link
Owner

Hello! Please check if the NVIDIA is really used. Install glxinfo (sudo apt install mesa-utils) and run "glxinfo | grep OpenGL". It should say that the NVIDIA is used for OpenGL. If not, it is using the graphics built in the CPU or some software based rendering. Normally you have to set the NVIDIA to be working in Performance Mode which is set in the NVIDIA panel in the PRIME profile tab.

@Michele1996
Copy link

Michele1996 commented Feb 13, 2025

and if you don't see it in PRIME profile (it happens to me) do:

apt install nvidia-prime

And then set nvidia in performance mode:

prime-select nvidia

@fjiwrogno
Copy link

fjiwrogno commented Feb 13, 2025

@derickcoder44 @Michele1996 Thanks for your help!
My OpenGL is literally using the graphics built in the CPU rather than NVIDIA graphics card.
After setting the NVIDIA to be working in Performance Mode, it works with no errors.
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants