Newt GBM driver (EGL/KMS)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Newt GBM driver (EGL/KMS)

Zubzub
This post was updated on .
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/tinojegadi


I base myself on this C project: https://github.com/robclark/kmscube/blob/master/kmscube.c

My code can be found here:
https://github.com/Zubnix/kmscube-jogl

and 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...