Let’s Encrypt

As HTTPS is a must nowadays I decided a year a go to give it a try and got a certificate from startssl. The process at startssl took quite some time and was not that easy. With lets encrypt everything should be much easier and faster to setup – lets give it a try @ueberspace (my hoster). There is a very good (German) tutorial directly from ueberspace for the whole process. Two minutes later everything was done and it worked! There is only one missing part. As the generated certificate is only valid for 90 days I created a little script which gets run every month – thanks to cron. ...

January 30, 2016 · 1 min · Christian Gmeiner

etnaviv: kmscube

Last Friday I got kmscube successfully running with mesa and the new etnaviv DRM kernel driver. At this time I got it not really pixel perfect and I spend some nights to get it fixed. It turns out that I need a small mesa hack to get the rendering correct. You may ask why did it so long to get it working? Let me explain it to you. The Vivnate GPU is a so called render-only GPU which does not have any kind of scanout logic in it. It can only render to physical memory and this only in a tiled memory layout. So we need to use the resolve engine found on the GPU to de-tile the rendered image and blit it to the dumb buffer. Currently mesa has no software support for this kind of hardware, but I think that could change soon. ...

September 25, 2015 · 2 min · Christian Gmeiner

QMetaEnum: Serializing C++ Enums

I think that almost every C++ programmer looked into a nice and easy way to do C++ Enum serialization. You may want to store the Enum value in a human readable format (json, ini, ..) and later you may also want to read back the value into the object. You have here two way how to archive your goal. Use simple int values to represent the Enum value or use Strings. The big advantage with strings it that you do not have to lookup what the meaning of value 4 is, but you can name the value with a String. ...

May 25, 2015 · 2 min · Christian Gmeiner

Configure git send-email for gmail

Today I did a fresh installation of Fedora on my Chromebook and need to setup git send-email. Usually I need to do this step once every 1-2 years I thought it might be a good idea to write it down. Edit ~/.gitconfig [sendemail] from = Firstname Lastname email@gmail.com smtpserver = smtp.gmail.com smtpuser = email@gmail.com smtpencryption = tls smtppass = PASSWORD chainreplyto = false smtpserverport = 587 As I am using Googles two factor authentication I needed to generate an app specific password.

April 6, 2015 · 1 min · Christian Gmeiner

Fast forward to 2015

It has been a long time since I did the last post and I want to bring you up to date regarding my personal blog. As you might have seen I have changed the used theme to better support mobile devices. If your browser supports NSI you should access my blog via https now. It took me some time to setup everything but my new hoster ueberspace made it a breeze to setup everything – thanks. ...

March 8, 2015 · 1 min · Christian Gmeiner