'2025/09'에 해당되는 글 39건

  1. 2025.09.03 vainfo
  2. 2025.09.03 popos
  3. 2025.09.03 ubuntu nvidia 드라이버 설치
  4. 2025.09.02 gemini + blender / freecad token
  5. 2025.09.01 csm.ai
  6. 2025.09.01 GNS3
  7. 2025.09.01 gemini + ubuntu + uvx 등등등.. 뻘기록
  8. 2025.09.01 gemini + blender
  9. 2025.09.01 gemini + freecad
embeded/i.mx 8m plus2025. 9. 3. 11:06

eiq 에서 libva 에러가 났는데

wayland에서 x.org로 바꾸니 에러가 발생하지 않는다. 중요한(?) 에러는 아니었는 듯.

 

$ cat /proc/cpuinfo 
model name : Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz

$ vainfo
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.3.1 ()
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

 

G3460 + nvidia 1060

$ cat /proc/cpuinfo 
model name : Intel(R) Pentium(R) CPU G3460 @ 3.50GHz

$ cat log 
$ vainfo
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

 

$ LIBVA_DRIVER_NAME=iHD vainfo 
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 18
vaInitialize failed with error code 18 (invalid parameter),exit

 

G3460 

$ vainfo
libva info: VA-API version 1.14.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell Desktop - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD

[링크 : https://github.com/elFarto/nvidia-vaapi-driver/issues/272]

'embeded > i.mx 8m plus' 카테고리의 다른 글

import tensorflow illegal instruction  (0) 2025.09.04
eiq on windows with nvidia  (0) 2025.09.03
ubuntu nvidia 드라이버 설치  (0) 2025.09.03
eiq 에러들  (0) 2025.08.26
eiq 학습 시도  (0) 2025.08.26
Posted by 구차니
파일방2025. 9. 3. 10:49

이사님께서 nvidia 드라이버 깔기 짜증나는데 신경안써도 되는 좋은(!) OS가 있다고 해서 찾아봄

system76 이라는 하드웨어 생산업체가 ubuntu를 기반으로 rust로 갈아 엎었다는데 잘 모르겠네

 

[링크 : https://system76.com/pop/?srsltid=AfmBOory8SE6glZ2D4ND5kih8A5wB-pJnSS6SXs-5mfQwRsNyX-AJ4mo]

[링크 : https://system76.com/]

[링크 : https://ko.wikipedia.org/wiki/Pop!_OS]

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

GNS3  (0) 2025.09.01
makeself  (0) 2025.08.25
glade - gtk/gnome rad tool  (0) 2025.08.18
nagios  (0) 2025.07.25
suricata  (0) 2025.07.25
Posted by 구차니
embeded/i.mx 8m plus2025. 9. 3. 10:41

 

sudo add-apt-repository ppa:graphics-drivers/ppa
ubuntu-drivers devices
sudo ubuntu-drivers autoinstall

 

$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C03sv000010DEsd00000000bc03sc00i00
vendor   : NVIDIA Corporation
model    : GP106 [GeForce GTX 1060 6GB]
driver   : nvidia-driver-550 - distro non-free
driver   : nvidia-driver-470 - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-565 - third-party non-free
driver   : nvidia-driver-575 - distro non-free recommended
driver   : nvidia-driver-580 - third-party non-free
driver   : nvidia-driver-470-server - distro non-free
driver   : nvidia-driver-575-server - distro non-free
driver   : nvidia-driver-570 - third-party non-free
driver   : nvidia-driver-545 - distro non-free
driver   : nvidia-driver-535 - distro non-free
driver   : nvidia-driver-418-server - distro non-free
driver   : nvidia-driver-390 - distro non-free
driver   : nvidia-driver-570-server - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

 

sudo apt-get install nvidia-driver-580

 

리부팅 이후

$ nvidia-smi
Wed Sep  3 10:53:56 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.76.05              Driver Version: 580.76.05      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce GTX 1060 6GB    Off |   00000000:01:00.0  On |                  N/A |
| 42%   38C    P8              6W /  120W |     172MiB /   6144MiB |      1%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A             976      G   /usr/lib/xorg/Xorg                       73MiB |
|    0   N/A  N/A            1271      G   /usr/bin/gnome-shell                     86MiB |
+-----------------------------------------------------------------------------------------+

[링크 : https://2dudwns.tistory.com/20]

 

cuda 설치도 패키지로..!

sudo apt-get install nvidia-cuda-toolkit

'embeded > i.mx 8m plus' 카테고리의 다른 글

eiq on windows with nvidia  (0) 2025.09.03
vainfo  (0) 2025.09.03
eiq 에러들  (0) 2025.08.26
eiq 학습 시도  (0) 2025.08.26
nvidia tao toolkit  (0) 2025.08.22
Posted by 구차니

gemini를 MCP 로 연동해서 핸드폰 거치대를 만드는데

사용되는 토큰이 많이 차이나서 신기해 하는 중.

조작하는 문법이 많이 달라서 그런가?

 

blender

╭─────────────────────────────────────────────────────────────────────╮
│  > blender로 핸드폰 거치대를 그려줘 크기는 갤럭시 S25 에 맞게 해줘  │
╰─────────────────────────────────────────────────────────────────────╯

╭────────────────────────────────────────────────────────────╮
│  > 데모용으로 사용할 제품 동영상을 만들어줘 30초 분량으로  │
╰────────────────────────────────────────────────────────────╯

 

 

freecad

╭────────────────────────────────────────────────────────────────╮
│  > freecad 에서 갤럭시 S23 거치대를 만들어줘. 색상은 화이트로  │
╰────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────╮
│  > 색상을 빨간색-주황색으로 그라데이션 해줘  │
╰──────────────────────────────────────────────╯

'프로그램 사용 > MCP ai' 카테고리의 다른 글

gemini + claude MCP  (0) 2025.09.05
csm.ai  (0) 2025.09.01
gemini + ubuntu + uvx 등등등.. 뻘기록  (0) 2025.09.01
claude desktop  (0) 2025.08.31
Posted by 구차니

csm.ai 판촉(?)을 위한 blender MCP 였나.. 아무튼 csm.ai 보니

샘플로 간단한거 5개 뽑는게 한계일 것 같고, 결국에는 월 결제 해야지 멀 해먹을 수 있을 듯

 

[링크 : https://www.csm.ai/blog/csm-blender-mcp]

[링크 : https://www.csm.ai/]

 

free only 5 credit 이라고 되어있는데 이게 매달 차는것 같긴한데..

 

하단의 FAQ를 보면 swift re-topology 부터는 써보지도 못하는 수준.

[링크 : https://3d.csm.ai/pricing]

'프로그램 사용 > MCP ai' 카테고리의 다른 글

gemini + claude MCP  (0) 2025.09.05
gemini + blender / freecad token  (0) 2025.09.02
gemini + ubuntu + uvx 등등등.. 뻘기록  (0) 2025.09.01
claude desktop  (0) 2025.08.31
Posted by 구차니
파일방2025. 9. 1. 22:36

시스코 스위치랑 라우터 사서 공부해볼까 하다가

프로그램으로도 웬만큼 해볼수 있다고 해서 고민중

그래도 실장비가 있는게 기분이 조크든요~ ㅋㅋ

 

Packet Tracer나 GNS3

[링크 : https://www.reddit.com/r/ccna/comments/i2e56g/best_router_switch_combination_for_ccnaccnp/?tl=ko]

[링크 : https://www.gns3.com/]

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

popos  (0) 2025.09.03
makeself  (0) 2025.08.25
glade - gtk/gnome rad tool  (0) 2025.08.18
nagios  (0) 2025.07.25
suricata  (0) 2025.07.25
Posted by 구차니

gemini 매번 켜서 확인하기 귀찮아서 찾는데, mcp만 확인할 수 있는 명령이 있는 것 같다.

$ gemini mcp
gemini mcp

Manage MCP servers

명령:
  gemini mcp add   [args...]  Add a server
  gemini mcp remove                         Remove a server
  gemini mcp list                                 List all configured MCP servers

옵션:
  -h, --help  도움말 표시                                                                                                                                                      [불리언]

You need at least one command before continuing.

 

아무튼 도대체 저 uvx freecad-mcp는 왜 안돼냐??!

$ gemini mcp list
Configured MCP servers:

✓ freecad: /usr/bin/python3 /home/user/.FreeCAD/Mod/freecad_mcp/src/freecad_bridge.py (stdio) - Connected
✗ freecad2: /snap/bin/uvx freecad-mcp (stdio) - Disconnected

 

그래서 pypi에서 찾으니.. 어...

ubuntu 22.04 사용중이라 python이 3.10.. 흐음.. 설치하면 안되는거고..

$ pip3 install freecad-mcp
Defaulting to user installation because normal site-packages is not writeable
ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python >=3.12; 0.1.1 Requires-Python >=3.12; 0.1.10 Requires-Python >=3.12; 0.1.11 Requires-Python >=3.12; 0.1.12 Requires-Python >=3.12; 0.1.13 Requires-Python >=3.12; 0.1.2 Requires-Python >=3.12; 0.1.3 Requires-Python >=3.12; 0.1.4 Requires-Python >=3.12; 0.1.5 Requires-Python >=3.12; 0.1.6 Requires-Python >=3.12; 0.1.7 Requires-Python >=3.12; 0.1.8 Requires-Python >=3.12; 0.1.9 Requires-Python >=3.12; 0.1.9.1 Requires-Python >=3.12
ERROR: Could not find a version that satisfies the requirement freecad-mcp (from versions: none)
ERROR: No matching distribution found for freecad-mcp

[링크 : https://pypi.org/project/freecad-mcp/]

 

python3.12를 추가로 설치하고 해도 안되는건 매한가지인데..

[링크 : https://blog.naver.com/chandong83/223339889839]

 

3.12가 기본인 배포판 가면 좀 편하게 가능하려나?

 

 

+

[링크 : https://blog.choonzang.com/it/python/2733/]

'프로그램 사용 > MCP ai' 카테고리의 다른 글

gemini + claude MCP  (0) 2025.09.05
gemini + blender / freecad token  (0) 2025.09.02
csm.ai  (0) 2025.09.01
claude desktop  (0) 2025.08.31
Posted by 구차니

uvx로는 영 안되네.. 머가 문제일까..

 

일단 아래꺼는 리눅스에서 되는 녀석.

[링크 : https://github.com/CommonSenseMachines/blender-mcp]

 

버전 정보는 아래와 같다.

ubuntu 22.04 LTS
python 3.10
fastmcp 2.12.0

 

 

git 을 받아서

 

edit - preferences - Add-ons - 아래 화살표 - Install from Disk

addon.py 선택

 

 

XYZ 있는 오른쪽에 < 를 눌러서

 

BlenderMCP 에서 Connect to MCP Server 실행

 

src/server.py 에서 description 부분 삭제 후

# Create the MCP server with lifespan support
mcp = FastMCP(
    "BlenderMCP",
    description="Blender integration through the Model Context Protocol",
    lifespan=server_lifespan
)

 

빌드해서 모듈로 넣어 버리고

$ cd blender-mcp
$ pip install -e .

[링크 : https://github.com/awslabs/mcp/issues/996]

 

gemini 설정 파일에, 콤마부터 잊지 말고 넣어 주면 끝!

$ cat settings.json
{
    "theme": "Atom One",
    "selectedAuthType": "oauth-personal",
    "mcpServers": {
        "freecad": {
            "command": "/usr/bin/python3",
            "args": [
            "/home/falinux/.FreeCAD/Mod/freecad_mcp/src/freecad_bridge.py"
            ]
        },
        "blender": {
            "command": "/usr/bin/python3",
            "args": [
            "-m", "blender_mcp.server"
            ]
        }
    }
}

 

gemini 실행해서 시키면 끝!

 

근데 원숭이는 맞는데.. 녹색이 아니잖아?!

 

+

csm.ai를 연동하면 모델들도 가져올수 있나 보다?

✦ 죄송합니다. CSM.ai 통합이 활성화되어 있지 않아 피카츄 모델을 가져올 수 없습니다. 블렌더의 MCP 패널에서 CSM.ai 통합을 활성화해 주시면 다시
  시도해 보겠습니다.

  다른 기본 도형으로 만들 수 있는 것을 그려드릴까요?

[링크 : https://www.csm.ai/blog/csm-blender-mcp]

 

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

[링크 : https://seahrin.com/entry/gemini-cli를-이용하여-mcp-활용하기with-blender]

[링크 : https://github.com/ahujasid/blender-mcp] uvx / claude <<

 

[링크 : https://github.com/CommonSenseMachines/blender-mcp]

[링크 : https://blender-mcp.com/index.html]

'프로그램 사용 > Blender' 카테고리의 다른 글

blender로 stl 구멍 메우기  (0) 2025.08.20
blender 휠 에뮬레이트 하기  (0) 2025.05.18
blender + kinect  (0) 2025.04.16
blender 강좌  (0) 2025.01.01
blender render - cycle, eevee  (0) 2024.08.30
Posted by 구차니

mcp를 받아서 설치하는데 zip으로 받아서

freecad_mcp_main 으로 풀리는 디렉토리를 통채로 Mod로 옮겨준다

$ cp freecad_mcp_main ~/.Freecad/Mod/freecad_mcp

[링크 : https://github.com/bonninr/freecad_mcp]

 

gemini 설정도 수정해주고

~/.gemini$ cat settings.json 
{
  "theme": "Atom One",
  "selectedAuthType": "oauth-personal",
  "mcpServers": {
        "freecad": {
            "command": "/usr/bin/python3",
            "args": [
                "/home/user/.FreeCAD/Mod/freecad_mcp/src/freecad_bridge.py"
            ]
        }
    }
}

 

freecad를 재시작하거나 처음 시작하면 workbench에 FreeCAD MCP 라는게 생겨난다.

메뉴에서 FreeCAD MCP - Show FreeCAD MCP Panel 누르면 Tasks에 창이 열리는데 Start Server 눌러준다.

 

freecad 에서 start RPC server 하면 9876 포트로 생성된다.

$ netstat -tnlp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:9876          0.0.0.0:*               LISTEN      3295252/freecad  

 

FastMCP 모듈이 없으면 일단 설치해주고

$ pip3 install FastMCP

 

gemini를 실행하고 ctrl-t를 눌러 Ready라고 뜨면 끝

 

생성 성공!

그런데  claude 용으로는 MCP 인데.. 같이 연결 못하나?

'프로그램 사용 > freecad' 카테고리의 다른 글

claude mcp + freecad  (0) 2025.08.31
freeCAD + openFOAM  (0) 2025.08.29
freecad + MCP  (0) 2025.08.29
freecad on ubuntu 24.04  (0) 2025.05.18
freecad 예제  (0) 2024.11.09
Posted by 구차니