개소리 왈왈/컴퓨터2019. 4. 30. 22:29

헐.. -_-???!

그래도 게임은 되는것 봐서는 openGL만 끊은거 같은데

자사의 DirectX를 위한걸까.. 아니면 다른 회사(?)의 기술지원을 하기 싫어서 완전 중단한걸까?

 

일단은 win7용이나 8.1용 드라이버를 깔아봐야 할 듯

 

+

2019.05.01

안되는건 아닌데 3.1 까지만 지원하다 보니 python 에서 안되는 건가?

왜 다른 포럼이나 MS Answer 사이트에서 지원이 안된다고 그럴까?

 

[링크 : https://support.esri.com/en/technical-article/000011375]

[링크 : http://realtech-vr.com/admin/glview]

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

2760p 에 ubuntu 설치  (0) 2019.05.03
i5-2500 vs i5-7600  (0) 2019.05.02
L3 캐시 용량에 따른 성능 변화?  (0) 2019.04.30
NEXT-812FCU3  (1) 2019.04.26
z170 extreme4 1.0 부팅 오래 걸리는 문제  (0) 2019.04.26
Posted by 구차니

해보려는데 영 안되네.. 설치 안한게 있어서 그런가?

 

C:\Users>pip install pyopengl numpy glfw
Collecting pyopengl
  Downloading https://files.pythonhosted.org/packages/9c/1d/4544708aaa89f26c97cc09450bb333a23724a320923e74d73e028b3560f9/PyOpenGL-3.1.0.tar.gz (1.2MB)
     |████████████████████████████████| 1.2MB 731kB/s
Requirement already satisfied: numpy in c:\users\shin\appdata\local\programs\python\python37-32\lib\site-packages (1.16.3)
Collecting glfw
  Downloading https://files.pythonhosted.org/packages/af/3b/2f8c60fcb0a486eae4dd18c29de22ed667aed5e81f16874102f8580b5900/glfw-1.7.1-py2.py3-none-win32.whl (55kB)
     |████████████████████████████████| 61kB 27kB/s
Installing collected packages: pyopengl, glfw
  Running setup.py install for pyopengl ... done
Successfully installed glfw-1.7.1 pyopengl-3.1.0

 

C:\study\python>python gl.py
Traceback (most recent call last):
  File "gl.py", line 92, in 
    main()
  File "gl.py", line 13, in main
    window = glfw.create_window(800, 600, "My OpenGL window", None, None)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 893, in create_window
    monitor, share)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 516, in errcheck
    _reraise(exc[1], exc[2])
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 45, in _reraise
    raise exception.with_traceback(traceback)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 495, in callback_wrapper
    return func(*args, **kwargs)
  File "C:\Users\shin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\glfw\__init__.py", line 669, in _raise_glfw_errors_as_exceptions
    raise GLFWError(message)
glfw.GLFWError: (65542) b'WGL: The driver does not appear to support OpenGL'

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

[링크 : https://answers.microsoft.com/.../no-opengl-acceleration-with-hd-3000-on-windows-10/...]

[링크 : https://www.intel.com/content/www/us/en/support/articles/000005526/graphics-drivers.html?language=en_US]

 

+

2019.05.01

 

홈페이지 가보니 PyOpenGL_accelerate 패키지를 안깔아서 그런가?

Downloading and Installation
The easiest way to install PyOpenGL is using pip

$ pip install PyOpenGL PyOpenGL_accelerate

[링크 : http://pyopengl.sourceforge.net/]

'Programming > python(파이썬)' 카테고리의 다른 글

PyOpenGL + ubuntu 18.04  (0) 2019.05.02
python 3.7 + MS build tool 2015 + pyGL 또 실패 ㅠㅠ  (0) 2019.05.01
python + openCV 공부 시작  (0) 2019.04.30
pypy  (0) 2018.04.04
파이썬 print가 희한하네..  (0) 2017.04.02
Posted by 구차니

지하철에서 잉여하지 말고 이거나 해야지

노트북에 웹캠도 있으니 딱이네

 

[링크 : https://diy-project.tistory.com/78]

[링크 : https://pypi.org/project/opencv-contrib-python/]

 

vscode와 연동하기

[링크 : https://realpython.com/python-development-visual-studio-code/]

 

+

C:\Users>pip install OpenCV-Python
Collecting OpenCV-Python
  Downloading https://files.pythonhosted.org/packages/99/ad/864b2f284517249a96190fdf6b21a291d9716115d6886938ccd86afaf821/opencv_python-4.1.0.25-cp37-cp37m-win32.whl (25.7MB)
    100% |████████████████████████████████| 25.7MB 439kB/s
Collecting numpy>=1.14.5 (from OpenCV-Python)
  Downloading https://files.pythonhosted.org/packages/ab/75/9ac63977cbca68e17406a53a8c573a925a16771800be47a73f18c838f3fb/numpy-1.16.3-cp37-cp37m-win32.whl (10.0MB)
    100% |████████████████████████████████| 10.0MB 371kB/s
Installing collected packages: numpy, OpenCV-Python
Successfully installed OpenCV-Python-4.1.0.25 numpy-1.16.3
You are using pip version 19.0.3, however version 19.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

'Programming > python(파이썬)' 카테고리의 다른 글

python 3.7 + MS build tool 2015 + pyGL 또 실패 ㅠㅠ  (0) 2019.05.01
python + openGL  (0) 2019.04.30
pypy  (0) 2018.04.04
파이썬 print가 희한하네..  (0) 2017.04.02
파이썬 리스트(list)와 튜플(tuple)  (0) 2017.04.02
Posted by 구차니

예전에 찾아 놓은 Web GUI 로 된 kvm 관리자를 해보는데

[링크 : https://github.com/retspen/webvirtmgr/wiki/Install-WebVirtMgr]

 

 

libvirtd를 구동하면 에러가 나는데 기본이 TLS 인증이라 그런듯.

아무튼 libvirtd에 설정을 바꾸어주면 되긴하는데.. 인증이 안되네..

$ sudo vim /etc/libvirt/libvirtd.conf

#
# For further information consult https://libvirt.org/format.html
#
# NOTE: the tests/daemon-conf regression test script requires
# that each "PARAMETER = VALUE" line in this file have the parameter
# name just after a leading "#".

#################################################################
#
# Network connectivity controls
#

# Flag listening for secure TLS connections on the public TCP/IP port.
# NB, must pass the --listen flag to the libvirtd process for this to
# have any effect.
#
# It is necessary to setup a CA and issue server certificates before
# using this capability.
#
# This is enabled by default, uncomment this to disable it
listen_tls = 0

# Listen for unencrypted TCP connections on the public TCP/IP port.
# NB, must pass the --listen flag to the libvirtd process for this to
# have any effect.
#
# Using the TCP socket requires SASL authentication by default. Only
# SASL mechanisms which support data encryption are allowed. This is
# DIGEST_MD5 and GSSAPI (Kerberos5)
#
# This is disabled by default, uncomment this to enable it.
listen_tcp = 1



# Override the port for accepting secure TLS connections
# This can be a port number, or service name
#
#tls_port = "16514"

# Override the port for accepting insecure TCP connections
# This can be a port number, or service name
#
tcp_port = "16509"

[링크 : https://libvirt.org/remote.html]

 

위에처럼 하면 접속은 되는데 인증이 안된다.

일단은 과감하게(?) 보안무시하고 실행을 위주로 ㄱㄱ!

$ sudo vim /etc/libvirt/libvirtd.conf

# Change the authentication scheme for TCP sockets.
#
# If you don't enable SASL, then all TCP traffic is cleartext.
# Don't do this outside of a dev/test scenario. For real world
# use, always enable SASL and use the GSSAPI or DIGEST-MD5
# mechanism in /etc/sasl2/libvirt.conf
#auth_tcp = "sasl"
auth_tcp = "none"

[링크 : https://libvirt.org/auth.html]

[링크 : https://computingforgeeks.com/use-virt-manager-as-non-root-user/]

 

일단은 이미지 업로드가 안되서(해당 UI가 깨진건지..) 일단은 사용은 실패

'프로그램 사용 > kvm(virt-manager)' 카테고리의 다른 글

vmdk를 qcow2로 변경하기  (2) 2019.07.09
kvm virsh console 사용하기  (0) 2019.05.16
리눅스 콘솔창 해상도 변경하기  (0) 2019.04.26
VDI GPU passthrough  (0) 2019.04.24
kvm live add cpu  (0) 2019.04.16
Posted by 구차니
Linux/Ubuntu2019. 4. 30. 13:44

귀찮으니 끝판왕을 깔자 ㅋㅋ

 

$ sudo apt install virt-manager
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음의 추가 패키지가 설치될 것입니다 :
  augeas-lenses bridge-utils cpu-checker ebtables gir1.2-appindicator3-0.1 gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0
  gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0 ibverbs-providers ipxe-qemu
  ipxe-qemu-256k-compat-efi-roms libaio1 libaugeas0 libcacard0 libfdt1 libgovirt-common libgovirt2 libgtk-vnc-2.0-0
  libgvnc-1.0-0 libibverbs1 libiscsi7 libnetcf1 libnl-route-3-200 libosinfo-1.0-0 libphodav-2.0-0 libphodav-2.0-common
  librados2 librbd1 librdmacm1 libsdl1.2debian libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1
  libusbredirhost1 libusbredirparser1 libvirt-clients libvirt-daemon libvirt-daemon-driver-storage-rbd
  libvirt-daemon-system libvirt-glib-1.0-0 libvirt0 libxen-4.9 libxenstore3.0 libxml2-utils msr-tools osinfo-db
  python-asn1crypto python-cairo python-certifi python-cffi-backend python-chardet python-cryptography python-dbus
  python-enum34 python-gi python-gi-cairo python-idna python-ipaddr python-ipaddress python-libvirt python-libxml2
  python-openssl python-pkg-resources python-requests python-six python-urllib3 qemu-block-extra qemu-kvm
  qemu-system-common qemu-system-x86 qemu-utils seabios sharutils spice-client-glib-usb-acl-helper virt-viewer virtinst
제안하는 패키지:
  augeas-doc augeas-tools libosinfo-l10n gstreamer1.0-plugins-bad libvirt-daemon-driver-storage-gluster
  libvirt-daemon-driver-storage-sheepdog libvirt-daemon-driver-storage-zfs numad radvd auditd systemtap nfs-common zfsutils
  pm-utils python-cryptography-doc python-cryptography-vectors python-dbus-dbg python-dbus-doc python-enum34-doc
  python-openssl-doc python-openssl-dbg python-setuptools python-socks python-ntlm samba vde2 sgabios ovmf debootstrap
  sharutils-doc bsd-mailx | mailx ssh-askpass python-guestfs
다음 새 패키지를 설치할 것입니다:
  augeas-lenses bridge-utils cpu-checker ebtables gir1.2-appindicator3-0.1 gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0
  gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0 ibverbs-providers ipxe-qemu
  ipxe-qemu-256k-compat-efi-roms libaio1 libaugeas0 libcacard0 libfdt1 libgovirt-common libgovirt2 libgtk-vnc-2.0-0
  libgvnc-1.0-0 libibverbs1 libiscsi7 libnetcf1 libnl-route-3-200 libosinfo-1.0-0 libphodav-2.0-0 libphodav-2.0-common
  librados2 librbd1 librdmacm1 libsdl1.2debian libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1
  libusbredirhost1 libusbredirparser1 libvirt-clients libvirt-daemon libvirt-daemon-driver-storage-rbd
  libvirt-daemon-system libvirt-glib-1.0-0 libvirt0 libxen-4.9 libxenstore3.0 libxml2-utils msr-tools osinfo-db
  python-asn1crypto python-cairo python-certifi python-cffi-backend python-chardet python-cryptography python-dbus
  python-enum34 python-gi python-gi-cairo python-idna python-ipaddr python-ipaddress python-libvirt python-libxml2
  python-openssl python-pkg-resources python-requests python-six python-urllib3 qemu-block-extra qemu-kvm
  qemu-system-common qemu-system-x86 qemu-utils seabios sharutils spice-client-glib-usb-acl-helper virt-manager virt-viewer
  virtinst
0개 업그레이드, 79개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
22.3 M바이트 아카이브를 받아야 합니다.
이 작업 후 102 M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n]

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

우분투 창 전환(그룹) 해제하기  (0) 2019.05.04
우분투 터치패드 휠 클릭 흉내내기  (0) 2019.05.04
ubuntu test page 위치  (0) 2018.12.19
epson 프린터 유틸리티 관련  (0) 2018.12.18
lpstat  (0) 2018.12.18
Posted by 구차니
개소리 왈왈/컴퓨터2019. 4. 30. 13:05

i7-6700 / i5-7600 두대를 자리에 셋팅하고 쓰고 있는데

문득 성능차이가 얼마나 나나 궁금해서 보는데 

i7은 L3 캐시 8MB i5는 6MB로 2MB 차이가 존재한다.

그 외에는 i7-6700이 구 세대인 관계로 100MHz 클럭이 낮다는 정도?

[링크 : http://www.cpu-world.com/Compare/427/Intel_Core_i5_i5-7600_vs_Intel_Core_i7_i7-6700.html]

 

아무튼 벤치마크 해둔걸 보면(4세대로 좀 다르지만)

L3에 영향을 받는 애들은 성능 차이가 꽤 나지만 그렇지 않은 경우는 유의미한 차이는 나지 않는다 정도로 보인다.

어쩌면 캐시용량을 넘어가도록 코드가 커서(즉, 최적화 덜 되서) L3까지 캐시를 쓰는 걸지도 모르겠지만

(즉, L2 인 1MB 이내에서 캐시가 히트 되는게 최적화 잘 되었다고 본다면)

비용 대비로는 그렇게 큰 효과가 있다고 보긴 힘들 것으로 보인다.

[링크 : https://udteam.tistory.com/695]

 

 

아 몰라~ 일단 작업관리자에 CPU 8개 뜨니 행복함 ㅋㅋ

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

i5-2500 vs i5-7600  (0) 2019.05.02
intel HD3000 win10에서 openGL 미지원?  (0) 2019.04.30
NEXT-812FCU3  (1) 2019.04.26
z170 extreme4 1.0 부팅 오래 걸리는 문제  (0) 2019.04.26
파일 정리.. 메인보드 드라이버  (0) 2019.04.07
Posted by 구차니
파일방2019. 4. 29. 13:38

표준은 SNMP쪽 뿐이고, 그 외에는 업체 자체 규격인듯

 

[링크 : https://networkupstools.org/ups-protocols.html]

 

+

[링크 : http://frantisek.rysanek.sweb.cz/battery.html]

[링크 : https://electronics.stackexchange.com/.../is-there-a-standard-i2c-sm-bus-protocol-for-laptop-battery-packs]

'파일방' 카테고리의 다른 글

ether / win32diskimager 대체 프로그램  (0) 2020.03.07
ArduinoDroid  (0) 2019.06.12
열해석 프로그램(오픈소스)  (0) 2019.03.31
배터리 체크 유틸리티  (2) 2019.03.25
hdsentinel  (0) 2019.03.15
Posted by 구차니

피곤피곤

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

개복이 구름다리 건넘  (2) 2019.05.23
공사 빡세다..  (2) 2019.05.19
분노쓰  (0) 2019.04.27
피곤  (0) 2019.04.20
아이에게 조심해라가 잘못된 걸까?  (2) 2019.04.18
Posted by 구차니

분노분노

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

공사 빡세다..  (2) 2019.05.19
피곤쓰  (2) 2019.04.28
피곤  (0) 2019.04.20
아이에게 조심해라가 잘못된 걸까?  (2) 2019.04.18
또 하루의 정신없는 끝  (0) 2019.04.14
Posted by 구차니

KVM을 통해서 하는데 노트북이 1280x1024 밖에 안되다 보니

SPICE를 통해 보면 잘려서 어떻게 해야 하려나?

 

[링크 : https://www.linux-kvm.org/page/SPICE]

 

[링크 : https://patchwork.ozlabs.org/patch/484821/]

 

[링크 : https://www.linux-kvm.org/images/b/b2/01x10b-QEMUGfraphics.pdf]

 

 

 

'프로그램 사용 > kvm(virt-manager)' 카테고리의 다른 글

kvm virsh console 사용하기  (0) 2019.05.16
libvirtd와 webvirtmgr  (0) 2019.04.30
VDI GPU passthrough  (0) 2019.04.24
kvm live add cpu  (0) 2019.04.16
kvm과 HT 그리고 affinity  (0) 2019.04.16
Posted by 구차니