'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 |
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 |
언제 또 버전이 이렇게 올랐냐...
기존에 공부하던건 잊고 새로운 glfw라는걸 써야 할 듯
[링크 : http://www.opengl-tutorial.org/kr/beginners-tutorials/tutorial-2-the-first-triangle/]
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 |
2760p에 우분투를 깔았는데 하루종일 냅둬도 syspend 모드로 가있어서
윈도우 처럼 하이버네이트 안되나 찾아보는 중. 적용을 해봐야겠네
(느낌인진 몰라도 suspend 해두면 자연방전이 윈도우 보다 적은 느낌?)
// 30*60=1800sec hiberate $ sudo vim /etc/systemd/sleep.conf [Sleep] // for test |
[링크 : https://askubuntu.com/questions/12383/how-to-go-automatically-from-suspend-into-hibernate]
+
해보니 뚜껑닫아도 절전모드 들어가버린다..
이건 별도로 설정을 해주어야 할 듯
+
2019.05.08
절전모드 혹은 하이버네이트 들어갔다나 나올 때
와콤 펜 타블렛 및 터치가 안되는 문제가 있어서 sleep.conf 지우고 완전히 종료했다 켜니 됨.
(재시작으로는 살아나지 못함)
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 |
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 |
일단은 실행되는걸 보니 shader도 정상적으로 되는 듯?
[링크 : https://news.ycombinator.com/item?id=14181897]
[링크 : https://old.reddit.com/.../how_can_i_get_opengl_33_with_glsl_33_support/...]
리눅스 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 |
BMS 칩셋 i2c 주소를 어떻게 접근하나 찾는중
i2cdetect를 통해서는 이상한것만 보이는데..
gmbus는 그래픽 카드쪽이라고 검색은 나오지만.. 확실한건 좀더 봐야 할 듯 하고
$ i2cdetect -l |
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 |
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 |
설정 - 장치 - 키보드 - 조종 - 창 전환
앱 전환이 동일 그룹으로 묶는 녀석인 듯
[링크 : https://askubuntu.com/questions/123977/how-to-ungroup-windows-on-unity-task-switcher]
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 |
기본으로 설치하니 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 |
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 |
gnome-tweaks를 설치해서 바로 설정된건지.. 아니면 깔아야 활성화 되는진 모르겠지만
터치패드 3 손가락 터치를 통해 휠 클릭을 흉내낼 수 있다.
(2760p 작은 터치패드에서 하려니 손가락 쥐나는 듯 ㅠㅠ)
[링크 : http://ubuntuhandbook.org/index.php/2018/07/touchpad-right-click-not-working-in-ubuntu-18-04/]
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 |
인형매춘? (0) | 2021.04.15 |
---|---|
관음충의 발생학? (4) | 2021.03.24 |
소녀들에게 완벽이 아닌 용기를 가르치세요 ted 강연 (2) | 2019.04.22 |
낙태약과 약사협회 (0) | 2019.04.15 |
의대 한동안 산부인과가 1등일 듯 (2) | 2019.04.12 |
말은 거창하지만.. 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 |