tips:gpu

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:gpu [2016/11/25 20:02] scipiotips:gpu [2022/11/04 08:13] (current) – [nvidia and wayland] sscipioni
Line 1: Line 1:
 ====== GPU ====== ====== GPU ======
  
-  * [[https://lime-technology.com/forum/index.php?topic=37495.0|code 43 solved]]  +===== nvidia and wayland =====
-  * [[https://lime-technology.com/forum/index.php?topic=43644.msg464975#msg464975|extract ROM]]+
  
-===== Prereq ===== +add **nvidia_drm.modeset=1** to grub settings ///etc/default/grub//
- +
-Two graphic cards: A as best card and B card. +
-To extract ROM from best card mount B card in first slot (16x BOOT card) and A card in second slot  +
-boot and+
  
 +/etc/modprobe.d/nvidia-power-management.conf
 <code> <code>
-cat /proc/driver/nvidia/gpus/0000\:06\:00.0/information  +options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp
-Model: GeForce GTX 750 Ti +
-IRQ:    38 +
-GPU UUID: GPU-1a843395-eac3-0f8f-11f4-7edbb2a0e088 +
-Video BIOS: 82.07.55.00.1b +
-Bus Type: PCIe +
-DMA Size: 40 bits +
-DMA Mask: 0xffffffffff +
-Bus Location: 0000:06:00.0 +
-Device Minor: 0+
 </code> </code>
  
-<code bash+enable these services 
-echo "0000:06:00.0" > /sys/bus/pci/drivers/vfio-pci/unbind +<code> 
-cd /sys/bus/pci/devices/0000\:06\:00.0 +systemctl enable nvidia-hibernate 
-echo 1 > rom  +systemctl enable nvidia-resume 
-cat rom > /opt/vbios.dump +systemctl enable nvidia-suspend
-echo 0 > rom  +
-</code> +
-</code>+
  
- 
-  * Install ovfm 
-  * https://scottlinux.com/2016/03/21/enable-hyper-v-enlightenments-in-kvm-for-better-windows-vm-performance/ 
- 
-<file txt /etc/modules> 
-vfio 
-vfio_iommu_type1 
-vfio_pci 
-vfio_virqfd 
-</file> 
- 
-<code bash> 
-update-initramfs -u 
 </code> </code>
  
-Create VM and customize configuration before start: 
-  * In the "Overview" section, set your firmware to "UEFI" and Q35 BIOS 
-  * In the "Processor" section write CPU model to "host-passthrough" 
- 
-<file> 
-<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> 
-... 
- 
- 
-<features> 
- <hyperv> 
- <vendor_id state='on' value='123456789ab'/> 
- </hyperv> 
- <kvm> 
- <hidden state='on'/> 
- </kvm> 
-</features> 
- 
-    <hostdev mode='subsystem' type='pci' managed='yes'> 
-      <source> 
-        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> 
-      </source> 
-      <rom file='/opt/Palit.GTX750Ti.2048.140702.rom'/> 
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> 
-    </hostdev> 
-    <hostdev mode='subsystem' type='pci' managed='yes'> 
-      <source> 
-        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> 
-      </source> 
-      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> 
-    </hostdev> 
- 
-... 
-  <qemu:commandline> 
-    <qemu:arg value='-set'/> 
-    <qemu:arg value='device.hostdev0.x-vga=on'/> 
-  </qemu:commandline> 
-</domain> 
- 
- 
- 
-</file> 
  • tips/gpu.1480100549.txt.gz
  • Last modified: 2016/11/25 20:02
  • by scipio