Add-On Manager Issues

22 views (last 30 days)
ksomml
ksomml on 3 Mar 2023
Edited: ksomml on 31 May 2023
Hello everyone,
I am facing the following issues:
(1) Not able to select a different "Hardware Board" in the "Hardware Setup" of either the "MATLAB Support Package for Raspberry Pi Hardware" or "Simulink Support Package for Raspberry Pi Hardware". It always stays at "Raspberry Pi 4 Model B". (image 1)
(2) Can't click inside the search bar on the top right of the Add-On Manager. Neither can I type anything in there with my keyboard. (image 2)
(3) "MATLAB Support Package for Raspberry Pi Hardware" shows under available Updates but after updating it from 22.2.0 to 22.2.1 and restarting MATLAB it will show there again and be reset to the last version 22.2.0 (image 2 / 3)
  • Image 1:
  • Image 2:
  • Image 3:
--> I tried out opengl('save','software') as well as opengl('save','hardware') because I thought it was an issue with that, see below. This did not help though.
Maybe it could be caused by these commands I used to fix the "Failed to load module "canberra-gtk-module"" error message at startup:
sudo apt-get install libcanberra-gtk* libgconf-2-4
sudo ln -s /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so /usr/lib/libcanberra-gtk-module.so
But personally I believe that this issue is similiar like the one when installing MATLAB R2022b where you can't use your mouse at all, otherwise you won't be able to later on type in your Login-Name. I've also installed this version on another laptop of mine and faced the same issue so I am thinking that its related to the installer itself and not my own setup. Maybe its a similiar problem that is happening with the Add-On Manager.
Information about my setup:
  • Ubuntu 22.04. LTS - Jammy Jellyfish (fresh install)
  • MATLAB R2022b (fresh install with all Add-Ons)
  • CPU: AMD Ryzen 7 - GPU: AMD Radeon Graphics (Onboard)
>>uname -r
Invalid use of operator.
5.19.0-32-generic
>> opengl info
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 0
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
>>lshw -c video
*-display
description: VGA compatible controller
product: Lucienne
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:05:00.0
logical name: /dev/fb0
version: c1
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
configuration: depth=32 driver=amdgpu latency=0 resolution=2560,1440
resources: iomemory:fc0-fbf iomemory:fc0-fbf irq:44 memory:fce0000000-fcefffffff memory:fcf0000000-fcf01fffff ioport:1000(size=256) memory:d0400000-d047ffff
At startup with opengl('save'.'hardware') :
MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x1011a5c6, isOwner false, <7f4107ab, 19a29624>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.jogamp.opengl.GLException: main-SharedResourceRunner: Unable to create temp OpenGL context(1)
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:368)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
>> opengl info
Version: ''
Vendor: ''
Renderer: 'None'
RendererDriverVersion: ''
RendererDriverReleaseDate: ''
MaxTextureSize: 0
Visual: ''
Software: 0
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
/edit:
Seems like it is a Ubuntu / Matlab problem. This is the bug:
Workarounds for this are listed in the link. Another workaround could be, to just try and use the keyboard for everything.
Regards
Kevin
  3 Comments
Shuba Nandini
Shuba Nandini on 31 May 2023
Could you please try reinstalling MATLAB and see if the problem persists?
ksomml
ksomml on 31 May 2023
Edited: ksomml on 31 May 2023
Already did that and also tried it on different hardware as well as R2023.
Its is definetly the Ubuntu / Matlab bug linked above. This topic can be closed.

Sign in to comment.

Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!