'잡동사니'에 해당되는 글 13668건

  1. 2019.05.05 intel hd 3000 GLSL
  2. 2019.05.04 linux smbus?
  3. 2019.05.04 우분투 창 전환(그룹) 해제하기
  4. 2019.05.04 ubuntu에 vscode 설치하기
  5. 2019.05.04 우분투 터치패드 휠 클릭 흉내내기
  6. 2019.05.03 뷔페니즘 비판기사 2
  7. 2019.05.03 dc to ac
  8. 2019.05.03 2760p 에 ubuntu 설치
  9. 2019.05.02 i5-2500 vs i5-7600
  10. 2019.05.02 서버 (리던던시) 파워
Linux/Ubuntu2019. 5. 5. 10:57

python 으로 먼가 하려는데 안되서 멘붕

$ python pygl.py 
No handlers could be found for logger "OpenGL.arrays.numpymodule"
Traceback (most recent call last):
  File "pygl.py", line 92, in 
    main()
  File "pygl.py", line 56, in main
    shader = OpenGL.GL.shaders.compileProgram(OpenGL.GL.shaders.compileShader(vertex_shader, GL_VERTEX_SHADER),
  File "/home/minimonk/.local/lib/python2.7/site-packages/OpenGL/GL/shaders.py", line 226, in compileShader
    shaderType,
RuntimeError: ('Shader compile failure (0): 0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n', ['\n    #version 330\n    in vec3 position;\n    in vec3 color;\n\n    out vec3 newColor;\n    void main()\n    {\n        gl_Position = vec4(position, 1.0f);\n        newColor = color;\n    }\n    '], GL_VERTEX_SHADER)
minimonk@mini2760:~/src/pygl$ MESA_GLSL_VERSION_OVERRIDE=330 python pygl.py
No handlers could be found for logger "OpenGL.arrays.numpymodule"
Traceback (most recent call last):
  File "pygl.py", line 92, in 
    main()
  File "pygl.py", line 56, in main
    shader = OpenGL.GL.shaders.compileProgram(OpenGL.GL.shaders.compileShader(vertex_shader, GL_VERTEX_SHADER),
  File "/home/minimonk/.local/lib/python2.7/site-packages/OpenGL/GL/shaders.py", line 226, in compileShader
    shaderType,
RuntimeError: ('Shader compile failure (0): 0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES\n', ['\n    #version 330\n    in vec3 position;\n    in vec3 color;\n\n    out vec3 newColor;\n    void main()\n    {\n        gl_Position = vec4(position, 1.0f);\n        newColor = color;\n    }\n    '], GL_VERTEX_SHADER)

 

암튼 찾다보면 win10에서 GL3.0 지원 안한다고 하는 말도 있고 하는데

리눅스에서는 아래처럼 환경변수 정해주면 된다고 하는데..  오오 진짜루 된다!! 만세!

export MESA_GLSL_VERSION_OVERRIDE=330
export MESA_GL_VERSION_OVERRIDE=3.3
$ python pygl.py 
No handlers could be found for logger "OpenGL.arrays.numpymodule"

 

일단은 실행되는걸 보니 shader도 정상적으로 되는 듯?

 

[링크 : https://news.ycombinator.com/item?id=14181897]

[링크 : https://old.reddit.com/.../how_can_i_get_opengl_33_with_glsl_33_support/...]

'Linux > Ubuntu' 카테고리의 다른 글

리눅스 gdm 키맵 변경  (0) 2019.05.10
ubuntu 18.04 hibernate 적용하기  (0) 2019.05.06
linux smbus?  (0) 2019.05.04
우분투 창 전환(그룹) 해제하기  (0) 2019.05.04
우분투 터치패드 휠 클릭 흉내내기  (0) 2019.05.04
Posted by 구차니
Linux/Ubuntu2019. 5. 4. 10:03

BMS 칩셋 i2c 주소를 어떻게 접근하나 찾는중

i2cdetect를 통해서는 이상한것만 보이는데..

gmbus는 그래픽 카드쪽이라고 검색은 나오지만.. 확실한건 좀더 봐야 할 듯 하고

 

$ i2cdetect -l
i2c-3 unknown    i915 gmbus dpc                   N/A
i2c-1 unknown    i915 gmbus vga                   N/A
i2c-6 unknown    DPDDC-B                          N/A
i2c-4 unknown    i915 gmbus dpb                   N/A
i2c-2 unknown    i915 gmbus panel                 N/A
i2c-0 unknown    i915 gmbus ssc                   N/A
i2c-5 unknown    i915 gmbus dpd                   N/A

 

acpi 명령을 통해 보면 배터리 상태나 온도등이 그냥 나오네.. 버스가 다른가?

$ acpi -V
Battery 0: Charging, 98%, 00:08:28 until charged
Battery 0: design capacity 3692 mAh, last full capacity 3692 mAh = 100%
Adapter 0: on-line
Thermal 0: ok, 28.0 degrees C
Thermal 0: trip point 0 switches to mode critical at temperature 128.0 degrees C
Thermal 0: trip point 1 switches to mode passive at temperature 55.0 degrees C
Thermal 1: ok, 0.0 degrees C
Thermal 1: trip point 0 switches to mode critical at temperature 128.0 degrees C
Thermal 1: trip point 1 switches to mode passive at temperature 105.0 degrees C
Thermal 2: ok, 37.0 degrees C
Thermal 2: trip point 0 switches to mode critical at temperature 128.0 degrees C
Thermal 3: ok, 0.0 degrees C
Thermal 3: trip point 0 switches to mode critical at temperature 128.0 degrees C
Thermal 4: ok, 43.0 degrees C
Thermal 4: trip point 0 switches to mode critical at temperature 128.0 degrees C
Thermal 4: trip point 1 switches to mode hot at temperature 99.0 degrees C
Thermal 5: ok, 36.0 degrees C
Thermal 5: trip point 0 switches to mode critical at temperature 128.0 degrees C
Cooling 0: Processor 0 of 10
Cooling 1: intel_powerclamp no state information available
Cooling 2: x86_pkg_temp no state information available
Cooling 3: Processor 0 of 10
Cooling 4: Processor 0 of 10
Cooling 5: LCD 14 of 20
Cooling 6: Processor 0 of 10

 

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu 18.04 hibernate 적용하기  (0) 2019.05.06
intel hd 3000 GLSL  (0) 2019.05.05
우분투 창 전환(그룹) 해제하기  (0) 2019.05.04
우분투 터치패드 휠 클릭 흉내내기  (0) 2019.05.04
ubuntu 18.04 kvm 설치하기  (0) 2019.04.30
Posted by 구차니
Linux/Ubuntu2019. 5. 4. 01:25

설정 - 장치 - 키보드 - 조종 - 창 전환

앱 전환이 동일 그룹으로 묶는 녀석인 듯

 

 

 

[링크 : https://askubuntu.com/questions/123977/how-to-ungroup-windows-on-unity-task-switcher]

'Linux > Ubuntu' 카테고리의 다른 글

intel hd 3000 GLSL  (0) 2019.05.05
linux smbus?  (0) 2019.05.04
우분투 터치패드 휠 클릭 흉내내기  (0) 2019.05.04
ubuntu 18.04 kvm 설치하기  (0) 2019.04.30
ubuntu test page 위치  (0) 2018.12.19
Posted by 구차니
Microsoft/vscode2019. 5. 4. 00:53

기본으로 설치하니 curl이 없어서 일단 깔고 해줘야 하는 듯

wget 으로 하면 파일로 저장해서 그런가 정상적으로 되지 않는다.

sudo apt-get install curl
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code

[링크 : https://code.visualstudio.com/docs/setup/linux]

[링크 : https://webnautes.tistory.com/1197]

'Microsoft > vscode' 카테고리의 다른 글

vscode에서 *로 검색하기 (대신 정규표현식)  (0) 2019.11.09
vscode node.js 디버깅  (0) 2019.08.08
vscode live share?  (0) 2019.01.03
vscode plugin - ssh fs  (0) 2018.11.27
vscode 이전/다음 단축키  (0) 2018.11.13
Posted by 구차니
Linux/Ubuntu2019. 5. 4. 00:31

gnome-tweaks를 설치해서 바로 설정된건지.. 아니면 깔아야 활성화 되는진 모르겠지만

터치패드 3 손가락 터치를 통해 휠 클릭을 흉내낼 수 있다.

(2760p 작은 터치패드에서 하려니 손가락 쥐나는 듯 ㅠㅠ)

 

[링크 : http://ubuntuhandbook.org/index.php/2018/07/touchpad-right-click-not-working-in-ubuntu-18-04/]

'Linux > Ubuntu' 카테고리의 다른 글

linux smbus?  (0) 2019.05.04
우분투 창 전환(그룹) 해제하기  (0) 2019.05.04
ubuntu 18.04 kvm 설치하기  (0) 2019.04.30
ubuntu test page 위치  (0) 2018.12.19
epson 프린터 유틸리티 관련  (0) 2018.12.18
Posted by 구차니

뜬금없이(?) 웬일로 남자편 들어주는 기사라니

 

[링크 : https://news.v.daum.net/v/20190503120151792]

[링크 : https://news.v.daum.net/v/20190503060028422]

Posted by 구차니

말은 거창하지만.. UPS 원리 찾는 중

MOSFET을 통해서 승압하는건가?

 

[링크 : https://www.electronicshub.org/12v-dc-220v-ac-converter-circuit/]

'이론 관련 > 전기 전자' 카테고리의 다른 글

래칭 릴레이(latching relay)  (0) 2019.12.22
역률 개선  (0) 2019.05.09
cic pdm  (0) 2019.04.04
DSD/PDM 그리고 초음파  (0) 2019.04.01
PDM과 DSD  (0) 2019.03.30
Posted by 구차니

노트북에 우분투 깔면 잘 되려나?

[링크 : http://www.linlap.com/hp_elitebook_2760p]

 

 

+

2019.05.03

 

UEFI 로 만들은 ubuntu USB가 안되는걸 제외하면 별 문제없이 설치된다.

어짜피 지문스캐너는 안쓰니 상관었고..

 

아무튼

1. gnome-tweaks를 설치해서 터치패드 3손가락 터치로 휠클릭 흉내내기로 사용

2. 기울기로 자동 화면 전환이 좀 이상함

3. 화면 회전 버튼은 모든 방향 한번씩 다 돌리는 듯

4. 여전히 가끔 터치나 펜이 안되는 문제가 있는데 하드웨어 문제일수도?

 

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

diskless 시스템 구축  (0) 2019.05.08
ACPI & smbus  (0) 2019.05.07
i5-2500 vs i5-7600  (0) 2019.05.02
intel HD3000 win10에서 openGL 미지원?  (0) 2019.04.30
L3 캐시 용량에 따른 성능 변화?  (0) 2019.04.30
Posted by 구차니

집에 있는게 2500이다 보니 이게 항상 기준이 되는데

회사에서 있는 녀석이 7600 성능비교를 보니.. 단일 코어 기준 140% 정도..

 

i5-9500은 150%에 멀티코어 사용시(6코어임) 200% 정도 성능

의외로 성능향상이 너무 더딘게 아닌가 싶을 정도..

 

[링크 :http://hwbench.com/cpus/intel-core-i5-7600-vs-intel-core-i5-2500]

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

ACPI & smbus  (0) 2019.05.07
2760p 에 ubuntu 설치  (0) 2019.05.03
intel HD3000 win10에서 openGL 미지원?  (0) 2019.04.30
L3 캐시 용량에 따른 성능 변화?  (0) 2019.04.30
NEXT-812FCU3  (1) 2019.04.26
Posted by 구차니

서버 벤더에서 자사용으로 만들어서 쓰니 특정 규격이라고 할 순 없을 듯 하지만

Flex ATX 라는 규격이 그나마 비슷해 보이긴 하는 듯.

[링크 : http://www.plinkusa.net/new-buyPS.htm]

 

동일 모델은 아니지만, 서버 전원을 뽑아보니.. 별다른건 없고 PCI-Ex 슬롯 같은걸로 몇개 핀이 없길래 의아해 했는데

12V 단일 전압을 공급함으로서 전류를 높게 가지지 않아도 되니

PCI-Ex 슬롯으로 여러개 선으로 전류를 병렬로 전송하는 것으로 보인다.

The R320 power supply subsystem consists of one non-redundant or up to two hot-plug AC-DC
power supplies. The power supply provides +3.3V/5V/12V and +12Vaux for non-redundant design
and provides 12V and 12Vaux for redundant design. There are several voltage regulators in the
system to supply different voltage levels needed by different logic devices. The redundant power
supplies are managed through a PMBus interface.

[링크 : https://cdn.cnetcontent.com/2b/d0/2bd0225a-38b9-4b41-9a43-85ea38a463a5.pdf]

 

 

75W 를 PCI-Express를 통해 공급이 가능하다는데

[링크 : https://www.geeks3d.com/20101108/tips-maximum-power-consumption-of-graphics-card-connectors/]

 

12V * 5 + 3.3 * 4를 적절하게(?) 분배해주면 대충 선 하나당 1A 정도씩 보내고 있다고 보면 되려나?

[링크 : https://en.wikipedia.org/wiki/PCI_Express]

 

 

750W 파워인데 12V로 보낸다면 12V * 62.5A 니까... 너무 높은데?

끽해봤자 20개 핀 + 넓은 면적인데, 데이터 주고 받는것도 있을테니 전부 쓰진 않을테고..

어떻게 보내는걸까?

'하드웨어 > Server Case & board' 카테고리의 다른 글

dell r510 dvd to hdd  (0) 2019.06.06
option rom  (0) 2019.06.03
idrac 재시작 하기  (0) 2019.03.12
R730 pci-express riser & back plane  (2) 2019.02.28
iDRAC 에러 메시지 제거  (0) 2019.02.26
Posted by 구차니