Simple Lua console in Qt

Lua is a simple, fast and embeddable scripting language. Capability to run Lua scripts can be relatively easily added into C and C++ applications. Due to it’s ease of use and performance it’s being used in computer games (Crysis, Garry’s mod, …), general software (Wireshark, Neovim, …) and also embedded devices (Logic Machine). Let’s take a look how to create a very simple Lua console GUI with Qt.

Continue reading

Linux Device Tree – a slight disappointment

After reading about the much discussed Device Tree for quite a long time as a holy savior of the ARM world I had the chance to get my fingers on it in a real world application. The issue was to upgrade Linux system from 3.0 kernel to 3.13 on a custom Vybrid VF610 board. The original 3.0-based system from Timesys was not working properly in some aspects and needed a bit of an overhaul.

Continue reading

Diary of an unsuspecting developer

For the last semester of my studies I have been thinking about getting some part time job. My previous and current assignments as toilet-paper replacement technician and garbage scavenger were mostly ok or even good, but I felt the time came to try something different, more demanding and respected. But my brother returned me back to reality with a statement that even for him (body builder) it is amazingly difficult to work as a shelf stacker. Tough luck.

Continue reading

Xfce Radeon power profile applet vol.2

Update 12.3.2016

A lot has changed since the writing of the original articles, mainly the version of my radeon driver. This method of changing graphics card performance level is deprecated and you should use a different approach. However, in my case the default balanced profile works well without any manual changes (except for image tearing on external monitors while the card is clocked high – one problem went away and made place for a new, different one).

— Old article —

After writing the last post about Radeon power profile applet, and subsequent storm of questions from my loyal readers (yeah, exactly zero of them in total), I came up with some improvements. Straight to the point:

Continue reading

Xfce Radeon power profile applet

If you are running Linux on a computer with older Radeon graphics card from HD 4000, HD 3000 or HD 2000 series GPUs, you have probably noticed issues with power profile setting. The open source “Radeon” driver handles power setting wrong and the usually recommended proprietary flgrx driver ceased to support older hardware. It is possible to use legacy radeon driver, but if you want to stick with the open source one, you should be able to manually adjust graphic card’s power settings.

There is a nice applet for KDE just ready for use. It seemed to be a bit unstable to me, but usually works. From a look at a user’s manual, it should be possible to recreate it for use in other desktop environments. How to do it in Xfce?
Continue reading