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

Using GPU in Distrobox #95

Open
cskn95 opened this issue Feb 15, 2024 · 2 comments
Open

Using GPU in Distrobox #95

cskn95 opened this issue Feb 15, 2024 · 2 comments

Comments

@cskn95
Copy link

cskn95 commented Feb 15, 2024

Hello again! I want to use ROS2/Gazebo but they both need Ubuntu 22.04 for installation. I tried to trick install command and passed version check but installation threw me errors with python packages, python_vcstools for ROS2 Iron and Python 3.11 for Gazebo.

I tried using Distrobox and installed Ubuntu 22.04 and installed ROS2 Iron and Gazebo Harmonic fine but this time Gazebo threw me GPU driver issues.

How can I use 22.04 apps with GPU acceleration? Gazebo needs OpenGL 3.3 at least.

@tobhe
Copy link
Member

tobhe commented Feb 16, 2024

try adding https://launchpad.net/~tobhe/+archive/ubuntu/asahi via sudo add-apt-repository ppa:tobhe/asahi && sudo apt update && sudo apt upgrade and see if that helps. Maybe distrobox also needs to be configured to actually use the GPU but I don't know that, never used it.

@cskn95
Copy link
Author

cskn95 commented Feb 16, 2024

Driver issues now gone thanks for that but still when I try to open a project or create one it says "Gazebo GUI is not responding" and gives me this errors:

[GUI] [Wrn] [Application.cc:904] [QT] file::/EntityContextMenuPlugin/EntityContextMenuPlugin.qml:52:3: QML RenderWindowOverlay: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
[Wrn] [Component.hh:144] Trying to serialize component with data type [N3sdf3v145WorldE], which doesn't have operator<<. Component will not be serialized.

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