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 comentario

Moritz Feuerle
Moritz Feuerle el 18 de Jun. de 2020
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Graphics Performance en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Etiquetas

Preguntada:

el 8 de Jun. de 2020

Comentada:

el 18 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by