Complete-Single-GPU-Passthrough
linux-tkg
Our great sponsors
Complete-Single-GPU-Passthrough | linux-tkg | |
---|---|---|
65 | 147 | |
650 | 1,158 | |
- | 4.5% | |
4.9 | 9.1 | |
about 2 months ago | 9 days ago | |
Shell | Shell | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Complete-Single-GPU-Passthrough
-
I can no longer launch VMs
I was trying to get single GPU passthrough to work on my RX 6700xt and Ryzen 5 5600 however after following this guidehttps://github.com/QaidVoid/Complete-Single-GPU-Passthrough I can no longer even launch any VMs or create any new ones. I get this error.
-
How to disable nvidia drivers?
Im assuming you're on a single gpu setup and, as such are trying to do single gpu passthrough with a single nvidia card. so you'll likely have to run some libvirt hooks or smth to run scripts to unbind your gpu once you start your vm. In which case id suggest going through these two guides 1 2 which go over completely passing through your single gpu when you start your vm
- Is it possible to use the iGPU in a 7900X as a host while using my 7900XTX as a Windows card?
- How to make Engineering software work on Linux
- Start script works, but stop script doesn't
-
2 Things: Freeze on login screen after loading up vm | system doesn't load after isolating gpu
Thanks for reply. I didn't find the issue, but I decided to install endeaveour just to not reinstall arch every hour and using this guide I managed to make it work. I guess on bare bones system I missed something every time I tried, but I'm not experienced enough to know what I didn't do to run it.
-
Switching GPUs when using Windows
I have a similar use case. I good good guide to follow would be this but I also have my iGPU disabled completely.
-
System running attach/detach from host LINUX driver? Dealing with GPU power/fan for passthrough GPU on linux host when not running a pass through VM?
not an expert on this, but you can use the single gpu passthrough scripts to unload/reload drivers for host/vm needs. (no reboots) ssh into the desktop pc and test out what works for you. https://github.com/QaidVoid/Complete-Single-GPU-Passthrough what helped me here was unbinding/binding the vtconsoles before unloading/loading drivers again via tty. If you do it directly on the machine, you may lose tty/framebuffer, which is why I suggested ssh.
-
Does anyone know of a tutorial for doing single GPU(Nvidia) passthrough on Fedora 37?
I used this and it worked. https://github.com/QaidVoid/Complete-Single-GPU-Passthrough
-
Black screen after installing AMD drivers.
Hello. I have an RX 6600, and I wanted to use single gpu pass through. I followed this guide. Everything worked fine, until I got to installing the drivers. Once they got installed I got a black screen. I know it installed successfully because I used teamviewer to look at my screen from a different PC. Any help would be appreciated.
linux-tkg
-
Been thinking of switching to linux but I am a noob
Generally, Arch is the better platform for getting various kernel versions, but there's always stuff like Xanmod which is easy to do in any distro. Worst case, could always use linux-tkg script to build your own kernel - with that kind of hardware it shouldn't take long for the kernel to be built.
-
Until RedHat Stops Violating the GPL, Fedora Should Stop Being Recommended on Here
kernel patched with cherry-picked zen patches (also used in TKG kernel on Arch https://github.com/Frogging-Family/linux-tkg/blob/master/linux-tkg-patches/6.1/0003-glitched-base.patch) kernel patched with OpenRGB (https://gitlab.com/CalcProgrammer1/OpenRGB/-/wikis/OpenRGB-Kernel-Patch) kernel patched to enable amdgpu for pre-polaris cards by default instead of radeon kernel patched with steam deck support kernel patched with microsoft surface support (https://github.com/linux-surface/linux-surface/tree/master/patches/6.1) kernel patched with asus-linux patches for better asus laptop compatibility. (https://gitlab.com/asus-linux) kernel patched with simpledrm fix/workaround for nvidia (see: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1788 ) kernel patched with ACS override IOMMU patch for better vfio iommu group control (https://aur.archlinux.org/cgit/aur.git/tree/add-acs-overrides.patch?h=linux-vfio) kernel patched with Lenovo Legion Linux support (https://github.com/johnfanv2/LenovoLegionLinux) kernel patched with customizable USB polling rate support (https://github.com/KarsMulder/Linux-Pollrate-Patch + https://github.com/GloriousEggroll/Linux-Pollrate-Patch) kernel configured with ashmem, binder, and android support for Waydroid QSG_RENDER_LOOP=”basic” set for nvidia cards — fixes nouveau Wayland freezes. The nvidia proprietary driver sets this anyway after installation. This fixes the issue of KDE Wayland often times freezing on first login before nvidia proprietary drivers are installed. latest mesa release version provided for AMD/Intel desktop/GL drivers, mesa-git vulkan drivers provided for latest vulkan fixes/updates, built and updated regularly (every few weeks to a month on average) glibc patched with clone3 disabled (fixes CEF compatibility in applications using outdated CEF such as Discord, Steam beta) glibc patched with broken commits reverted to allow EasyAntiCheat to work for Rogue Company dnf max parallel downloads increased to 6 gst-editing-services disabled — causes WINE to hang when creating new prefixes lspci symlink from /usr/sbin/lspci to /usr/bin/lspci for Dying Light: https://www.gamingonlinux.com/forum/topic/2766/post_id=17381 ‘nobara-controller-config’ package provided for easy installation of xone and xpadneo drivers and firmware. gnome variable refresh rate patches added for mutter: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1154 gnome mutter check-alive-timeout increased from 5 seconds to 30 seconds. This is the amount of time gnome waits before trying to determine if an application is not responding. At 5 seconds it almost immediately triggers for league of legends (and some other applications) if those applications are still in the loading phase. We feel 30 seconds is a much more reasonable wait time. gnome mutter patched with x11 fractional scaling: https://salsa.debian.org/gnome-team/mutter/-/raw/ubuntu/master/debian/patches/ubuntu/x11-Add-support-for-fractional-scaling-using-Randr.patch gnome mutter wayland and x11 fractional scaling enabled by default: https://wiki.archlinux.org/title/HiDPI#Fractional_scaling gnome shell patched with https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2358 to allow gnome-extension-manager to auto-update without needing gnome-extension-app installed. (They both function the same but gnome-extension-manager allows management of extensions without a browser). gamescope version regularly updated goverlay version regularly updated mangohud version regularly updated vkbasalt version regularly updated vm.max_map_count = 16777216 set by default for Star Citizen xwayland patched with fix for locked fps on some systems: https://build.opensuse.org/package/view_file/home:hwsnemo:xwayland/xwayland/xwayland-vsync.diff?expand=1 supergfxctl and gnome extension + kde plasmoid enabled for laptops. Vendor agnostic and works with any combination of intel/amd/nvidia gpus.
-
What is the best Linux Kernel for gaming?
Technically, it would be https://github.com/Frogging-Family/linux-tkg compiled specifically for you CPU and with tickless and a bunch of other patches, but the different isn't significant
-
Error 2124 when trying to interact with super-block (show-super, set-option)
Kernel: Gentoo-sources (6.1.28) with these patches for bcachefs (applied through Gentoo user patches, no other patches installed)
-
Distro Hop best way?
New kernel is available, just not straight from Manjaro. Plus lots of options and patches https://github.com/Frogging-Family/linux-tkg
-
Wine-tkg or Linux-tkg in Ubuntu Studio?
Is it possible for Ubuntu Studio to have the kernel upgraded -it is at 5.15 atm? The kernel from the Frogging Family: https://github.com/Frogging-Family/linux-tkg And how do I install wine-tkg 😅 I cant seems to figure it out. https://github.com/Frogging-Family/wine-tkg-git
-
Current state of Tumbleweed with Nvidia graphic cards? (updates/bricked system)
I use Nvidia (GTX 1080) and Tumbleweed just fine. No issues. But also I use a custom Kernel, based-on TKG currently and HEAVILY customized (https://github.com/Frogging-Family/linux-tkg). I also use SLRC (https://susepaste.org/89529032) SUSE Local Repository Creator, to download and keep all the repos I use for SUSE, including Tumbleweed.
-
TW good for gaming?
Also, I use a custom Kernel (at the moment TKG - https://github.com/Frogging-Family/linux-tkg), supports SUSE. But there's also pre-built Liquorix Kernel for SUSE Tumbleweed in the OBS: https://build.opensuse.org/package/show/home:hwsnemo:kernels /kernel-liquorix
-
Can't run any games on GE Proton (Zorin OS Lite)
You can compile by yourself, TKG is the easiest for me: https://github.com/Frogging-Family/linux-tkg
-
Would MicroOS be appropriate for me? Or better to go with tumbleweed
I have no issues with Nvidia drivers on Tumbleweed. But also you can use a custom Kernel (TKG -- https://github.com/Frogging-Family/linux-tkg -- for instance) and use offline repos (with this script: https://susepaste.org/89529032 -- not mine but clean) to download SUSE repos that you need. Re run the script to update. Quick, easy and you're not bombarded with updates; update when you want. Works beaut with Tumbleweed.
What are some alternatives?
Single-GPU-Passthrough
zen-kernel - Zen Patched Kernel Sources
Proton - Compatibility tool for Steam Play based on Wine and additional components
linux - XanMod: Linux kernel source code tree
vfio - A script for easy pci and usb passthrough along with disks, iso's and other useful flags for quick tinkering with less of a headache. I use it for VM gaming and other PCI/LiveCD/PXE/VM/RawImage testing given the script's accessibility.
nvidia-all - Nvidia driver latest to 396 series AIO installer
vfio-config - Tool to help bind a PCI device and its IOMMU group to the VFIO driver.
modprobed-db - Keeps track of EVERY kernel module that has ever been probed. Useful for those of us who make localmodconfig :)
gpu-passthrough-tutorial
community-patches - A place to find patches that are maintained by the community before myself
GPU-Passthrough-Arch-Linux-to-Windows10 - GPU Passthrough and virt-manager walkthrough
anbox-modules - Anbox kernel modules