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

realsense-viewer has display bugs in ubuntu 20.04 #13390

Open
YiKang-Liu opened this issue Oct 1, 2024 · 11 comments
Open

realsense-viewer has display bugs in ubuntu 20.04 #13390

YiKang-Liu opened this issue Oct 1, 2024 · 11 comments

Comments

@YiKang-Liu
Copy link

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model { R200 / F200 / SR300 / ZR300 / D400 }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC/Raspberry Pi/ NVIDIA Jetson / etc..
SDK Version { legacy / 2.. }
Language {C/C#/labview/nodejs/opencv/pcl/python/unity }
Segment {Robot/Smartphone/VR/AR/others }

Issue Description

<Describe your issue / question / feature request / etc..>

my camera model is d455, and my system version is ubuntu 20.04 and kernel version is 5.15.0-122-generic.
Now I follow the guide in https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md to install the SDK as source code. And finall I can start and run realsense-viewer successfully

However ,I run this SDK in my labtop and I have an external display. SDK works fine on an external display, but not on the laptop's own screen.The display on the laptop's own screen looks as shown here
2024-10-01_15-07

I can't do anything on this screen, this screen just shows a plus sign that maximises this screen much more and shows one more add. can't do anything beyond that.What's wrong with it and how can I fix it?
I was hoping someone could teach me how to solve this problem

@MartyG-RealSense
Copy link
Collaborator

Hi @YiKang-Liu This is a rare display problem that has occurred a small number of times in the past.

If pressing the F8 key on the keyboard to toggle the Viewer's full screen display mode on and off does not make a difference, further advice about the problem can be found at #5511

@YiKang-Liu
Copy link
Author

I've used all the methods mentioned in this reply #5511 and very sadly none of them work.Using F8 results in an even bigger, full-screen “Add”.
I then tried to reinstall the SDK without using an external monitor, but it still didn't work, and it still displayed like this in the laptop's built-in monitor
2024-10-01_15-07
Then, I try to add scale_factor = 1.f; before imgui_impl_glfw.cpp:243.
The situation has finally changed, but it is what it has become, and it does not solve the problem
2024-10-01_18-46
The most difficult thing for me to understand is that there is an animation when launching realsense-viewer, which is displayed normally and at the same resolution as my laptop's built-in monitor. But when the animation finishes loading and the functional interface is launched, it goes back to the previous situation
I really don't understand why realsense-viewer shows up and works fine in an external monitor, but in a laptop's monitor this problem occurs!

@MartyG-RealSense
Copy link
Collaborator

Does the problem still occur if the external monitor is unplugged from the laptop before launching realsense-viewer?

@YiKang-Liu
Copy link
Author

yes...I even tried uninstalling and reinstalling the SDK without an external monitor connected, but the result remains the same. It does seem very confusing to me.
But I haven't tried installing the SDK using the debian package method though, I'll try that later and hopefully that will be useful

@MartyG-RealSense
Copy link
Collaborator

Thanks very much. I look forward to your next update after attempting a package installation. Good luck!

@YiKang-Liu
Copy link
Author

I'm sorry to say that trying to install the SDK from Debian's repositories didn't work, and the program still has the wrong resolution in my computer's own display.
I even went as far as deleting the existing version of the SDK (2.55.1) and reinstalling an older version (2.50.0), but the problem still occurs.
Even when using the 2.50.0 version of the SDK, it keeps writing to /var/log/uvcdynctrl-udev.log until it fills up the entire root /
Maybe focusing on ros usage and ignoring realsense-viewer is a better option for me

@MartyG-RealSense
Copy link
Collaborator

Is it only the realsense-viewer window that is zoomed and the resolution of the Ubuntu desktop behind it is normal?

@YiKang-Liu
Copy link
Author

Yes, only in the built-in display of the laptop, realsense-viewer has a resolution error. The interface of the other programs in the built-in display of the laptop and in the external display is normal

@MartyG-RealSense
Copy link
Collaborator

Does your camera have the 5.16.0.1 version of the camera firmware driver installed, as this is the version recommended for use with 2.55.1.

@YiKang-Liu
Copy link
Author

My camera model is d455 and the current firmware version is 05.13.00.50. Also the SDK version used now is 2.50.0.
Previously my camera's firmware was 5.16.0.1 while the SDK version was 2.55.1 and there was a problem with the SDK resolution. Now I lowered the firmware version of the camera and the SDK version at the same time, and the problem is still not solved!
If this problem is really hard to solve, let's put it aside and hopefully I won't have too much trouble with the camera's ros wrapper

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 3, 2024

I researched the problem of realsense-config.json being unable to be found. On Windows 11 the AppData folder is hidden by default. You can make it visible in your user account folder by going to the top of the file navigator panel and selecting the menu option View and then the sub-options Show > Hidden items.

image

Once viewing of hidden items is enabled, the AppData folder appears in the user account folder and realsense-config.json can be found in AppData > Roaming.

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

2 participants