BonnenLab / freemocap-balance

GNU Affero General Public License v3.0
0 stars 0 forks source link

Issue with OpenGL / Graphics Driver on Propixx Machine -- Blender won't run. #6

Open kbonnen opened 2 years ago

kbonnen commented 2 years ago

Vpixx suggests:

Hello Kathryn,

I am going to guess this is simply a problem with the current default AMD drivers that come with Ubuntu. The card is of course compatible with OpenGL 3.3 but might be set to a default version of 3.0.

You can find the version string with glxinfo:

glxinfo | grep OpenGL

To be able to run OpenGL 3.3, I found that launching your program while adding MESA_GL_VERSION_OVERRIDE=3.3 at the start of the command could fix it.

Ex:

MESA_GL_VERSION_OVERRIDE=3.3 ./blender

Let me know if that solves your issue.

kbonnen commented 2 years ago

@kait-young @rachel-allison

One of you could give this a try ☝️.

You'll need to run blender from a commandline prompt on windows: https://docs.blender.org/manual/en/2.79/render/workflows/command_line.html#platforms

kbonnen commented 2 years ago

The key part of the email is this: MESA_GL_VERSION_OVERRIDE=3.3 ./blender

rachel-allison commented 2 years ago

When I tried that, the following error message appeared:

"MESA_GL_VERSION OVERRIDE" is not recognized as an internal or external command, operable program or batch file.

D23F3A7B-8BC9-4072-BD70-603DF8323909_1_105_c

kbonnen commented 2 years ago

Can you try this in Linux as well?

kbonnen commented 2 years ago

Also did you do this in the anaconda windows terminal or the "command prompt"

rachel-allison commented 2 years ago

I did it in the anaconda windows terminal and can try it in Linux now

rachel-allison commented 2 years ago

Blender is able to run in Linux (without the override statement).

kbonnen commented 2 years ago

Let's try to get freemocap running on linux once more:

  1. Remove the free mocap conda environment: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwioxvPJ7YT6AhXLgf0HHcglCY0QFnoECAcQAQ&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F49127834%2Fremoving-conda-environment&usg=AOvVaw0Ksi2hfUoactGjR1SSIbRL
  2. Delete the folder where we download the git repository (I'm not sure where that is...)
  3. Now make sure we have ffmpeg installed: https://linuxize.com/post/how-to-install-ffmpeg-on-ubuntu-18-04/. You'll run the line sudo apt install ffmpeg. The password is the same as the login
  4. Clone the repository with the following line: git clone https://github.com/freemocap/freemocap.git
  5. Now follow the directions here: https://github.com/freemocap/freemocap#getting-started