Image distortions when running Allegro 17.2 in Virtualbox - Page 1
Forum section: electronics / general

author: nctnico
author_rank: Super Contributor
timestamp: December 26, 2018, 01:15:43 pm
content: I'm trying to get Allegro 17.2 (the latest version) to run in Virtualbox on Linux but I'm getting weird artefacts when moving traces:No, this isn't a hacked version and yes I installed the latest version.Anyone have a clue to what is going wrong here? Until now I have never seen an application misbehave in Virtualbox.

author: nctnico
author_rank: Super Contributor
timestamp: December 26, 2018, 09:46:45 pm
content: As a last resort I tried VMware. That doesn't seem to suffer from the problem however it would mean shelling out another 180 euros

author: Alex Eisenhut
author_rank: Super Contributor
timestamp: December 27, 2018, 01:48:04 am
content: All versions of Allegro always seem to leave digital dirt on the screen every so often. Does pressing F5 get rid of it? If not, there's probably options in user preferences you can play with, relating to the display.

author: nctnico
author_rank: Super Contributor
timestamp: December 27, 2018, 11:12:04 pm
content: Thanks. I found the option to disable OpenGL and then it seems to work OK in Virtualbox as well with slightly less slick looking graphics. So now I at least have the choice to stay with Virtualbox or move to VMWare. Running Virtualbox and VMware at the same time results in a crash of the system so if I go for VMware I have to migrate all my virtual machines.

author: Whales
author_rank: Super Contributor
timestamp: December 27, 2018, 11:53:43 pm
content: Are you using the Virtualbox guest extensions that provide graphics accel? You have to manually install these on the guest. They provide a "better" openGL experience, but there are two variants (you are asked which you want to use when you install them) that can behave differently.I have no experience with vmware so I can't comment there. Other than stories about recurring license fees and Microsoft style audits

author: nctnico
author_rank: Super Contributor
timestamp: December 28, 2018, 12:02:40 am
content: I've tried with and without 3D accelleration and support. With full 3D support the PCB layout window gets completely garbled. But thanks for your heads-up about VMWare licensing. I'll check if the license is perpetual.

author: asmi
author_rank: Super Contributor
timestamp: December 28, 2018, 06:19:38 pm
content: I wouldn't recommend running Allegro under VM if you work on anything more-or-less complex as it will be annoyingly slow.

author: nctnico
author_rank: Super Contributor
timestamp: December 29, 2018, 12:32:45 am
content: Quote from: asmi on December 28, 2018, 06:19:38 pmI don't really have a choice; no Windows on my PC. Besides that I have tried a reasonably complex reference design for a 10 layer board with a SoC on it and that seems to work quick enough for shoving tracks and components around. The performance seems to depend greatly on the graphics accelleration supported by the VM. Emulated 3D support is terribly slow indeed. Also the PC I have is bought specifically to have good support for VMs (lots of memory bandwitdh and SSD for fast disk access).Anyway, I've decided to use Virtualbox with OpenGL disabled in Allegro. That should be OK for now. I can't run Virtualbox together with VMWare and I have standarised on Virtualbox for a whole bunch of VMs. All in all if I switch to VMWare I'd have to buy multiple Workstation Pro licenses for 280 euro each. 180 euro turns out to be just for the player which can only run one VM at a time. Perhaps Virtualbox fixes the 3D support at some point.

author: asmi
author_rank: Super Contributor
timestamp: December 29, 2018, 04:38:58 pm
content: Quote from: nctnico on December 29, 2018, 12:32:45 amYou're running Linux, right? If so - there is a Linux version of Allegro - have you tried running it?

author: nctnico
author_rank: Super Contributor
timestamp: December 29, 2018, 05:59:01 pm
content: Quote from: asmi on December 29, 2018, 04:38:58 pmI tried to install the Linux version but the installer doesn't produce an install which is ready to run and the documentation from Cadence is rather poor.I'm also not sure whether I have a license for the Linux version and the dongle can be shared between a VM and Linux so I can run Capture and Allegro at the same time. It might be something I look into later on but for now I'm not going to sink more time into it.

author: LTimko
author_rank: Newbie
timestamp: December 29, 2018, 08:52:21 pm
content: Hi,We've been using Orcad 16.6 under Ubuntu Linux since we bought.It is not an officially supported method, but we downloaded the Linux version from download.cadence.com, installed, and it worked. Allegro runs flawlessly under Linux and is very fastYou can run Capture and Allegro at the same time with your dongle. AFAIR Capture checkout pcb_designer named license, while Allegro checkout pcb_editor license. A standard license server supply both of them. This is for 16.6, but I suppose it has not changed in later versions.Unfortunately, the Linux version of Allegro is optimized for Red Hat Enterprise, so some workaround were necessary on a Debian based distro. I can share details if someone's interested.Anyway, I can confirm that VMWare is also a working option. If you have a good computer, it will run pretty well. By the way, which version of VirtualBox are you using? The recent 6.0 version uses VMSVGA driver from VMWare! I haven't tested it yet, maybe it's worth a try.Regards

author: nctnico
author_rank: Super Contributor
timestamp: December 29, 2018, 09:07:54 pm
content: Please share any info on how to run Allegro on Debian LinuxThinking about it... I can probably use the Linux system as a license server for the Windows VM in order to share the dongle.I'm using Virtualbox 6.0.0. I think I have tried the VMSVGA driver at some point but it may be Windows inside the VM was too messed up already. I ended up creating a new Windows 7 VM.I could try the VMSVGA driver again for kicks and roll back if it doesn't work.Just tried it but the guest additions fail to install the video driver. Perhaps this Virtualbox feature is too new.

author: LTimko
author_rank: Newbie
timestamp: December 30, 2018, 01:11:36 pm
content: Here are the installation process I have made on Ubuntu 14.04/x64.These steps are for 16.6 version of Allegro, but the 17.2 would be similar.Prerequisites:Code:ln -s /usr/bin/basename /bin/basenameapt-get install csh ksh lsb-core libmotif4:i386 libxp6:i386 libxtst6:i386 libglu1-mesa:i386As far as I know the 17.2 is a native 64bit application, so installation of i386 libs may not be necessary.Extract installation archives:Code:find ./*.tar -exec tar -xvf {} \;Then copy all files to /home/foo/install/Install it:Code:su root./SETUP.SHinstall directory: /opt/cadence/SPB166iscape directory: /opt/cadence/iscapeUnder Installscape:Code:Local directory / Media installBrowse -> /home/foo/install/SPB16.60.XXX_lnx86.Hotfix/CDROM1Continue -> NextSelect optionsInstall directory -> /opt/cadence/SPB166StartCreate a new environment file as /opt/cadence/SPB166/cadence.envCode:export CDSROOT=/opt/cadence/SPB166export CDS_INST_DIR=$CDSROOTexport CDS_SITE=$CDSROOT/share/local/export CDS_LIC_FILE=5280@192.168.2.128 #replace it with your own license addressexport LD_LIBRARY_PATH=/lib:/usr/lib:$CDSROOT/tools/lib:$CDSROOT/tools/mainwin540_64/mw/lib-amd64_linux_optimized:$CDSROOT/tools/mainwin540_64/mw/lib-amd64_linux:/usr/lib32/nvidia-410export PATH=$PATH:$CDSROOT/tools/jre/bin:$CDSROOT/tools/bin:$CDSROOT/tools/libutil/bin:$CDSROOT/tools/pcb/bin:$CDSROOT/tools/fet/bin:$CDSROOT/tools/specctra/bin:$CDSROOT/tools/plot/bin:$CDSROOT/stream_mgt/bin:$CDSROOT/tools/fet/concept/bin:$CDSROOT/tools/dfII/bin:$CDSROOT/tools/spectre/binThe video driver path in LD_LIBRARY_PATH is tricky. You must add it or you will not get proper 3D acceleration.I use an nVidia card so /usr/lib32/nvidia-410 is my current (32bit) driver path. I suppose /usr/lib/nvidia-410 is needed for 17.2.Run program:Code:source /opt/cadence/SPB166/cadence.env/opt/cadence/SPB166/tools/pcb/bin/allegro or /opt/cadence/SPB172/tools/bin/allegroI hope this will help

author: nctnico
author_rank: Super Contributor
timestamp: December 30, 2018, 03:52:43 pm
content: Many thanks for taking the time to share all of this!This would have taken me (at least) a couple of hours to figure out.

author: nctnico
author_rank: Super Contributor
timestamp: January 01, 2019, 01:20:32 am
content: With too much noise from fireworks to go to sleep or watch TV I had some time on my hands... I managed to get Allegro running on Linux as well.I must say I'm also quite amazed by how fast it redraws the 10 layer SoC board design (this is a real design and not a demo from Cadence). A good start of 2019 I'd say. Now on to designing a first board and tweaking the user interface to my liking.Edit:I didn't need to install the 386 stuff on my system but I did need to install an older version of libpng (version 12-0 to be exact) from a previous version of Debian.

author: asmi
author_rank: Super Contributor
timestamp: January 02, 2019, 04:50:59 pm
content: Try opening a real dual-CPU server board file from here:https://www.opencompute.org/wiki/Server/ProjectOlympusThis will give you a real taste of how fast (or slow) it is as it's a very complicated (yet only 8-layer) board.

author: nctnico
author_rank: Super Contributor
timestamp: January 02, 2019, 06:50:31 pm
content: Found it. 680MB PCB fileBut I can browse through the design quickly!

author: free_electron
author_rank: Super Contributor
timestamp: January 02, 2019, 07:10:39 pm
content: Quote from: nctnico on December 26, 2018, 09:46:45 pmyou are complaining about 180 euro and yet run CAD that costs 50K+

author: nctnico
author_rank: Super Contributor
timestamp: January 02, 2019, 07:58:49 pm
content: Quote from: free_electron on January 02, 2019, 07:10:39 pmDivide that $50k by 11 and you are getting close to the price of a standard Orcad schematics + PCB package (A cut down version of Allegro called PCB editor). Anyway, at some point you just have to stop adding extra costs & options.