개소리 왈왈/컴퓨터2026. 7. 29. 11:16

멀루 인식되나 궁금해서 한 번 꽂아봄

 

 

[418902.776178] usb 1-1: new full-speed USB device number 14 using xhci_hcd
[418902.904536] usb 1-1: not running at top speed; connect to a high speed hub
[418902.906304] usb 1-1: New USB device found, idVendor=001f, idProduct=0b21, bcdDevice= 1.00
[418902.906311] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[418902.906313] usb 1-1: Product: AB13X USB Audio
[418902.906315] usb 1-1: Manufacturer: Generic
[418902.906317] usb 1-1: SerialNumber: 20210926172016
[418902.916215] input: Generic AB13X USB Audio as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.3/0003:001F:0B21.000C/input/input34
[418902.968313] hid-generic 0003:001F:0B21.000C: input,hidraw5: USB HID v2.01 Device [Generic AB13X USB Audio] on usb-0000:00:14.0-1/input3

 

$ lsusb -t -v
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 14, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        ID 001f:0b21  
    |__ Port 1: Dev 14, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        ID 001f:0b21  
    |__ Port 1: Dev 14, If 2, Class=Audio, Driver=snd-usb-audio, 12M
        ID 001f:0b21  
    |__ Port 1: Dev 14, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        ID 001f:0b21  

 

$ lsusb -v -d 001f:0b21

Bus 001 Device 014: ID 001f:0b21 Generic AB13X USB Audio
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x001f 
  idProduct          0x0b21 
  bcdDevice            1.00
  iManufacturer           1 Generic
  iProduct                2 AB13X USB Audio
  iSerial                 3 20210926172016
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x00da
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0047
        bInCollection           2
        baInterfaceNr(0)        1
        baInterfaceNr(1)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 2
        bSourceID               1
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        bmaControls(2)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             1
        wChannelConfig     0x0000
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 5
        bSourceID               4
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             6
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               5
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0180  1x 384 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         1 Milliseconds
          wLockDelay         0x0001
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           6
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00d0  1x 208 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               2.01
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      33
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
Posted by 구차니
프로그램 사용/Blender2026. 7. 29. 10:42

 

P - Selection

하면 다른 객체로 분리된다.

[링크 : https://koreanbeef.tistory.com/17]

 

버텍스 선택하고 F(fill)

[링크 : https://blog.naver.com/jae45682/221962821639]

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

blender 5.x sculpting  (0) 2026.07.29
blender export render/viewport  (0) 2026.07.29
blender 보이지 않는 면까지 선택하기  (0) 2026.07.29
blnder 포즈 바꾸면서 렌더하기  (0) 2026.07.28
blender weight paint  (0) 2026.07.28
Posted by 구차니
프로그램 사용/Blender2026. 7. 29. 10:06

alt-z를 누르면 x-ray 모드가 되는데

그러면 뒤에 면까지 선택된다.

즉, 직관적으로 우리가 선택하는 영역내에 모든 vertex가 선택된다고 해야하나?

 

기본값인 x-ray off

선택하고 보면 먼가 검은 선이 보인다

 

 

 

alt-z 눌러서 x-ray 켜고 선택하면 산뜻한 오렌지로 선택되고

 

돌려보면 뒤에까지 잘되어있다.

 

[링크 : https://gall.dcinside.com/mgallery/board/view/?id=blender&no=5106]

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

blender export render/viewport  (0) 2026.07.29
blender 떼어내기, 때우기  (0) 2026.07.29
blnder 포즈 바꾸면서 렌더하기  (0) 2026.07.28
blender weight paint  (0) 2026.07.28
blender 먼가 숨기기 단축키  (0) 2026.07.22
Posted by 구차니
Posted by 구차니

검색하다 보니 이상한(?) C1 C8 이라는 문구 발견, concurrent request 라고 되어있는데

 결국은 동시에 응답을 해줄수 있게 돌리냐 아니냐의 차이인듯.

Modes:
C1 (single request)
C8 (8 concurrent requests)

[링크 : https://forums.developer.nvidia.com/t/jetson-agx-thor-vllm-26-02-moe-performance-significantly-below-reference-missing-fused-moe-config/364663/8]

 

--max-concurrency
Maximum number of concurrent requests. This can be used to help simulate an environment where a higher level component is enforcing a maximum number of concurrent requests. While the --request-rate argument controls the rate at which requests are initiated, this argument will control how many are actually allowed to execute at a time. This means that when used in combination, the actual request rate may be lower than specified with --request-rate, if the server is not processing requests fast enough to keep up

[링크 : https://docs.vllm.ai/en/stable/cli/bench/serve/#arguments]

 

Multi-node multi-GPU using tensor parallel and pipeline parallel inference: if the model is too large for a single node, combine tensor parallelism with pipeline parallelism. Set tensor_parallel_size to the number of GPUs per node and pipeline_parallel_size to the number of nodes. For example, set tensor_parallel_size=8 and pipeline_parallel_size=2 when using 2 nodes with 8 GPUs per node.

[링크 : https://docs.vllm.ai/en/stable/serving/parallelism_scaling/#single-node-deployment]

'모종의 음모 > ai 프로그램' 카테고리의 다른 글

llama.cpp 동시에 응답하게 하기  (0) 2026.07.29
vllm concurrent test/benchmark  (0) 2026.07.29
nvidia thor - llama.cpp LLM  (0) 2026.07.24
llama.cpp for arm64  (0) 2026.07.20
llama.cpp / qwen3.5 0.8B / 1060, 1080 ti  (0) 2026.07.19
Posted by 구차니
파일방2026. 7. 28. 17:38

유저 레벨에서 트래픽 제한해주는 유틸리티

ai에게 대역폭 제한해달라고 하니 이걸 추천해준다.

근데 vLLM docker 에서 설치하려니 후보가 없다고 -_-

 

[링크 : https://github.com/mariusae/trickle]

[링크 : https://manpages.ubuntu.com/manpages/focal/man1/trickle.1.html]

[링크 : https://linux.die.net/man/1/trickle]

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

gary's mod - 게리모드  (0) 2026.06.24
ventoy 업그레이드  (0) 2026.06.23
microhttpd  (0) 2026.06.05
tmux  (0) 2026.05.11
appimage , AppImageLauncher  (0) 2026.04.20
Posted by 구차니
프로그램 사용/Blender2026. 7. 28. 17:10

armature 관련 ridgify 였나? 플러그인으로 생성한 골격을 이용해서

 

아래처럼 다양한 포즈로 렌더하는 예제

 

pose mode 까진 아니어도

armature가 pose로 되어있어야 한다는데(by claude) 무슨소리인진 모르겠다.

import bpy
import random
import math
import os

# -------------------------
# 설정
# -------------------------
NUM_IMAGES = 200
ARMATURE_NAME = "metarig"      # 랜덤 포즈를 적용할 아마추어 이름
MAX_ANGLE_DEG = 25.0           # 본 하나가 회전할 수 있는 최대 각도(도)
EXCLUDE_NAME_KEYWORDS = [       # 이 문자열이 이름에 포함된 본은 건드리지 않음
    "root", "pelvis", "spine", "metarig",
]
# IK/Copy Rotation/Child Of 등 다른 소스가 회전을 덮어쓰는 컨스트레인트 타입.
# 이런 컨스트레인트가 걸린 본은 rotation_euler를 바꿔도 무시되므로 건너뜁니다.
SKIP_CONSTRAINT_TYPES = {"IK", "COPY_ROTATION", "COPY_TRANSFORMS", "CHILD_OF"}
RESPECT_ROTATION_LIMITS = True
RANDOM_SEED = None
DEBUG = True

armature = bpy.data.objects[ARMATURE_NAME]
scene = bpy.context.scene

if DEBUG:
    print(f"[DEBUG] 현재 씬: {scene.name} / 전체 씬 목록: {list(bpy.data.scenes.keys())}")
    print(f"[DEBUG] 아마추어: {armature.name}, 모드: {armature.mode}")
    print(f"[DEBUG] pose_position (변경 전): {armature.data.pose_position}")
    print(f"[DEBUG] animation_data: {armature.animation_data}")
    if armature.animation_data and armature.animation_data.action:
        print(f"[DEBUG] action: {armature.animation_data.action.name}")

# 1) Rest Position으로 설정되어 있으면 본 회전이 렌더에 반영되지 않으므로 강제로 Pose Position 설정
if armature.data.pose_position != 'POSE':
    armature.data.pose_position = 'POSE'
    if DEBUG:
        print(f"[DEBUG] pose_position을 'POSE'로 변경함")

# 2) 액션(F-curve)이 물려있으면 매 프레임 평가 시 수동으로 넣은 rotation_euler를 덮어쓰므로 해제
if armature.animation_data and armature.animation_data.action is not None:
    if DEBUG:
        print(f"[DEBUG] 기존 액션 '{armature.animation_data.action.name}' 을 해제함 (수동 포즈와 충돌 방지)")
    armature.animation_data.action = None

scene.render.engine = 'BLENDER_EEVEE'
scene.render.resolution_x = 640
scene.render.resolution_y = 480
scene.render.resolution_percentage = 100

# 저장 폴더 (blend 파일 기준)
output_dir = bpy.path.abspath("//render_output")
os.makedirs(output_dir, exist_ok=True)

# PNG 저장
scene.render.image_settings.file_format = 'PNG'


def should_skip(bone_name: str) -> bool:
    lower = bone_name.lower()
    return any(kw.lower() in lower for kw in EXCLUDE_NAME_KEYWORDS)


def has_blocking_constraint(pbone) -> bool:
    """IK 등 다른 소스가 회전을 덮어쓰는 컨스트레인트가 있으면 True."""
    for c in pbone.constraints:
        if c.mute:
            continue
        if c.type in SKIP_CONSTRAINT_TYPES:
            return True
    return False


def get_rotation_limits(pbone):
    """본에 Limit Rotation 컨스트레인트가 있으면 (min, max) 라디안 튜플 반환."""
    for c in pbone.constraints:
        if c.type == "LIMIT_ROTATION" and not c.mute:
            return (
                (c.min_x, c.max_x),
                (c.min_y, c.max_y),
                (c.min_z, c.max_z),
                c.use_limit_x, c.use_limit_y, c.use_limit_z,
            )
    return None


def random_rotate_bone(pbone, max_angle_rad):
    limits = get_rotation_limits(pbone) if RESPECT_ROTATION_LIMITS else None
    prev_mode = pbone.rotation_mode
    if prev_mode != "XYZ":
        pbone.rotation_mode = "XYZ"

    rx = random.uniform(-max_angle_rad, max_angle_rad)
    ry = random.uniform(-max_angle_rad, max_angle_rad)
    rz = random.uniform(-max_angle_rad, max_angle_rad)

    if limits:
        (minx, maxx), (miny, maxy), (minz, maxz), ux, uy, uz = limits
        if ux:
            rx = max(minx, min(maxx, rx))
        if uy:
            ry = max(miny, min(maxy, ry))
        if uz:
            rz = max(minz, min(maxz, rz))

    pbone.rotation_euler = (rx, ry, rz)


def randomize_pose():
    max_angle_rad = math.radians(MAX_ANGLE_DEG)
    rotated = 0
    skipped_name = 0
    skipped_constraint = 0

    for pbone in armature.pose.bones:
        if should_skip(pbone.name):
            skipped_name += 1
            continue
        if has_blocking_constraint(pbone):
            skipped_constraint += 1
            continue
        random_rotate_bone(pbone, max_angle_rad)
        rotated += 1

    if DEBUG:
        print(f"[DEBUG] 회전 적용: {rotated}개 / 이름 제외: {skipped_name}개 / 컨스트레인트 제외: {skipped_constraint}개")


if RANDOM_SEED is not None:
    random.seed(RANDOM_SEED)

bpy.context.view_layer.objects.active = armature
prev_mode = armature.mode

if armature.mode != "POSE":
    result = bpy.ops.object.mode_set(mode="POSE")
    if DEBUG:
        print(f"[DEBUG] mode_set(POSE) 결과: {result}, 현재 모드: {armature.mode}")

if DEBUG:
    all_bones = [b.name for b in armature.pose.bones]
    print(f"[DEBUG] 전체 본 개수: {len(all_bones)}")
    print(f"[DEBUG] 본 목록: {all_bones}")

# -------------------------
# 렌더링 루프
# -------------------------
for i in range(NUM_IMAGES):
    # 매 렌더마다 아마추어 랜덤 포즈 적용
    randomize_pose()

    # 씬/디펜던시 그래프 강제 갱신 (배치 렌더 시 이전 프레임 캐시 문제 방지)
    bpy.context.view_layer.update()
    depsgraph = bpy.context.evaluated_depsgraph_get()
    depsgraph.update()

    # 렌더 저장 경로
    scene.render.filepath = os.path.join(output_dir, f"image_{i:03d}.png")
    print(f"Rendering {scene.render.filepath}")
    bpy.ops.render.render(write_still=True)

if prev_mode != armature.mode:
    bpy.ops.object.mode_set(mode=prev_mode)

print("Done.")

 

+

object mode /  bone 에서 이런걸 발견. 아.. 이게 위에 그거였나?

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

blender 떼어내기, 때우기  (0) 2026.07.29
blender 보이지 않는 면까지 선택하기  (0) 2026.07.29
blender weight paint  (0) 2026.07.28
blender 먼가 숨기기 단축키  (0) 2026.07.22
blender quarternion  (0) 2026.07.22
Posted by 구차니
프로그램 사용/Blender2026. 7. 28. 16:16

armature 만드는거랑 auto weight는 일단 스킵

weight paint 모드로 들어와서 우측의 properties에 보면

vertex groups 라고 관절들이 보이는데 이걸 클릭하면 왼쪽에서 위치별로 weight paint가 보이게 된다.

 

왼쪽 클릭후 문질러 대면 되는데

weight 0.0 으로 하고 strength 1.0 으로 하니 검은색으로 칠해지면서 weight를 사라지게 할 수 있긴한데..

편한 방법 없나..

 

 

반대편 다리에 검게 해두니 확실히 해당 관절을 돌릴때 다른쪽에 영향을 안 받긴 한다.

 

그런데.. 원하지 않는데 까지 막 칠해지는데.. face 단위로 영역 지정이 가능하려나?

 

[링크 : https://m.blog.naver.com/cjw531/223159464692]

[링크 : https://tintana4168.tistory.com/22]

[링크 : https://studio.blender.org/training/blender-fundamentals-45-lts/blender_4-5_lts_rigging_weight-painting/]

 

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

blender 보이지 않는 면까지 선택하기  (0) 2026.07.29
blnder 포즈 바꾸면서 렌더하기  (0) 2026.07.28
blender 먼가 숨기기 단축키  (0) 2026.07.22
blender quarternion  (0) 2026.07.22
blender ik  (0) 2026.07.15
Posted by 구차니

 

생산연령인구 첫 70%대 붕괴…고령인구는 20%대 첫 진입

[링크 : https://v.daum.net/v/20260728120009164]

 

[링크 : https://v.daum.net/v/20260728134504159]

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

주식미친  (0) 2026.07.31
먼가 주식 안하면 바보인 시대  (2) 2026.02.22
혼돈 파괴 카오스(?)의 미국  (0) 2026.01.20
패권주의의 부활?  (0) 2026.01.04
영포티 단상  (0) 2025.11.10
Posted by 구차니

얼굴 인증 잘 안되서 짜증나고

kb 인증 사라지고 네이버 앱은 싫고 카카오는 카카오 페이 다시 해야하니 싫어서

결국에는 pass 앱 깔고 인증 진행

 

110원에 이어 10원 ㅋㅋㅋ

그런데 6개월 마다 가려니 겁나 짜증날 것 같네

 

+

2026.07.29

첫째는 내꺼랑 같은걸로. 3개월 뒤에  sk로 옮겨야지 ㅠㅠ

둘째는 이걸로

'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

먼가 바쁘네, 중고폰 환불  (0) 2026.08.02
중고폰 지름  (0) 2026.08.01
요금제 변경 완료  (0) 2026.01.30
요금제 변경 시도  (0) 2026.01.28
흑우 음뭬~  (0) 2025.11.09
Posted by 구차니