Borrar filtros
Borrar filtros

GUI error on Linux only

22 visualizaciones (últimos 30 días)
Diogo
Diogo el 6 de Feb. de 2024
Respondida: Diogo el 12 de Mzo. de 2024
I'm getting some GUI issues only in my Linux installation. On Windows this GUI works fine.
List of issues:
  • Default placeholder items values appearing on the list (Item 1, 2, 3, 4), but they shouldn't when it is empty.
  • Add and Remove buttons don't work.
  • There are hidden radio buttons on Use Credentials vs Use PAT to switch between tabs. They don't work.
  • <New Alias> placeholder showing at the top
  • Missing UI elements
Plus, I'm getting this warning on the command window when I load the UI.
Does any of these errors ring a bell to any of you?
-----------------------------
EDIT: previously I said that I could only run this on an Ubuntu VM. Now I could run it natively and the same error appears.

Respuesta aceptada

Diogo
Diogo el 12 de Mzo. de 2024
This problem was solved with a patch done by the software distributor. Unfortunately, I cannot know what fixed it. I'll close the thread

Más respuestas (2)

Taylor
Taylor el 13 de Feb. de 2024
A compiled MATLAB binary can only be run on machines which match the architecture of the machine that originally compiled the binary.
  1 comentario
Diogo
Diogo el 15 de Feb. de 2024
This program I'm trying to run is solely based on p-files.
Are p-files considered MATLAB binaries? I don't think so, right? In my head they were meant to be portable

Iniciar sesión para comentar.


prabhat kumar sharma
prabhat kumar sharma el 14 de Feb. de 2024
Hello Diago,
I understand you're having trouble with your Linux VM's GUI elements in MATLAB, while it works fine on Windows root machine.
As per my understanding , MATLAB has encountered low-level issues while creating graphics on your system.It seems like MATLAB is struggling to render graphics properly on your Linux system.
Here are some suggestions you can try to get things running smoothly:
Or maybe your current Linux distribution isn't fully compatible with your MATLAB version. Try using a distro known to work well with MATLAB.
As a workaround you can execute,
opengl hardware
This command renders subsequent graphics. If your graphics hardware does not support hardware-accelerated OpenGL, then MATLAB uses a software version instead.
To save it for future instances of MATLAB execute the following,
opengl('save','hardware');
I hope it helps to resolve your issue!
  1 comentario
Diogo
Diogo el 15 de Feb. de 2024
I tried to follow this thread and other similar ones that I found. Nothing solved my problem.
I think the distro might not be the problem since I'm running one that is not heavily modified (Ubuntu 20.04.3 LTS).
I guess the issue is with the VM's graphic driver. These messages come on terminal when I try to run my program. Unfortunately, I cannot verify that because I don't have a native Linux PC here that I can use to test this hypothesis.

Iniciar sesión para comentar.

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by