Need tech help. I have two GPUs in my motherboard. The motherboard keeps selecting the wrong GPU as the one to output to. In Linux I can't find any settings to make the os use the correct GPU. Anytime I search for this it ends up being an integrated vs dedicated thing. Butni have two dedicated cards. I need the PC to only use one since the other will be passed to vfio
@SwooshyCueb switching them would limit the PCI lanes usable on the more powerful so that's not really an option as it would limit the performance
tech help, may not apply to your situation but it might
@roxie bind the vfio driver to the one not to use by its pcie id number in modprobe conf (then don't forget to rebuild initrd)
also unbind the efi fb driver from whichever one your uefi chose during boot i'm not at home but i'll get u the command for that later
@seasharp would this take effect like when booting so that I could see grub and input a password for my root drive? All before the actual kernal loads but like its the ramfs kernal thingy
@seasharp that might be worth a shout. I just need to know what the password entry uses and if its still "grub" and then once it unlocks like then the kernal will do the rest
@roxie My vague memory about this is that you want to blacklist the "wrong" GPU.
Maybe some useful things here (or in links from here) ? : https://www.reddit.com/r/VFIO/comments/k6y929/how_to_blacklist_a_gpu_in_a_dual_nvidia_setup/
@roxie I had a similar situation on my rig and assuming modprobing the vfio stuff isn't good enough for your needs (I found it worked okay, yes the bios shows up on the wrong card and sits there awkwardly blinking once the kernel runs on the other, but once the VM runs it sorts itself out)
but yeah if that's not good enough for your needs my only option was to physically swap the cards, seemed the motherboard always init'ed the lowest card (for me anyway)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!