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

Facing problems with the docker image #3

Open
pallavsen007 opened this issue Sep 19, 2022 · 1 comment
Open

Facing problems with the docker image #3

pallavsen007 opened this issue Sep 19, 2022 · 1 comment

Comments

@pallavsen007
Copy link

pallavsen007 commented Sep 19, 2022

Hi there,
I used the docker pull from the link you docker pull ghcr.io/awvwgk/avogadro:latest gave then, tried running avogadro from the docker image,

sudo docker run --rm -ti --net=host --ipc=host -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --env="QT_X11_NO_MITSHM=1" ghcr.io/awvwgk/avogadro
"Avogadro version:	1.2.0	Git:	
LibAvogadro version:	1.2.0	Git:	" 
Locale:  "C" 
Libavogadro translations not found. 
System has OpenGL support. 
About to test OpenGL capabilities. 
OpenGL capabilities found: 
	Double Buffering.
	Direct Rendering.
	Antialiasing.
Loading plugins: "/usr/bin/../lib/avogadro/1_2" 
Searching for plugins in "/usr/lib/avogadro/1_2" 
Searching for plugins in "/usr/lib/avogadro/1_2/colors" 
Searching for plugins in "/usr/lib/avogadro/1_2/engines" 
Searching for plugins in "/usr/lib/avogadro/1_2/extensions" 
Searching for plugins in "/usr/lib/avogadro/1_2/tools" 
Loading plugins: "/home/avogadro/.avogadro/1_2/plugins" 
X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    152 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
QGLTempContext: Unable to create GL context.
X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    152 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
Settings are missing for the next engines: ("Ball and Stick", "Axes", "Cartoon", "Dipole", "Force", "Hydrogen Bond", "Label", "Polygon", "QTAIM", "Ribbon", "Ring", "Simple Wireframe", "Van der Waals Spheres", "Stick", "Surfaces", "Wireframe") 
QStackedLayout::setCurrentWidget: Widget 0x55aed43c13a0 not contained in stack
dev warning: Extension "GAMESS" is using a deprecated DockWidget loading method. See Extension::dockWidgets() documentation. 
dev warning: Extension "Orbitals" is using a deprecated DockWidget loading method. See Extension::dockWidgets() documentation. 
Could not find python module... 
dev warning: Extension "Python Terminal" is using a deprecated DockWidget loading method. See Extension::dockWidgets() documentation. 
dev warning: Extension "Vibration" is using a deprecated DockWidget loading method. See Extension::dockWidgets() documentation. 
HOMO at:  -1 
X Error: BadValue (integer parameter out of range for operation) 2
  Extension:    152 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id:  0x0
QGLTempContext: Unable to create GL context.
QGLContext::makeCurrent(): Cannot make invalid context current.
GLWidget initialisation... 
"Invalid OpenGL context.
Either something is completely broken in your OpenGL setup (can you run any OpenGL application?), or you found a bug." 
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: cHRM: invalid chromaticities
QWidget::repaint: Recursive repaint detected
QGLContext::makeCurrent(): Cannot make invalid context current.
createObjects() 

OpenGL is creating problems in this context. Can you guys give me some idea on what am I doing wrong?

@pallavsen007
Copy link
Author

From what I have understood this is a problem with Qt5 libraries as answered here.

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

1 participant