I encountered this issue when I was running matlab
in the terminal. Specifically, running matlab -nodesktop -nosplash
and then the plot
function (or any function that uses OpenGL) gives a bunch of ../../../../src/intel/isl/isl.c:242: FINISHME: isl_surf_choose_tiling: gen6
messages.
You are seeing these messages because you are using the Oibaf PPA. There is a new patch at https://patchwork.freedesktop.org/patch/107575/ that will remove these messages, but it is not accepted yet. So, if you truly want to remove these messages, you can use ppa-purge
to remove the Oibaf PPA for now by running:
sudo apt install ppa-purge # do this if you don't have ppa-purge
sudo ppa-purge ppa:oibaf/graphics-drivers
A way to suppress these warnings is to redirect stderr to /dev/null
by starting the program of interest as follows:
program-of-interest 2> /dev/null
As @Zanna points out, you can alternatively redirect stderr to a file and then grep
the file for errors of interest:
program-of-interest 2> /path/to/file
In the specific case of matlab
which functions as a REPL in the terminal, redirecting stderr to /dev/null
causes useful warnings (e.g. syntax errors, undefined variables, etc.) to be suppressed. Redirecting stderr to a file and then grep
-ping the file also somewhat defeats the purpose of using a REPL. If your program of interest isn't a REPL and is instead, say, a game, then both ways are still useful.