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

Graphics don't display properly (Avogadro 2 on Linux, displayed on XQuartz) #108

Closed
stmilne opened this issue Feb 4, 2020 · 10 comments
Closed

Comments

@stmilne
Copy link

stmilne commented Feb 4, 2020

Avogadro version:
Installed from "yum install", on a Linux cluster running CentOS 7:

  • Avogadrolibs: avogadro2-libs.x86_64 0:1.90.0-12.el7
  • Qt: qt.x86_64 1:4.8.7-3.el7_6

Desktop version:
Desktop machine is the graphics client, displaying windows:

  • OS: Mac OS X 10.12.16
  • XQuartz 2.7.11
  • Late 2011 MacBook Pro, with stock graphics card (Intel HD Graphics 3000)

Describe the bug

Window that displays molecules is messed up, with pieces of other desktop windows randomly scattered inside.

To Reproduce

Window is immediately messed up on launch, rather than black.

Screenshots
Screen Shot 2020-02-04 at 3 46 47 PM

@welcome
Copy link

welcome bot commented Feb 4, 2020

Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/

@ghutchis
Copy link
Member

ghutchis commented Feb 5, 2020

I guess my first question is why you installed this way, rather than the Mac build?

My guess is that there's an issue with XQuartz and OpenGL contexts - it seems to be grabbing something from a webpage?

@stmilne
Copy link
Author

stmilne commented Feb 5, 2020 via email

@ghutchis
Copy link
Member

ghutchis commented Feb 5, 2020

send me an e-mail and let's talk. I've never been able to crash Avo2 on my Mac, so I'm curious.

@stmilne
Copy link
Author

stmilne commented Feb 5, 2020 via email

@drew-parsons
Copy link

@stmilne Hi Scott, avogadro2 v1.9.4 now addresses the first two problems you raised. Geometry optimization is now in Extensions->Open Babel->Optimize Geometry (Ctrl-Alt-O). Fragments can be added via Build-Insert-Fragment.

Insert fragments with Smiles doesn't work for me either (the new Insert-Fragment is a separate function), and pdb files don't load for me.

@ghutchis
Copy link
Member

ghutchis commented Jul 8, 2021

@drew-parsons - please file an issue about Insert SMILES. As far as reading PDB files, that should be fixed by a recent avogadrolibs patch (OpenChemistry/avogadrolibs#647)

My guess is that Scott will be better served by releases near the end of the summer. 😄

@drew-parsons
Copy link

Thanks Geoff, it's a good summer :) Your PR#647 does indeed fix pdb file loading.

I'll check SMILES documentation and then file a bug if I still can't get it to import molecules.

@drew-parsons
Copy link

I filed a SMILES bug at OpenChemistry/avogadrolibs#657

@ghutchis
Copy link
Member

ghutchis commented Jul 9, 2021

@stmilne - I'm going to close this bug. While I understand what features you want, it's unrelated to this redraw bug. (Which I can't reproduce on my Mac with current versions.)

If you'd like to try a nightly build, it's here, although it does not yet have the property tables right now: https://nightly.link/OpenChemistry/avogadrolibs/workflows/build_cmake/master/macOS.dmg.zip

(OTOH, you may be interested in some of the new Python command options for polymer building...)

@ghutchis ghutchis closed this as completed Jul 9, 2021
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

3 participants