Comments (11)
Hi all,
I am running into the same issue.
Without shadows, it is much better. However, still some flickering occurs:
I am also running it on a laptop without GPU:
$ LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'
direct rendering: Yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
from gz-sim.
@iche033 is this due to the non-NVIDIA GPU?
from gz-sim.
I do remember seeing flickering sky issue on user laptops before. It could be a gpu / driver issue.
from gz-sim.
Ok thanks. I will see if this error happens when i run it using a GPU and report back.
from gz-sim.
Hi! I am coming here from a post I made on Gazebo Community.
This looks like the same problem I am facing. I wrote an SDF world with a sky and a directional light, and when I toggle the shadows the sky start flickering.
Here some information about my machine, as in the first post in this issue:
$ LANG=C lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT1 [UHD Graphics] [8086:46a3] (rev 0c)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:28a0] (rev a1)
$ echo "$DISPLAY"
:0
$ LANG=C glxinfo -B | grep -i '\(direct rendering\|opengl\|profile\)'
direct rendering: Yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.0.4-0ubuntu1~22.04.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
$ ps aux | grep Xorg
biagio 26878 0.0 0.0 9212 2560 pts/6 R+ 20:09 0:00 grep --color=auto Xorg
$ sudo env LANG=C X -version
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: Linux athena 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-39-generic root=UUID=bb022743-038b-409c-b381-21e78caa4017 ro quiet splash vt.handoff=7
xorg-server 2:21.1.4-2ubuntu1.7~22.04.5 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.40.0
from gz-sim.
Yes. So I was able to confirm that if I use a GPU then the flickering does not appear. See Image below.
from gz-sim.
I wrote an SDF world with a sky and a directional light, and when I toggle the shadows the sky start flickering.
oh sounds like the shadows (or the light) is causing the sky to flicker? One workaround would be to disable shadows for the directional light.
from gz-sim.
Yes this worked! If I disable the shadows for my sun and enable them for the scene only, I can run the sky.
from gz-sim.
@iche033 Is having both sets of shadows enabled still a bug?
from gz-sim.
Is having both sets of shadows enabled still a bug?
I haven't seen any movement on this so I assume it's still an issue.
from gz-sim.
I see this issue running on multiple computers with an Nvidia GPU. Disabling cast shadows from the sun also fixes the issue for me.
from gz-sim.
Related Issues (20)
- Typo in gz sim python api HOT 1
- Update LRAUV model upstream to use new hydrodynamic parameters.
- Procedural Datasets with Blender doesn't work with newer Blender versions
- Gazebo in Windows Docker cannot use Nvidia GPU, falls back to using CPU. HOT 51
- Typos in Frame Reference HOT 1
- Crash after calling control/state over model with OpticalTactilePlugin HOT 1
- Crash after calling set_pose service, with Assertion `math::verifyTransform(mT)' failed
- UNIT_Server_TEST - ServerRepeat/ServerFixture.ServerConfigSensorPlugin/0 test is flaky on Ubuntu Noble Jenkins CI
- KeyPress Plugin Can't Be Loaded from SDF File HOT 2
- bug in sdf_exporter.py
- PythonSystemLoader does not release GIL, which causes issues when running a server with a python system
- [QT] Failed to create OpenGL context for format QSurfaceFormat HOT 5
- Crash after loading an sdf containing an invalid near clip distance parameter
- Crash after loading sdf with negative size parameter
- Loading a GUI client configuration causes the 3D scene to become gray HOT 2
- Windows installation issue HOT 2
- Crash when using multiple buoyancy grades HOT 1
- Crash after terminating gz sim -g (Win11)
- Crash after adding model and resetting HOT 1
- Windows: Crash with dem_moon.sdf world
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 gz-sim.