kretronik / osi-visualizer

A tool to visualize OSI data from two different sources. Data can be stored in files and replayed afterwards, or validated using a Python interface.
Other
0 stars 0 forks source link

OSI-Visualizer does not start in Debian in a Virtual Machine #1

Open vkresch opened 11 months ago

vkresch commented 11 months ago

We are receiving a segmentation fault when trying to run osi-visualizer in a virtual machine: photo_5399960277459524207_y

vkresch commented 11 months ago

ChatGPT: There are a few considerations and steps you may need to take to ensure everything works smoothly:

  1. Install VirtualBox Guest Additions: Make sure you have VirtualBox Guest Additions installed in your Debian virtual machine. This will enable features like better mouse integration, improved display resolution, and seamless mode.

  2. Enable 3D Acceleration: In VirtualBox settings for your Debian virtual machine, go to the "Display" tab and make sure that "Enable 3D Acceleration" is checked. This will allow your virtual machine to use OpenGL features.

  3. Install Graphics Drivers: Ensure that the appropriate graphics drivers are installed in your Debian virtual machine. This may involve installing the guest additions or additional graphics drivers depending on the virtualized graphics hardware.

  4. Install Required Libraries: Make sure that the necessary OpenGL and Qt development libraries are installed in your Debian virtual machine. You can use the package manager (e.g., apt) to install these libraries. For example:

    sudo apt-get install libgl1-mesa-dev
    sudo apt-get install libqt5opengl5-dev
  5. Configure Qt Project: In your Qt project file (e.g., .pro file), make sure you have the necessary configuration for using OpenGL. For example:

    QT += widgets opengl
  6. Run Your Application: Build and run your Qt OpenGL application as you normally would. The OpenGL features should be available if the virtual machine is set up correctly.

Remember that the performance of OpenGL applications in a virtual machine might not be as high as running on native hardware, especially if the virtual machine does not have direct access to a physical GPU.

Additionally, if you encounter issues, you may need to troubleshoot specific OpenGL and virtualization settings based on the details of your application and setup.