Ubuntu NVIDIA GeForce Overclocking

★ New PC C 4
1 NVIDIAのグラフィックスドライバーを有効にする
2 再起動
3 端末 > $ sudo gedit /etc/X11/xorg.conf
4 /etc/X11/xorg.conf を編集して保存
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection
↓
Section "Device"
Identifier "Default Device"
Option "coolbits" "5"
Option "NoLogo" "True"
EndSection
注1 上記をコピペすると全角が混じるので全て半角に修正すること
注2 "1" オーバークロック "4" ファン制御 "5" オーバークロック & ファン制御
5 再起動
6 NVIDIA X Server Settings > Clock Frequencies 追加確認
> Enable Overclocking にチェック > 3D Clock Frequencies
> GPU (MHz) と Memory (MHz) のオーバークロックと動作確認
7 6 で設定したオーバークロックを次回起動時に反映させる方法
> 自動起動するアプリケーションの設定 > 追加
> コマンド(M): に下記を追加
nvidia-settings -a GPUOverclockingState=1 -a GPU3DClockFreqs=650,700注3 オーバークロックはビデオカードに合わせて設定すること
8 再起動後に 7 が反映されているか確認
参考 ・Overclocking via xorg.conf or command line


★ New PC C 2
1 端末 > $ sudo gedit /etc/X11/xorg.conf
2 /etc/X11/xorg.conf を編集して保存
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8400 GS"
EndSection
↓
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8400 GS"
Option "coolbits" "5"
EndSection
注1 上記をコピペすると全角が混じるので全て半角に修正すること
注2 "1" オーバークロック "4" ファン制御 "5" オーバークロック & ファン制御
3 再起動
4 システム > システム管理 > NVIDIA X Server Settings
参考 ・nvidia_01
・GPU 設定 - オーバークロック - ファン 制御 - CentOS コマンド - Linux OC 方法
Windows 7 Enterprise GPU-Z



★ New PC C 4 ( NVIDIA GeForce 210 )

★ New PC C 3 ( GMA X4500 )


★ New PC C 2 ( NVIDIA GeForce 8400GS )

★ New PC ( GMA 3100 )
My New PC Custom 4
CPU Intel Pentium Dual-Core E6800 3.33GHz
・L2キャッシュ 2048KB
・フロントサイドバス ( System Bus ) 1066MHz
CPUクーラー ANTEC KUHLER-SHELF
Motherboard ASRock G41MH/USB3
Memory CFD W3U1333Q-2G
・搭載チップ ELIXIR
・2GB x 2枚 ( Dual Channel )
HDD サムスン HD502HI
・500 GB SATA 3Gb/s 5400 rpm
・Buffer DRAM Size 16 MB
・Seek (typical) 4.8W
・Read/Write (typical) 5.1W
・Idle (typical) 3.9W
*温度監視ソフトでは実際の温度よりも5℃前後低く表示される
光学ドライブ LITEON IHAS122-06 バルク
VGA GIGABYTE GV-N210SL-1GI
・NVIDIA GeForce 210
・GPU Core Clock 520MHz
・GPU Memory Clock 600MHz
・GPU Shader Clock 1230MHz
・Memory Size DDR3 1024MB
・Bus Width 64bit
PCケース AeroCool Vs-9 ( 改造 )
・ATX / MicroATX 対応
・430( H ) - 190( W ) - 493( D ) mm
ケースファン サイズ SY1225SL12L(KAZE-JYUNI 800rpm)
・800rpm / 10.7dB(A) / 40.17CFM
・スリーブベアリング
・120 x 120 x 25 ( mm ) ( 背面 ・ 吸気 )
サイズ GELID Silent12
・1000rpm / 20.2dB(A) / 37CFM
・Hydro Dynamic Bearing
・120 x 120 x 25 ( mm ) ( 底面 ・ 吸気 )
電源 ZUMAX ZU-425N
・ATX12V Ver.2.3準拠 SSI-EPS12V互換
・Total 425W
・Peak 475W(60sec)
・+3.3V 28A
・+ 5V 32A
・+ 12V1 22A
・+ 12V2 22A
・- 12V 0.6A
・+ 5Vsb 2.5A
電源ファン APEX JD-12025S 1M2
・DC 12V 0.22A
・Sleeve
・120 x 120 x 25 ( mm )
ディスプレイ LG FLATRON Wide LCD W2253V-PFV
スピーカー サンワサプライ MM-SPL2
・L2キャッシュ 2048KB
・フロントサイドバス ( System Bus ) 1066MHz
CPUクーラー ANTEC KUHLER-SHELF
Motherboard ASRock G41MH/USB3
Memory CFD W3U1333Q-2G
・搭載チップ ELIXIR
・2GB x 2枚 ( Dual Channel )
HDD サムスン HD502HI
・500 GB SATA 3Gb/s 5400 rpm
・Buffer DRAM Size 16 MB
・Seek (typical) 4.8W
・Read/Write (typical) 5.1W
・Idle (typical) 3.9W
*温度監視ソフトでは実際の温度よりも5℃前後低く表示される
光学ドライブ LITEON IHAS122-06 バルク
VGA GIGABYTE GV-N210SL-1GI
・NVIDIA GeForce 210
・GPU Core Clock 520MHz
・GPU Memory Clock 600MHz
・GPU Shader Clock 1230MHz
・Memory Size DDR3 1024MB
・Bus Width 64bit
PCケース AeroCool Vs-9 ( 改造 )
・ATX / MicroATX 対応
・430( H ) - 190( W ) - 493( D ) mm
ケースファン サイズ SY1225SL12L(KAZE-JYUNI 800rpm)
・800rpm / 10.7dB(A) / 40.17CFM
・スリーブベアリング
・120 x 120 x 25 ( mm ) ( 背面 ・ 吸気 )
サイズ GELID Silent12
・1000rpm / 20.2dB(A) / 37CFM
・Hydro Dynamic Bearing
・120 x 120 x 25 ( mm ) ( 底面 ・ 吸気 )
電源 ZUMAX ZU-425N
・ATX12V Ver.2.3準拠 SSI-EPS12V互換
・Total 425W
・Peak 475W(60sec)
・+3.3V 28A
・+ 5V 32A
・+ 12V1 22A
・+ 12V2 22A
・- 12V 0.6A
・+ 5Vsb 2.5A
電源ファン APEX JD-12025S 1M2
・DC 12V 0.22A
・Sleeve
・120 x 120 x 25 ( mm )
ディスプレイ LG FLATRON Wide LCD W2253V-PFV
スピーカー サンワサプライ MM-SPL2
Ubuntu CPUファン PWM 回転数 変更
★ CPU Quiet Fan の無効化でCPUファン最低回転数が 1800rpm を下回らず
五月蝿いので CPU Quiet Fan 有効時の最低回転数 1000rpm に設定変更
☆ 問題のPC - New PC C 3
1 BIOS から CPU Quiet Fan を無効にする
BIOS > H/W Monitor > CPU Quiet Fan > Disabled
2 lm-sensors をインストール
3 fancontrol をインストール
※ pwmconfig の実行に必要
※ /usr/sbin/fancontrol を生成 ( 自動起動用シェルスクリプト )
$ sudo apt-get install fancontrol
4 pwmconfig ( PWM設定 )
$ sudo pwmconfig
・Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:
>>> Enter
・Did you see/hear a fan stopping during the above test (n)?
>>> Enter
・Would you like to generate a detailed correlation (y)?
>>> Enter
PWM 255 FAN 1854
PWM 240 FAN 1854
↓
PWM 45 FAN 1048
PWM 30 FAN 998 ※ 当環境だと30以下は変わらず
↓
PWM 2 FAN 998
PWM 0 FAN 998
・Did you see/hear a fan stopping during the above test (n)?
>>> Enter
・Do you want to set up its configuration file now (y)?
>>> Enter
・What should be the path to your fancontrol config file
(/etc/fancontrol)?
>>> Enter
・Select fan output to configure, or other action:
1) hwmon1/device/pwm2 3) Just quit 5) Show configuration
2) Change INTERVAL 4) Save and quit
select (1-n):
>>> 1 ※ ファン制御用温度を表示
Devices:
hwmon0/device is coretemp
hwmon1/device is w83627dhg
Current temperature readings are as follows:
hwmon0/device/temp2_input 40
hwmon0/device/temp3_input 31
hwmon1/device/temp1_input 25
hwmon1/device/temp2_input 20
hwmon1/device/temp3_input 51
・Select a temperature sensor as source for hwmon1/device/pwm2:
1) hwmon0/device/temp2_input
2) hwmon0/device/temp3_input
3) hwmon1/device/temp1_input
4) hwmon1/device/temp2_input
5) hwmon1/device/temp3_input
6) None (Do not affect this PWM output)
select (1-n):
>>> 2 ※ ファン制御用温度の指定
・Enter the low temperature (degree C)
below which the fan should spin at minimum speed (20):
>>> 35 ※ 指定した温度以下でファン回転数を最低にする
・Enter the high temperature (degree C)
over which the fan should spin at maximum speed (60):
>>> 60 ※ 指定した温度以上でファン回転数を最大にする
・Enter the PWM value (0-255) to use when the temperature
is over the high temperature limit (255):
>>> 255 ※ CPUファンの最大回転数を設定
・Select fan output to configure, or other action:
1) hwmon1/device/pwm2 3) Just quit 5) Show configuration
2) Change INTERVAL 4) Save and quit
select (1-n):
>>> 4 ※ 設定を保存
5 Fanコントロール実行 ( 実行すると即反映される )
$ sudo fancontrol
6 端末を閉じる
7 CPUに負荷をかけて 4 で設定した温度でファンが制御されているかテスト
8 4 の設定を変更する場合
$ sudo gedit /etc/fancontrol
9 ・fancontrol を一時的に無効にする場合は fancontrol を削除する
$ sudo apt-get remove fancontrol
・fancontrol を再度有効にする場合は fancontrol をインストール
$ sudo apt-get install fancontrol
・fancontrol の無効化と設定ファイルの削除
$ sudo apt-get remove fancontrol && sudo rm -f /etc/fancontrol
10 再起動後に再確認
参考 ・pwmconfig - Google 検索
五月蝿いので CPU Quiet Fan 有効時の最低回転数 1000rpm に設定変更
☆ 問題のPC - New PC C 3
1 BIOS から CPU Quiet Fan を無効にする
BIOS > H/W Monitor > CPU Quiet Fan > Disabled
2 lm-sensors をインストール
3 fancontrol をインストール
※ pwmconfig の実行に必要
※ /usr/sbin/fancontrol を生成 ( 自動起動用シェルスクリプト )
$ sudo apt-get install fancontrol
4 pwmconfig ( PWM設定 )
$ sudo pwmconfig
・Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:
>>> Enter
・Did you see/hear a fan stopping during the above test (n)?
>>> Enter
・Would you like to generate a detailed correlation (y)?
>>> Enter
PWM 255 FAN 1854
PWM 240 FAN 1854
↓
PWM 45 FAN 1048
PWM 30 FAN 998 ※ 当環境だと30以下は変わらず
↓
PWM 2 FAN 998
PWM 0 FAN 998
・Did you see/hear a fan stopping during the above test (n)?
>>> Enter
・Do you want to set up its configuration file now (y)?
>>> Enter
・What should be the path to your fancontrol config file
(/etc/fancontrol)?
>>> Enter
・Select fan output to configure, or other action:
1) hwmon1/device/pwm2 3) Just quit 5) Show configuration
2) Change INTERVAL 4) Save and quit
select (1-n):
>>> 1 ※ ファン制御用温度を表示
Devices:
hwmon0/device is coretemp
hwmon1/device is w83627dhg
Current temperature readings are as follows:
hwmon0/device/temp2_input 40
hwmon0/device/temp3_input 31
hwmon1/device/temp1_input 25
hwmon1/device/temp2_input 20
hwmon1/device/temp3_input 51
・Select a temperature sensor as source for hwmon1/device/pwm2:
1) hwmon0/device/temp2_input
2) hwmon0/device/temp3_input
3) hwmon1/device/temp1_input
4) hwmon1/device/temp2_input
5) hwmon1/device/temp3_input
6) None (Do not affect this PWM output)
select (1-n):
>>> 2 ※ ファン制御用温度の指定
・Enter the low temperature (degree C)
below which the fan should spin at minimum speed (20):
>>> 35 ※ 指定した温度以下でファン回転数を最低にする
・Enter the high temperature (degree C)
over which the fan should spin at maximum speed (60):
>>> 60 ※ 指定した温度以上でファン回転数を最大にする
・Enter the PWM value (0-255) to use when the temperature
is over the high temperature limit (255):
>>> 255 ※ CPUファンの最大回転数を設定
・Select fan output to configure, or other action:
1) hwmon1/device/pwm2 3) Just quit 5) Show configuration
2) Change INTERVAL 4) Save and quit
select (1-n):
>>> 4 ※ 設定を保存
5 Fanコントロール実行 ( 実行すると即反映される )
$ sudo fancontrol
6 端末を閉じる
7 CPUに負荷をかけて 4 で設定した温度でファンが制御されているかテスト
8 4 の設定を変更する場合
$ sudo gedit /etc/fancontrol
9 ・fancontrol を一時的に無効にする場合は fancontrol を削除する
$ sudo apt-get remove fancontrol
・fancontrol を再度有効にする場合は fancontrol をインストール
$ sudo apt-get install fancontrol
・fancontrol の無効化と設定ファイルの削除
$ sudo apt-get remove fancontrol && sudo rm -f /etc/fancontrol
10 再起動後に再確認
参考 ・pwmconfig - Google 検索
Ubuntu ヘッドフォン スピーカー 音 問題 解決

★ PCにヘッドフォンを挿した時にスピーカーの音を鳴らなくする方法
☆ 動作テスト用PC - New PC C 3
1 端末から HDA-Jack-Retask を インストール & 起動
$ sudo add-apt-repository ppa:diwic/hda
$ sudo apt-get update
$ sudo apt-get install hda-jack-retask
$ hda-jack-retask
2 HDA-Jack-Retask 起動後の設定
・Select a cldec > Realtek ALC662 rev1 を選択
・Options > Set model=auto & Advanced override にチェック
・Pin configuration > Pink Mic, Rear side > Override にチェック
・Apply now をクリックして設定適用 > 動作テスト
・動作テストに問題が無ければ Set as boot default をクリックして設定保存
3 再起動後にもう一度確認
参考
・Ubuntu Weekly Topics:2011年12月2日号 Precise Alpha1・12.04のための議論・HDA-Jack-Retask・Ubuntu Magazine Japan vol.06 ・UWN#243|gihyo.jp … 技術評論社
PPA ( hda-jack-retask )
・HD audio related stuff : David Henningsson
Ubuntu 11.10 nautilus-open-terminal

1 端末から dconf-tools と nautilus-open-terminal をインストール
$ sudo apt-get install dconf-tools nautilus-open-terminal
2 dconf Editor > org > gnome > desktop > interface
> can-change-accels > チェックを入れる
3 Nautilus ( ファイルマネージャ ) を起動
もしもNautilusが起動していた場合は一度閉じてから起動し直す
4 Nautilusから開きたいディレクトリを右クリック > 端末の中に開く
参考
・How To: Add Open In Terminal To File Menu On Ubuntu 11.10 | n00bs on Ubuntu
Linux メモリ解放

1 gedit を起動後に下記をコピべして シェルスクリプト ( Cache.sh ) として
ユーザーディレクトリ ( アカウント名 = ○○ ) に保存
#!/bin/bash2 1 の Cache.sh に実行可能権限 ( アクセス権限 ) を与える
$ sudo gedit /home/○○/Cache.sh
echo "★ メモリ使用量 解放前 ( $ free -mt )"
echo "-------------------------------------------------------------------------"
free -mt
echo
echo "★ メモリを解放する場合はパスワードを入力後にEnterキーを押してください"
echo " ( $ sudo sync && sudo sysctl -w vm.drop_caches=3 )"
echo "-------------------------------------------------------------------------"
sudo sync && sudo sysctl -w vm.drop_caches=3
echo
echo "★ メモリ使用量 解放後 ( $ free -mt )"
echo "-------------------------------------------------------------------------"
free -mt
echo
echo "★ Enterキーを押すことで端末が閉じて終了します"
echo "-------------------------------------------------------------------------"
read
端末 > $ sudo chmod +x /home/○○/Cache.sh
3 Main Menu に New Item として Cache.sh ( メモリ解放 ) を
追加後に Unityランチャー にも追加
4 メモリ使用量を System Load Indicator などで監視してメモリ使用量が
メモリ容量を超えて Swap が溜まる前に Unityランチャーに追加しておいた
メモリ解放 ( Cache.sh ) を実行する
参考 ・Linux メモリ 解放
・Linuxコマンド sync
・Ubuntu 作成&作品紹介
Ubuntu 11.10 Unity

★ Unity 対応確認
$ /usr/lib/nux/unity_support_test -p
参考
http://www.webupd8.org/2011/10/how-to-find-out-if-your-computer-can.html
★ オーバーレイスクロールバー無効化
$ sudo apt-get remove overlay-scrollbar liboverlay-scrollbar3-0.2-0 liboverlay-scrollbar-0.2-0参考
http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html
★ キーバインド変更
★ Nautils 不具合回避
nautilus-gksu と nautilus-open-terminal をインストールしない
★ Google Earth ( 日本語化 )
$ sudo apt-get install xfonts-shinonome ( 日本語化 )
> Dash ホーム > Google Earth
★ インジケーターアプレットに天気を追加
$ sudo apt-get install indicator-weather
> Dash ホーム > Weather Indicator
参考
http://linux.ikoinoba.net/index.php?UID=1311951517
★ インジケーターアプレットにシステムモニターを追加
$ sudo add-apt-repository ppa:indicator-multiload/stable-daily
$ sudo apt-get update
$ sudo apt-get install indicator-multiload
> Dash ホーム > System Load Indicator
参考
http://www.webupd8.org/2011/06/indicator-multiload-update-brings.html
★ インジケーターアプレットに本来非表示のアプリを追加
$ sudo apt-get install dconf-tools
> Dash ホーム > dconf Editor > desktop > unity
> panel > Value > ['追加したいアプリ名を追加']
> ['all'] ( 表示できる全てのアプリを表示 )
参考
http://ameblo.jp/newcomer-t/entry-11051477944.html
★ Unity & GNOME Shell カスタマイズ
$ sudo apt-get install gnome-tweak-tool
> Dash ホーム > 高度な設定
★ 簡易プレビュープラグイン
$ sudo apt-get install gnome-sushi
ディレクトリやファイルを選択後にキーボードのスペースキー
参考
http://ubuntu.firebird.jp/archives/762
★ ディスプレイのチラつき低減
$ sudo apt-get install compizconfig-settings-manager
> Dash ホーム > CompizConfig 設定マネージャ > Composite
> リフレッシュレートの検出 > チェックを外す
Ubuntu 11.10 GNOME Shell

★ ログイン時に GNOME Shell ( GNOME ) を選択可能にする
$ sudo apt-get install gnome-tweak-tool
> ログアウト > ログイン時に GNOME を選択
★ シャットダウン追加
$ sudo add-apt-repository ppa:webupd8team/gnome3
$ sudo apt-get update
$ sudo apt-get install gnome-shell-extensions-alternative-status-menu
> アプリケーション > 高度な設定 > GNOME Shell 機能拡張
> Alternative Status Menu 機能拡張 > オン > 再起動
参考
http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html
★ インジケーターアプレットに天気を追加
$ sudo apt-get install indicator-weather
$ indicator-weather
参考
http://linux.ikoinoba.net/index.php?UID=1311951517
★ インジケーターアプレットにシステムモニターを追加
$ sudo add-apt-repository ppa:webupd8team/gnome3
$ sudo apt-get update
$ sudo apt-get install gnome-shell-system-monitor
> アプリケーション > 高度な設定 > GNOME Shell 機能拡張
> system-monitor 機能拡張 > オン > 再ログイン
参考
http://www.webupd8.org/2011/10/gnome-shell-system-monitor-extension.html
Ubuntu DVD再生
Ubuntu 9.04 / 9.10 / 10.04 / 10.10 ( 32bit / 64bit )
端末から下記を実効
$ sudo apt-get install libdvdread4
$ sudo /usr/share/doc/libdvdread4/install-css.sh
________________________________________________________
Ubuntu 11.04 / 11.10 ( 32bit / 64bit )
$ sudo /usr/share/doc/libdvdread4/install-css.sh
参考 ・DVDの再生方法について - Ubuntu Japanese Wiki
端末から下記を実効
$ sudo apt-get install libdvdread4
$ sudo /usr/share/doc/libdvdread4/install-css.sh
________________________________________________________
Ubuntu 11.04 / 11.10 ( 32bit / 64bit )
$ sudo /usr/share/doc/libdvdread4/install-css.sh
参考 ・DVDの再生方法について - Ubuntu Japanese Wiki