Linux/Ubuntu2012. 3. 4. 20:46
vlc / totem / smplayer

세개를 써봤는데 h.264(avc) 코덱으로 되어 있는 1920x1080에 대해서
윈도우에서도 그리 버벅댈 사양은 아닐꺼 같은데(AMD 4400+x2/1GB/740g)
 
아무튼 vlc가 가장 덜 끊어지고,
totem 이나 smplayer는 비슷한 수준 ㅠ.ㅠ 
Posted by 구차니
Linux/Ubuntu2012. 3. 3. 23:00
예전에 ATI로는 해본적이 없던가..?
아무튼 처음에 부팅할때 이상하게 화면이 자주 깜빡이고 모니터도 색상이 이상하게 나오다가
겨우잡는 현상이 발생되서 자세히 보고 있으니, 부팅메시지 중에도 EDID Error가 나오길래
dmesg로 보니 아래와 같이 촤르르르륵

[   12.423089] [drm] Initialized drm 1.1.0 20060810
[   12.470094] [drm] radeon defaulting to kernel modesetting.
[   12.470098] [drm] radeon kernel modesetting enabled.
[   12.470163] radeon 0000:01:05.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   12.472067] [drm] radeon: Initializing kernel modesetting.
[   12.472807] [drm] register mmio base: 0xFEAF0000
[   12.472810] [drm] register mmio size: 65536
[   12.473833] ATOM BIOS: ATI
[   12.474044] [drm] GPU reset succeed (RBBM_STATUS=0x10000140)
[   12.474061] [drm] radeon: VRAM 32M
[   12.474063] [drm] radeon: VRAM from 0x3E000000 to 0x3FFFFFFF
[   12.474065] [drm] radeon: GTT 512M
[   12.474066] [drm] radeon: GTT from 0x40000000 to 0x5FFFFFFF
[   12.474098] [drm] radeon: irq initialized.
[   12.474314] [drm] Detected VRAM RAM=32M, BAR=32M
[   12.474319] [drm] RAM width 128bits DDR
[   12.476930] [TTM] Zone  kernel: Available graphics memory: 443732 kiB.
[   12.476934] [TTM] Zone highmem: Available graphics memory: 496824 kiB.
[   12.476954] [drm] radeon: 32M of VRAM memory ready
[   12.476956] [drm] radeon: 512M of GTT memory ready.
[   12.476976] [drm] GART: num cpu pages 131072, num gpu pages 131072
[   12.480743] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[   12.480760] [drm] radeon: cp idle (0x10000C03)
[   12.480863] [drm] Loading RS690/RS740 Microcode
[   12.480936] platform radeon_cp.0: firmware: requesting radeon/RS690_cp.bin
[   12.487430] [drm] radeon: ring at 0x0000000040000000
[   12.487450] [drm] ring test succeeded in 1 usecs
[   12.487598] [drm] radeon: ib pool ready.
[   12.487680] [drm] ib test succeeded in 0 usecs
[   12.487782] [drm] Default TV standard: NTSC
[   12.487884] [drm] Radeon Display Connectors
[   12.487886] [drm] Connector 0:
[   12.487887] [drm]   VGA
[   12.487890] [drm]   DDC: 0x7e50 0x7e40 0x7e54 0x7e44 0x7e58 0x7e48 0x7e5c 0x7e4c
[   12.487892] [drm]   Encoders:
[   12.487893] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   12.487895] [drm] Connector 1:
[   12.487896] [drm]   S-video
[   12.487897] [drm]   Encoders:
[   12.487899] [drm]     TV1: INTERNAL_KLDSCP_DAC1
[   12.487900] [drm] Connector 2:
[   12.487902] [drm]   DVI-D
[   12.487903] [drm]   HPD2
[   12.487905] [drm]   DDC: 0x7e40 0x7e60 0x7e44 0x7e64 0x7e48 0x7e68 0x7e4c 0x7e6c
[   12.487907] [drm]   Encoders:
[   12.487909] [drm]     DFP2: INTERNAL_DDI
[   12.487910] [drm] Connector 3:
[   12.487911] [drm]   HDMI-A
[   12.487914] [drm]   DDC: 0x7e40 0x7e50 0x7e44 0x7e54 0x7e48 0x7e58 0x7e4c 0x7e5c
[   12.487915] [drm]   Encoders:
[   12.487917] [drm]     DFP3: INTERNAL_LVTM1
[   12.557911] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   12.604074] [drm:edid_is_valid] *ERROR* Raw EDID:
[   12.604113] <3>03 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00  ................
[   12.604115] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   12.604117] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   12.604120] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   12.604122] <3>00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00  ................
[   12.604124] <3>00 00 00 00 00 0f 00 00 00 00 00 00 00 00 00 00  ................
[   12.604126] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   12.604129] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   12.604130] 

그래서 찾아보니 머.. 결론은 i2c를 통해서 EDID정보를 받는데 그 부분의 드라이버 설정이 오류가 있는지
다시 컴파일을 해주어야 한다~ 머 이런거.. 지금와서 ATI에서 다시 드라이버 리눅스용으로 받으면 해결이 되려나?

[링크 : http://ubuntuforums.org/showthread.php?t=1607778 

---
혹시나 해서 찾아봤지만.. 리눅스 내장 드라이버 아닌, ATI 공식 드라이버는 XP/VISTA용 밖에 없는듯 하다.

 
Posted by 구차니
Linux/Ubuntu2012. 3. 3. 22:43
요즘 컴퓨터 CPU들은 절전을 위해 여러가지 클럭을 지원하는데
이러한 클럭을 임의로 조정하는 방법이 존재한다.

설정가능한 클럭을 확인하려면 아래의 경로를 참고하면 되고
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
1300000 1200000 1000000 800000 600000

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
userspace powersave ondemand conservative performance

[링크 : http://embraceubuntu.com/2005/11/04/enabling-cpu-frequency-scaling/ ]  

클럭변경은 cpufreq-selector 라는 명령을 이용하면 된다.
$ cpufreq-selector -f 1300000 

[링크 : http://diablo.ucsc.edu/cgi-bin/man/man2html?cpufreq-selector+1 ]  


그나저나.. 우분투에서 초기에는 최고클럭으로 작동하다 냅두면 최저클럭으로 "Ondemand"설정이 되긴 하지만
처음부터 최저클럭으로 설정하는 옵션은 없으려나? 

---
조금 뒤져보니, 아래의 스크립트에서 시간과 파워모드를 다른걸로 해주면 된다.
onedemand 대신 powersave로 하면 일단 최저클럭으로 들어가는 듯.

$ vi /etc/init.d/ondemand
#! /bin/sh
### BEGIN INIT INFO
# Provides:          ondemand
# Required-Start:    $remote_fs $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: Set the CPU Frequency Scaling governor to "ondemand"
### END INIT INFO


PATH=/sbin:/usr/sbin:/bin:/usr/bin

. /lib/init/vars.sh
. /lib/lsb/init-functions

case "$1" in
    start)
        start-stop-daemon --start --background --exec /etc/init.d/ondemand -- background
        ;;
    background)
        sleep 60 # probably enough time for desktop login

        for CPUFREQ in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
        do
                [ -f $CPUFREQ ] || continue
                echo -n ondemand > $CPUFREQ
        done
        ;;
    restart|reload|force-reload)
        echo "Error: argument '$1' not supported" >&2
        exit 3
        ;;
    stop)
        ;;
    *)
        echo "Usage: $0 start|stop" >&2
        exit 3
        ;;
esac 
 
Posted by 구차니
sata 연결하면 이상하게
asus m2n-sli 보드에서 부팅이 안되거나 예전에는 되도 무진장 느린 문제가 있었는데
오늘 케이블을 비교해보니... 음? 두께가 다르다?!?!
undefined

하나는 26 awg이고 다른 하나는 30 awg인데
혹시나 비교해보니 3ware raid에 준건 26 awg짜리 sata 케이블이다.
아부지께 여쭈어보니 케이블이 두꺼우면 외부 전기를 조금은 더 흡수해주지 않겠냐는데
awg와 emi는 딱히 연관이 없고 전류문제라는 이야기 뿐..

검색해보니 하드를 안에두냐 밖에두냐에 따라 응답속도가 달라졌다는데.. 흐음?
When I tested my 7200.12 1TB outside my case I got ~15.4ms lat. while inside my case with the SATA cable at the back I got 22-28ms. Cable came with mobo and is 26AWG. 

[링크 : http://www.overclock.net/t/958120/sata-cable-emi]  

어떤 사람은 30AWG로 하니 맛탱이 갔는데 26AWG로 교체하고는 문제가 없다고도 한다.
I hate to dredge up an old thread but I cam across this when looking into my sata problems.

I've recently rebuilt a file-server with 5x750gb,5x500gb (both raid5) and 2x200gb (raid1 boot) in one nice big ol case. Everything was fine untill recently the set of 500gb drives started acting up. So I pulled it all down tested each drive individually and found no errors. This is after a full read test and a full drive test with the WD tools so it just didnt make any sense. I had also tried limiting the drive speeds to SATA1 and also enabling SCC (spread spectrum clocking) which should reduce interference but no joy.

The drives themselves are connected to a 5port sata port multipler (silicon image) and then each port multipler is linked to a 2port PCIe sata card. So I fugred do some testing swapped both sets of 5 drives, e.g. moved each set onto the opposite port multiplier which I know is working. Still no go. So to keep going I grabbed my old PCI 4port sata card and threw that in, almost seemed to make it worse, either errors or the card locking up during boot which just didnt make sense.

So next thing was to swap out all the cabling on the disks playing up, I had another spare set of 30AWG sata cables and put them in. Same issue again, errors when accessing them or just being flakey. It was then I noticed the other drives not having a problem were all using 26AWG sata cables.

So today I grabbed a set of 26AWG cables and chucked them in and low and behold away goes the problem! Still rebuilding the array over 85% done but no errors and getting past 1% is always a good sign 

Never would have expected the thin cables to be an issue as i've used them on plenty of machines in the past and many of them were brand new (ordered a bulk set recently). My best guess is that on their own or with only a couple drives in close together that they are ok but once you have a large number of disks they suffer from interference.

What gets me is that I found a stack of these 30AWG cables in my motherboard box for a mobo that has 8 sata ports... 

[링크 : http://forums.overclockers.com.au/showthread.php?t=467018]  

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

하드문제?  (2) 2012.03.05
unganged mode 관련 설정  (0) 2012.03.05
LG 노트북 복구 시스템의 비밀?  (0) 2012.03.02
으헝헝헝헝헝 질러버렸어 ㅠ.ㅠ  (0) 2012.03.02
질러 말어?  (2) 2012.03.02
Posted by 구차니
어쩌면 당연한 걸지도 모르는데 모델명은 60GB 모델인데 인식되는건 56GB.
즉, 4GB는 하드에서 사용하지 못하는 영역으로 아예 배제해버린듯.


2011/12/25 - [하드웨어] - LG Recovery의 신기함

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

unganged mode 관련 설정  (0) 2012.03.05
sata 케이블 두께(awg와 emi)  (4) 2012.03.03
으헝헝헝헝헝 질러버렸어 ㅠ.ㅠ  (0) 2012.03.02
질러 말어?  (2) 2012.03.02
고장난 파워는 어떻게 할까나~  (0) 2012.03.01
Posted by 구차니
하드웨어2012. 3. 2. 20:56
페넘2의 기능으로 메모리를 분할하거나 하나의 덩어리로 보는거라는데 아무튼 Intel에서는 안되고 AMD 전용이라고 한다.

Ganged mode - Dual Channel 의 전통적인 방법으로 메모리를 하나로 묶어서 대역폭을 늘림.
                       하지만 대역폭 증가에 따른 성능향상은 5% 정도에 그침
unganged mode - Dual Channel의 새로운 방법으로 멀티 프로세서 등에서 cpu 별로 메모리 구획을 별도 할당하는 방법
                           댓글에 따라서는 게임에서는 성능이 떨어질수도 있다고 함.

Ganged mode basically allows all the cores of the processor to see the whole lot of memory as one big block while unganged mode gives an equal but separate portion of memory to each core to play with. 
Unganged is better for multitasking as each core has its own dedicated memory portion. 
Ganged is better for games or other programs that will take a massive amount of memory while running as all cores can get easier access to the big memory file since the memory isn't portioned out. 
Its up to you really, i have it ganged and sacrifice a tiny bit of boot up speed after log on to make sure my games are running optimally.
 
[링크 :  http://www.tomshardware.com/forum/270353-31-memory-unganged-mode]  

Ganged versus unganged

Dual-channel was originally conceived as a way to maximize memory throughput by combining two 64-bit buses into a single 128-bit bus. This is retrospectively called the "ganged" mode. However, due to lackluster performance gains in consumer applications as discussed above, more modern implementations of dual-channel use the "unganged" mode by default, which maintains two 64-bit memory buses but allows independent access to each channel, in support of multithreading with multi-core processors.


[링크 :  http://en.wikipedia.org/wiki/Multi-channel_memory_architecture]  


'하드웨어' 카테고리의 다른 글

DVD+R Double Layer(DL) 8.5GB  (0) 2012.03.29
SLC / MLC / TLC  (0) 2012.03.04
Phenom2 X4 945 업그레이드  (0) 2012.02.27
Phenom2 945 용 ACPI 드라이버  (0) 2012.02.27
다산 네트웍스 VoIP 단말기 기본 계정  (0) 2012.02.08
Posted by 구차니
MLC SDD 8GB IDE x 1(원래 2개 사려다 1개로 줄음)
400W 뻥파워 포함 LP 케이스 x 1

8GB인줄 알고 질렀다가 4GB라서 멘붕 -_-



아무튼 조합의 경우를 보자면
cpu : 4200+ 4400+ 4850e
m/b : 740g / 780g

일단 홈시어터용으로 4400+ / 740g 로 놓고
리눅스 파일 서버 겸 openCL 용으로 4850e / 780g로 해야하나?
아니면 리눅스 개발용을 별도로 빼야 하나 이래저래 고민이네 -_-

[링크 : http://www.ecs.com.tw/.../Product_Detail.aspx?CategoryID=1&DetailID=943]

2012/03/02 - [개소리 왈왈] - 질러 말어?

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

sata 케이블 두께(awg와 emi)  (4) 2012.03.03
LG 노트북 복구 시스템의 비밀?  (0) 2012.03.02
질러 말어?  (2) 2012.03.02
고장난 파워는 어떻게 할까나~  (0) 2012.03.01
불안불안  (2) 2012.02.28
Posted by 구차니
SSD 8GB면 그래도 윈도우랑 리눅스는 자유롭게 설치할수는 있는데 흐음..
저걸 다 사려면 또 10만원은 깨지는구나 ㅠ.ㅠ

그나저나 노트북 두개는 어떻게 처분을 해야하나..
팔기에는 하자가 많은 녀석들인데... ㅠ.ㅠ

[링크 : http://blog.danawa.com/prod/?section_m=PC&prod_c=1274208] 케이스
[링크 : http://itempage3.auction.co.kr/DetailView.aspx?ItemNo=A602856012] SSD
Posted by 구차니
생각해보니 12V 짜리 120mm 팬이라면 이걸 빼내고 파워는 버리고 재활용 하면 되려나?!
아무튼 350W 짜리인데 쓸데도 없고, 원인불명으로 메인보드 전원은 들어와도 부팅이 안되니
CPU문제인줄 알았는데 분해해봐도 배부른데는 없고
다른 파워로 교체하니 되는거 봐서는 5V나 3.3V 짜리 전원 출력에 문제가 생긴듯 -_- 

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

으헝헝헝헝헝 질러버렸어 ㅠ.ㅠ  (0) 2012.03.02
질러 말어?  (2) 2012.03.02
불안불안  (2) 2012.02.28
어디까지가 그 컴퓨터일까?  (4) 2012.02.22
TC-1100 wacom 전자유도식 타블렛 펜 완전분해  (0) 2012.01.20
Posted by 구차니
개소리 왈왈2012. 3. 1. 20:00
티비를 안보니 티가 안나네~
아무튼.. 하루 쉬었고 내일을 출근을 해야 하는군.. 

'개소리 왈왈' 카테고리의 다른 글

4.19  (0) 2012.04.18
어려운 이야기는 왜 무조건 피하고 철학이라고 그럴까?  (0) 2012.03.31
피곤하다 ㅠㅠ  (0) 2012.02.29
서울버스요금 인상  (0) 2012.02.24
작은하마 이야기 / Ain't no one  (6) 2012.02.22
Posted by 구차니