Hi , i am trying to open openroad gui, but geeting...
# openlane
r
Hi , i am trying to open openroad gui, but geeting following error : how to resolved ?? cd /home/ayan/MPW7/Openlane/OpenLane && \ docker run --rm -v /home/ayan/MPW7/Openlane/OpenLane:/openlane -v /home/ayan/MPW7/Openlane/OpenLane/designs:/openlane/install -v /home/ayan/MPW7/Openlane/OpenLane/pdks:/home/ayan/MPW7/Openlane/OpenLane/pdks -e PDK_ROOT=/home/ayan/MPW7/Openlane/OpenLane/pdks -e PDK=sky130A --user 0:0 -e DISPLAY=:7.0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /root/.Xauthority:/.Xauthority --network host -ti efabless/openlane:63b5966c2874da8bf01a831f0ee9dc68382a4958-amd64 OpenLane Container (63b5966):/openlane$ openroad -gui QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' No protocol specified qt.qpa.screen: QXcbConnection: Could not connect to display :7.0 Could not connect to any X display. @Vijayan Krishnan
v
Can you try with latest OpenLane master?
r
Updated to latest , still same issue : cd /home/ratul619/IIT_study_VM/OpenLane && \ docker run --rm -v /home/ratul619/IIT_study_VM/OpenLane:/openlane -v /home/ratul619/IIT_study_VM/OpenLane/designs:/openlane/install -v /home/ratul619/IIT_study_VM/OpenLane/pdks:/home/ratul619/IIT_study_VM/OpenLane/pdks -e PDK_ROOT=/home/ratul619/IIT_study_VM/OpenLane/pdks -e PDK=sky130B --user 0:0 -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /root/.Xauthority:/.Xauthority --network host -ti efabless/openlane:63b5966c2874da8bf01a831f0ee9dc68382a4958-amd64 OpenLane Container (63b5966):/openlane$ openroad -gui QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' No protocol specified qt.qpa.screen: QXcbConnection: Could not connect to display :0 Could not connect to any X display. OpenLane Container (63b5966):/openlane$
m
Are you running in docker? The gui might not work in docker.
r
Yes @Mitch Bailey, using docker.
what is the other option ?
m
Does anyone know how to run gui’s from docker? I found this https://stackoverflow.com/questions/44429394/x11-forwarding-of-a-gui-app-running-in-docker but haven’t tried anything.
r
I am also trying to build oopenroad locally , but failing : /usr/bin/ld: odb/src/zutil/libzutil.a(util.cpp.o): in function
odb::cutRows(odb::dbBlock*, int, std::vector<odb::dbBox*, std::allocator<odb::dbBox*> > const&, int, int, utl::Logger*)': util.cpp:(.text+0x107a): undefined reference to
fmt:v7basic format context&lt;stdback insert iterator&lt;fmtv7detail:buffer >, char>::iterator fmt:v7detail:vformat_to(fmt:v7detail:buffer&, fmt:v7:basic_string_view, fmt:v7basic format args&lt;fmtv7basic format context&lt;stdback insert iterator&lt;fmtv7detailbuffer&lt;fmtv7type identity:type> >, fmt:v7type identity:type> >)' https://github.com/The-OpenROAD-Project/OpenROAD/issues/2807
m
@proppy I thought the gui/docker issue had been resolved. Do you have any ideas?
You could try DOCKER_OPTIONS += --privileged
v
@Ryan R commit
63b5966c2874da8bf01a831f0ee9dc68382a4958
same. Are you working on caravel flow?
r
no openlane . But no issues , using openroad now . Thanks @Matt Liberty @Vijayan Krishnan
m
what resolved your problem?
r
openroad local installation 🙂 - seemed only way
v
efabless/openlane:0b94d33d942814fceeab05ec4881c90b5bc386ac-amd64
this is latest OpenLane commit. Inside docker am able to launch
openroad -gui
👍 1
tried in Centos7 OS
r
ok thanks !