Page 1 of 2

Viewport not showing until closing linux

PostPosted: Sun Jun 28, 2020 5:12 am
by Nemerd
Hi, I'm still new to reporting bugs so I don't want to mess up an end up being more trouble.
The issue is that, for some reason the viewport is stuck with the previous image displayed. Even after the splash screen or any of the other tabs it still displays whatever was on the viewport area.
However, it does show correctly for a milisecond once I click the close window.
Happens with the PPA version and the running from source version, this last one works fine if I use the --noshaders option from the terminal, which is a bit tedious.
I'm using Ubuntu 20.04 LTS. Screenshot in case I wasn't clear.
Image

Re: Viewport not showing until closing linux

PostPosted: Sun Jun 28, 2020 12:44 pm
by joepal
Don't worry, we obviously want reports of makehuman not working as intended. Some questions though:

Which graphics card are you using?

Do you get any error information in the logs? (See http://www.makehumancommunity.org/wiki/ ... _report%3F)

Re: Viewport not showing until closing linux

PostPosted: Sun Jun 28, 2020 6:09 pm
by Nemerd
I'm using an Acer Aspire laptop model F5-571T-569T, it has an integrated Intel HD Graphics 4400 with up to 4184 MB Dynamic Video Memory. The CPU is Intel Core i5-4210U.
This is what the logs on the program return
Code: Select all
Initializing default theme first.
Theme default version 1.2.0
Loaded theme data/themes/default.mht
Using Qt system style fusion
Loading human
compiled file missing: data/3dobjs/base.npz
Problem loading binary mesh: ('compiled file missing: %s', 'data/3dobjs/base.npz')
Loading ASCII mesh data/3dobjs/base.obj.
Calculated maximum number of faces for one vertex: 5
Calculated maximum number of poles for one vertex: 5
Not writing compiled meshes to system paths (data/3dobjs/base.npz).
Loading material from file data/skins/default.mhmat
Shader: adding built-in uniform b'gl_ModelViewProjectionMatrixTranspose'
Shader: adding built-in uniform b'gl_NormalMatrix'
VectorUniform(AdditiveShading) = [0.]
VectorUniform(AdditiveShading) = [0.]
Loaded vertex weights MakeHuman weights from file /home/moss/makehuman-devel/makehuman/makehuman/data/rigs/default_weights.mhw
Loading scene
Loading scene file: data/scenes/default.mhscene
Loading main GUI
Assigning setting loaddir value /home/moss/Documentos/makehuman/v1py3/models that was loaded before the setting was declared.
Assigning setting savedir value /home/moss/Documentos/makehuman/v1py3/models that was loaded before the setting was declared.
Assigning setting exportdir value /home/moss/Documentos/makehuman/v1py3/exports that was loaded before the setting was declared.
Loading plugins
Importing plugin 0_modeling_0_modifiers
Imported plugin 0_modeling_0_modifiers
Loading plugin 0_modeling_0_modifiers
Loading modifiers from data/modifiers/modeling_modifiers.json
Attempting to load targets from NPZ file.
Could not load targets from NPZ, loading individual files from data (Error message: ('Could not load load targets from npz archive. Archive file %s not found.', 'data/targets.npz'))
1258 targets loaded from .target files.
Loaded 249 modifiers from file data/modifiers/modeling_modifiers.json
Loaded 249 modifier descriptions from file data/modifiers/modeling_modifiers_desc.json
Loaded plugin 0_modeling_0_modifiers
Importing plugin 0_modeling_8_random
Imported plugin 0_modeling_8_random
Loading plugin 0_modeling_8_random
Loaded plugin 0_modeling_8_random
Importing plugin 0_modeling_9_custom_targets
Imported plugin 0_modeling_9_custom_targets
Loading plugin 0_modeling_9_custom_targets
Loaded plugin 0_modeling_9_custom_targets
Importing plugin 0_modeling_a_measurement
Imported plugin 0_modeling_a_measurement
Loading plugin 0_modeling_a_measurement
Loading modifiers from data/modifiers/measurement_modifiers.json
Loaded 20 modifiers from file data/modifiers/measurement_modifiers.json
Loaded 20 modifier descriptions from file data/modifiers/measurement_modifiers_desc.json
Loaded plugin 0_modeling_a_measurement
Importing plugin 0_modeling_background
Imported plugin 0_modeling_background
Loading plugin 0_modeling_background
Loaded plugin 0_modeling_background
Importing plugin 1_convert_model_tags
Imported plugin 1_convert_model_tags
Loading plugin 1_convert_model_tags
Loaded plugin 1_convert_model_tags
Importing plugin 1_mhapi
Imported plugin 1_mhapi
Loading plugin 1_mhapi
Loaded plugin 1_mhapi
Importing plugin 2_foot_posing
Imported plugin 2_foot_posing
Loading plugin 2_foot_posing
Loaded plugin 2_foot_posing
Importing plugin 2_posing_expression
Imported plugin 2_posing_expression
Loading plugin 2_posing_expression
Loaded plugin 2_posing_expression
Importing plugin 3_libraries_animation
Imported plugin 3_libraries_animation
Loading plugin 3_libraries_animation
Loaded plugin 3_libraries_animation
Importing plugin 3_libraries_clothes_chooser
Imported plugin 3_libraries_clothes_chooser
Loading plugin 3_libraries_clothes_chooser
Loaded plugin 3_libraries_clothes_chooser
Importing plugin 3_libraries_eye_chooser
Imported plugin 3_libraries_eye_chooser
Loading plugin 3_libraries_eye_chooser
According to mh.getSysDataPath here's high poly eyes data/eyes/high-poly/high-poly.mhclo
Selecting proxy file "data/eyes/high-poly/high-poly.mhclo" from eyes library.
compiled proxy file missing: data/eyes/high-poly/high-poly.mhpxy
Problem loading binary proxy: ('compiled proxy file missing: %s', 'data/eyes/high-poly/high-poly.mhpxy')
Loading proxy file: data/eyes/high-poly/high-poly.mhclo.
Loading material from file /home/moss/makehuman-devel/makehuman/makehuman/data/eyes/materials/brown.mhmat
Shader: adding built-in uniform b'gl_ModelViewProjectionMatrixTranspose'
Shader: adding built-in uniform b'gl_NormalMatrix'
VectorUniform(AdditiveShading) = [0.]
VectorUniform(AdditiveShading) = [0.]
Not writing compiled proxies to system paths (data/eyes/high-poly/high-poly.mhpxy).
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/eyes/high-poly/high-poly.npz
Problem loading binary mesh: ('compiled file missing: %s', '/home/moss/makehuman-devel/makehuman/makehuman/data/eyes/high-poly/high-poly.npz')
Loading ASCII mesh /home/moss/makehuman-devel/makehuman/makehuman/data/eyes/high-poly/high-poly.obj.
Calculated maximum number of faces for one vertex: 4
Calculated maximum number of poles for one vertex: 4
Not writing compiled meshes to system paths (/home/moss/makehuman-devel/makehuman/makehuman/data/eyes/high-poly/high-poly.npz).
remapping weights for proxy HighPolyEyes
remapping weights for HighPolyEyes took 0.04762 seconds
Loaded plugin 3_libraries_eye_chooser
Importing plugin 3_libraries_eyebrows
Imported plugin 3_libraries_eyebrows
Loading plugin 3_libraries_eyebrows
Loaded plugin 3_libraries_eyebrows
Importing plugin 3_libraries_eyelashes
Imported plugin 3_libraries_eyelashes
Loading plugin 3_libraries_eyelashes
Loaded plugin 3_libraries_eyelashes
Importing plugin 3_libraries_material_chooser
Imported plugin 3_libraries_material_chooser
Loading plugin 3_libraries_material_chooser
Loaded plugin 3_libraries_material_chooser
Importing plugin 3_libraries_polygon_hair_chooser
Imported plugin 3_libraries_polygon_hair_chooser
Loading plugin 3_libraries_polygon_hair_chooser
Loaded plugin 3_libraries_polygon_hair_chooser
Importing plugin 3_libraries_pose
Imported plugin 3_libraries_pose
Loading plugin 3_libraries_pose
Loaded plugin 3_libraries_pose
Importing plugin 3_libraries_proxy_chooser
Imported plugin 3_libraries_proxy_chooser
Loading plugin 3_libraries_proxy_chooser
Loaded plugin 3_libraries_proxy_chooser
Importing plugin 3_libraries_skeleton
Imported plugin 3_libraries_skeleton
Loading plugin 3_libraries_skeleton
Loaded plugin 3_libraries_skeleton
Importing plugin 3_libraries_teeth
Imported plugin 3_libraries_teeth
Loading plugin 3_libraries_teeth
Loaded plugin 3_libraries_teeth
Importing plugin 3_libraries_tongue
Imported plugin 3_libraries_tongue
Loading plugin 3_libraries_tongue
Loaded plugin 3_libraries_tongue
Importing plugin 4_rendering_9_viewer
Imported plugin 4_rendering_9_viewer
Loading plugin 4_rendering_9_viewer
Loaded plugin 4_rendering_9_viewer
Importing plugin 4_rendering_opengl
Imported plugin 4_rendering_opengl
Loading plugin 4_rendering_opengl
Assigning setting rendering_width value 800 that was loaded before the setting was declared.
Assigning setting rendering_height value 600 that was loaded before the setting was declared.
Assigning setting GL_RENDERER_SSS value False that was loaded before the setting was declared.
Assigning setting GL_RENDERER_AA value True that was loaded before the setting was declared.
Loaded plugin 4_rendering_opengl
Importing plugin 4_rendering_scene
Imported plugin 4_rendering_scene
Loading plugin 4_rendering_scene
Setting rendering_width is already declared. Adding it again has no effect.
Setting rendering_height is already declared. Adding it again has no effect.
Loaded plugin 4_rendering_scene
Importing plugin 5_settings_0_settings
Imported plugin 5_settings_0_settings
Loading plugin 5_settings_0_settings
Setting language to english
Theme makehuman version 1.2.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Loaded plugin 5_settings_0_settings
Importing plugin 5_settings_mouse
Imported plugin 5_settings_mouse
Loading plugin 5_settings_mouse
Loaded plugin 5_settings_mouse
Importing plugin 5_settings_shortcuts
Imported plugin 5_settings_shortcuts
Loading plugin 5_settings_shortcuts
Loaded plugin 5_settings_shortcuts
Importing plugin 5_settings_userplugins
Imported plugin 5_settings_userplugins
Loading plugin 5_settings_userplugins
Loaded plugin 5_settings_userplugins
Importing plugin 6_help
Imported plugin 6_help
Loading plugin 6_help
Loaded plugin 6_help
Importing plugin 7_data
Imported plugin 7_data
Loading plugin 7_data
Loaded plugin 7_data
Importing plugin 7_example
Imported plugin 7_example
Loading plugin 7_example
Loaded plugin 7_example
Importing plugin 7_expression_mixer
Imported plugin 7_expression_mixer
Loading plugin 7_expression_mixer
Loaded plugin 7_expression_mixer
Importing plugin 7_logging
Imported plugin 7_logging
Loading plugin 7_logging
Loaded plugin 7_logging
Importing plugin 7_material_editor
Imported plugin 7_material_editor
Loading plugin 7_material_editor
Loaded plugin 7_material_editor
Importing plugin 7_profile
Imported plugin 7_profile
Loading plugin 7_profile
Loaded plugin 7_profile
Importing plugin 7_save_targets
Imported plugin 7_save_targets
Loading plugin 7_save_targets
Loaded plugin 7_save_targets
Importing plugin 7_scene_editor
Imported plugin 7_scene_editor
Loading plugin 7_scene_editor
Setting rendering_width is already declared. Adding it again has no effect.
Setting rendering_height is already declared. Adding it again has no effect.
Assigning setting Scene_Editor_FileDlgPath value /home/moss/Documentos/makehuman/v1py3/data/scenes that was loaded before the setting was declared.
Loaded plugin 7_scene_editor
Importing plugin 7_scripting
Imported plugin 7_scripting
Loading plugin 7_scripting
Loaded plugin 7_scripting
Importing plugin 7_shell
Imported plugin 7_shell
Loading plugin 7_shell
Loaded plugin 7_shell
Importing plugin 7_targets
Imported plugin 7_targets
Loading plugin 7_targets
Loaded plugin 7_targets
Importing plugin 8_asset_downloader
Imported plugin 8_asset_downloader
Loading plugin 8_asset_downloader
Loaded plugin 8_asset_downloader
Importing plugin 9_export_bvh
Imported plugin 9_export_bvh
Loading plugin 9_export_bvh
Loaded plugin 9_export_bvh
Importing plugin 9_export_collada
Imported plugin 9_export_collada
Loading plugin 9_export_collada
Loaded plugin 9_export_collada
Importing plugin 9_export_fbx
Imported plugin 9_export_fbx
Loading plugin 9_export_fbx
Loaded plugin 9_export_fbx
Importing plugin 9_export_light
Imported plugin 9_export_light
Loading plugin 9_export_light
Loaded plugin 9_export_light
Importing plugin 9_export_obj
Imported plugin 9_export_obj
Loading plugin 9_export_obj
Loaded plugin 9_export_obj
Importing plugin 9_export_ogre
Imported plugin 9_export_ogre
Loading plugin 9_export_ogre
Loaded plugin 9_export_ogre
Importing plugin 9_export_stl
Imported plugin 9_export_stl
Loading plugin 9_export_stl
Loaded plugin 9_export_stl
Importing plugin 9_export_uvmap
Imported plugin 9_export_uvmap
Loading plugin 9_export_uvmap
Loaded plugin 9_export_uvmap
Loading GUI
showing category Modelling
showing task Macro modelling
Loading theme
Theme makehuman version 1.2.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Applying targets
no compressed targets found
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/african-female-young.target
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/african-male-young.target
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/asian-female-young.target
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/asian-male-young.target
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/caucasian-female-young.target
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/caucasian-male-young.target
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/universal-female-young-averagemuscle-averageweight.target
compiled file missing: /home/moss/makehuman-devel/makehuman/makehuman/data/targets/macrodetails/universal-male-young-averagemuscle-averageweight.target
Updating skeleton joint positions
Done baking animations
Loading macro targets
Loading done

Creating new texture for dynamic image data/litspheres/adaptive_skin_tone.png.
initTexture: 256, 256, False
Creating new texture for image /home/moss/makehuman-devel/makehuman/makehuman/data/eyes/materials/brown_eye.png.
initTexture: 1024, 1024, False
Creating new texture for image /home/moss/makehuman-devel/makehuman/makehuman/data/litspheres/skinmat_eye.png.
initTexture: 256, 256, False
hiding category Modelling
showing category Utilities
hiding task Macro modelling
showing task Data
hiding task Data
showing task Logs

Re: Viewport not showing until closing linux

PostPosted: Thu Jul 02, 2020 12:44 pm
by sportegioco
I have the same problem as reported in this thread:
viewtopic.php?f=3&t=16862&p=51042&hilit=%2Fusr%2Fshare%2Fmakehuman+community%2Flib%2Fglmodule.py#p51042

and in this thread:
www.makehumancommunity.org/forum/viewtopic.php?p=47094

I have solved as i reported, for one computer desktop, but not in my portable computer

Thank you for help

Re: Viewport not showing until closing linux

PostPosted: Fri Jul 03, 2020 12:11 pm
by RobBaer
sportegioco wrote:I have the same problem as reported in this thread:
viewtopic.php?f=3&t=16862&p=51042&hilit=%2Fusr%2Fshare%2Fmakehuman+community%2Flib%2Fglmodule.py#p51042

and in this thread:
viewtopic.php?p=47094

I have solved as i reported, for one computer desktop, but not in my portable computer

Thank you for help

This post is of limited value in tracking down problem or helping you solve without knowing more. Things that might be helpful are: which MakeHuman version, what operating system, what graphics card, etc. If you are on Windows, and you are using a built version, you might want to try the latest nightly build. If you are on Linux, you might want to run from source using the github master. These sorts of problems have been relatively quiet in recent versions.

Re: Viewport not showing until closing linux

PostPosted: Sun Jul 12, 2020 4:26 am
by Nemerd
MakeHuman version: The GitHub repository as indicated on the documentation. The terminal sends me this:
Code: Select all
VERSION: master:dc079434
SHORT VERSION: beta2
LONG VERSION: 1.2.0 beta2 (master:dc079434)

OS: Ubuntu 20.04 focal
Graphics card: The console sends me this:
Code: Select all
GL.VENDOR: Intel Open Source Technology Center
GL.RENDERER: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)
GL.VERSION: 3.0 Mesa 20.0.8
which is accurate, an "Intel HD Graphics 4400, up to 4184 MB Dynamic Video Memory" as advertised on the sticker.

It might also be cool if from the program we could choose if at the next start we want the --noshaders applied so that we don't need to run it every time from the console to make this explicit, thus making it more user-friendly.

Re: Viewport not showing until closing linux

PostPosted: Sun Jul 12, 2020 8:31 am
by punkduck
hmm, you can simply change the starter in Ubuntu ...

I am still working with a Ubuntu 18.04 but I guess that is not different. Using xfce4 on my box I do a left mouse-click on the icon, then a menu appears where I can change the starter. Change "/usr/bin/makehuman" to the command you need.

For other managers there are also methods provided, I still remember kde etc. It works, otherwise it would be impossible to start own programs with a starter.

Re: Viewport not showing until closing linux

PostPosted: Sun Jul 12, 2020 11:45 am
by Aranuvir
There was a discussion to embed the --noshader option in the settings tab. The only question is is if you will ever get there, or will the application crash before.

About the original bug: IIRC, Intel has changed the driver support in regard of legacy OpenGL for older Intel processors. That's why it might work with Ubuntu 18.04, but not with a newer version of the OS.
In case my memory is correct here, there are basically three possible fixes (which probably will disappoint you): 1) Wait until the render part of MH got rewritten (what is equivalent to "will probably never happen"...) 2) Downgrade your OS and see if it works (trying a virtual machine could also be an, and most likely be the best option, though the OpenGL support in VirtualBox on the other hand is not the best). 3) Get a new computer.

Re: Viewport not showing until closing linux

PostPosted: Thu Jul 23, 2020 1:08 pm
by joepal
I have now implemented two settings that might help, see http://www.makehumancommunity.org/wiki/ ... oks_broken

Re: Viewport not showing until closing linux

PostPosted: Tue Aug 04, 2020 12:01 am
by Nemerd
joepal wrote:I have now implemented two settings that might help, see http://www.makehumancommunity.org/wiki/ ... oks_broken

Thanks. This was really helpful, solved it for me. Now I see the model using Just the "python3 makehuman.py" command and not changing my laptop or needing to install Windows :D . I understand that this laptop might be a bit old to get support for everything, but it's still my workstation. Again, thank you very much, all of you.