Search This Blog

Showing posts with label graphic. Show all posts
Showing posts with label graphic. Show all posts

Friday, March 22, 2013

Code changes in Openstack Grizzly release

There is almost a new Openstack version called Grizzly around the corner. Some stats what can we expect base on [1] and [2].

nova
added lines 281036
removed lines 214574
total lines added 66462
commits 1889

https://github.com/openstack/nova/graphs/code-frequency
Quantum
added lines 92376
removed lines 41864
total lines added 50512
commits 602

https://github.com/openstack/quantum/graphs/code-frequency
Keystone
added lines 28488
removed lines 17265
total lines added 11223
commits 289
Glance
added lines 15717
removed lines 13163
total lines added 2554
commits 253
Cinder
added lines 73344
removed lines 72825
total lines added 519
commits 306

https://github.com/openstack/cinder/graphs/code-frequency
Horizon
added lines 187351
removed lines 125838
total lines added 61513
commits 160
Swift
added lines 17270
removed lines 6313
total lines added 10957
commits 222

https://github.com/openstack/swift/graphs/code-frequency
References
  1. http://www.slideshare.net/enovance/meetup-open-stackgrizzly-17372714
  2. https://github.com/openstack

Monday, December 10, 2012

A simple GIMP snippets for graphic files manipulations

In MS Windows we can use Paint [1] program to manipulate graphical files. In Linux the most famous and often recommend alternative to is is GIMP.

The problem with GIMP is that as it is a very powerful tool it isn't intuitive and simple to use like Paint. Below are some tricks I use when work with GIMP.

How to draw a square or border line

Once you create a selection you can draw a line to make it visible. An example is shown below.


You can do it from GIMP by using the options: Edit -> Stroke Selection.
More info about his can be found here [2].

How to create a new image from a selected region

With a help of it we can for example extract from an original picture below the Ubuntu logo only.

Original picture:

After extracting and croping:


You can do it from GIMP by using the option: Image  -> Crop to selection
More info about his can be found here [3].

References
  1. http://www.functionx.com/windows/Lesson03.htm

  2. http://pbs01.wordpress.com/2007/09/30/145/
    http://www.youtube.com/watch?v=RiZXLkB82cI
    http://www.gimp.org/tutorials/Borders_On_Selections/

  3. http://gimp.open-source-solution.org/manual/gimp-image-menu.html
    http://gimp.open-source-solution.org/manual/gimp-image-crop.html
    http://docs.gimp.org/2.6/en/plug-in-autocrop-layer.html

Proprietary AMD graphics drivers for Linux

How do I start Catalyst Control Center (CCC) from bash

I created a demo user to test my X server config and ATI graphic driver. I run into a problem that my user didn't have relevant permissions to run commands with sudo. Every time I tried to lunch the Catalyst Control Centre I got a popup windows asking for password to perform administrative task.



Solution
  1. The name of the program is displayed in the popup windows: amdcccle
  2. If you didn't notice you can find this using these methods
$ dpkg -l | grep ati | egrep -iv 'configuration|application|automatic|compatible|compatibility|static|foomatic|ating|ation|ative' | grep ati
$ dpkg -l | grep amd

$ dpkg -L fglrx-amdcccle | grep bin
/usr/lib/fglrx/bin
/usr/lib/fglrx/bin/amdcccle
/usr/lib/fglrx/bin/amdxdg-su
/usr/lib/fglrx/bin/amdupdaterandrconfig

How do verify that my driver is loaded

More checks can be found in [1]. As a simple check you can run:

$ lsmod | grep fglrx
$ dmesg | grep fglrx


Execpt CCC what command can I used to list, print and change the graphic driver settings

You can use a command 'aticonfig'.  Example output can look like this:

$ aticonfig --lsa --odgc
* 0. 06:00.0 ATI Radeon HD 5700 Series

$ aticonfig --odgt
Default Adapter - ATI Radeon HD 5700 Series
                  Sensor 0: Temperature - 37.00 C

$ aticonfig --odgc
Default Adapter - ATI Radeon HD 5700 Series
                            Core (MHz)    Memory (MHz)
           Current Clocks :    850           1200
             Current Peak :    850           1200
  Configurable Peak Range : [600-960]     [1200-1445]
                 GPU load :    0%

References
  1. Unofficial Wiki for the AMD Linux Driver
  2. http://wiki.cchtml.com/index.php/Frequently_Asked_Questions
  3. http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx