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

povray images are not running on all CPU architectures #1

Open
ocordes opened this issue Jun 23, 2019 · 1 comment
Open

povray images are not running on all CPU architectures #1

ocordes opened this issue Jun 23, 2019 · 1 comment

Comments

@ocordes
Copy link

ocordes commented Jun 23, 2019

I really like your work since it generates very small povray docker images. However, during compilation of povray gcc is using -mnative which uses all hardware CPU features on the compiling machines. I'm currently using a core2duo and older atom machines which are not able to use the avx instruction set which may cause the "illegal instruction" error. The problem is that one need special binaries for special hardware or loosing performance. :-( I looked at the Ubuntu deb package creation rules which gives at least a hint how to change the call to configure. At the moment I'll try to create my own povray container, which is on github ocordes/docker-povray and hopefully on dockerhub ocordes/povray. Please have a look !

Cheers,
Oliver

@jmaxwilson
Copy link
Owner

Thanks for bringing this to my attention, @ocordes . I'm certainly not an expert with gcc and compiling povray. These docker images were created primarily for use with the POV-Ray Extension for Visual Studio Code (https://github.com/jmaxwilson/vscode-povray).

If you can figure out a gcc configuration that will compile povray to work on your older machines, I can try to add an additional image tagged for older machines that can't use all the hardware features.

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

2 participants