FC18/19 on VirtualBox Windows 10 Guest Possible?

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
wandererfan
Posts: 4045
Joined: Tue Nov 06, 2012 5:42 pm

FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby wandererfan » Sat Sep 21, 2019 12:10 pm

Has anybody succeeded in running FreeCAD v18/19 on a Windows 10 guest under VirtualBox on ubuntu18/mint19?

Guest additions and expansion pack are installed on the VM. The hardware is an HP laptop with Nvidia graphics.

The best I've managed so far is to display the Start page and a Drawing module page. Anything involving the 3d view, displays black screen, garbles the display or crashes FreeCAD.

I've tried the "black screen" solutions and all the available VB video drivers (VBSVGA, VMSVGA, etc). I frequently get the message "Access violation" before/during the black screen.

I've tried a couple of different versions from the 0.19_pre page, including the conda build. Also tried 18.3 from the releases page.

A potential clue is that I can't run blender either. Blender complains that it needs at least OpenGL 3.3, then refuses to start.

I'm out of ideas.
User avatar
sgrogan
Posts: 5888
Joined: Wed Oct 22, 2014 5:02 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby sgrogan » Sat Sep 21, 2019 1:41 pm

wandererfan wrote:
Sat Sep 21, 2019 12:10 pm
I'm out of ideas.
Maybe this helps https://superuser.com/questions/779070/ ... virtualbox
Also, does the QT4 version work?
User avatar
kkremitzki
Posts: 2074
Joined: Thu Mar 03, 2016 9:52 pm
Location: Texas

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby kkremitzki » Sat Sep 21, 2019 3:07 pm

I could have sworn I have done this with a Windows 7 VM, but just now I tested with a Windows 10 VM, using libvirt instead of VirtualBox, and it didn't work either, with the same black screen behavior you described.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
sgrogan
Posts: 5888
Joined: Wed Oct 22, 2014 5:02 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby sgrogan » Sat Sep 21, 2019 3:27 pm

I wonder if I am missing packaging some QT5 plugin? We have seen this in other areas.
Anybody want to try , with all the plugins, I can make a package of all the plugins.

EDIT: I put a package here: https://github.com/sgrogan/FreeCAD/rele ... /PY3.7-win plugins.7z
copy all the sub-folders of the plugins directory to FreeCAD/bin

EDIT2: The package is for the Libpack 12.x.x builds
mlampert
Posts: 1463
Joined: Fri Sep 16, 2016 9:28 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby mlampert » Sat Sep 21, 2019 7:05 pm

I had a similar issue with Linux as a guest - IIRC I had to turn off all video accelerations.
I just checked for the System I have the "PAE/NX", "VT-x/AMD-V" and "Nested Paging" enabled, but not "Nested VT-x/AMD-V".

HTH,
Markus
User avatar
wandererfan
Posts: 4045
Joined: Tue Nov 06, 2012 5:42 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby wandererfan » Sun Sep 22, 2019 12:16 am

sgrogan wrote:
Sat Sep 21, 2019 3:27 pm
Anybody want to try , with all the plugins, I can make a package of all the plugins.
Might have helped a bit. v0.18 stayed up long enough to make a new document, add a cube and sphere, then save. After that it just disappeared. I haven't be able to duplicate that little bit of success.

I'll mess about a little more, but it looks like I'm out of luck.
Samshah
Posts: 4
Joined: Fri Sep 20, 2019 1:27 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby Samshah » Sun Sep 22, 2019 10:45 am

FreeCad Windows same black screen problem.

On Ubuntu 18.04...the the freecad 18.03,,drawing portion is alright but .....FEM is compile with Calculix...but not working...

So have a stable release atleast.

Too many confusions.
User avatar
sgrogan
Posts: 5888
Joined: Wed Oct 22, 2014 5:02 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby sgrogan » Mon Sep 23, 2019 10:37 pm

wandererfan wrote:
Sun Sep 22, 2019 12:16 am
Might have helped a bit. v0.18 stayed up long enough to make a new document, add a cube and sphere, then save. After that it just disappeared. I haven't be able to duplicate that little bit of success.
Interesting. Can you get past the black screen. I don't understand the QT5 plugin stuff. They are loaded at runtime, I think, so I don't know how to test.
User avatar
wandererfan
Posts: 4045
Joined: Tue Nov 06, 2012 5:42 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby wandererfan » Mon Sep 23, 2019 10:42 pm

sgrogan wrote:
Mon Sep 23, 2019 10:37 pm
Interesting. Can you get past the black screen. I don't understand the QT5 plugin stuff. They are loaded at runtime, I think, so I don't know how to test.
Only got past the black screen the one time. I can see start page, Preferences or the QGraphicsView for sample Drawings, but as soon as I try the 3D view it either dies completely or gives the black screen.

Graphics on VirtualBox seems to be a big problem judging by the number of Google hits.
User avatar
sgrogan
Posts: 5888
Joined: Wed Oct 22, 2014 5:02 pm

Re: FC18/19 on VirtualBox Windows 10 Guest Possible?

Postby sgrogan » Mon Sep 23, 2019 10:53 pm

wandererfan wrote:
Mon Sep 23, 2019 10:42 pm
Graphics on VirtualBox seems to be a big problem judging by the number of Google hits.
Can you run the self-tests from FreeCADCmd.exe?