IT이야기2019. 8. 13. 11:55

아 된장. NVidia 이놈들....

완전 이상해졌네...

FFMPEG자동화 한다고 NVidia HW좀 이용하볼라니까 뭔 드라이버 버전이 낮다고 해서 시작한 뻘짓이...

 

430.40이 최신버전인데 최신버전 설치하다가 X Server가 완전 맛갔다. 예전에도 최신버전깔으려다가 겨우겨우 이 사이트에서 하라는 대로 하니까 돌아왔는데... 이번엔 확실히 한다고 390 싹 다지우고 깔았더니 완전....

--------------------

https://www.mvps.net/docs/install-nvidia-drivers-ubuntu-18-04-lts-bionic-beaver-linux/

 

How to install NVIDIA drivers on Ubuntu 18.04 LTS Bionic Beaver Linux

This tutorial will help users that want to install drivers for their NVIDIA GPU...

www.mvps.net

sudo apt-get purge nvidia*
sudo add-apt-repository ppa:graphics-drivers
sudo apt-get update
sudo apt-get install nvidia-390
sudo reboot

--------------------

최신버전 설치하려고 홈페이지까지 들어가서 현재 그래픽카드랑 호환되는지도 체크해보고, 최신것으로 받았는데. Installer같은것을 받게해주는데,

111258448 Aug 12 19:00 NVIDIA-Linux-x86_64-430.40.run

설치해도 뭐 안되고, dmesg에 딱히 error도 없고.

--------------------

http://us.download.nvidia.com/XFree86/Linux-x86_64/430.40/README/installdriver.html

NVidia그래도 많이 좋아졌다는데도 아직도 문서도 그지같고. 불친절하기 그지없다.

Posted by 쁘레드
IT이야기2019. 4. 10. 09:31

Ubuntu 우분투에서도 젤 좋다는 의견이 많음. 그런데 개발자가 마인드가 유리마인드임. 자신을 개발자가 아닌데 기본적인게 안되서 공부해서 개발자가 되었다고 소개하고 있음. 그런데 안티들에게 일일이 대응하면서 폭주하고 말았음.

 

우분투에서...

Settings->Region & Language

Input Sources = Korean (101/104 Key compatible)

 

sudo add-apt-repository ppa:hodong/nimf  ;// 여기서 멈쳐져 있음

sudo apt-get update

sudo apt install nimf nimf-libhangul

im-config -n nimf

 

add repository가 안됨. T.T 그래서 opensource 오픈소스를 받아서 compile해서 설치

https://gitlab.com/nimf-i18n/nimf.git  // c project

 

nimf-i18n / nimf

Nimf is an input method framework

gitlab.com

$ git clone https://gitlab.com/nimf-i18n/nimf.git

sudo apt install devscripts build-essential debhelper

 

dpkg-checkbuilddeps  ;// dependencies check

dpkg-checkbuilddepsdpkg-checkbuilddeps: error: Unmet build dependencies: libgtk2.0-dev libqt4-dev qtbase5-dev qtbase5-private-dev libappindicator3-dev librsvg2-bin libhangul-dev libanthy-dev anthy librime-dev libxklavier-dev libm17n-dev

 

sudo apt install [위 리스트]

 

$ debuild
$ cd ..

$ sudo dpkg -i nimf_2019.03.31_amd64.deb \
libnimf1_2019.03.31_amd64.deb nimf-anthy_2019.03.31_amd64.deb \
nimf-libhangul_2019.03.31_amd64.deb nimf-m17n_2019.03.31_amd64.deb \
nimf-rime_2019.03.31_amd64.deb

-------------------

https://launchpad.net/~hodong/+archive/ubuntu/nimf 

https://gitlab.com/hodong/

https://hodong.gitlab.io/ ; 여기에 최근 글도 있네요

https://cogniti-works.blogspot.com/2016/07/manjaro-xfce-nimf.html

불러오는 중입니다...

https://www.youtube.com/watch?v=6Q6xkidRDmI

 

http://blog.daum.net/bagjunggyu/321

 

우분투 18.04.1 한글 입력 설정 및 플래시 플러그인 설치

우분투 18.04가 나온지 한참 만에 18.04.1로 포인트 릴리스를 했습니다. 그래서 이번에 우분투 18.04.1을 설치해봤습니다. 다운로드 : https://www.ubuntu.com/download/d

blog.daum.net

4) 나눔 폰트를 좋아하시는 분들은 따로 설치하시면 됩니다.

sudo apt install fonts-nanum fonts-nanum-coding

Posted by 쁘레드
IT이야기2019. 4. 2. 02:33

윈도우 머신이 꼭 필요한 이유중에 하나가(Mac은 비싸서 안되고) Lightroom이고 간혹 비디오 편집을 하려고 하면 Sony Vegas가 참 간단하고 좋은데, Lightroom 대체할 만한것은 아직 없다고 보여지고요. 비디오 편집은 요구사항이 많지 않아서 어디 있을것 같아서 찾아봤는데...

리눅스에서 비디오 편집하는것이 아주 나쁘지는 않네요. kdenlive라는 툴이 KDE env인데, 괜찮은것 같네요. 버전도 높고요. GNome도 곧 V1.0으로 발표하는듯. 그런데 NVidia 카드가 있어서 GPU Agpu acceleration(하드웨어 가속기)를 enable하려고 하니 역시 리눅스는 복잡해...

 

FFMpeg을 다시 컴파일하면 되는데, NVidia 얘네들은 리눅스 지원이 진짜 지랄같애서(요즘 많이 좋아졌다는데) 하다가 욕나오는데... shotcut이라는 얘가 이미 다 포함시켜 놨네요.

-----------

https://shotcut.com/

 

Shotcut - Home

Wide Format Support Supports hundreds of audio and video formats and codecs thanks to FFmpeg. No import required which means native editing, plus multi-format timelines, resolutions and frame-rates within a project. Frame accurate seeking supported for man

shotcut.com

 

https://www.youtube.com/watch?v=X14GvmBpq08

*H.264 Dominant
properties=x264-medium f=mp4 vcodec=libx264 acodec=aac g=120 crf=%quality ab=%audiobitrate+'k'
properties=x264-medium f=mp4 vcodec=nvenc_h264 acodec=aac g=120 crf=%quality ab=%audiobitrate+'k'

*NVENC_H264
f=mp4 vcodec=nvenc acodec=aac g=120 global_quality=21 ab=385k vq=21 r=60 preset=slow bf=2

Posted by 쁘레드
IT이야기2019. 3. 20. 15:04

ㅋㅋㅋㅋ clien.net 눈팅만하다가 새소식 좀 전할까 했더니

이건 뭥미... 오늘 열심히 댓글달았는데 30개개면 되나 했더니 5000개? 안되겠다...


Posted by 쁘레드
IT이야기2019. 3. 16. 07:25

리눅스 커널 commit을 분석해서 발표하는 report. 2018년것도 곧 나올듯. PDF로 download가능.

기계적인 분석이라 quality까지 알수는 없지만 유명한 사람들, 회사들 다 나오는 리눅스 커널 개발 리포트.

https://www.linuxfoundation.org/2017-linux-kernel-report-landing-page/



Posted by 쁘레드
IT이야기2019. 3. 7. 03:33

Debugging Linux Kernel with Visual Studio?? 예전에 이런 질문/글 올리면 동서를 막논하고 미친놈 소리를 들었지요. 참 기본이 없다, 운전으로 말하면 김여사구만 취급당했는데... 세월이 흘러 MS(마이크로소프트, Microsoft)가 미친건지 제정신으로 돌아온건지 세월이 많이 바뀌었네요.

Visual Sutio로 Linux kernel 개발을 돕는 plugin/extension도 파는 회사가 있고요

  • http://sysprogs.com/VisualKernel/
  • https://sysprogs.com/tutorials/creating-a-basic-linux-kernel-module-with-visual-studio/

Tutorials > VisualKernel > Kernel Modification Tutorials > Building and modifying Linux Kernel with Visual Studio

Visual Studio Code는 기존의 Visual Studio와 이름만 공유하고 전혀 다른 open source tool입니다. 기존 VS는 C/C++로 개발되었다고 알려져 있고 주로 C/C++개발자용이었는데, VS Code는 완전 자유도 100%인 멀티 platform 개발툴이며 에디터 editor 입니다. 오픈 소스라 코드도 공개되어 있는데 열어보면 기절. 세상이 많이 변했구나 이제 은퇴할때가 되었나 생각하게 하는...

VS Code를 이용해서 UML diagram을 Linux에서 그리고 version control하는 방법을 팀 사람들에게 보여줬더니 다들 기절.

UML diagram 공유하기 in Linux (or Windows or Mac)

  1. Visual Studio Code (open source tools for multi platforms)
    1. https://code.visualstudio.com/download
    2. https://github.com/Microsoft/vscode
  2. PlantUML plugin
    1. http://plantuml.com/
    2. http://plantuml.com/sequence-diagram
  3. GraphViz
    1. https://graphviz.gitlab.io/download/

PlantUML은 plugin 으로 설치하니 확장자을 *.plantuml로 하는거 이외에는 할게 없고, GraphViz는 Ubuntu에서 설치하면 /usr/bin/dot 으로 copy되서 할일없음. 

sudo apt install graphviz

Windows에서는 GraphViz설치하고 환경변수를 하나 만들어줘야함.

GRAPHVIZ_DOT=c:\graphviz\bin\


  1. TODO: WebSequenceDiagram문법과 같은건가?
  2. TODO: Visual Studio Code에서 리눅스 커널/모듈 개발 어떻게 하는지 다음에 정리


Posted by 쁘레드
IT이야기2018. 9. 7. 06:51

델 노트북에서 가만이 있는데도 CPU가 20-30%를 왔다갔다해서 열어보니, Waves MaxxAudio Service Application 이 뭘 계속 먹고있음. 사운드 드라이버 같은데 sound play도 안하고 MUTE시켜보고 헤드폰을 뺏다꼈다도 안되고. Zombie Process 같은 현상. 그런데 소리는 잘 남.

(무슨버그일까 생각해보니... 이것들이 비트코인 체굴중인가? @.@)

아마 restart하면 정상으로 돌아올듯. Logout은 도움이 안됨.

한가지 똘똘한 방법은, Task Manager를 Admin 권한으로 실행. 그리고 Kill. 그러면 system에서 필요한 task가 다시 자동적으로 시작하는데 정상적으로 돌아옴.

--------------

https://www.dell.com/community/Laptops-General-Read-Only/XPS-13-9360-quot-Waves-MaxxAudio-Service-Application-quot/td-p/5103190

Posted by 쁘레드
IT이야기2018. 8. 30. 01:51

된장. 외장하드는 진짜 조심해서 관리해야지 한번 맛이가면...

맛가기전에 진짜 조심해서 사용해야함. 끝낼때 항상 Safely remove.... 꼭 사용.

  1. Windows Explorer에서 드라이버로 인식하는지 확인
  2. Device Manager에서 인식하는지 확인
  3. Disk Manager에서 인식하는지 확인

이 정도 된다면 아주 나쁜 상태는 아님.

그럼,

  1. Windows Explorer에서 Disk Scan 실행할수 있는지 해봄
  2. Data가 중요한게 없으면 그냥 다시 Format하면 됨. T.T
  3. Device Driver를 uninstall후 다시 설치하고 update해보기
  4. CMD line을 admin으로 실행시켜서 chkdsk /f D: 로 실행해 보기

----------

아래와 같이 복구가됐지만 파일과 디렉토리는 안보임. 그래도 파일 리커버리 프로그램을 돌리면 됨.

T.T

File Scavenger

Recuva

등 많이 있음. 파일 많이 복구하려면 돈 내라고 하기도하고...

----------

C:\WINDOWS\system32>d:

The disk structure is corrupted and unreadable.


C:\WINDOWS\system32>chkdsk /f D:

The type of the file system is NTFS.

Volume label is Aegis DT.


Stage 1: Examining basic file system structure ...

Deleted corrupt attribute list entry

with type code 128 in file 0.

Deleted corrupt attribute list entry

with type code 128 in file 0.

Deleting corrupt attribute record (0x80, "")

from file record segment 0x0.

Deleting corrupt attribute record (0x80, "")

from file record segment 0xF.

  16 file records processed.

File verification completed.

  0 large file records processed.

  0 bad file records processed.


Stage 2: Examining file name linkage ...

Deleting index entry $RECYCLE.BIN in index $I30 of file 5.

Deleting index entry cygwin.7z in index $I30 of file 5.

Deleting index entry cygwin_bin.7z in index $I30 of file 5.

Deleting index entry Downloads in index $I30 of file 5.

Deleting index entry E360SBC in index $I30 of file 5.

Deleting index entry Fred_Backup in index $I30 of file 5.

Deleting index entry HT70_backup in index $I30 of file 5.

Deleting index entry PadlockDT_FIPS_Manual.pdf in index $I30 of file 5.

Deleting index entry pb980 in index $I30 of file 5.

Deleting index entry SCM_2008 in index $I30 of file 5.

Deleting index entry SCM_2016 in index $I30 of file 5.

Deleting index entry SCM_2016_0117 in index $I30 of file 5.

Deleting index entry System Volume Information in index $I30 of file 5.

Deleting index entry Ubuntu17.4.vdi in index $I30 of file 5.

Deleting index entry WinCE6 Images in index $I30 of file 5.

Deleting index entry WinCE7_workspace_backup in index $I30 of file 5.

Deleting index entry [USB overcurrent] in index $I30 of file 5.

Deleting index entry $Deleted in index $I30 of file 11.

Deleting index entry $ObjId in index $I30 of file 11.

  22 index entries processed.

Deleting index entry $Quota in index $I30 of file 11.

Deleting index entry $Reparse in index $I30 of file 11.

Deleting index entry $RmMetadata in index $I30 of file 11.

Index verification completed.

CHKDSK is scanning unindexed files for reconnect to their original directory.

  1 unindexed files scanned.

  0 unindexed files recovered to original directory.

CHKDSK is recovering remaining unindexed files.

  1 unindexed files recovered to lost and found.

    Lost and found is located at \found.000


Creating object id file.

Inserting an index entry into index $I30 of file 11.

Creating index $O for file 18.

Inserting an index entry into index $O of file 18.

Creating reparse point file.

Inserting an index entry into index $I30 of file 11.

Creating index $R for file 19.

Creating quota file.

Inserting an index entry into index $I30 of file 11.

Creating index $O for file 20.

Creating index $Q for file 20.

Inserting default quota record into index $Q in file 20.


Stage 3: Examining security descriptors ...

Security descriptor verification completed.

Inserting data attribute into file 0.

Inserting data attribute into file 15.

  5 data files processed.

Correcting errors in the Master File Table (MFT) mirror.

Correcting errors in the master file table's (MFT) DATA attribute.

Correcting errors in the master file table's (MFT) BITMAP attribute.

Correcting errors in the Volume Bitmap.


Windows has made corrections to the file system.

No further action is required.


   3815317 MB total disk space.

         8 KB in 9 indexes.

         0 KB in bad sectors.

    185288 KB in use by the system.

     65536 KB occupied by the log file.

   3815137 MB available on disk.


      4096 bytes in each allocation unit.

 976721407 total allocation units on disk.

 976675083 allocation units available on disk.

----------

Posted by 쁘레드
IT이야기2018. 8. 29. 04:23

회사에 들어가면 마이크로소프트 MS Office랑 친해져야 하는 운명을 갖고 태어나지요.

EXCEL쓰면서 열심히 CTRL+S로 저장을 했는데도 컴퓨터를 그냥 끄게되서 그 다음날 열어보니 auto save한 파일을 불러오겠냐고 묻기에 필요없다고 다 지우고 찬찬히 보니 어제 작업한게 저장이 안됐네. 다행히 지운 자동저장 파일이 recycle bin에 고스란이 있기는 있는데, 이걸 복구하니 어디로 가는건지 알수가 없을때...

둘중한곳에 있다는 점... 휴 몇시간 시간 save했네.

C:\Users\fred.oh\AppData\Local\Microsoft\Office\UnsavedFiles

C:\Users\fred.oh\AppData\Roaming\Microsoft\Excel\

Posted by 쁘레드
IT이야기2018. 7. 31. 02:30

세상에는 믿어지니 않는 회사들이 많지요. 만드는 물건과 파는 가격, 시가총액 모두가 놀랍기만 한, 개발자들을 위한 툴을 만들고 시장에서 몇년째 계속 크게 성장하고 있는 atlassian.

대표적인 제품으로 지라 JIRA, 컨풀러언스 Confluence 정도가 있네요. IT계약하는 사람 이야기를 들으니, 회사가 SW번들고 잘 팔고 매년 라이센스를 갱신해야하서 돈을 긁어모으고 있다고 하네요. 회사가 한번 쓰면 벗어날수가 없지요.

한국이 대기업 갑질문화가 아니라, 창업가 정신만 강조했더라도 진정한 IT강국이 되었을텐데하는 아쉬움이 많이 듭니다.

------------------

경쟁자로는 MS정도가 비슷한 시장에 있는데, 마이크로소프트는 하드웨어의 명가이고 항상 삽질해주니 덩치만 큰 형님정도 이고 다른 기업은 이 시장에 딱히 경쟁자가 없네요. open source tool과 경쟁은 할수도 있는데, 자리잡힌 회사일수록 돈주고 서비스도 받고 하려고 하니 독점처럼 되어있네요.

Service Now 서비스나우 = IT Service, Workday 워크데이 = HR 등이 여러회사에서 하나이상 솔루션으로 같이 쓰는 업체인듯.


Posted by 쁘레드