- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My system is 20.04, FPGA AI Suite version is 2024.1, OpenVINO version is 2023.3, Quartus version is 23.4
I generated an optimized genarate_arch.arch file by running the dla_compiler command. Its basic architecture file is AGX7_Performance.arch, so AGX7_Performance.sof is still used as bitstream
But when I use this arch to run openvino demo, I was prompted: arch check failed: compiledResult arch hash and bitstream arch hash are inconsistent.
If I use the command export DLA_DISABLE_ARCHCHECK=1, an error will occur: FATAL ERROR: inference on FPGA did not complete, jobs fnished 0, jobs waited 0
So do I need to regenerate bitstream for genarate_arch.arch through dla_build_example_design.py?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Does that mean that you are regenerating your arch file? If yes, you might need to regenerate the bitstream as your arch is no longer suitable for the bitstream. If you are arch is from the original arch then I would recommend to use the original arch file.
You can only change the .xmlbin file if you are re-using the sof file
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But I encountered an error when running dla_build_example_design.py:
*** Fatal Error: Segment Violation: faulting address=0x20, PC=0x7f7246e63ef7 : 0x7f7246e63ef7: ccl_msg!PDB_CLASS_THUNK<MSG_LOCATION_SCHEMA>::this_ptr_fn(void*) + 0x7
Module: quartus_syn
Stack Trace:
Err Handler 0x2ee2f: ERR_UNWINDER_BACKTRACE::get_stack_trace(void const**, int, int, void*) + 0xed (ccl_err)
Err Handler 0x89dce: msg_ie_get_call_stack(void*) + 0xc4 (ccl_msg)
Err Handler 0x8c63c: MSG_INTERNAL_ERROR::report_fatal(char const*, void*, bool) + 0x40 (ccl_msg)
Err Handler 0x11c1f: err_report_fatal_exception(char const*, void*, bool) + 0x63 (ccl_err)
Err Handler 0x20797: err_sigaction_handler + 0x18f (ccl_err)
System 0x42520: (c)
Quartus 0xcfef7: PDB_CLASS_THUNK<MSG_LOCATION_SCHEMA>::this_ptr_fn(void*) + 0x7 (ccl_msg)
Quartus 0x24198: PDB_SEGMENT_WRITER::xfr_ptr(void*&, PDB_STATIC_THUNK_INFO const*) + 0x38 (ccl_pdb)
Quartus 0x15eaeb: HDB_INSTANCE_NAME::operator<<(PDB_SEGMENT_TEMPLATE<PDB_HDB_SEG_BASE>&) + 0x8b (db_hdb)
Quartus 0x15ec5f: HDB_MEMBER_INSTANCE_NAME::operator<<(PDB_SEGMENT_TEMPLATE<PDB_HDB_SEG_BASE>&) + 0x3f (db_hdb)
Quartus 0x25e1e: pdb_write_ptr_impl(PDB_ARCHIVE&, char const*, char const*, void (*)(PDB_BASE_SEGMENT&, void*&), void*&, unsigned int, int, CLW_COMPRESSION_TYPE, lzma_mt const*) + 0x13e (ccl_pdb)
Quartus 0x26117: pdb_write_ptr(PDB_ARCHIVE&, char const*, char const*, void (*)(PDB_BASE_SEGMENT&, void*&), void*&, unsigned int, int, CLW_COMPRESSION_TYPE) + 0x17 (ccl_pdb)
Quartus 0x1a8567: HDB_MODEL_HANDLER::write_model_to_file(QDB_MODEL*, QDB_FILE const&, bool) const + 0x1a7 (db_hdb)
Quartus 0x35a41: QDB_SERVICE_IMPL::export_model_impl(QDB_MODEL*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool*, CPT_AMPP_OSTREAM*) + 0x491 (db_qdb)
Quartus 0x8d6c2: tbb::detail::d1::function_body_leaf<tbb::detail::d1::continue_msg, tbb::detail::d1::continue_msg, (anonymous namespace)::work_on_models_with_dependencies<QDB_BASIC_STATE::save(QDB_SERVICE*, QDB_PATH const&, CPT_AMPP_OSTREAM*)::{lambda(QDB_MODEL*)#4}&>(QDB_SERVICE const&, std::__cxx11::list<QDB_MODEL*, std::allocator<QDB_MODEL*> > const&, QDB_BASIC_STATE::save(QDB_SERVICE*, QDB_PATH const&, CPT_AMPP_OSTREAM*)::{lambda(QDB_MODEL*)#4}&)::{lambda(auto:1)#1}>::operator()(tbb::detail::d1::continue_msg const&) + 0x122 (db_qdb)
Quartus 0x98f9a: tbb::detail::d1::apply_body_task_bypass<tbb::detail::d1::continue_input<tbb::detail::d1::continue_msg, tbb::detail::d1::Policy<void> >, tbb::detail::d1::continue_msg>::execute(tbb::detail::d1::execution_data&) + 0x3a (db_qdb)
Quartus 0x161d3: tbb::detail::r1::task_dispatcher::execute_and_wait(tbb::detail::d1::task*, tbb::detail::d1::wait_context&, tbb::detail::d1::task_group_context&) + 0x763 (tbb)
Quartus 0x95b28: tbb::detail::d1::task_arena_function<tbb::detail::d1::graph::wait_for_all()::{lambda()#1}::operator()() const::{lambda()#1}, void>::operator()() const + 0x18 (db_qdb)
Quartus 0x2b81f: tbb::detail::r1::task_arena_impl::execute(tbb::detail::d1::task_arena_base&, tbb::detail::d1::delegate_base&) + 0x24f (tbb)
Quartus 0x942b2: void (anonymous namespace)::work_on_models_with_dependencies<QDB_BASIC_STATE::save(QDB_SERVICE*, QDB_PATH const&, CPT_AMPP_OSTREAM*)::{lambda(QDB_MODEL*)#4}&>(QDB_SERVICE const&, std::__cxx11::list<QDB_MODEL*, std::allocator<QDB_MODEL*> > const&, QDB_BASIC_STATE::save(QDB_SERVICE*, QDB_PATH const&, CPT_AMPP_OSTREAM*)::{lambda(QDB_MODEL*)#4}&) + 0xdb2 (db_qdb)
Quartus 0x945bf: tbb::detail::d1::task_arena_function<QDB_BASIC_STATE::save(QDB_SERVICE*, QDB_PATH const&, CPT_AMPP_OSTREAM*)::{lambda()#5}, void>::operator()() const + 0x1f (db_qdb)
Quartus 0x2b81f: tbb::detail::r1::task_arena_impl::execute(tbb::detail::d1::task_arena_base&, tbb::detail::d1::delegate_base&) + 0x24f (tbb)
Quartus 0x90c8b: QDB_BASIC_STATE::save(QDB_SERVICE*, QDB_PATH const&, CPT_AMPP_OSTREAM*) + 0x48b (db_qdb)
Quartus 0x1f2d46: QIS_RTL_STAGE::IMPL::save(QHD_PARTITION&, std::shared_ptr<CPT_AMPP_OSTREAM::KEY>) + 0x5be (synth_qis)
Quartus 0x1fa4f6: QIS_RTL_STAGE::IMPL::save_design(QHD_ENUM_IMPL<QHD_SNAPSHOT_BASE>) + 0x108a (synth_qis)
Quartus 0x12247c: QIS_RTL_STAGE::IMPL::post_process_and_save_qhd_design(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x166 (synth_qis)
Quartus 0x122665: QIS_RTL_STAGE::post_process_and_save_qhd_design(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0xcf (synth_qis)
Quartus 0xae90c: qis_post_process_and_save_qhd_design + 0xc2 (synth_qis)
Quartus 0x4753b: TclInvokeStringCommand + 0x7b (tcl8.6)
Quartus 0x4bb47: TclNRRunCallbacks + 0x67 (tcl8.6)
Quartus 0x4cf29: TclEvalEx + 0x599 (tcl8.6)
Quartus 0xf40fe: Tcl_FSEvalFileEx + 0x21e (tcl8.6)
Quartus 0xf4246: Tcl_EvalFile + 0x26 (tcl8.6)
Quartus 0x270b4: qexe_evaluate_tcl_script(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 0x388 (comp_qexe)
Quartus 0x29e08: qexe_do_tcl(QEXE_FRAMEWORK*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool, bool) + 0x71b (comp_qexe)
Quartus 0x2afc1: qexe_run_tcl_option(QEXE_FRAMEWORK*, char const*, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, bool) + 0x8a5 (comp_qexe)
Quartus 0x6fb73: QCU::DETAIL::intialise_qhd_and_run_qexe(QCU_FRAMEWORK&, FIO_PATH const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, bool) + 0x99 (comp_qcu)
Quartus 0x6fe66: qcu_run_tcl_option(QCU_FRAMEWORK*, char const*, std::__cxx11::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*, bool) + 0x286 (comp_qcu)
Quartus 0x40703e: qsyn2_tcl_process_default_flow_option(ACF_VARIABLE_TYPE_ENUM, char const*) + 0x4b5 (quartus_syn)
Quartus 0x2fbb6: qexe_standard_main(QEXE_FRAMEWORK*, QEXE_OPTION_DEFINITION const**, int, char const**) + 0x7dd (comp_qexe)
Quartus 0x406a7c: qsyn2_main(int, char const**) + 0x123 (quartus_syn)
Quartus 0x43980: msg_main_thread(void*) + 0x10 (ccl_msg)
Quartus 0x44400: msg_thread_wrapper(void* (*)(void*), void*) + 0x8c (ccl_msg)
Quartus 0x1ff9d: mem_thread_wrapper(void* (*)(void*), void*) + 0x9d (ccl_mem)
Quartus 0xe178: err_thread_wrapper(void* (*)(void*), void*) + 0x1e (ccl_err)
Quartus 0x44329: msg_exe_main(int, char const**, int (*)(int, char const**)) + 0xd3 (ccl_msg)
Quartus 0x406952: main + 0x26 (quartus_syn)
System 0x29d90: (c)
System 0x29e40: __libc_start_main + 0x80 (c)
Quartus 0x406879: _start + 0x29 (quartus_syn)
End-trace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you provide me the step by step method that you use to run it? Can you share with me the input file so that I can try to see if I am able to duplicate the issue?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Of course
After activating the environment variables according to the FPGA AI Suite: Getting Started Guide, I ran
dla_build_example_design.py -ed 3 -n 1 -a AGX7_Performance --build-dir build_path --build --output-dir ouuput_path
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May I know the OS, RAM and Quartus used?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My system is Ubuntu 20.04 with 96G of RAM and Quartus version 23.4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am still in the progress of checking this with engineering team.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try to follow the step you provided and compile from my side and I do not observed the issue. Can you provide the full compilation log so that I can fully look into the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you able to provide the full log so that I can further debug the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page