n100 내장 그래픽 패스스루 문의
안녕하세요! 눈팅으로 많은 도움을 받고 있습니다.
혼자 해결할려고 하다가 도저히 안되서 질문을 드려봅니다ㅠ
1. N100 Firebat T8 모델
2. Proxmox(win11, ubuntu - tvh설치 완료)
3. ubuntu로 내장그래픽을 패스스루를 하여 tvh 트랜스코딩을 하고자 함
달소님이 작성하신글을 참고하여 시도해봤는데 안되네요
증상은 다음과 같습니다. 1~7 추가 하는 과정에서 0000:00:02.0 이거 하나밖에 안 나옴
댓글에서 dkms install —force -m i915-sriov-dkms -v 6.1로 설치하라고 하였지만 동일한 증상이네요
혹시 참고할만한 글이나 해결 가르침을 부탁드립니다
제가 저녁에 다시 해서 그 증상이 나오면 올려보겠습니다.
재부팅하면 ssh랑 pvr두개다 접속이 안되고 공유기 보면 ip는 제대로 할당(고정으로 셋팅)되어 있습니다.
콘솔로그인 되시면 콘솔에 로그인해서 네트웍 셋업 확인해보시고요.
ip addr 로 보여지는 주소와 공유기에서 할당해준 주소가 일치해야 하고.
이것이 /etc/network/interfaces 주소와도 맞아야 할겁니다.
아... 해결했습니다!! 많은 시행착오 끝에 해결햇네요ㅎㅎ
처음에 안되서 검색하다보니 https://svrforum.com/svr/930705를 참고해서 했는데.. 이 작업을 안하고 나서 하니 잘 되네요ㅎㅎ 이제 해결했으니 다음 단계로 가보겠습니다.
소소한 부분은 chetgpt를 활용하니 잘 되네요. 감사합니다!!
달소님 게시물 과 https://www.michaelstinkerings.org/gpu-virtualization-with-intel-12th-gen-igpu-uhd-730/ 참고
shell 에서 sudo -i 한 후
1. apt update
2. apt upgrade
2-1. apt install grub-efi-amd64
3. apt install pve-kernel-6.1
4. apt update && apt install pve-headers-$(uname -r)
5. update-initramfs -u
6. reboot
7. uname -r
8. apt install git dkms build-* -y
9. git clone https://github.com/strongtz/i915-sriov-dkms
10. cd i915-sriov-dkms
11. nano dkms.conf
12. [REPLACE THESE TWO LINES]
PACKAGE_NAME="@_PKGBASE@" ## "i915-sriov-dkms"
PACKAGE_VERSION="@PKGVER@" ## "6.2"
13. mkdir /usr/src/i915-sriov-dkms-6.2
14. cp -r * /usr/src/i915-sriov-dkms-6.2
15. dkms install --force -m i915-sriov-dkms -v 6.2
16. dkms status
17. nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 iommu=pt quiet"
18. update-grub
19. update-initramfs -u
20. pve-efiboot-tool refresh
21. apt install sysfsutils -y
22. lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c) 확인
23. echo "devices/pci0000:00/0000:00:02.0/sriov_numvfs = 7" > /etc/sysfs.conf
24. reboot
25. lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:02.1 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:02.2 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:02.3 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:02.4 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:02.5 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:02.6 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
00:02.7 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
26. 안되면 8 ~ 24번까지 한번더 실행
제가 했던 방법입니다. 참고하세요.
Upgrade the Linux Guest to 6.2 Kernel along with the headers, which Intel has already mainlined many SRIOV features,
요렇게 되어있군요. 제가 작업했을때는 커널 6.1 기준이라서 커널 컴파일까지 했어야 했는데, 6.2 이후에는 필요 없는 모양입니다.
(해보지는 않았구요.) 호스트 셋업부분이 잘 되면 이 방법대로 진행하시는 것도 괜찮아 보입니다.
얼마전 알리 할인으로 동일 제품을 갖게 되고 이것 저것 가지고 놀다가 proxmox를 알게 되고 여기까지 흘러 왔는데요. 2주 좀 넘게 모듈 빌드 부분에서 에러가 나서 포기하기 직전이었거든요. 마지막이라 생각하고 따라하기 했는데 성공했네요. 뭘까요 이 세계는 따라하기도 어려운....셋팅시 이전 이랑 어떤 차이점이 있는지도 잘 모르겠습니다.....주저리주저리....암튼 너무 감사드립니다 ㅎㅎ
12세대 igpu 는 패쓰스루 가이드는 못봤고. vgpu 로 되는거만 해봤네요. (달소님 글 동일)
아래 글이 업데이트 많이되고 리플도 많습니다. n100이 동일한 12세대 엘더레이크니까 참고하심 됩니다.
https://www.derekseaman.com/2023/11/proxmox-ve-8-1-windows-11-vgpu-vt-d-passthrough-with-intel-alder-lake.html
네이티브 SA6400 모델로 쉽게 트랜스코딩 가시는 방법도 있습니다.
cmt alert