AMD startup fix

Problems with getting it running
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
pwilson_r65
Posts:2
Joined:08 Jan 2018 23:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
AMD startup fix

Post by pwilson_r65 » 09 Jan 2018 00:09

Hello,

When starting Gephi 0.9.2 on my computer (AMD Ryzen 7, AMD Radeon RX 580, Linux 17.10, Java 1.8.0_152), it would reach "Starting Modules", hang for a bit and then crash. The gephi log (/.gephi/0.9.2/dev/var/log) indicated the following error had occurred "java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped". Adding the line "export LIBGL_ALWAYS_SOFTWARE=1" to the beginning of the gephi-0.9.2/etc/gephi.conf, allows Gephi to start. If I understand correctly, LIBGL_ALWAYS_SOFTWARE=1 forces software rendering.

Is this a good way to start Gephi on an AMD system or will this cause other issues when running Gephi?

Thank you,

Paul

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: AMD startup fix

Post by eduramiba » 09 Jan 2018 10:31

Hi Paul,

It seems the graphics card driver is not compliant with our opengl requirements. Try to make sure that you have the latest version of the driver installed (new mesa drivers are known to work quite well).

User avatar
pwilson_r65
Posts:2
Joined:08 Jan 2018 23:42
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: AMD startup fix

Post by pwilson_r65 » 15 Jan 2018 21:20

Hi eduramiba,

As far as I can tell, it looks like AMD only provides drivers for the Radeon RX 500 series up Ubuntu 16.04 (https://support.amd.com/en-us/download/linux).

My machine currently has Mesa 17.2.2 (from October 2, 2017, https://mesa3d.org/) installed (see output of glxinfo below). If you think it may be helpful, I can install the latest Mesa version (17.3.2) or Oibaf (https://launchpad.net/~oibaf/+archive/u ... cs-drivers)?

$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX 580 Series (AMD POLARIS10 / DRM 3.18.0 / 4.13.0-25-generic, LLVM 5.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: AMD startup fix

Post by eduramiba » 16 Jan 2018 01:10


Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable