8
$\begingroup$

My blender hangs very often for a minute on two. Sometimes it doesn't, in 90% cases it does. Typical places where it hangs are:

  • at startup, just after showing console window, before showing UI.
  • at file -> Open, before showing file / folders UI
  • at File -> Export -> FBX - before showing UI, it hangs while the menus is still visible

This makes it really annoying to work with. What could be the reason for the problem? I tried disconnecting the network, because I thought the network drives might confuse it, but this didn't change anything. My files are all on local drives.

I run on Windows 64-bit, hardware is a decent laptop with 16 GB RAM, but it seems the problem happens when nothing is really going on, what would require gears.

The console doesn't print anything new in these cases.

$\endgroup$
2
  • 3
    $\begingroup$ This happens for me on Windows 10 when using a non admin account. I couldn't find a solution yet. $\endgroup$
    – stacker
    Mar 21, 2016 at 10:36
  • 1
    $\begingroup$ @stacker It happens to me on my Win10 Surface3 tablet, even with the admin account. $\endgroup$
    – PGmath
    Mar 22, 2016 at 1:21

4 Answers 4

7
$\begingroup$

If I had to guess, from your description I would say it is Blender trying to access some unreachable location. Such behaviour seems to be connected to disk reading activity, like when opening or browsing for a file or location.

I've had a similar problem a while ago when I had a faulty DVD drive installed. I later came to find out that disconnecting it made blender behave again.

Is your hard drive health poor, or is it very full? Check if some other program is reading or writing heavily to the disk, or if you have a optical disk drive installed that may be causing access delays.

Are you connected to a network? If so check if you have any configured network drives or remote places Blender might be trying to access.

Try disconnecting all that and see if the delays still happens.

$\endgroup$
4
  • $\begingroup$ @Arek said, "I tried disconnecting the network, because I thought the network drives might confuse it, but this didn't change anything." $\endgroup$
    – dedwarmo
    Mar 22, 2016 at 1:56
  • $\begingroup$ @dedwarmo: I did disconnect network before entirely, not network drives. This did not help. $\endgroup$
    – Arek
    Mar 22, 2016 at 10:37
  • 1
    $\begingroup$ I verified it has sth to do with network drives. If "My Computer" is opening instantly, Blender starts fine. But if it's showing a progress bar for a minute trying to figure out network states, so does start Blender. Is there any workaround other than removing network shares? I have some number of them, need them for work, and they point to locations which are only sometimes available (while on VPN or when some virtual machine is running) $\endgroup$
    – Arek
    Mar 22, 2016 at 10:38
  • $\begingroup$ Ok got it and posted as another answer. $\endgroup$
    – Arek
    Mar 22, 2016 at 11:32
10
$\begingroup$

I marked the first correct answer as accepted. This is indeed a problem with network drives. But it seems I found a workaround, so I post it here.

The workaround removes all network drives from Blender, so it doesn't hang while trying to access them. It will also kill the possibility to save / load files to network drives in Blender. I do not need this feature so this is fine for me.

Before you start with this, try running Blender as Administrator (right click on its shortcut and choose 'Run as administrator'. I heard it might remove network drives on some systems. It did not work for me however. Verify by going to File> Open in Blender and see if network drives are still there.

Steps which resolved this for me:

  1. Create a new user in Windows. I named it "Blender". Set administrative rights to it so it can access all the files and create a valid, strong password for it so nobody will login to the PC with it.
  2. Create a shortcut somewhere (ie. desktop) to start blender. It can be a copy of the blender shortcut which is in the start menu (Start -> find blender -> right click -> copy, then right click on desktop -> paste).
  3. Change the target of this shortcut, so it is not:

    C:\Program Files\Blender Foundation\Blender\blender.exe

    but instead:

    runas.exe /savecred /user:Blender "C:\Program Files\Blender Foundation\Blender\blender.exe"

    If your path to blender.exe is different, adjust accordingly. If you username is different than Blender, also change it.

  4. Now double clicking new shortcut will start Blender on this different user account. At first run it will ask for the password - enter the password set for the Blender user.

  5. Blender will start instantly, because this new user doesn't have any network drives mapped.
  6. If caring for look, you can change the icon for the shortcut, because now it doesn't look like anything Blender like. Just find 'Change Icon' button in shortcut properties, navigate to:

    C:\Program Files\Blender Foundation\Blender\blender.exe

    and set a proper icon.

  7. Blender is now like fresh install without user settings. You can copy your current settings by copying:

    C:\Users\\AppData\Roaming\Blender Foundation\Blender\2.76\config\userpref.blend

    to

    C:\Users\Blender\AppData\Roaming\Blender Foundation\Blender\2.76\config\userpref.blend

    This path might different on your system or different Blender version. Do the same with other files in this folder: 'bookmarks.txt' and 'recent-files.txt'. If you have more files there, consider them as well (I only had those).

$\endgroup$
2
  • $\begingroup$ Nice workaround, thanks for the explanation $\endgroup$ Mar 22, 2016 at 16:29
  • $\begingroup$ Excellent answer, thanks for contributing to the community! $\endgroup$
    – Matt
    May 12, 2016 at 18:26
1
$\begingroup$

Duarte Farrajota Ramos is right with his answer. I find a similar behaviour when I had some network drives mapped at work, after only using standby came home where those aren't available any more and I want to open anything in Blender that uses a File Browser. It seems to wait for some timeouts. Disconnecting all network drives usually disables these time lags for me.

This has already been reported as a Bug, but has been archived and is now a ToDo:

Add timeout to file browser, so network which is hicking up does not annoy artists

$\endgroup$
3
  • $\begingroup$ Good to hear it is on the roadmap. Is there any workaround other than removing network shares? I have some number of them, need them for work, and they point to locations which are only sometimes available (while on VPN or when some virtual machine is running) $\endgroup$
    – Arek
    Mar 22, 2016 at 10:39
  • $\begingroup$ I think, adding this mentioned timeout would be a workaround only and the real problem is based in Windows so that Blender only get's some notification pretty late after some network timeouts and is just innocently waiting for them until being able to display or use the complete drive list. $\endgroup$
    – Samoth
    Mar 22, 2016 at 11:27
  • 1
    $\begingroup$ Ok got it and posted as another answer. $\endgroup$
    – Arek
    Mar 22, 2016 at 11:32
0
$\begingroup$

I had a similar problem, and it turned out that, while I had no mapped network drives I still had some inaccessible network locations pinned in the Windows "Quick Access" menu. Here's a page from Microsoft on how to remove such items. After that, Blender starts in 5 seconds! yay!

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .