Problems with rendering on Ubuntu 18.04

I got recently some problems with the rendering in Matlab R2020a on Ubuntu 18.04. The following simple Matlab program
figure()
plot(1,1, 'o', 'MarkerSize',10,'LineWidth',10);
xlim([0.9,1.1]);
ylim([0.9,1.1]);
delivers the folowing plot:
Which, obviously looky ugly. I treid
opengl software
which solves the problem somewhat. But the OpenGL software just looks terrible, so i want to stay wit OpenGL hardware.
Can someone help me fix this?
Some informations on my current OpenGL version, used by Matlab...
>> opengl info
Version: '3.0 Mesa 19.2.8'
Vendor: 'Intel Open Source Technology Center'
Renderer: 'Mesa DRI Intel(R) Haswell Mobile '
MaxTextureSize: 16384
Visual: 'Visual 0x121, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer, Antialias 8 samples)'
Software: 'false'
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {250×1 cell}
MaxFrameBufferSize: 16384
... and the informations from the system
$ glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.8
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 19.2.8
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.2.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

댓글 수: 1

Moritz Feuerle
Moritz Feuerle 2020년 6월 18일
Fixed it. The problem had nothing to do with Matlab, my NVIDIA driver was corrupted. Reinstalling the grapics card driver solved the problem for me.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

질문:

2020년 6월 8일

댓글:

2020년 6월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by