Yesterday, I tried to turn on my Ubuntu Google Nexus phone and it was pretty dead… I couldn’t turn it on or charge it. I finally fixed it by following these steps:
Continue reading Unbrick dead Google Nexus Galaxy – Install Ubuntu
Yesterday, I tried to turn on my Ubuntu Google Nexus phone and it was pretty dead… I couldn’t turn it on or charge it. I finally fixed it by following these steps:
Continue reading Unbrick dead Google Nexus Galaxy – Install Ubuntu
To create a GBM buffer you first need to create a drm device and then use its device descriptor to create a gbm device. To do this under X you need a way to tell xserver which device you use to avoid permission issues. Here’s an example where I create a gbm buffer under X and then authenticate to the X server:
A few weeks ago, I started a minimal window system, which performs software rendering on the linux /dev/fb0. My aim was to learn some systems programming and familiarize myself with concepts like event and device handling, memory management, window management, drawing on the framebuffer, IPC mechanisms etc (and certainly not to create a full linux window system! :)p) I call the program winnie and the code is available on github here: https://github.com/hikiko/winnie/tree/winnie.clients-as-plugins, https://github.com/hikiko/winnie and lp.
The program is not finished yet and I don’t know if I ever finish it, since I came up with new project ideas again.. Nevertheless, you can see some videos of the development stages below if you are interested (most recent first):
libgliar — a library that lies to the OpenGL programs about the OpenGL context info (for Linux only). Code: bzr branch lp:libgliar
1 2 3 |
bzr branch lp:nux cd nux ./autogen.sh --prefix= <@arguments> |
Arguments can be:
1 2 3 4 5 6 7 8 9 10 |
--enable-x-support whether to have x_support (default=YES) --enable-opengles-20 whether to use opengles (default=NO) --enable-minimal-build whether to enable minimal builds (default=NO) --disable-gestures whether to disable multitouch gestures (auto) --enable-tests whether to enable tests (default=YES) --enable-documentation whether to enable documentation (default=NO) --enable-maintainer-mode whether to use strict compiler flags (default=NO) --enable-debug whether to enable nux debugging (default=NO) --enable-examples whether to enable building of examples (default=YES) --enable-gputests whether to enable building of gputests (default=YES) |
Example usage:
1 2 3 |
export PREFIX=/home/user/staging/install/nux ./autogen.sh --prefix=$PREFIX --enable-debug |
(or ./configure if you have already ran autogen)
1 2 3 |
make make install |
you can find your nux installation files in /home/user/staging/install/nux ($PREFIX)
Now, if you want to test nux:
1 2 3 4 5 6 |
bzr branch lp:nuxplayground export PKG_CONFIG_PATH=/lib/pkgconfig cd nuxplayground ./autogen.sh --prefix= --enable-debug make && make install |
and then you can run any nuxplayground example from /bin/ *
Τα slides της παρουσίασης για τη FOSSCOMM 2012 και το 0x375 στη Θεσσαλονίκη:
outΣτην παρουσίαση είχα εξηγήσει τα effects που έγραψα για το Stellarium στα πλαίσια του ESA SOCIS (Summer Of Code In Space) 2011.
Continue reading FOSSCOMM 2012, 0x375: 3D effects στο Stellarium (el, gr)
Some days ago I came up with the idea of a keyboard that can be used without having to type the letters. The user just stands in front of a camera and scrolls the letters by moving his head or hands to the appropriate direction…
And here it is:
http://www.youtu.be/JS–z8Cx9sQ
As part of the ESA Summer of Code in Space 2011 I improved Stellarium planet rendering (here is a previous post on the project).
More specifically, the following features were added:
1) Procedural perlin noise (fBm) clouds.
2) Bump mapping with normal maps.
The improved rendering code is implemented with GLSL shaders, and requires shader model 3.0 capable graphics hardware.
The following video that shows the effects… (It looks slow because of bad recording, the effects don’t have any impact on Stellarium performance). But you can see the bump mapping and the clouds! 🙂
Many thanks to the Stellarium development team and the ESA SOCIS organization team for giving me the opportunity to participate in the project! 🙂