Hello,
since a couple of days, I cannot render text anymore using the external text renderer plugin (GStreamer). This issue appeared suddenly (it worked fine the day before) and has persisted ever since. I do not recall installing any updates or making changes to any component (Windows, Matlab, Psychtoolbox, drivers,..) before the problem occurred.
Any call to e.g. Screen('DrawText'...) or Screen('TextBounds'...) results in a crash with the error message "The external text renderer plugin failed to render the text string for some reason!" (see attachment).
Here is some example code that produces the error (unless I force PTB to use the inbuilt legacy text renderer).
close all;
clearvars;
sca;
PsychDefaultSetup(2);
Screen('Preference','SkipSyncTests',0);
Screen('Preference','TextRenderer',1); %if I set this to 0, it works
screens = Screen('Screens');
screenNumber = max(screens);
[window, windowRect] = PsychImaging('OpenWindow', screenNumber, BlackIndex(screenNumber));
Screen('DrawText',window,'HelloWorld',100,100,WhiteIndex(screenNumber));
Screen('Flip',window);
KbStrokeWait;
sca;
I am using Matlab R2016a on Windows 10, Psychtoolbox version 3.0.14 and GStreamer version 1.14.4, which is recognized (PsychStartup: Adding path of installed GStreamer runtime to library path. [D:\gstreamer\1.0\x86_64\bin]).
I've tried rebooting, reinstalling GStreamer and removing several files associated with problems such as libfreetype.dll
Any help would be much appreciated!