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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when running habitat-viewer and SHIFT + Left Click for semantic annotations on 4K display #2311

Open
frank-gallagher opened this issue Jan 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@frank-gallagher
Copy link

Habitat-Sim version

0.3.0

馃悰 Bug

When running the HM3D semantics example in habitat-viewer, I get a Segmentation fault (core dumped) error when SHIFT+ Left Click an object to print it's semantic class. This only happens when I am connected to my 4K display. It doesn't happen when I connect a 1080p monitor or if I remote in to my desktop from my laptop (1080p) over xRDP. As far as I can tell, all other mouse clicks in the habitat-viewer app are handled successfully on the 4K display. I believe it has something to do with the DPI of the display because if I launch the application on the 1080p monitor and then switch to the 4K monitor it still works.

Steps to Reproduce

Steps to reproduce the behavior:

habitat-viewer --dataset './data/scene_datasets/hm3d/hm3d_annotated_basis.scene_dataset_config.json' TEEsavR23oF

  1. Connect to a 4K display
  2. Run the above command to launch the habitat-viewer application with a scene with semantic annotations
  3. SHIFT + Left Click an object

Expected behavior

The semantic class of the clicked object to be printed out below the rest of the UI overlay

System Info

  • OS (e.g., Linux): Ubuntu 22.04
  • Python version: 3.9.18
  • GPU models and configuration: NVIDIA GeForce RTX 4090 (Driver Version: 535.154.05)
  • CUDA version: 12.2
@aclegg3
Copy link
Contributor

aclegg3 commented Feb 29, 2024

@frank-gallagher thanks for reporting this bug.
We are aware of some issues with viewer application logic on high-DPI displays. For example #2321.

@aclegg3 aclegg3 added the bug Something isn't working label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants