Giter Club home page Giter Club logo

Comments (10)

asafgal avatar asafgal commented on May 24, 2024

Thats weird. Can you load matlab itself from the same terminal?

from antrax.

janamach avatar janamach commented on May 24, 2024

Yes, it loads normally

from antrax.

asafgal avatar asafgal commented on May 24, 2024

Can you try launching the app from the matlab prompt?

antrax('path-to-JS16')

from antrax.

janamach avatar janamach commented on May 24, 2024

Can you try launching the app from the matlab prompt?

antrax('path-to-JS16')

The GUI loads from the MATLAB prompt, but does not find the session:
Screenshot from 2021-02-03 12-34-22

I then realized I've seen this before in #4. Here I thought this issue was fixed because I tried running antrax from home with X forwarding, which worked then and works now for some bizarre reason.

from antrax.

asafgal avatar asafgal commented on May 24, 2024

Let me get it straight:

  • You have an experiment directory with a configured session
  • The session is loaded properly with MCR/SSH
  • From the antrax cli (with full matlab) the GUI freezes
  • From matlab IDE it doesn't find the session

Is that correct?

from antrax.

janamach avatar janamach commented on May 24, 2024

I just found the problem... Since it would load properly through ssh -X, I took out the graphics card and booted the computer using its on-board graphics. The GUI loaded properly. In case this can be useful for you in the future I took screenshots to track the "symptoms". Each screenshot shows an attempt to load antrax graph-explorer JS16/:

GeForce GTX 550 Ti + nvidia-driver-390

Screenshot from 2021-02-03 15-27-15

GeForce GTX 550 Ti + generic driver (all nvidia software purged)

Screenshot from 2021-02-03 15-05-38

On-board graphics + generic driver

Screenshot from 2021-02-03 15-16-48

Sorry I bothered you with this all along, the problem was on my side. Thank you again for all your help!

from antrax.

janamach avatar janamach commented on May 24, 2024

I decided to test the above and installed anTraX on another computer with newer hardware (GeForce GTX 1650, nvidia-driver-430), but older software (Ubuntu 16.04). It loads fine with MATLAB R2019a full installation, but unlike what was discussed in #4 works with libstdc++.so.6 that MATLAB came with.

Do you happen to have an idea why an older GPU/driver is enough for MCR, but not for the full MATLAB installation? I am quite curious now.

from antrax.

asafgal avatar asafgal commented on May 24, 2024

Sorry, no... this is probably a question for for matlab support, but unless it will come up again I'll probably let it be for now. Hopefully at some point in the future I will convert the code to be pure python.

from antrax.

janamach avatar janamach commented on May 24, 2024

Hopefully at some point in the future I will convert the code to be pure python.

I am not sure if it is worth the effort. I think many of the weird problems I was dealing with were specific to my computers, rewriting the matlab code might just create a different set of problems.

And here's a dramatic turn: if I ssh -X to the Ubuntu 16.04 machine with the better hardware that has MATLAB installed, the matlab GUIs are very unhappy, but if ran locally they are fine. To reiterate -- this computer is the exact opposite to the computer from the first post. The computer that I use to ssh from does not make a difference.

I didn't have any such problems with MCR, it seems to load on all computer both locally and remotely.

from antrax.

janamach avatar janamach commented on May 24, 2024

Just a quick update on this issue: I swapped GeForce GTX 550 Ti with GeForce GTX 1050 Ti and the problem I described here in the first post persisted with nvidia-driver-390. However, when I upgraded to nvidia-driver-460, the problem went away.

Looks like the old nvidia-driver-390 was causing the weird issues in this case, GeForce GTX 550 Ti is not compatible with newer drivers.

from antrax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.