On Thu, 12 Dec 2013 20:13:47 +0300 Artsiom Anikeyenka <arty.anikey@xxxxxxxxx> wrote: > Hey, Pekka, > > Talking in scope of kmscube source code after Rob Clark. Is there > a way to do the same using proprietary Nvidia (for example) > drivers? Also I would really appreciate if you explained me what > is kms (kernel mode setting) and how it's related (or not) to drm > and proprietary video card drivers. > > Thanks in advance. > > P.S. If it's too time consuming to explain that maybe you can > suggest me some good sources of info? Hi, Nvidia and Ati proprietary drivers do not implement what you need on desktop systems. There is no way to use the gfx accel without having an X server running and connecting to it. (Yet?) As for the basics, maybe you can dig something out from these: http://people.freedesktop.org/~marcheu/linuxgraphicsdrivers.pdf (the source: http://cgit.freedesktop.org/~marcheu/lgd/ ) http://nouveau.freedesktop.org/wiki/IntroductoryCourse/ http://blog.mecheye.net/2012/06/the-linux-graphics-stack/ And from "the other side" of the kernel APIs, which is probably not that interesting in this case: http://free-electrons.com/kerneldoc/latest/DocBook/drm/index.html I'm CC'ing dri-devel@ in case there are others interested, either reading or providing new references, and to get this email archived. Cheers, pq > On Mon, Dec 9, 2013 at 3:25 PM, Artsiom Anikeyenka > <arty.anikey@xxxxxxxxx>wrote: > > > Super-duper huge thanks! Looks pretty much like kmscube is what > > I've been looking for :) > > > > Thanks again! > > > > > > On Mon, Dec 9, 2013 at 2:46 PM, Pekka Paalanen > > <ppaalanen@xxxxxxxxx>wrote: > > > >> On Mon, 9 Dec 2013 14:15:16 +0300 > >> Artsiom Anikeyenka <arty.anikey@xxxxxxxxx> wrote: > >> > >> > Hi, guys, > >> > > >> > My ultimate idea here to run a command from my terminal which > >> > will repaint the screen and draws the cube there. I then > >> > press Ctrl+C and get back to my terminal. So basically what > >> > I need is to create an OpenGL context and draw to it. I want > >> > to make it the shortest way. The less components will be > >> > used the more I like the way. > >> > > >> > For the whole weekend I've been trying to do that. I've been > >> > reading wayland and weston sources but no luck yet (wayland > >> > is lacking documentation and weston is trying to support too > >> > much stuff which makes its code complicated). > >> > > >> > I think it would be really cool to have such a code somewhere > >> > because that would be the best documentation of waylands > >> > internals. > >> > >> Hi, > >> > >> do you want to write a Wayland application, or something that > >> runs without a window system, on the virtual console level? > >> > >> For a Wayland application that does not use any existing > >> toolkit, see clients/simple-egl.c in the Weston repository. > >> > >> For the latter, see e.g. https://github.com/robclark/kmscube . > >> > >> > >> Thanks, > >> pq _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel