Hi, can I run magic inside the docker to view the ...
# openlane
w
Hi, can I run magic inside the docker to view the layout. It gives a display error when run inside the docker.
m
run it outside, and tell it where the tech file is
w
So it means we cannot use magic present inside the openlane folder? We have to install another magic separately solely for the purpose of viewing the layout generated?
m
as far as I know.
j
Wouldn't it just be a matter of setting DISPLAY correctly inside the docker (and perhaps chanding permissions outside of it)?
m
hm, I just tried this: docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/matt/work/kneesonic:/openLANE_flow -v /home/matt/work/asic-workshop/pdks/:/home/matt/work/asic-workshop/pdks/ -e PDK_ROOT=/home/matt/work/asic-workshop/pdks/ -e DISPLAY=${DISPLAY} -u 1000:1000 openlane:rc2
and magic failed with a different error
image.png
it would be cool to have it working from inside. I already had it installed on my system (and am now using klayout more), so it didn't bother me
😮 1