Closed R180 closed 1 year ago
Update: This slowdown doesn't just occur for filtering. Many operations take a very long time to complete, even with file as simple as an ANOVA on the Tooth Growth data set. Saving takes half a minute.
Update: (1) I had used the MSI for install, not the ZIP method, and yet kept getting the ZIP-related message indicated above. (2) I uninstalled and then re-installed the application and the problem seems to have gone away.
Another update:
Re-installation was only a temporary fix. The problem has returned.
@R180 Where did you install JASP to?
And perhaps you could upload the logs as described here it might tell me something.
It might take a while for me to actually work on this though as Im on vacation, but this sounds like a very annoying issue so I thought I'd ask for more info.
Edited by Joris: Removed logs to avoid getting RSI in my scrolling finger
Well, I see nothing weird in the logs at a glance. But I will only have time to dive into this deeper in roughly 3 weeks. Maybe @boutinb has a chance to look at this before then.
Hi @R180 I'm not sure that if it has to do with your problem, but we have seen that there is something during the uninstall. So not everything is removed when you re-install a JASP version. Could you try this version: https://static.jasp-stats.org/Nightlies/Windows/JASP-nightly-development-580450fc96173b0ea077bebe8f7e8b0d91998fd5.msi (be careful this is a development version not signed, so Windows will warn you not to install it). This version should uninstall completely the old version. It can take some time the first time.
I can reproduce the zip warning. If I double click on a .jasp file then the zip warning is shown despite the fact I have the MSI installed
I cannot reproduce the delay when filtering out levels, that works fine for me.
Hi @boutinb Thanks for providing the installation file. Unfortunately I cannot try it, currently. I have 'administrative privileges that normally let me enter an administrative user ID and password to "run as administrator." However, this does not work for the file you provided. (I get an error message that says: "The system administrator has set policies to prevent this installation.")
Update: Increasingly, I've gotten "(not responding)" warnings. Despite repeated re-installs and re-boots, JASP has gotten slower and slower. It's too slow to use, now. I hope I have better luck with the next version.
Well, I will be back at work next monday and I will be sure to go in deep for this because it sounds incredibly annoying and Im sure you aren't the only one running into this.
Yes. I have student who can't use JASP anymore either, because of the slow-down. My system is a university-owned, Windows 10 system. Hers is a very different, personally-owned Windows 10 system. So the problem definitely isn't specific to my computer.
Hi, I have the same problem, full install from msi. I had to roll back to 14.1 version in order to continue using JASP
Hey @R180 and @agarza7,
Due to my harddrive dying during my vacation and thus the loss of windows it took me a while to get on this.
I cannot at all reproduce the problem but I can think of a few things we could do to narrow down the problem.
First of all, have you tried the new JASP version? It should at least get rid of those warnings I hope.
If that doesn't help for the slowdowns I would also suggest switching "Safe graphics" on and seeing if that speeds it up at least a bit.
And if none of that helps then I would need to know some more details about the slowdown. What do you mean exactly?
As far as the system goes, the C-drive in your machine is actually a local drive right?
That the "new JASP version" msi is called "0.15.0.1", but it installs "0.15.0.0".
In addition, the version on the JASP downloads page is Version 0.15.0.0, not 0.15.0.1.
That the "new JASP version" msi is called "0.15.0.1", but it installs "0.15.0.0".
Thank you for pointing that out, I think @boutinb intended it as a drop-in replacement for 0.15.0.0 with just a fix for MSI and the zip-warning. And only on windows, so I guess the idea was to keep things simple. But I agree it is a bit confusing...
OK. But I have installed this 0.15.0.1 on my system, and have even removed it and installed in again--it does not affect or solve the "zip-warning." Are you sure the fix has actually been deployed?
Ah sorry, no it seems that only contained the fix for making the uninstaller work properly.
However, you describe two problems, one is the warning, which shows up when starting or loading a file.
But also that the application is slow, this I cannot reproduce nor can I see in the logs where this slowdown occurs. So if you could help me out by trying out the suggestions and perhaps answer my questions from my second-to-last message:
If that doesn't help for the slowdowns I would also suggest switching "Safe graphics" on and seeing if that speeds it up at least a bit.
And if none of that helps then I would need to know some more details about the slowdown, what do you mean exactly?
- Is the interface slow?
- Do the results take a long time to show up?
- Does it take a long time for a change to show up in the results after clicking something in the inputform?
- Is it slow for all analyses?
As far as the system goes, the C-drive in your machine is actually a local drive right?
That way I can have a better guess of where the slowness is coming from and whether it is related to the zipwarning or not.
The C drive is a local drive. Test File 10-30-2021.zip
If I open the JASP test file I created (attached) and then attempt to "SAVE AS" something like "Backup File," nothing happens in the interface for two minutes. Only then does the "Saving JASP file" message to appear. If in one of the ANOVAs, I check the omega-squared box, nothing happens for 10 seconds, then the checkmark appears. If, in post-hocs, I uncheck the box for Holm tests, nothing happens for 5 seconds, then the checkmark disappears. Other operations produce seem to be delayed similarly, but at random (sometimes there is little delay).
Oh. and safe graphics made no difference.
So apparently the analyses self are not slow, but the interface self is really slow. Do you have the same problem when you just start JASP, load a data file, add a Descriptives analysis: is the reaction of the interface still so slow (clicking on a checkbox takes 10 seconds before the checkmark appears)? Could you give us the RAM & CPU of your PC (https://www.drivereasy.com/knowledge/how-to-check-ram-on-windows-10-easily/#Fix2)? Use the Task Manager, and then you can check when running JASP if the RAM or the CPU is overloaded.
If I open JASP and open the BFI Network dataset form the data library, select descriptives, and select each of the dispersion boxes it takes JASP one second to fill in a checkbox after it's clicked. A subsequent save of the JASP file takes 12 seconds for eh "saving" message appears.
The task manager CPU report always shows 0% CPU and 257.6 MB for the JASP processes.
Sorry, here's the task manager performance data output. For some reason opening JASP does not change it. On the left is prior to opening JASP and running some descriptives. On her right is after.
@R180 the behaviour you see in JASP, with slowdowns durin interaction, is the same as described in https://github.com/jasp-stats/jasp-issues/issues/1490 ?
And shown here: https://www.youtube.com/watch?v=OF_GXNOJ1lY
Yes. That is very similar behavior.
@R180 could you try out this testversion of JASP: https://static.jasp-stats.org/JASP-SlowdownProfiler-Test.zip
It will probably display that warning but it will print a whole lot more information on what is happening inside JASP and, in the end at exit, how long certain operations took. If you could run JASP and use it for a bit while it is displaying the slowdowns and then upload the logs here then that would be quite helpful.
@JorisGoosen I tried using the SlowdownProfiler. Sorry, it did not work at all. I used it to open the ANOVA "Tooth Growth" data set. That worked fine. I then attempted to run an independent t test test. I entered the appropriate variables but no analysis was generated, and no log file was produced.
Hmm, and I assume that you waited a while?
It is starting to seem like maybe the resultswindow is the problem here. Also given https://github.com/jasp-stats/jasp-issues/issues/1494 and https://github.com/jasp-stats/jasp-issues/issues/1496
Especially because it seems like it didnt even load for you this time (as in it is still grey in the screenshot) and that matches with . Thanks for trying.
Correct. With JASP-SlowdowProfiler-Test, the results Window never opens. (It at least opened in JASP 0.15.)
Ok, so I will be trying to get a build of JASP which uses a newer version of QWebEngine (aka the resultsview).
In the meantime we could test if it is caused by ANGLE
(which renders opengl through directx) and might be part of the slowdown.
If you open up a command-prompt, navigate to wherever JASP.exe
is and then set QT_OPENGL=desktop
it will use the proper drivers.
D:\>cd JASP\JASP-nightly-development-a6d5fc56cf9d8d909535139264aa674d4628fa6d
D:\JASP\JASP-nightly-development-a6d5fc56cf9d8d909535139264aa674d4628fa6d>set QT_OPENGL=desktop
D:\JASP\JASP-nightly-development-a6d5fc56cf9d8d909535139264aa674d4628fa6d>JASP.exe
When I have the other build ready I will post it here.
I tried to do this with the slowdown tester. It did not make a difference. The results window output still never appeared (and no log files were generated). I also tried to do it with the regular JASP 15.0.1 but it did not improve the slowdown.
OK. I just installed jasp version 0.16 and it will not run at all (see error message below). Note that I run a lot of software on this computer--R, jamovi, SPSS, Photoshop, Inkscape, etc.--and have never had any problem with graphics.
Update. It turns out that the failure to run at all only happened upon electing to launch the application at the end of the install process. I can run 0.16 now. But no output ever appears. The behavior is the same as it was with the slowdown tester version.
Well, I guess it is good it runs, too bad about the output though. I'm still hard at work at the version with an updated results-output-component and it is getting there. (There were quite some changes in Qt that I have to handle though)
I'll get back to you beginning next week.
Alright, I've managed to get a prototype version of JASP using Qt6, you can get it here: https://static.jasp-stats.org/JASP-Qt6-testing.zip
And I really hope this solves the slowdown. There might be other things wrong with it though, I had to change quite some unrelated things as well to get this running.
Hi JorisGoosen. Thanks. However this Qt6 version does not function at all for me. Once I've launched it, it pretty quickly "stops working" or crashes. This has happened when I try to open a data file from the data library or from my computer, and sometimes even before I get to that point. See the screen shots, below.
@R180 do you know if safe graphics was still on?
If you are unsure about this you could try starting jasp as JASP.exe --safeGraphics
from the place you installed it.
This is mostly because of the warning/error you saw in https://github.com/jasp-stats/jasp-issues/issues/1431#issuecomment-973768644
Although that might have been caused by the strange glitch you had after pressing "Launch JASP" from the installer.
Good to hear all that other software works fine, I really want JASP to also work for you. The problem is I still don't understand what is the cause of the problem...
I saw in one of your log outputs that you have a GTX1070 in your machine, which should be quite sufficient to run JASP (I have it myself). But perhaps when you start JASP it is running on the intel-gpu. That could cause all sorts of trouble because they are notorious for bugs. And perhaps we are hitting a particular one that those other programs do not.
Starting JASP in --safeGraphics
mode should work around those problems. The other option could be to select the nvidia card for JASP in the "NVIDIA Control Panel" :
JASP is called "Star wars Jedi Knight - jedi academy" or something because they seem to have the same executable name. But that way you can be sure about which gpu it runs on.
Hi. I managed to run JASP.exe --safeGraphics
However, this did not help. When I then tried to load a data file form the JASP data library, I got the message: "JASP.exe has stopped working"
Also, I don't see anything from NVIDIA on my system:
@JorisGoosen, I ran into the same issue when I build your branch. Loading a Data Library crashes JASP.
@R180 ah then I misremembered the log of another user with this issue, but thanks for pointing that out. At least that problem should now be avoided because JASP remembers that setting.
The fact that @amirmasoudabdol also ran into that means something is wrong there. Ive been containing work though and I can now and here open files from the data library.
Maybe you could tell me which one you both tried?
I can at least op debug.csv
all the way at the bottom and if that doesnt work I will build a new version tomorrow that has some fixes, maybe even for the crash you both had.
Hi JorisGoosen. I've tried more than one data file from the JASP library, and none have worked. Among those are the "Tooth Growth" data file.
Hey @R180
I've been working on this new version: https://static.jasp-stats.org/JASP-Qt6-Testing-2.zip I can't get it to crash anymore (and the previous one I could) so I hope it works for you.
Perhaps you can give it a go and see whether you can open "Tooth Growth" again and if the glitchy behaviour where JAPS slows down disappears.
@JorisGoosen
Thanks. However, this new version took a very long time to show any signs that it was launching (half a minute). When it finally did launch, I immediately attempted to open the Tooth Growth data from the data library. The result was a familiar "crash" message:
Thanks. However, this new version took a very long time to show any signs that it was launching (half a minute).
Well, that is because it started from a zip and it had to recreate certain paths in the filesystem (that is the warning "JASP has been installed from a Zip" that came when you double-clicked JASP.exe is there for).
When it finally did launch, I immediately attempted to open the Tooth Growth data from the data library. The result was a familiar "crash" message
Well that is not as I had hoped... However, could you attach the logfiles of such a failed attempt here? That way I can see where it crashes for you, because I have no way of reproducing this problem on any of my systems.
@JorisGoosen Unfortunately JASP (Qt-Testing-2) is not generating log files. See below.
Hmm, perhaps you could help me out by showing the permissions for the folder one level up, as in:
And then in properties
the security settings for the username you use, mine are as follows:
I find it very strange that you cannot write these logfiles.
I am also curious if in Appdata/Roaming/JASP/JASP
you have the file called knownissues.json
.
@JorisGoosen It looks like all of the permissions are granted. . . .
I was forced to upgrade my OS to a newer version of Windows 10. I installed JASP 16. The attempted automatic launch after install crashed--there was a message saying something like graphics driver not available. I then manually launched JASP and it launched without error. I was able to open the Tooth Growth data set and run an ANOVA. Some log files are attached. New folder.zip
I've noticed some glitches in JASP 0.15.0 (Windows 10):
(1) There's a recurring announcement that "JASP has been installed from a Zip. . ." However, it is not a one-time thing. It happens every time I double-click a jas file to launch JASP. See the image, below.
(2) There's a 3- to 5-secod delay (with no indication that JASP is working on it) in the engagement/disengagement of variable-level filtering. See the image, below.