gpu-unlock Debian 13 호환성 보고
Debian 13에서 gpu-unlock 호환성 보고
안녕하세요. 호환성 보고서를 어떻게 기여해야 할지 잘 모르겠지만, 제 설정과 결과는 다음과 같습니다:
호환성 보고서: Debian 13 + HP Z4 G4, RTX 3090 (Zotac)에서 정상 작동
결과: 잠금 해제됨 (pci 0000:21:00.0: gpu_unlock: unlocked), 드라이버가 정상적으로 로드됨, Xid/NVRM 오류 없음.
시스템
- 워크스테이션: HP Z4 G4, Xeon W-2235, 96 GB DDR4 RDIMM
- GPU: Zotac RTX 3090 (10DE:2204, subsystem 19DA:1613) at 0000:21:00.0, PCIe Gen3 x16, 단일 GPU, 헤드리스
- OS: Debian 13 (trixie)
- 커널: 7.2.9+deb13-amd64 (trixie-backports)
- NVIDIA 드라이버: 615.71.10 (open kernel modules, DKMS), CUDA UMD 13.4
- 커널 cmdline:
quiet gpu_unlock.targets=0000:21:00.0 mitigations=off - Secure Boot 끔 (모듈 서명되지 않음, 예상대로 커널이 tainted 됨)
- 전력: 350 W 제한, LACT 언더볼트 (+200 MHz 오프셋, 최대 1700 MHz)
설치
- 홈 디렉터리의 clone에서
make install-deb: 깔끔하게 빌드 및 설치됨 (7.2.9용 DKMS 모듈,/usr/lib/firmware/gpu-unlock/610.43.03에 펌웨어). - GRUB에
gpu_unlock.targets=0000:21:00.0를 추가하고,update-grub,update-initramfs -u실행. - 참고:
.deb가$HOME에 있어서apt가N: Download is performed unsandboxed as root ... couldn't be accessed by user '_apt'를 출력함. 무해함.
부팅 로그
ROM chain, BIT, ucode table 및 FWSEC descriptor/geometry/interface가 파싱되었고, FWSEC signature selection fuse_version=2 sig_bytes=384 다음에 gpu_unlock: unlocked가 표시됨.
Oct 22 19:38:36 ai-llmhost00 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-7.2.9+deb13-amd64 root=UUID=75513531-937b-42dc-aeb9-21d57c5e6a1b ro quiet gpu_unlock.targets=0000:21:00.0 mitigations=off
Oct 22 19:38:36 ai-llmhost00 kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-7.2.9+deb13-amd64 root=UUID=75513531-937b-42dc-aeb9-21d57c5e6a1b ro quiet gpu_unlock.targets=0000:21:00.0 mitigations=off
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: loading out-of-tree module taints kernel.
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: module verification failed: signature and/or required key missing - tainting kernel
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: ROM chain: pos=0x0 data=0x52494350 bytes=65024 type=0x0 last=0
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: ROM chain: pos=0xfe00 data=0x52494350 bytes=91648 type=0x3 last=0
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: ROM chain: pos=0x26400 data=0x5344504e bytes=22016 type=0xe0 last=0
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: ROM chain: pos=0x2ba00 data=0x5344504e bytes=370688 type=0xe0 last=128
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: ROM expansion: base=0xfe00 ext=0x26400 adjust=0x16600
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: ROM BIT: offset=0x1b0 size=12 stride=6 tokens=17 adjust=0x16600
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: ROM ucode table: offset=0x85fe1 version=1 header=6 stride=6 entries=16
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: FWSEC descriptor: offset=0x423f0 ROM_bytes=1048576 header=0x4ac0301
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: FWSEC geometry: image_off=0x4289c size=0xe200 imem=0xda00 va=0x0 pa=0x0 dmem=0x800 pa=0x0 pkc=0x5a4 interface=0x1c engine=0x400 ucode=9 signatures=3 versions=0x7 bytes=1152
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: FWSEC interface: offset=0x1c version=1 header=4 stride=8 entries=2 FRTS=0x5ffe00000
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: FWSEC mapper: version=3 size=64 cmd_offset=0x7c0 cmd_size=64
Oct 22 19:38:36 ai-llmhost00 kernel: gpu_unlock: FWSEC signature selection: versions=0x7 fuse_version=2 sig_bytes=384
Oct 22 19:38:36 ai-llmhost00 kernel: pci 0000:21:00.0: gpu_unlock: unlocked
nonroot@ai-llmhost00:~$참고: 이 잠금 해제는 새 커널의 첫 부팅에서, 전원 차단이 아닌 warm reboot(reboot) 상태에서 발생했습니다.
잠금 해제 후
- nvidia-smi: P8, 유휴 시 17 W, 350 W 제한, 부팅 시 오류 없음, 이전과 동일
- BF16 GEMM 8192 (PyTorch): 121.5 TFLOPS (stock reference ~64)
docker run --rm --gpus all pytorch/pytorch:latest python -c "
import torch, time
a = torch.randn(8192, 8192, device='cuda', dtype=torch.bfloat16)
b = torch.randn(8192, 8192, device='cuda', dtype=torch.bfloat16)
for _ in range(10): a @ b
torch.cuda.synchronize()
n = 50; t = time.time()
for _ in range(n): a @ b
torch.cuda.synchronize()
dt = time.time() - t
print(f'BF16 GEMM 8192: {2*8192**3*n/dt/1e12:.1f} TFLOPS')
"- Strata:
docker exec -w /data -e STRATA_API_KEY=MyKeyRemoved strata strata bench run --url http://127.0.0.1:8080 --track custom --track-notes "Z4 W-2235, 96GB, IQ3_S 256k kv int8, vram-reserve 1024, cvec on, tuned quick, kernel 7.2.9, NVIDIA 615.71.10, gpu-unlock BF16, LACT +200" --background "none"
| 사례 | 기준선 (10월 21일) | 해제됨 (10월 22일) | 변경 사항 |
|---|
| 4k에서의 프롬프트 속도 | 1,220 tok/s | 1,225 tok/s | 동일 |
|---|---|---|---|
| 16k에서의 프롬프트 속도 | 2,594 tok/s | 3,009 tok/s | +16% |
| 16k에서 첫 토큰까지의 시간 | 6.35 s | 5.48 s | 14% 더 빠름 |
| 짧은 디코드 | 93.7 tok/s | 94.3 tok/s | 동일 |
| 4k에서의 디코드 | 85.9 tok/s | 94.1 tok/s | +10% |
| 16k에서의 디코드 | 96.8 tok/s | 97.2 tok/s | 동일 |
출처
- 원문: https://github.com/Zagitta/gpu-unlock/issues/9 (2026-10-25 · github.com)