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

A small question about directly dragging and loading models to mujoco #22

Closed
Yingfan99327 opened this issue Mar 19, 2024 · 3 comments
Closed

Comments

@Yingfan99327
Copy link

Hi,
Firstly, thanks very much for your great work.
When I try to drag the myoarm.xml, myoleg.xml or myohand.xml to the mujoco.viewer to load the model for visualiztaion on the ubuntu system installed in the virtual machine, the system just stucks and it become really slow for me to click or do any other operations. However, if I load the myoelbow model to the mujoco.viewer the same way, it is ok. So, it maybe a problem related to the computer itself, namely, my computer configuration is not enough to render them in the virtual machine that I need to use a computer with better gpu or cpu because of the high model complexity in the arm or leg model, right?

And could you recommend the lowest computer configuration for the model loading or simulation, my computer's cpu is amd ryzen 7 4800H with radeon graphics and gpu is nvidia geforce gtx 1650. If I install doulbe system instead of using virtual machine, would it be better for simulation? Would apple m1 is ok for the simulation?

Thanks so much for your time.

Wishing you all the best.

@Vittorio-Caggiano
Copy link
Contributor

Vittorio-Caggiano commented Mar 21, 2024

Hi @Yingfan99327 , not sure if you still have this issue as I saw you closed the same opened on MyoSuite MyoHub/myosuite#157 (comment)
In general, I am using an M1 air macbook and I can work on those models in simulate 3.1.2 and 2.3.6 without any problem. Please, let me know if this is still a problem for you and we can look into it more.

@andreh1111
Copy link

Hi @Yingfan99327, I too sometimes experience some slowdown in simulate (Dell XPS 13 9310), a little trick that works for me is to disable OpenGL effects, especially Shadow and Reflection. I hope it can be helpful to you too.

@Yingfan99327
Copy link
Author

Hi, @Vittorio-Caggiano, thanks so much for your replies and suggestions. Yeah, I just fixed the problems by installing a ubuntu system on my computer instead of using the virtual machine and then the slowdown problem disappears. I also tried to load the model into my m1 computer and it also worked, however, I guess developing in M1 computer may not be a little bit troublesome because of the compatibility I am not sure, but I also kind of notice some issues like runnning mujoco on M1 I guess. Maybe I will use ubuntu more to carry on more work later. Really appreciate your help again and hope you're enjoying a nice day today!😊

Hi, @andreh1111, thanks very much for your suggestions. I will also check this method if I encounter similar slowdown problems in the future. Really helpful advice! Have a nice day, too!😊

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

3 participants