-
Notifications
You must be signed in to change notification settings - Fork 207
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
rviz2 major screen flickering/tearing #1079
Comments
Does this happen with any other OpenGL windows? It seems like something that might be a bug with wayland or X11 or the QT version on the system. |
Same problem:-( glmark2 (defaults to Mesa/Intel GPU) works fine rviz2 and With LD_DEBUG=files ..., you can actually see, which shared libraries are loaded 'during startup' of the process;-) Addition 20240201: Maybe flameshot-org/flameshot#564 (comment) is related?! |
For me it works to set |
Yeah;-) or setting it to '1' archives the same thing. No scaling for HighRes monitors. I created a little rviz2 script, so I don't forget;-)
|
I had similar flickering problems on Kubuntu 22.04 on laptop Lenovo Legion Pro7 (Ryzen 9 7945HX RTX 4080). After disabling the integrated AMD graphics I run into a problem with the global scale on Qt applications (which seems related to this issue). To overcome this I just set the global scale to the minimal value above 100% (i.e. 106,25%): After that modifications RViz2 was still working fine, until some system update for Plasma / ROS Humble packages.
This works like a charm, many thanks! |
Interestingly, I have the same issue, but it persists regardless of the DPI setting for me. I also tried setting via commandline the I'm running Ubuntu 22.04 on a laptop with Nvidia GPU and this happens both in Mate and in KDE desktops although with KDE I can do what's in the original post and stop compositing so it doesn't flicker so long as I don't alter the size of the windows (not sure yet how to do that in Mate). It flickers not just the world visualization but also any images that are displayed in their own boxes as well. |
Same issue, adjust the display setting screen scale to 1, that problem fixed. But the words get too small to see clearly. |
Hello,
As the following video shows I experience a critical bug with rviz2. The screen is flickering/tearing even when not displaying any data. This will happen even if I don't resize!
Basically as soon as I start rviz2 I get the following flickering only inside the 3D scene (not the surrounding tools!).
vokoscreenNG-2023-10-20_14-51-06.mp4
This is NOT a monitor issue, this recording was not filmed off the monitor but I used a screen-grabbing software.
Now it appears to be a frame rate issue. When I play around with the frame rate, then save that option and then restart rviz the bug will no longer appear till I resize or switch out of the window in any way. I suspect that on the time of resizing rviz forgets the frame rate?
So I suspect the problem is that Compositor is at fault. It turns out that if I unset the option "Allow applications to block compositing", as seen in the attached screenshot, the problem will no longer appear till the window is resized. So Compositor can't properly work?
Anyway, with this remedy I can make RVIZ2 barely usable but it is not really a good experience. Without it this is totally system breaking and might cause epilepsy or something.
My specs:
ros: iron
cpu: i9-13900HX
monitor: ASUS VG34V
gpu: NVIDIA GeForce RTX 4080 Laptop GPU/PCIe/SSE2
VGA compatible controller: NVIDIA Corporation Device 27e0 (rev a1)
NVRM version: NVIDIA UNIX x86_64 Kernel Module 530.41.03 Thu Mar 16 19:48:20 UTC 2023
The text was updated successfully, but these errors were encountered: