Dear all,
I am running Ubuntu 20.04.2 LTS (Focal Fossa) on a AMD Ryzen 7 4800H and Nvidia RTX 2060. I disabled my nvidia GPU, so my my system runs on iGPU (Radeon graphics). Last week I ran the PsychLinuxConfiguration.m script because I was not able to use PyschImaging() function and PTB recommended to me do that. However, after running this config script I am getting these errors on my terminal;
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
and these line in matlab on startup;
com.jogamp.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for X11GraphicsDevice[type .x11, connection :0, unitID 0, handle 0x0, owner false, ResourceToolkitLock[obj 0x60b8ad49, isOwner false, <43c301f3, 590a400f>[count 0, qsz 0, owner <NULL>]]]
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:326)
at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:297)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.jogamp.opengl.GLException: AWT-EventQueue-0-SharedResourceRunner: Unable to create temp OpenGL context(1)
at jogamp.opengl.x11.glx.X11GLXContext.createImpl(X11GLXContext.java:368)
at jogamp.opengl.GLContextImpl.makeCurrentWithinLock(GLContextImpl.java:759)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:642)
at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:580)
at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:297)
... 2 more
Also, my fans are going full speed while running matlab.
I tried to revert PsychLinuxConfiguration configurations by removing the files that are created by it such as
- /etc/security/limits.d/99-psychtoolboxlimits.conf
- /etc/modprobe.d/amddeepcolor-psychtoolbox.conf
- /etc/udev/rules.d/psychtoolbox.rules
… and etc.
But deleting them did not solve my issue. Is there a way to revert all these changes?