Commit graph

23 commits

Author SHA1 Message Date
Krutav Shah f432ffc8b7
Added some improvements to the README. (#42) 2021-04-24 21:51:49 +02:00
Jonathan Johansson 1888236c75 Remove subsystem vendor ID check. 2021-04-22 08:18:29 +02:00
Krutav Shah 1ba0d148b2
Organized GPUs by generational PCI ID ranges. (#38)
This now makes the scripts more compact as there are conditional statements
selecting the vGPU profile enabled card by the generation, and the generation
is determined by the ranges of PCI IDs. This should eliminate the need for
adding PCI IDs manually now, and open up more profile options for users to pick
from, including profiles with a VRAM multiple of 3GB.

Note that this breaks compatibility with previous versions as users may have
to go back and reselect a new profile.
2021-04-19 23:15:51 +02:00
Jonathan Johansson 7f2a16d0fc Add workaround for Maxwell devices not supporting inforom. 2021-04-19 21:36:52 +02:00
Jonathan Johansson 1af65cd505 Fix devices spoofed as Tesla M10. 2021-04-19 18:35:42 +02:00
Jonathan Johansson 69d59c52bb Decode unknowns in vgpu_unlock_vgpu_t.
The previously unknown members of vgpu_unlock_vgpu_t are now known. They decode
to an additional name for the vGPU and the length of the vGPU names. The code
has been updated to provide correct values for these members.
2021-04-18 21:29:38 +02:00
Zhifeng Hu 3a4b8e7802
Add support for Quadro P400 (#30) (#37) 2021-04-18 21:23:09 +02:00
Jonathan Johansson 825e5686ac Fix linker script for older versions of vGPU. 2021-04-17 21:44:06 +02:00
Jonathan Johansson c63cc3bb76 Suppress some "Assertion Failed".
Some ioctl calls result in "Assertion Failed" although everything seems to work
anyway. So we suppress these so that the error messages that do pop up are
actually significant.

Also add support for sending syslog messages from the vgpu_unlock python script.
This simplifies debugging a lot, and allows us to log the operation type values
for each ioctl call that fails.
2021-04-17 17:37:07 +02:00
arki05 10fb78a81d
Forward arguments in vgpu_unlock (#26) 2021-04-15 17:50:06 +02:00
FIFARenderZ 9416363206
Add a vGPU name check script to make using KVM hypervisors easier (#28) 2021-04-13 20:28:43 +02:00
Krutav Shah c1cdb5ac02
Added even more PCI IDs and removed Kepler (#23)
* Added RTX 2060 (TU106)
* Added Obscure Mobile Graphics and their numerous revisions
* Added GP104 Gaming Mobile cards.
2021-04-13 20:04:16 +02:00
Krutav Shah 2294da3d17
Update README.md (#19) 2021-04-12 02:03:48 +02:00
Jonathan Johansson b3c8251007 Fix syntax error. 2021-04-12 01:35:52 +02:00
jonpas 8a6353e0a6
Add EditorConfig and Force LF line endings (#18)
* Add EditorConfig and set git LF line endings
2021-04-12 00:11:30 +02:00
Krutav Shah 5767560051
Many new cards available for support thanks to our GPU survey. (#17)
* Many new PCI IDs with Maxwell and Volta support
* Added support for many new cards
2021-04-12 00:10:28 +02:00
Jonathan Johansson cce7b5d824 Add vgpu entries for the RTX A40. 2021-04-11 00:57:25 +02:00
Jonathan Johansson 54d90cde02 Remove hard-coded offsets for magic and key values. 2021-04-11 00:35:06 +02:00
Jonathan Johansson 0675b563ac Fix support for TU102 and TU106. 2021-02-27 17:15:17 +01:00
Jonathan Johansson cf01e2fbbd Add list of vGPUs and add PCI ID for Tesla T4. 2021-02-24 21:11:35 +01:00
Jonathan Johansson 6881c417ab Add modifications to kernel module.
Additional modifications had to be included into the build of nvidia.ko
in order for things to work properly.
2021-02-22 22:27:37 +01:00
Jonathan Johansson 5cfacdf7b5 First public version. 2021-01-28 22:22:28 +01:00
Jonathan Johansson b7a78949ef
Initial commit 2021-01-28 21:20:52 +01:00