got stuck at “Wait for Plymouth Boot Screen to Quit”

If you can’t get to the login page (booting gets stuck at “Wait for Plymouth Boot Screen to Quit”) after CUDA driver installation, then it’s probably because the kernel is trying to load xorg.conf created by NVIDIA driver. I got this experience in my laptop that has Intel + NVIDIA GPUs running CentOS 7.

Workaround Solution: Read More …

error: “Oh no! Something has gone wrong.”


If the above message suddenly comes up in your screen after CUDA driver installation in RedHat/CentOS/Fedora OS, don’t be panic. This is happened because of xorg-x11-drv-nvidia-gl package, which is part of cuda-drivers dependencies. I got this experience in my laptop that has Intel + NVIDIA GPUs. I guess it’s because the Intel GPU is the primary GPU in my laptop, and for RedHat/CentOS/Fedora there’s no a kind of official Optimus technology, like in Windows.

Workaround Solution: Read More …

Optimus + CUDA in Fedora 20

Recent laptops mostly come with hybrid-graphics system (two GPUs in one machine: an integrated GPU and a discrete GPU). It was first designed to control power consumption in laptops. By default, the operating system will use the integrated GPU which is less power consumption. Only when heavy activities (gaming, graphic rendering, GPU computing, etc) are performed, then operating system will move the workload to the discrete GPU.

For laptop with NVIDIA GPU, there is NVIDIA Optimus Technology for auto-switching between integrated GPU and discrete GPU. Unfortunately, NVIDIA support for this technology in Linux is not as good as in Windows. Since discrete GPU is a secondary card, installing the driver for NVIDIA GPU is not easy and may cause problem with the display manager in Linux. Read More …

“workspace in use or cannot be created” in eclipse or nvidia nsight

– remove .lock file in workspace’s metadata folder.
rm {YourWorkspaceDir}/.metadata/.lock

– find out the RECENT_WORKSPACES attribute
cd ~/.eclipse
grep -r "RECENT_WORKSPACES" *

– once you got the file where the RECENT_WORKSPACES attribute exists, edit that file by removing the RECENT_WORKSPACES line.

ubuntu 12.04 di macbook pro 7.1

kantor saya yang sekarang ini agak berbeda..

dulu sejak kuliah di Taiwan, untuk urusan Linux, saya lebih condong ke distro turunan RedHat (RHEL, Fedora, atau CentOS).. bahkan sempat memoderatori Fedora Indonesia bersama beberapa kawan dari Bandung.. kemudian ketika lulus dan bekerja, walo sempet jadi Mac user karna kerjaan, sesekali masih bisa kontak dengan RHEL, karna kebetulan server kantor menggunakan RHEL..

tapi sekarang, Read More …

Setting Up OpenDocMan

1. Make sure your system has httpd, php 5 and mysql 5. If not, then install it.

On Ubuntu:
# sudo apt-get install apache2
# sudo apt-get install mysql-client mysql-server php5 php5-mysql
# sudo /etc/init.d/apache2 restart

On Fedora:
# sudo yum -y install httpd php mysql mysql-server php-mysql

2. Create a MySQL database for OpenDocMan.

For example, we create database called docdb with user named auser and a password of apassword

# mysql -u root -p
mysql> CREATE DATABASE docdb;
mysql> GRANT ALL PRIVILEGES ON testing.* TO auser@localhost IDENTIFIED BY 'apassword';

3. Create a folder as a bank of your documents (OpenDocMan called it as ‘dataDir’). The folder should be outside of you public html and set its mode as read/write for other users

# mkdir /var/docs_repo
# chmod -R 757 /var/docs_repo

4. Create a folder in you public html folder, and set its mode as read/write for other users. This folder will be a subdirectory in your web.

For example, commonly main public html folder is in /var/www/, so type this:
# sudo mkdir /var/www/docrepo
# sudo mkdir /var/www/docrepo/templates_c
# chmod -R 777 /var/www/docrepo

Later you can access the directory by using url: <yourwebdotcom>/docrepo

5. Download OpenDocMan source, and extract to the folder you just create, i.e. /var/www/docrepo

6. Now, open your browser and go to url:  <yourwebdotcom>/docrepo

7. Follow the instruction in the webpage to setup and install.

8. If the installation is successful, the next things are to remove the install folder and change the mode of docrepo folder for security. So, back to terminal and :

# rm -rf /var/www/docrepo/install
# chmod -R 755 /var/www/docrepo

9. Done !

opendocman

installing cuda 5 on ubuntu 12.04

  1. Download CUDA 5 installers from https://developer.nvidia.com/cuda-downloads.
  2. Add execution mode to the run file.
    • $ chmod +x cuda_5.*.run
  3. Change to terminal mode Ctrl-Alt-F1, log on and type
    • $ sudo service lightdm stop
    • $ sudo ./cuda_5.*.run
    • $ sudo shutdown -r now

If you failed to get back to login gui, type this:

  • $ sudo apt-get purge nvidia*
  • $ sudo apt-get install nvidia-current-updates-dev

formula penentuan Fedora codename

Fedora 14 LiveCD KDE

Image by Sylvain Naudin via Flickr

sebenernya dah cukup lama penasaran dengan, bagaimana fedora menentukan codename setiap kali rilis ? sebelum ini yang gw tau fedora team akan menggelar voting di fedora project setelah menemukan beberapa kandidat codename.. tapi yang bikin gw penasaran, itu kandidat codename gimana nyarinya? apa cuma sekedar menerima masukan doank, trus pas dirasa kedengaran keren, dimasukkan lah nama tersebut sebagai kandidat ?? atau ada ketentuan-ketentuan lain ??…

selama ini sih penasaran tapi ga terlalu tertarik buat cari tau.. seperti kata Mas Shakespeare, apalah arti sebuah nama.. hehe.. nah akhir-akhir ini baru kepikiran buat nyari tau.. dan akhirnya nemu.. 😀

ternyata,.. Read More …