Your message dated Thu, 26 Aug 2021 09:52:28 +0200
with message-id <[email protected]>
and subject line Re: Bug#992991: matlab-support: R2021a Could not initialize
shared resources for X11GraphicsDevice
has caused the Debian Bug report #992991,
regarding matlab-support: R2021a Could not initialize shared resources for
X11GraphicsDevice
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
992991: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992991
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: matlab-support
Version: 0.0.22
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
When running MATLAB R2021a on Bullseye, MATLAB appears to not recognize my
graphics card. This makes it impossible to plot graphs, unless matlab is run
with the -softwareopengl option. I get the following error message in MATLAB
at startup:
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize
shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0,
handle 0x0, owner false, ResourceToolkitLock[obj 0x363a0dad, isOwner false,
<53ad249f, 55216f24>[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: java.lang.NullPointerException
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at
jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
I have managed to get MATLAB to run with hardware graphics acceleration by
adding:
export MESA_LOADER_DRIVER_OVERRIDE=i965
to my profile. This is from the following post on the Mathworks Forum:
https://www.mathworks.com/matlabcentral/answers/342906-could-not-initialize-shared-resources-for-x11graphicsdevice#answer_425485
My machine has an Intel graphics card.
Please consider adding support for Intel graphics drivers to this package.
Thank you,
Andrew
-- System Information:
Debian Release: 11.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages matlab-support depends on:
ii debconf [debconf-2.0] 1.5.77
ii sudo 1.9.5p2-3
Versions of packages matlab-support recommends:
ii libgfortran-10-dev 10.2.1-6
ii libstdc++-10-dev [libstdc++-dev] 10.2.1-6
Versions of packages matlab-support suggests:
pn lsb-core <none>
-- debconf information:
* matlab-support/matlab-install-glob: /opt/MATLAB/R2021a
* matlab-support/mexbuild-user: andrew
matlab-support/title:
* matlab-support/default-version: Matlab R2021a @ /opt/MATLAB/R2021a
* matlab-support/rename-libs: true
matlab-support/no-matlab-found:
--- End Message ---
--- Begin Message ---
Andrew,
Le mercredi 25 août 2021 à 18:14 -0600, Andrew McGinnis a écrit :
> Package: matlab-support
> Version: 0.0.22
> Severity: important
> X-Debbugs-Cc: [email protected]
>
> When running MATLAB R2021a on Bullseye, MATLAB appears to not recognize my
> graphics card. This makes it impossible to plot graphs, unless matlab is run
> with the -softwareopengl option. I get the following error message in MATLAB
> at startup:
>
> com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize
> shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0,
> handle 0x0, owner false, ResourceToolkitLock[obj 0x363a0dad, isOwner false,
> <53ad249f, 55216f24>[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: java.lang.NullPointerException
> at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:688)
> at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
> at
> jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
> ... 2 more
>
> I have managed to get MATLAB to run with hardware graphics acceleration by
> adding:
>
> export MESA_LOADER_DRIVER_OVERRIDE=i965
>
> to my profile. This is from the following post on the Mathworks Forum:
>
> https://www.mathworks.com/matlabcentral/answers/342906-could-not-initialize-shared-resources-for-x11graphicsdevice#answer_425485
>
> My machine has an Intel graphics card.
>
> Please consider adding support for Intel graphics drivers to this package.
The bug that you are reporting is obviously a problem with MATLAB
itself, not with the matlab-support Debian package. The latter is only
a bunch of scripts to help integrating MATLAB within Debian.
As you know, MATLAB is non-free software, created and distributed by
the Mathworks company. You should contact them for support. There’s
nothing Debian can do about this.
Therefore closing this bug.
Best regards,
--
⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁ Debian Developer
⢿⡄⠘⠷⠚⠋⠀ https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀ https://www.debian.org
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers