Installing from source - ubuntu

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Installing from source - ubuntu

Postby RobBaer » Sun Dec 06, 2020 1:24 am

I know only a minimal amount about graphics in Linux, but thought I'd see what happened if I tried to get MH running on Windows 10 subsytem for Linux Ubuntu 20.04

I don't know how much or what this subsystem supports graphically, but the latest development is supposed to support wayland graphics.

Anyway, MH is downloaded, and I was able to download assets and run utilities to compile assets, but here is what I get when I try to start MH itself. Any suggestions as to what I might try from here, or advice that this is a "fool's errand" :D Any feedback appreciated. P.S. I am pretty sure the dependencies have some restrictions in Linux but I don't remember what they are. I vaguely recognize 'libGLU.so.1', as being related to openGL but I really don't know how.

rwbaer@BaerHomeCyberPower:~/MH_Source/makehuman/makehuman$ python3 makehuman.py
MakeHuman Copyright (C) 2001-2020 http://www.makehumancommunity.org
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. For details use the option --license

Initialized logging
VERSION: master:12408ce0
SHORT VERSION: final
LONG VERSION: 1.2.0 final (master:12408ce0)
BASEMESH VERSION: hm08
IS BUILT (FROZEN): No
IS RELEASE VERSION: No
DEFAULT ENCODING: utf-8
FILESYSTEM ENCODING: utf-8
STDOUT ENCODING: utf-8
LOCALE PREFERRED ENCODING: UTF-8
WORKING DIRECTORY: /home/rwbaer/MH_Source/makehuman/makehuman
HOME LOCATION: /home/rwbaer
PYTHON PATH: ./:./lib:./apps:./shared:./apps/gui:./core:/home/rwbaer/MH_Source/makehuman/makehuman:/usr/lib/python38.zip:/usr/lib/python3.8:/usr/lib/python3.8/lib-dynload:/home/rwbaer/.local/lib/python3.8/site-packages:/usr/local/lib/python3.8/dist-packages:/usr/lib/python3/dist-packages
DLL PATH: /home/rwbaer/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_x64__79rhkp1fndgsc:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/bin:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.1/libnvvp:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/d/Program Files/ffmpeg/bin:/mnt/c/Program Files/NVIDIA Corporation/Nsight Compute 2020.2.0/:/mnt/c/Program Files/Git/cmd:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/Robert_Baer/AppData/Local/Microsoft/WindowsApps:/snap/bin
SYS.VERSION: 3.8.5 (default, Jul 28 2020, 12:59:40) [GCC 9.3.0]
SYS.PLATFORM: linux
SYS.EXECUTABLE: /usr/bin/python3
PLATFORM.MACHINE: x86_64
PLATFORM.PROCESSOR: x86_64
PLATFORM.UNAME.RELEASE: 4.19.128-microsoft-standard
PLATFORM.LINUX_DISTRIBUTION: Ubuntu 20.04 focal
NUMPY.VERSION: 1.19.4
Loaded libGL.so => libGL.so.1 <CDLL 'libGL.so.1', handle 2e9f7d0 at 0x7f991988ef40>
No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
Loaded libGLU.so => libGLU.so.1 <CDLL 'libGLU.so.1', handle 2ec39e0 at 0x7f991984a130>
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.


Should I conclude from what is below that I need a working display driver, and perhaps one doesn't exist?
rwbaer@BaerHomeCyberPower:~/MH_Source/makehuman/makehuman$ glxinfo | grep "OpenGL version"
Error: unable to open display
User avatar
RobBaer
 
Posts: 1209
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Re: Installing from source - ubuntu

Postby Aranuvir » Sun Dec 06, 2020 7:25 am

Did you install PyQt5 ? I'd suggest you run some
Code: Select all
python -m venv my_venv_dir
source my_venv_dir/bin/activate
pip install numpy PyQt5 PyOpenGL
in a shell if that exists. And from there you should be able to start MakeHuman from source. BTW, you should also run
Code: Select all
pip install jupyterlab qtconsole
for a better shell in MakeHuman.
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: Installing from source - ubuntu

Postby Aranuvir » Mon Dec 07, 2020 9:42 pm

Any success here?
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: Installing from source - ubuntu

Postby fake_Person » Wed Dec 09, 2020 9:32 pm

This is a Fool's errand

Jk I just cant do python
14 year old deadbeat http://www.makehumancommunity.org/forum/ucp.php?i=profile&mode=signature#
User avatar
fake_Person
 
Posts: 111
Joined: Mon Nov 30, 2020 9:17 pm

Re: Installing from source - ubuntu

Postby RobBaer » Thu Dec 10, 2020 1:55 am

fake_Person wrote:This is a Fool's errand


Perhaps so. With WSL2 it seems they are moving closer, but I can't tell to what extent we are not there yet, and to what extent I don't understand Linux device structuring. Here are some of the posts that made me curious.
https://www.pcworld.com/article/3543763 ... -wsl2.html
https://www.phoronix.com/scan.php?page= ... VIDIA-WSL2
https://discourse.ubuntu.com/t/getting- ... l2/11868/4
https://devblogs.microsoft.com/commandl ... mber-2020/

I am using an insiders edition of Windows 10 Pro, but I need more education! :-)


@aranuvir - not there yet. It works fine of course on native windows and my dual boot linux ubuntu machine. Just not under WSL2.
User avatar
RobBaer
 
Posts: 1209
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron