MATLAB has experienced a low-level graphics error, and may not have drawn correctly.
Read about what you can do to prevent this issue at Resolving Low-Level Graphics Issues then restart MATLAB.
To share details of this issue with MathWorks technical support,
please include this file with your service request.
This is the message. It happens in every Matlab version. The problem could be NVIDIA GPU RTX 4060 because I haven't installed drivers (550) properly. Only cuda toolkit cuda 12.5 is properly installed. Doesn't it work without graphics card?
Yes, this is likely the cause. As per MathWorks recommendation in Linux:
On Linux® systems, use proprietary vendor drivers instead of open-source replacements.
Many users, including myself, work on Linux with NVIDIA GPUs (and their proprietary drivers) without troubles.
CUDA is not a graphic driver. CUDA is a NVIDIA software platform for the use of GPU to accelerate computation.
Yes, Matlab and Brainstorm can work without a discrete GPU.
To force Brainstorm to not use the GPU (hardware) rendering. Change the OpenGL rendering properties. In the Brainstorm main window, select menu File > Edit preferences, and select "software" or "disable". All the 3D views will be very slow and there will be no transparency, but it may solve all the problems.
I have to sort out the issue with the driver. Anything proprietary will lead to disabling nouveau and I don't manage well with that or something related perhaps.
I tried several things. cuda 12.5 with any other driver other than 550 doesn't work.
And cuda 12 with driver 525 is recommended but it won't install it says that there is some issue with the kernel.
I know this is not specific from brainstorm support. But if you could recommend any combination of cuda toolkit and driver taht works for you it would be helpful.
If not is there any place where I can get support for this?
Just in case it helps others. Ubuntu 22.04 already brings its own driver installed. So nvidia-smi works fine. And all it takes is to install cuda toolkit with sudo apt-get install which installs cuda 11.7. So I could manage to work with ubuntu native software for GPU with matlab versions higher than 2023a included.