-
Notifications
You must be signed in to change notification settings - Fork 5.7k
PhantomJS 1.7.0 hangs on Windows 8 #10845
Comments
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
[email protected] commented:
|
What solved the issue for me is to permanently set the high performance adapter to be responsible for running phantomjs. To do that:
|
Excuse me, but why the issue is closed? Changing video adapter manually is a suitable workaround indeed but definitely isn't a solution of the problem. |
It just took me several hours to find this solution for this nasty bug -.- It would be nice to add this solution to the FAQ or troubleshooting pages! |
The workaround described above does not work for me as I do not have an option to set the preferred graphics adapter. I am using Win7 64-bit with an nVidia GT 630, as well as the integrated Intel video. Screenshot: Context menu of phantomjs.exe Is there an earlier version of PhantomJS that didn't have this problem? FYI, I am trying PhantomJS for the first time. This bug makes all of the tutorials freeze in a bad way. Even Ctrl-C or Ctrl-Break won't unstick it. I have to kill it from Task Manager. PhantomJS is unusable for me. If this can't be fixed easily, would be possible to add a note to the tutorials, to avoid frustration in other new users of PhantomJS? |
Does anyone have a different solution to this? I can't expect all the developers on my team to do the Nvidia-fix when the maven build hangs. |
@DrTeit to resolve this issue we need more information (proc dumps). Since we can't reproduce it.
|
Here you go: I got that by running Your help would be most appreciated! |
Same problem here; can not specify preferred adapter. Tried setting the nVidia card as the only allowed CUDA CPU, Multi-display/mixed-GPU acceleration to Campatability performance modus, Power management to Maximum performance and Threaded optimization to Off, but it all didn't do anything for stopping this issue. My machine has an Intel HD4000 and nVidia GT640 running Windows 8 |
As per bug report #11661 I can confirm that is occurs on Windows 7 64-bit SP1. I noted the following during testing, adjusting the following graphics settings had these results:
So I dare say it's the "detection" of the "most compatible processor" which might be at fault. |
@DeanMarkTaylor The "detection" part is a very useful information (not that we can fix it for now). Thank you! |
I am also facing the phantomJS getting hanged issue. I am running phantomjs on 87 parallel microinstance servers which are programmed to get terminated once the phantomJS completes its action. Now it works successfully for 59 servers while gets hanged on the 28 servers. I did checked the phantmJS comman that may be causing the issue but that was not the case. The phantomJS will not do anything and continue to be there till server terminated forcefully. PS: I did checked for the graphics driver compatibility but the server is not having any graphics card. |
I recently came up to this problem too, and it got fixed after I updated the NVIDIA driver (from 311.* to 340.52). I didn't even touch the "High-performance" thing mentioned above, since there is no that option in the NVIDIA control panel at all (either in 311.* or in 340.52). So if someone still gets stuck here, updating the driver might help. |
why my redhat machines also meet this problem?It doesn‘t have any Nvidia driver... |
Same problem on a ubuntu VPS. Some infos:
PhantomJs has been installed via apt-get, not build from source. I cannot do it because a lot of errors during compile and I'm not able to resolve.
|
This is not finished. I'm on a desktop and getting this bug. |
@Woolworths this issue fixed in 2.x version. |
This issue was fixed but in v2.1.1 Phantom starts to hang again. While 1.9.1 works fine. |
@evil-shrike could you please try 2.5 beta? You can grab it here https://dl.dropboxusercontent.com/u/30021413/phantomjs-2.5.0.beta-windows.zip |
@vitallium this one is hanging as well. I forgot to mentioned that I'm on Win10 1607. |
@evil-shrike have you tried the possible fix in this thread? If no, could you please describe your problem a bit more. May be attach the sample script. If yes, and it helped let me know. |
@vitallium I have only default video drivers so I can't make suggested tuning in drivers. I run Phantom via a Grunt's task which runs it via Node's
I've tried on two different machines (both win10) Lenovo T520 (integrated video) and Dell desktop (two videos). It hangs in both cases. |
[email protected] commented:
Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #845.
🌟 14 people had starred this issue at the time of migration.
The text was updated successfully, but these errors were encountered: