From 8cb801b0b71cb74ac60a70813adb9e84706eb8e0 Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Thu, 19 Jan 2023 08:49:57 +0100 Subject: [PATCH] How to fix run_quartus unb2b GUI issue. --- doc/erko_howto_tools.txt | 59 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/doc/erko_howto_tools.txt b/doc/erko_howto_tools.txt index 6ccd729eae..de19be64d8 100755 --- a/doc/erko_howto_tools.txt +++ b/doc/erko_howto_tools.txt @@ -18,6 +18,7 @@ * Screen to run a terminal session without ssh connection * Quartus Qsys IP files in GIT * Quartus version +* Quartus issues * Linux * ICT diensten * Python @@ -178,6 +179,8 @@ scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2b/quartus/lofar2_unb2b_sd scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2c/quartus/disturb2_unb2b_sdp_station_full hdl_build_results/20230108/ scp -rp regtest@dop349:/home/regtest/git/hdl/build/unb2c/quartus/disturb2_unb2b_sdp_station_full_wg hdl_build_results/20230108/ +scp -rp kooistra@dop436:/home/kooistra/git/hdl/build/unb2b/quartus/lofar2_unb2b_sdp_station_full_wg ~/hdl_build_result + du -h -d 2 df -h /home @@ -953,6 +956,62 @@ Quartus version meeting minutes 13 may 2020 (RW, LH JH, EK): 3) UniBoard2c IP was created using Q19.4 by Jonathan, but we need to reconsider going to the latest Quartus version and recreate the IP, when we continue with the pinning and test designs for UniBoard2c +******************************************************************************* +* Quartus issues +******************************************************************************* + +1) run_quartus unb2b fails to start: + +quartus: /home/software/Altera/18.0/quartus/linux64/liblzma.so.5: +no version information available (required by /lib/x86_64-linux-gnu/libsystemd.so.0) + +# Installing libpng12 did not help to fix this (because this libsystemd is only a warning): +> sudo add-apt-repository ppa:linuxuprising/libpng12 +> sudo apt update +> sudo apt install libpng12-0 + +# Changing video driver via system settings did not help + +Linux video driver teruggezet naar xserver-xorg-video-nouveau (19 jan 2022) +nvidia-driver-470 +Version 470.161.03-Oubuntu0.20.04.1 +NVIDEA driver metapackage + +change to + +xserver-xorg-video-nouveau (0pen source) +Version 1:1.0.16-1 +X.Org X server - Nouveau display driver + +geeft: + +pk-client-error-quark: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. (281) + +na sudo dpkg --configure -a die de 470 uninstallde kon ik de driver terug zetten +en werkte shutdown weer als shutdown ipv als suspend. + +# sudo ln -s /usr/lib/x86_64-linux-gnu/dri ./dri haalt een error weg, maar dan deze error: + libGL error: MESA-LOADER: failed to open iris: /home/software/Altera/18.0/quartus/linux64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/lib/x86_64-linux-gnu/libLLVM-12.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) + libGL error: failed to load driver: iris + libGL error: MESA-LOADER: failed to open iris: /home/software/Altera/18.0/quartus/linux64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/lib/x86_64-linux-gnu/libLLVM-12.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) + libGL error: failed to load driver: iris + libGL error: MESA-LOADER: failed to open swrast: /home/software/Altera/18.0/quartus/linux64/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /usr/lib/x86_64-linux-gnu/libLLVM-12.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri) + libGL error: failed to load driver: swrast + +kooistra@dop466:/dop466_0/kooistra/git/hdl$ find /usr -name libstdc++.so.6 +/usr/lib/x86_64-linux-gnu/libstdc++.so.6 +/usr/lib/i386-linux-gnu/libstdc++.so.6 +/usr/local/MATLAB/R2018a/sys/os/glnxa64/libstdc++.so.6 + + cd /home/software/Altera/18.0/quartus/linux64/ + cp -p libstdc++.so.6 libstdc++.so.6.quartus + rm libstdc++.so.6 + ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6 + +Dit werkt, oplossing komt uit: + +https://forum.step.esa.int/t/snap9-error-libegl-warning-mesa-loader-failed-to-open-swrast/36702/2 + ******************************************************************************* * Linux ******************************************************************************* -- GitLab