I coded something in Java using JavaFX. It has been running for a while without problems, but after an update I now get an error:[sjngm@runlikehell ~]$ java -jar javalib/my-javafx.jar X Error of failed request:  BadValue (integer parameter out of range for operation)  Major opcode of failed request:  154 (GLX)  Minor opcode of failed request:  24 (X_GLXCreateNewContext)  Value in failed request:  0x0  Serial number of failed request:  29  Current serial number in output stream:  30[sjngm@runlikehell ~]$OK, something is broken, but that's not what I'm asking here. If I run something I coded in Java using Swing that still runs. Obviously Java is using its own way to figure out how to do the graphic stuff.Therefore, my question is: Why/how/when does Java choose VDPAU and/or something else? How can I change that behaviour?Usually it might not be an issue, but obviously now it is to me. Because I have the same problem with VLC, but I can choose a video output there, I know that X11 still works (at least in VLC).So how do I force Java to use X11 over VDPAU?[sjngm@runlikehell ~]$ uname -aLinux runlikehell 4.9.39-1-MANJARO #1 SMP PREEMPT Fri Jul 21 08:25:24 UTC 2017 x86_64 GNU/Linuxwith XFCE, lightdm
Why/How Does Java Choose VDPAU? How to Force X11?
x11;java;vdpau