Newt GBM driver (EGL/KMS)
Posted by
Zubzub on
Apr 23, 2015; 1:07pm
URL: https://forum.jogamp.org/Newt-GBM-driver-EGL-KMS-tp4034363.html
Hi,
I'm writing a poc NEWT driver that uses KMS.
I managed to setup a display but somehow newt does not find a valid gl profile (it finds nothing). I have no idea why this is. This is the output that I get:
http://hastebin.com/raw/tinojegadiI base myself on this C project:
https://github.com/robclark/kmscube/blob/master/kmscube.cMy code can be found here:
https://github.com/Zubnix/kmscube-jogland can be run with this oneliner (outside of X as it uses KMS!):
mvn clean package assembly:assembly && java -Dnativewindow.ws.name=com.github.zubnix.kmscube.kmsdriver -Dnewt.debug=all -jar target/kmscube-jogl-1.0-SNAPSHOT-static.jar
Does anyone have an idea what's going on? To me it looks like it tries to contact X for some bizarre reason...