Hard crash launching 64 bit version on Win10 KVM VM.

Discussion in 'Troubleshooting' started by vfrex, Jan 14, 2018.

Share This Page

  1. vfrex

    vfrex n3wb

    Joined:
    Jan 14, 2018
    Messages:
    21
    Likes Received:
    8
    Hi,

    Trying to migrate BI into a virtual machine on a new server. Gave VirtualBox a go and it worked reasonably well (still in BI demo version and haven't migrated the license/config). Then tried KVM to run the VM. Windows throws a BSOD on launching BI ONLY for the 64 bit version. Blanking on the exact error message - will reproduce if it helps. Reinstalled Windows and I got the same behavior. Uninstalled BI, reinstalled the 32 bit version and it runs just fine.

    Xeon E5-2620
    24 gigabytes RAM (VM gets 4)

    So, questions:

    1. Has anybody seen this before? Any guesses? I don't know where to begin trying to troubleshoot.
    2. Any notable limitations to running 32 bit BI vs 64 bit for 7 cameras?
    3. Do we know of any plans to stop offering the 32 bit option?

    Thanks!
     
  2. Silas

    Silas Getting the hang of it

    Joined:
    Jan 6, 2017
    Messages:
    274
    Likes Received:
    81
    Location:
    Down Under
    Little confused here..
    Are you running VirtualBox on a server? or are you in fact discussing two different topologies, like HyperV on the server for instance?
     
  3. vfrex

    vfrex n3wb

    Joined:
    Jan 14, 2018
    Messages:
    21
    Likes Received:
    8
    Currently running Windows 10 w/ Blue Iris directly on a computer dedicated to the task. I have a new computer (Xeon) that will take over, but it runs Linux. My first attempt at running Windows 10 in a VM was through VirtualBox. That was successful and I was able to install/run BI. My second attempt at running Windows 10 in a VM was with KVM. I was able to run Windows 10 successfully, but the virtualized OS crashes. Does that help?
     
  4. looney2ns

    looney2ns IPCT Contributor

    Joined:
    Sep 25, 2016
    Messages:
    7,517
    Likes Received:
    5,908
    Location:
    Evansville, Indiana
    It is advisable to NOT run BI in a VM.
     
    SouthernYankee, TL1096r and wangbang like this.
  5. vfrex

    vfrex n3wb

    Joined:
    Jan 14, 2018
    Messages:
    21
    Likes Received:
    8
    Sure, but many people do it successfully anyway. This instance is already running successfully in a VM, just not on the desired hypervisor.
     
    wangbang likes this.
  6. vfrex

    vfrex n3wb

    Joined:
    Jan 14, 2018
    Messages:
    21
    Likes Received:
    8
    In case anybody ends up here with a similar question, I never figured out why BI was crashing. However, I did reinstall Linux and tried again with Proxmox, and 64-bit BI starts without a hitch. In theory everything was identical.
     
    wangbang and fbnoise like this.
  7. vfrex

    vfrex n3wb

    Joined:
    Jan 14, 2018
    Messages:
    21
    Likes Received:
    8
    Well, I tried going back to plain old KVM/libvirt from Proxmox for curiosity and we're back into the blue screen when BI is launched world. Both Win10 and Server 2016. Nothing notable in Windows event logs from what I can tell. Have tried playing around with the vm hardware options to no avail. I seem to be the only person on the planet running into this issue. Can't fathom what Proxmox is doing differently.
     
    wangbang likes this.
  8. rabittn

    rabittn n3wb

    Joined:
    Sep 2, 2014
    Messages:
    3
    Likes Received:
    1
    Sorry to Dig up but hopefully this helps. I have found this to be related to the type of processor you are passing along to the blue iris VM.
     
    bp2008 likes this.
  9. bp2008

    bp2008 Staff Member

    Joined:
    Mar 10, 2014
    Messages:
    8,909
    Likes Received:
    6,040
    @rabittn Thanks for that tidbit. I'm planning to move my secondary BI install to a VM soon-ish. It will be under unRAID, so KVM.
     
    TL1096r and biggen like this.
  10. biggen

    biggen Getting the hang of it

    Joined:
    May 6, 2018
    Messages:
    70
    Likes Received:
    35
    @bp2008

    I had this problem too a month or so ago when I was testing BI in a KVM VM as well. During the install portions of BI, I selected the 32-bit installer and that fixed the crashing.

    However, the new installer for BI doesn't allow you to select 32 vs 64bit. But the crashes also went away totally with the new installer as well so I guess whatever it was they solved it by moving to the new installer.
     
  11. analogue

    analogue n3wb

    Joined:
    Aug 28, 2019
    Messages:
    3
    Likes Received:
    2
    Location:
    usa
    Still failing for me.

    host: qemu-x86_64 version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.18)
    guest: win10 professional with all the latest patches

    Tried a bunch of different cpus, no go.

    @rabbitn What processor are you passing into the guest such that it is not failing to launch?
     
  12. biggen

    biggen Getting the hang of it

    Joined:
    May 6, 2018
    Messages:
    70
    Likes Received:
    35
    Does BI give you the option to select 32bit/64bit during the install?
     
  13. analogue

    analogue n3wb

    Joined:
    Aug 28, 2019
    Messages:
    3
    Likes Received:
    2
    Location:
    usa
    No, it does not.
     
  14. TL1096r

    TL1096r Pulling my weight

    Joined:
    Jan 28, 2017
    Messages:
    883
    Likes Received:
    204
    I wish there was more info. How do you do all of this? Any good write-ups?
     
  15. bp2008

    bp2008 Staff Member

    Joined:
    Mar 10, 2014
    Messages:
    8,909
    Likes Received:
    6,040
    I'm sure you can find lots of writeups and YouTube videos showing how to set up virtual machines on many different platforms. Once you are in Windows, a BI install is the same as it is on bare metal. You need to understand though, virtualization adds a whole layer of complexity which can cause performance or stability problems that can be difficult to solve. This, and the fact that Quick Sync hardware acceleration is typically unavailable in a VM, is why it is not recommended to run Blue Iris in a VM.
     
    TL1096r likes this.
  16. TL1096r

    TL1096r Pulling my weight

    Joined:
    Jan 28, 2017
    Messages:
    883
    Likes Received:
    204
    Thanks. That was my concern to how you are able to have all the features that actually make Bi run smoothly.

    Even though I am using i5-8500/quick sync 3400 kB/s 323MP - only 5 cams and having 55-61CPU usage and it is driving me nuts.
     
  17. bp2008

    bp2008 Staff Member

    Joined:
    Mar 10, 2014
    Messages:
    8,909
    Likes Received:
    6,040
    That does seem high for the load @TL1096r, but of course without deeply inspecting the configuration and usage patterns, nobody can say what is wrong.
     
    TL1096r likes this.
  18. TL1096r

    TL1096r Pulling my weight

    Joined:
    Jan 28, 2017
    Messages:
    883
    Likes Received:
    204
    I would not know where to begin. I had some tips from fenderman so I am waiting if he has more and I will share but it is a lot.

    Not to clutter this thread. I sent a small little outline. You might see something
    ;
     
    bp2008 likes this.