User Tools

Site Tools


render-offloading-and-passthrough

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
render-offloading-and-passthrough [2021/08/25 05:55]
prppedro created
render-offloading-and-passthrough [2021/08/25 06:03] (current)
prppedro [A note to myself]
Line 148: Line 148:
 In that example, there's only the root port and the card (plus it's HDMI audio device). Passing it through should not break anything.  In that example, there's only the root port and the card (plus it's HDMI audio device). Passing it through should not break anything. 
  
-FIXME o sono bateu não consegui terminar de escreverWelp+==== Third step ==== 
 + 
 +At that point, you can just follow the [[https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF|first tutorial]] noted at that article.  
 + 
 +===== Unbinding and returning to the “normal” life ===== 
 + 
 +After making sure your VM is unloaded, you can run the following script:  
 + 
 +<code> 
 +ID="10de IDID" 
 +BDF="0000:0x:00.0" 
 +# Unbind a PCI function from its driver as necessary 
 +[ ! -/sys/bus/pci/devices/$BDF/driver/unbind ] || \ 
 +        echo -n $BDF > /sys/bus/pci/devices/$BDF/driver/unbind 
 + 
 +modprobe nvidia 
 +modprobe nvidia_modeset 
 +modprobe nvidia_drm 
 + 
 +/etc/init.d/nvidia-persistenced start 
 +/etc/init.d/bumblebeed start 
 +</code> 
 + 
 +It is important to note that it is also a crude implementation and, as such doesn't deal all that much with the integrated audio device (as it's not of much importance to me). Perhaps you should edit your scripts to include it.  
 + 
 +===== A note to myself ===== 
 + 
 +FIXME improve that article!  
 + 
 + 
 + 
 +((https://mathiashueber.com/fighting-error-43-nvidia-gpu-virtual-machine/)) 
 + 
 + 
  
  
render-offloading-and-passthrough.1629870916.txt.gz · Last modified: 2021/08/25 05:55 by prppedro