- The State of Linux Graphics
- Though it is written old, 2005, it describes the broad landscape of technologies incuding XAA, EXA, X Render, DRI, Mesa, XGL, EGL, and so on.
- More explanations on DRI and other jargons
- How to build and install full graphics stack from git
- You will learn where the packages are and how to install.
- Introduction to Gallium3D
- Gallium3D Wikipedia
- X.org Events
- X Developers’ Summit (XDS) and more
- How NVidia hardware works
- X.Org EVoC Work On Gallium3D OpenCL
- OpenCL 1.1 implementation on Gallium3D
- Accelerated OpenCL using Gallium3D
Understanding Linux Graphics Stack
December 31, 2011Installing Cuda on Ubuntu 11.10
December 30, 2011- Install gcc 4.4, g++ 4.4, and cpp 4.4.
- sudo apt-get install gcc-4.4 g++-4.4 cpp-4.4 build-essential
- Create symbolic links for gcc 4.4
- cd /usr/bin
- sudo mkdir gcc44
- cd gcc44
- sudo ln -s /usr/bin/gcc-4.4 gcc
- sudo ln -s /usr/bin/g++-4.4 g++
- sudo ln -s /usr/bin/cpp-4.4 cpp
- Install the nvidia drivers
- sudo apt-get install nvidia-current nvidia-current-dev nvidia-current-updates nvidia-current-updates-dev
- Download the current Cuda Toolkit and GPU Computing SDK for Ubuntu and the GPU Computing SDK, and save the .run files somewhere.
- chmod +x *.run
- sudo ./cudatoolkit_4.0.17_linux_32_ubuntu10.10.run
- Install with default options including paths
- ./gpucomputingsdk_4.0.17_linux.run
- Install where you want to play.
- For compiling the SDK examples, you also need to install
- sudo apt-get install freeglut3-dev libxi-dev
- sudo ln -s /usr/lib/libXmu.so.6 /usr/lib/libXmu.so
- sudo ln -s /usr/lib/nvidia-current/libGL.so /usr/lib/libGL.so
- Then go to the NVIDIA_GPU_COMPUTING_SDK_… folder. In the file C/common/common.mk change the line
- LINKFLAGS +=
- –>
- LINKFLAGS += -L/usr/lib/nvidia-current
- Add a following line at the end of /usr/local/cuda/bin/nvcc.profile
- compiler-bindir=/usr/bin/gcc44
- Make GPU computing SDK
- cd NVIDIA_GPU_COMPUTING_SDK_…
- make -j4 -i
- Set up $PATH and $LD_LIBRARY_PATH. Add the followings ~/.bashrc.
- export CUDA_HOME=/usr/local/cuda
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_HOME/lib
export PATH=$CUDA_HOME/bin:$PATH
- export CUDA_HOME=/usr/local/cuda
Enjoy!
IO Traces Available Online
August 18, 2011In researching a storage systems, the first step is to analyze the real world workload and verify if your insight makes sense in the real workload. Therefore, storage research community has been collected the workloads and made them accessible online.
- SNIA Traces
- Block IO Traces, NFS Traces, Parallel Traces, Static Snapshot, System Call Traces
- UMass Storage Repository
- OLTP Trace (write dominant), Web Search Trace (read dominant)
- SPC (Storage Performance Council) format
- The NOW Trace Collection Project
- Instructional Workload, Research Workload, Web Workload
Useful LaTeX Tutorials
March 20, 2011LaTex is an useful tool to write a document with regular form.
It is especially useful for documents with mathatical notation, since it provides powerful funcationalities to express them.
Here are some online tutorials on LaTeX.
- Downloading kotex live.
- Installing git client on Windows.
- The Not So Short Introduction to LaTex2E
- LaTeX Wikibooks
- LaTex Spelling and Grammar Check
- Writing Hangul in LaTeX
- BibTex and Natbib
- How to compile BibTex in TeXWorks
- Searching BibTex 1 2
- Describing Algorithms: algorithm Package, algorithmicx package, algorithm2e package
- Add TODO list in a draft
- Crop white space in a PDF file
- Beamer Tutorial, example
- How to change numbering style
- How to convert LaTeX to RTF format
Searching articles online
March 23, 2010Here are useful links to search articles on the web.
- Google Scholar – Holy Master!
- Scopus – WebDB service provided by Elesevior
- ScienceDirect – Elesevior
- WebOfScience – SCIE
- IEEEExplore
- DDOD – Doctorial thesises for top 20 universities
- NSDL – Online aggregation of online journals of domestic universities
- RISS – Domestic thesises
- Naver 전문검색 – Journals & Patents
- SCIE
Philip Perkis
January 3, 2010Philip Perkis is a photographer and educator whose work is little known outside of professional circles. Recently, one of his book, Teahing Photography, was published in Korea and getting famous as an educator. “The Sadness of men” is his first published collection in his 50 years work. He selected 500 photos out of 50 year work and then select 125 photos out of 500. He is my one of the most admirable photographer because of not only his work but also his attitude on it and even life. Followings are some excerpt from interview in “the Sadness of men”.
How did you end up in the air force?
I left Brandeis in 1954 at the end of my first year. I couldn’t do the written thing. I thought I was dumb. But whatever you want to call this learning difficulty, dyslexia or whatever it might be, I credit it with my becoming a photographer, because I had to solve everything by looking.
…
When you’re there with the camera?
…
When I’m photographing really well, I feel I’m just doing the job. I’m doing the physical work, to get it done, because something is coming through me that wants to be expressed. Now you can say that it’s the unconscious.But it’s definitely a feeling that I have to get this job done.
…
How has your spiritual practice fed into the way you teach?
It’s taught me to be not judgmental. To see all students as being equal, to the degree that I’m able to. To see the student as a striving, alive, sentient being, whom I’m trying to help grow. It’s taught me to learn to listen. when you teach photography or anything for a long time, you pretty much know the questions. But can you listen to the person who is asking the questions? And get a sense of that person’s life? And a feeling for that person’s life? and answer the person?
Useful materials for Kernel Novice
December 5, 2009Here are some useful materials for Linux Kernel hackers.
- Linux Kernel
- GCC inline assembly
- Intel Processor Architectue
- Development Environment
Excerpt from Stroy by Robert McKee
November 19, 2009숲속 높은 곳에 노래기 한 마리가 천 쌍의 다리를 느긋하게 흔들며 나뭇가지 위에서 한가롭게 거닐고 있었다. 나무 꼭대기에서 목소리가 고운 새들이 내려다보고는 일사불란한 노래기의 걸음걸이에 반해 버렸다. <굉장한 재능이다>, 새들이 짹짹거렸다. <네 다리는 너무 많아 셀 수가 없구나. 어떻게 그렇게 걷는 거니?> 그러자 노래기는 난생 처음으로 여기에 대해 생각해 보았다. <글쎄>, 노래기는 갸우뚱거렸다. <이걸 도대체 어떻게 하더라?> 노래기가 돌아보려 몸을 틀자 갑자기 그 촘촘한 다리들이 서로 부딧히며 담쟁이덩굴처럼 엉켜버렸다. 어쩔 줄 몰라 당황한 노래기가 매듭처럼 몸이 꼬여 저 아래 땅으로 떨어지는 걸 보며 새들은 재미있어 웃어댔다.
어제 숲 바닥에 떨어진 노래기는 다친 건 자존심뿐이라는 걸 알고 천천히 조심스럽게 한 발 한 발 풀어보았다. 열심히 참을성 있게 몸의 부분부분들을 유심히 살펴보고 움직여 보고 시험해 보다가 마침내 일어나 걸을 수 있게 되었다. 전에는 본능이었던 것이 지식이 된 것이다. 노래기는 옛날처럼 느리고 기계적인 걸음으로 움직일 필요가 없다는 것을 깨달았다. 이제 어슬렁댈 수도 있고 거드럭댈 수도 있고 껑충거릴 수도 있고 심지어 달리거나 뛰어오를 수도 있게 되었다. 그러자 전과는 다르게 노래기는 새들의 화음을 들으며 음악에 감동할 줄 알게 되었다. 이제 수천 개의 재능있는 다리들을 완벽히 조율할 수 있게 된 노래기는 용기를 내어 자기만의 스타일로 눈 부신 춤을 추어 세상 모든 피조물들을 깜짝 놀라게 만들었다.
Widget Animation in Linux
November 14, 2009These days, widget animation in linux is quite hot. I summarized several approaches.
GTK + Clutter
Basic idea behind this approach is adding GTK widget as an Clutter Actor on Clutter Scene. Animation and transparency is done by Clutter. It is by virtue of GTK client side window, off screen rendering, supported from 2.18.x.
- The return of Client side windows
- Animating GTK+, Clutter-Gtk, client-side-windows and demos
- Design experience and demos in GTK and Clutter
Pixmap based animation in GTK
Comparing to the GTK+Clutter approach, it animates redirected widget in main event loop using cairo.
- Discussion at GTK Dev Mailing list: [1], [2]
- Bugzilla: pixmap based animation, timeline
- Demo video clips: [1], [2]
PAF aka PAF Animation Framework
However above two approaches are specific to GTK, PAF is aiming to create a more general framework. It provides a interface to change GObject values with given time function.
QT Animation Framework
QT also provides implicit animation framework from QT 4.x. Here are some introductory materials.
- Blog post with video clip
- Nokia: [1], [2]
Other References
萬行
November 7, 2009
For someone who practices strongly,
even walking, eating, drinking tea, meeting friends,
peeling a ripe persimmon, using the toilet,
walking through the busy market,
feeling the sudden autumn wind on one’s face,
watching a passing car on the busy city street –
all of these moments are our practice. ,
or ‘man haeng’.


