You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

MATLAB R2019b在Ubuntu 22.04下图形环境异常及文档/实时脚本无法显示问题求助

MATLAB R2019b在Ubuntu 22.04下图形环境异常及文档/实时脚本无法显示问题求助

大家好,我在Ubuntu 22.04上运行MATLAB R2019b时遇到了一堆图形相关的问题,想请各位帮忙支招解决:

具体问题现象

  • 从命令行启动MATLAB时,会弹出以下错误:
MATLAB is selecting SOFTWARE OPENGL rendering.

/usr/local/MATLAB/R2019b/bin/glnxa64/jcef_helper: symbol lookup error: /lib/x86_64-linux-gnu/libpango-1.0.so.0: undefined symbol: g_memdup2
  • 虽然MATLAB本身能运行,但文档和实时脚本完全无法正常显示,打开后就是黑屏
  • 处理图表时,还会收到这个警告:
MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL.

已尝试的解决方法

  • 重新安装过MATLAB,但问题没有任何改善
  • 试过Stack Overflow上其他相关的解决方案,全部没见效
  • 查了g_memdup2符号查找错误的原因,发现是libglib2.0-0和libpango-1.0-0之间的兼容性问题,更新这两个库后还是没能解决问题

我的系统及硬件信息

操作系统详情

Linux em-IdeaPad-3-14ITL6 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:    22.04
Codename:   jammy

显卡及OpenGL信息

用inxi -G输出的显卡信息:

Graphics:
Device-1: Intel driver: i915 v: kernel
Device-2: Chicony Integrated Camera type: USB driver: uvcvideo
Display: wayland server: X.Org v: 1.22.1.1 with: Xwayland v: 22.1.1
compositor: gnome-shell v: 42.9 driver: X: loaded: vesa
unloaded: fbdev,modesetting gpu: i915 resolution: 1: 1920x1080~60Hz
2: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT2)
v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1

MATLAB内执行opengl info的输出:

Version: '2.1 Mesa 17.1.3'
Vendor: 'Brian Paul'
Renderer: 'Mesa X11'
MaxTextureSize: 16384
Visual: 'Visual 0x6d, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer, Antialias 0 samples)'
Software: 'true'
HardwareSupportLevel: 'none (known graphics driver issues)'
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 0
Extensions: {152×1 cell}
MaxFrameBufferSize: 16384

我现在希望能搞清楚怎么修复MATLAB图形环境的这些问题,麻烦各位大佬给点建议,谢谢!

备注:内容来源于stack exchange,提问作者Eliseo Ronay Molina Vazquez

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 16:02:59