Trouble with Vitis Model Composer 2023.2! MATLAB R2021b crashes when I want to open the Model Composer Hub component.

116 次查看(过去 30 天)
Hi everyone, I hope to find you all in a good mood.
I'm a fresh Ubuntu and AMD Vitis user! My OS is Ubuntu 22.04.3 LTS, and my system graphic card is Mesa Intel® UHD Graphics 630 (CFL GT2). Recently I installed AMD Vitis 2023.2 and Matlab R2021b, and I've also checked about the version compatibility, It seems that they are compatible.
I checked this GitHub repository: https://github.com/Xilinx/Vitis_Model_Composer/tree/2023.2/Tutorials/HDL_Library. and I just wanted to get started with the model composer, once it was set up, it got stuck in the HDL code-generating step. So I was forced to close the Matlab window. after that every time I tried to open the Model Composer Hub settings window I encountered this error: Dot indexing is not supported for variables of this type. and in the Matlab command window, the thread of errors comes up like this:
MathWorks::System::IUserException in WebControllerFactory::create(): [Error using matlab.internal.cef.webwindow (line 396)
MATLABWindow application failed to launch. Unable to launch the MATLABWindow application. The exit code was: 127
Error in matlab.internal.webwindow/createImplementation (line 313)
implObj = matlab.internal.cef.webwindow(varargin{:});
Error in matlab.internal.webwindow (line 161)
obj.impl = obj.createImplementation(varargin{:});
Error in matlab.ui.internal.controller.platformhost.CEFFigurePlatformHost/createView (line 65)
this.CEF = matlab.internal.webwindow(peerModelInfo.URL, peerModelInfo.DebugPort, position);
Error in matlab.ui.internal.controller.FigureController/createView (line 451)
this.PlatformHost.createView(this.PeerModelInfo, pos, title, visible, resizable, windowState, windowStyle);
Error in matlab.ui.internal.componentframework.WebComponentController/add (line 78)
obj.createView( parentController, parentView, pvPairs );
Error in matlab.ui.internal.controller.WebCanvasContainerController/add (line 43)
add@matlab.ui.internal.componentframework.WebContainerController( this, webComponent, parentController );
Error in matlab.ui.internal.componentframework.WebControllerFactory/create (line 94)
component.createController( parentController, [] );
Error in vmcHub/createProgressBar
Error in vmcHub/createComponents
Error in vmcHub
Error in vmcHubCallback]
as you can see in the attached picture:
According to my research in different forums, I tried to launch MATLABWindow from this directory ~/MATLAB/R2021b/bin/glnxa64 this error came up: [0212/032751.828388:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
as you can see in this picture:
Now I just wanna ask if is there anyone who can help me.
Thanks for your attention.

回答(3 个)

Hassaan
Hassaan 2024-2-12
编辑:Hassaan 2024-2-12
@Zeinab Please see this compatability link:
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
Feel free to contact me.
  3 个评论
Hassaan
Hassaan 2024-2-12
编辑:Hassaan 2024-2-12
@Zeinab As per this link Table Vitis 2023.2 Model composer is not officaly supported with MATLAB r2021 try using 2023.1 or below:
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
  • Technical Services and Consulting
  • Embedded Systems | Firmware Developement | Simulations
  • Electrical and Electronics Engineering
Feel free to contact me.
Zeinab
Zeinab 2024-2-12
I checked this link, https://www.xilinx.com/products/design-tools/vitis/vitis-model-composer.html and I faced with the sentence below:
  • MATLAB® tool version support​ : R2021a, R2021b Update 6, R2022a Update 6, R2022b
So it seems that the versions are compatible.
I think my issue is something beyond such a thing, in the Matlab Home tab I tried to check for updates, and again these errors came up!

请先登录,再进行评论。


Kiran Kintali
Kiran Kintali 2024-2-12
If you tried to run MATLABWindow outside of MATLAB and got an error message this is a MATLAB tech support issue.
However if you can successfully run MATLABWindow in MATLAB but still get errors in Model Composer, then it's a Model Composer issue that needs to be taken to AMD/Xilinx tech support team.
  4 个评论
Alejandro Martin
Alejandro Martin 2024-11-13,7:23
Hi Zeinab,
The problem is compatibility from libraries, becuase Model_Composer adds the library path of Vivado
/tools/Xilinx/Vivado/2023.2/lib/lnx64.o
to the LD_LIBRARY_PATH dinamically.
Seems to be a problem of MATLABWindow application with the distribution of Vivado/Model_Composer 2023.2.
The fact is that Vivado 2023.2 comes from October 2023 and MATLAB R2022b Update 10 from September 2024. So the problem is from MATLABWindow incompatible with Vivado 2023.2
If you change the LD_LIBRARY_PATH manually from the MATLAB command Window removing the path from Vivado libraris, it works for a shoot. By it restores the path dinamically again.
I think is a library compatibility problem between MATLABWindow (2024) and Vivado 2023.2 (2023) or even 2023.2.2. It shoul be solved by MATHWORKS.
Alex
Alejandro Martin
Alejandro Martin 2024-11-13,7:23
A popo, this table and comments should be more specific and modified:
Because it is FALSE, by now, that MATLAB R2022b (any Update) is compatible with Vitis Model Composer 2023.X.Y (Any version or update from Vivado 2023). At least under Linux.

请先登录,再进行评论。


Alejandro Martin
Alejandro Martin 2024-10-4
Hello,
Did you find the solution for this crash problem?
I have exactly the same problem in my working environment.
Best Regards,
Alex
  3 个评论
Alejandro Martin
Alejandro Martin 2024-10-17
编辑:Alejandro Martin 2024-10-17
Hi Zeinab,
Thanks a lot for your answer.
I can't migrate to Windows, all my development environmet is under Linux and all scripts need to be run under Linux (Ubuntu).
I will feed back when I get a solution from official support.
Best Regards
Alejandro Martin
Alejandro Martin 2024-11-13,7:25
Problem of MATLAB libraries compatibility.
MATLAB distribution is newer as Vitis Model Composer, no backward compatibility.
MATHWORKS is responsible.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 System Composer 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by