대충 문서를 보니

 

tftp를 통해 부팅하도록 하고

dhcp서버로 하여금 tftp에 있는 ipxe를 통해 부팅하도록 설정하게 되어있다.

[링크 : https://subini.tistory.com/34]

 

옛날 글인데 이건 USB 부팅등을 통해 ipxe를 부팅하여 iscsi로 붙이는 방식인 듯

[링크 : https://blog.pasion.kr/iscsi-diskless-system-preview/]

 

+

[링크 : https://ipxe.org/]

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

CPU 가 문제인가..  (0) 2019.05.25
다이소 5천원 모니터 받침대  (10) 2019.05.14
ACPI & smbus  (0) 2019.05.07
2760p 에 ubuntu 설치  (0) 2019.05.03
i5-2500 vs i5-7600  (0) 2019.05.02
Posted by 구차니

영 넣을 카테고리가 없어서 대충..

ACPI를 통해 OS에서 배터리 상태나 팬 속도, CPU 온도등을 받게 되는데

이 ACPI는 별도의 버스를 가지는게 아닌 SMBUS를 사용하는 것으로 보인다.

배터리의 경우 SBS 스펙을 통해서 원하는 데이터를 주고 받는것 같은데..

자세한 내용은 좀 더 스펙 문서를 봐야하려나?

[링크 : https://uefi.org/sites/default/files/resources/ACPI_5_1_Errata_B.PDF]

[링크 : http://sbs-forum.org/marcom/sbexpo_feb02/01%20SBD%20Access%20under%20ACPI.PDF]

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

다이소 5천원 모니터 받침대  (10) 2019.05.14
diskless 시스템 구축  (0) 2019.05.08
2760p 에 ubuntu 설치  (0) 2019.05.03
i5-2500 vs i5-7600  (0) 2019.05.02
intel HD3000 win10에서 openGL 미지원?  (0) 2019.04.30
Posted by 구차니
Programming/openGL2019. 5. 7. 08:17

gl3.0 버전 이후 부터 추가된 내용

기존에 버전에서는 Vertex Array Object가 아니라

Vertex Array나 List로 무언가 등록해서 쓰는게 있던거 같은데 기억이 가물가물 하네

 

[링크 : https://www.khronos.org/opengl/wiki/Vertex_Specification]

 

 

'Programming > openGL' 카테고리의 다른 글

gluPerspective()  (0) 2019.05.28
glfw3 in ubuntu 19.04  (0) 2019.05.10
glfw - gl framework  (0) 2019.05.07
openGL 3.0 tutorial  (0) 2019.05.07
openGL Stereoscopic  (0) 2018.04.25
Posted by 구차니
Programming/openGL2019. 5. 7. 08:14

openGL 3.0 하는데 glfw 라는 새로운 라이브러리가 보여서 검색.

glut나 glu 등을 대체하는 녀석인가?

 

[링크 : https://www.glfw.org]

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

'Programming > openGL' 카테고리의 다른 글

glfw3 in ubuntu 19.04  (0) 2019.05.10
openGL vao(Vertex Array Object)  (0) 2019.05.07
openGL 3.0 tutorial  (0) 2019.05.07
openGL Stereoscopic  (0) 2018.04.25
openGL cardboard lens distortion  (0) 2018.04.25
Posted by 구차니
Programming/openGL2019. 5. 7. 08:07

언제 또 버전이 이렇게 올랐냐...

기존에 공부하던건 잊고 새로운 glfw라는걸 써야 할 듯

 

[링크 : http://www.opengl-tutorial.org/kr/beginners-tutorials/tutorial-2-the-first-triangle/]

'Programming > openGL' 카테고리의 다른 글

openGL vao(Vertex Array Object)  (0) 2019.05.07
glfw - gl framework  (0) 2019.05.07
openGL Stereoscopic  (0) 2018.04.25
openGL cardboard lens distortion  (0) 2018.04.25
glxgears 소스  (0) 2016.09.07
Posted by 구차니
Linux/Ubuntu2019. 5. 6. 22:19

2760p에 우분투를 깔았는데 하루종일 냅둬도 syspend 모드로 가있어서

윈도우 처럼 하이버네이트 안되나 찾아보는 중. 적용을 해봐야겠네

(느낌인진 몰라도 suspend 해두면 자연방전이 윈도우 보다 적은 느낌?)

 

// 30*60=1800sec hiberate

$ sudo vim /etc/systemd/sleep.conf

[Sleep]
HibernateDelaySec=1800

// for test
$ sudo systemctl suspend-then-hibernate

[링크 : https://askubuntu.com/questions/12383/how-to-go-automatically-from-suspend-into-hibernate]

 

+

해보니 뚜껑닫아도 절전모드 들어가버린다..

이건 별도로 설정을 해주어야 할 듯

 

+

2019.05.08

절전모드 혹은 하이버네이트 들어갔다나 나올 때

와콤 펜 타블렛 및 터치가 안되는 문제가 있어서 sleep.conf 지우고 완전히 종료했다 켜니 됨.

(재시작으로는 살아나지 못함)

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

ubuntu sftp with nautilius  (0) 2019.06.03
리눅스 gdm 키맵 변경  (0) 2019.05.10
intel hd 3000 GLSL  (0) 2019.05.05
linux smbus?  (0) 2019.05.04
우분투 창 전환(그룹) 해제하기  (0) 2019.05.04
Posted by 구차니
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 구차니