LBEM-CH / focus

High Throughput Electron Microscopy Image Processing Software
http://www.focus-em.org
GNU General Public License v2.0
36 stars 14 forks source link

Focus seems to run but hangs at loading library #198

Closed stetner closed 6 years ago

stetner commented 7 years ago

Hi all,

I have managed to get focus to compile cleanly for my cluster, but have it hanging when it gets to the loading library phase. As this is a new install it is always a new project.

$ focus QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-d.stetner' libGL: OpenDriver: trying /opt/pkg/2015Q2/lib/dri/swrast_dri.so libGL: Can't open configuration file /home/d.stetner/.drirc: No such file or directory. libGL: Can't open configuration file /home/d.stetner/.drirc: No such file or directory. libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast setNativeLocks failed: "Function not implemented" setNativeLocks failed: "Function not implemented" setNativeLocks failed: "Function not implemented" setNativeLocks failed: "Function not implemented"

(process:84738): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed

screen shot 2017-08-10 at 14 18 03

Any suggestions? logs?

Thanks, Doug

nikhilbiyani commented 7 years ago

Hi,

It looks like there are multiple errors when you try to start the application. It is quite possible (but not certain) that these errors freeze the application. These are mostly related to your operating system. Can you try to fix these issues? The following pages might be helpful:

https://unix.stackexchange.com/questions/382789/qstandardpaths-xdg-runtime-dir-not-set-defaulting-to-tmp-runtime-root-when

http://www.linuxquestions.org/questions/debian-26/debian-wheezy-opengl-suddenly-stopped-working-908428/

rdrighetto commented 7 years ago

Another possibility is that this error arises from conflicting libGL versions between your local machine and your cluster machine (I assume you are trying to open Focus remotely via SSH). Have you tried opening Focus remotely from a different machine (preferably a different OS or distro than your current one?) This would help in sorting out the nature of the problem.

Cheers,

-- Ricardo Diogo Righetto

2017-08-10 8:30 GMT+02:00 Nikhil Biyani notifications@github.com:

Hi,

It looks like there are multiple errors when you try to start the application. It is quite possible (but not certain) that these errors freeze the application. These are mostly related to your operating system. Can you try to fix these issues? The following pages might be helpful:

https://unix.stackexchange.com/questions/382789/ qstandardpaths-xdg-runtime-dir-not-set-defaulting-to-tmp-runtime-root-when

http://www.linuxquestions.org/questions/debian-26/debian- wheezy-opengl-suddenly-stopped-working-908428/

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/C-CINA/focus/issues/198#issuecomment-321463267, or mute the thread https://github.com/notifications/unsubscribe-auth/AHVvf5oWLqSA6ndIlzXsfyY5BnwPxZchks5sWqNzgaJpZM4Oy7Xp .

stetner commented 7 years ago

I think I have ruled out the X version possibility. This is on a centos 6.9 (cluster is locked there), so I have had to do some workarounds to get qt5 working, glibc etc. Was there ever an older version that ran on 6.9?

Thanks,

rdrighetto commented 7 years ago

Did you compile FOCUS from the source, or did you install via a package?

I remember having trouble compiling FOCUS on a CentOS 6.5 machine, but those were FFTW-related issues. It may or may not be that this same problem is hidden somewhere in the background of your installation.

-- Ricardo Diogo Righetto

2017-08-21 1:45 GMT+02:00 stetner notifications@github.com:

I think I have ruled out the X version possibility. This is on a centos 6.9 (cluster is locked there), so I have had to do some workarounds to get qt5 working, glibc etc. Was there ever an older cversion that ran on 6.9?

Thanks,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/C-CINA/focus/issues/198#issuecomment-323619610, or mute the thread https://github.com/notifications/unsubscribe-auth/AHVvfz_2_lsqWf77MwA9YqLu9Zv2LePtks5saMUEgaJpZM4Oy7Xp .