Re: [vfio-users] UEFI Windows and SWTPM

2022-08-21 Thread Roger Lawhorn
: Honestly your better off doing a fresh install. From what I see and hear performance is effected with an in place upgrade On Aug 21, 2022, at 6:19 AM, Roger Lawhorn wrote: i got it all worked out i had to emulate TPM 2.0, boot win10 and convert my mbr hard drive to GPT, shutdown

Re: [vfio-users] UEFI Windows and SWTPM

2022-08-21 Thread Roger Lawhorn
wrote: You also need secure boot enabled bios even if you do not fully use it. Have it working on a VM as well On Aug 20, 2022, at 4:55 PM, Roger Lawhorn wrote: i added tmp 2.0 support to my virt machine. windows pc health check says i dont qualify for windows 11. my amd epyc cpu

Re: [vfio-users] UEFI Windows and SWTPM

2022-08-20 Thread Roger Lawhorn
On Wed, Aug 4, 2021 at 2:49 AM Roger Lawhorn wrote: how do i install swtpm? is it a package in my repo or do i need to compile the source code? i dont use libvert, i run a qemu script to launch windows 10 how do i tell qemu that it needs to use it? is it an additional switch on the command line

Re: [vfio-users] gtx750 TI

2021-08-26 Thread Roger Lawhorn
model. Maybe selecting an older version of q35, like 3.1 might help? They added versioning to the machine model especially because Windows doesn't handle changes to the machine very well. Original Message On Aug 26, 2021, 09:30, Roger Lawhorn < r...@twc.com> wrote: he appa

Re: [vfio-users] gtx750 TI

2021-08-26 Thread Roger Lawhorn
he apparently runs poxmox 62. but upgraded to 7.0. maybe thats the issue. On 8/25/21 9:19 AM, Alex Williamson wrote: On Tue, 24 Aug 2021 19:07:11 -0400 Roger Lawhorn wrote: Hello, I have a friend using hypervisor and he cannot get his gtx750 TI passed through. He is getting the code 43. He

[vfio-users] gtx750 TI

2021-08-24 Thread Roger Lawhorn
Hello, I have a friend using hypervisor and he cannot get his gtx750 TI passed through. He is getting the code 43. He says he thinks its the card being too old. Any ideas? ___ vfio-users mailing list vfio-users@redhat.com

Re: [vfio-users] UEFI Windows and SWTPM

2021-08-04 Thread Roger Lawhorn
, 2021 at 2:49 AM Roger Lawhorn wrote: how do i install swtpm? is it a package in my repo or do i need to compile the source code? i dont use libvert, i run a qemu script to launch windows 10 how do i tell qemu that it needs to use it? is it an additional switch on the command line? thanks On 8/3

Re: [vfio-users] UEFI Windows and SWTPM

2021-08-03 Thread Roger Lawhorn
swtpm and might have to correct some permissions based on your install, and what user and it's permissions that are running your qemu and libvirt. On Mon, Aug 2, 2021 at 9:39 PM Roger Lawhorn <mailto:r...@twc.com>> wrote: We are all facing a forced upgrade to windows 11 so we mu

Re: [vfio-users] UEFI Windows and SWTPM

2021-08-02 Thread Roger Lawhorn
We are all facing a forced upgrade to windows 11 so we must answer this question. Thanks for asking it. I am not familiar with TPM in virt machines so I decline to comment. On 7/2/21 2:03 AM, Brett Peckinpaugh wrote: With Win 11 coming I figured I would spend a bit of time tinkering and see I

Re: [vfio-users] group not bound

2021-01-06 Thread Roger Lawhorn
card to force them to use vfio-pci and now the virtual machine boots once again. On 1/6/21 2:18 PM, Roger Lawhorn wrote: Thanks. I tried grabbing them using pci-stub. Didnt work. Still not bound. I will look into driverctl. On 1/5/21 11:42 AM, Alex Williamson wrote: On Tue, 5 Jan 2021 11:20

Re: [vfio-users] group not bound

2021-01-06 Thread Roger Lawhorn
Thanks. I tried grabbing them using pci-stub. Didnt work. Still not bound. I will look into driverctl. On 1/5/21 11:42 AM, Alex Williamson wrote: On Tue, 5 Jan 2021 11:20:20 -0500 Roger Lawhorn wrote: Hello, I recently had to reinstall my OS, but kept all my personal files. One

[vfio-users] group not bound

2021-01-05 Thread Roger Lawhorn
Hello, I recently had to reinstall my OS, but kept all my personal files. One of the things that needs to be resetup partially is qemu. I am getting the following error when running my qemu4.0 script to start win10: ./seabios-rtx2080.sh 24 pid 2558's current affinity list: 0-23 pid 2558's new

Re: [vfio-users] rtx 2080

2020-10-25 Thread Roger Lawhorn
and it works fine without the rom option. I use intel CPUs though. I wonder if that's the difference. I use edk2-ovmf though. I wasn't able to get it to work with seabios. On Sun, Oct 25, 2020 at 8:59 PM Roger Lawhorn wrote: I tried pushing off my rtx 2080 to windows 10. Kept getting code 43. I

[vfio-users] rtx 2080

2020-10-25 Thread Roger Lawhorn
I tried pushing off my rtx 2080 to windows 10. Kept getting code 43. I added hv_time,kvm=off,hv_vendor_id=null  to my -cpu line and it fixed the issue. Just in case someone else has this issue. I also had to download a rom file that matched my video card. QEMU cannot get past the option rom

Re: [vfio-users] nvidia

2020-07-08 Thread Roger Lawhorn
providing a rom manually is the one thing i have not tried. ok, i will give it a shot. On 7/7/20 7:12 PM, Alex Williamson wrote: On Tue, Jul 7, 2020 at 4:33 PM Roger Lawhorn <mailto:r...@twc.com>> wrote: Hello, I have an nvidia 980 ti oc 6gb card. I cannot use it

[vfio-users] nvidia

2020-07-07 Thread Roger Lawhorn
Hello, I have an nvidia 980 ti oc 6gb card. I cannot use it with qemu as a passthrough card. I have had to passthrough my amd cards only. I have read of nvidia making it impossible to use some of their cards in virtual machines. Is this true? Is there a workaround? I had a laptop with a nvidia

Re: [vfio-users] Intel 520 Integrated Graphics Card Passthrough Issues

2020-06-30 Thread Roger Lawhorn
your mighty welcome On 6/30/20 1:00 PM, Jeff Tchang wrote: Yay! Got it to work. My issue was that it wasn't in slot 0x02. I changed       function="0x0"/> to       function="0x0"/> . Thanks! Jeff On Tue, Jun 30, 2020 at 9:48 AM Jeff Tchang > wrote:

Re: [vfio-users] Intel 520 Integrated Graphics Card Passthrough Issues

2020-06-30 Thread Roger Lawhorn
what are you trying to achieve? you have one gpu and 2 cores. all i see possbile is to run bare minimum linux (xfce4 at the most) and let windows have all the power. however, without 2 gpus... gpu passthrough isnt even possible. not sure where you are going with this. On 6/29/20 11:40 AM,

Re: [vfio-users] Intel 520 Integrated Graphics Card Passthrough Issues

2020-06-29 Thread Roger Lawhorn
Can I get your laptop or mb make and model? I spent years perfecting the use of an Optimus (nvidia / intel) laptop to do gpuu passthrough. Maybe I can help. I contribute to a how to here: https://forums.linuxmint.com/viewtopic.php?t=212692 On 6/28/20 11:38 PM, Jeff Tchang wrote: Posted this

Re: [vfio-users] two gpus

2020-06-23 Thread Roger Lawhorn
ok, Well, the bug report I read said that all addr values must be 00.0 for it all to work. That fixed it for me. On 6/23/20 11:48 PM, Alex Williamson wrote: On Tue, 23 Jun 2020 23:33:22 -0400 Roger Lawhorn wrote: I have the answer. I had to change my lines from: -device vfio-pci,host=0c

Re: [vfio-users] two gpus

2020-06-23 Thread Roger Lawhorn
have both gpus and 8gb of vmem instead of just 4gb. Nice to know you CAN have more than one video card with gpu passthrough. On 6/22/20 5:51 AM, Roger Lawhorn wrote: The card has 4gb per gpu. So 8gb of hbm memory. On 6/21/20 7:10 PM, Alex Williamson wrote: On Sun, 21 Jun 2020 18:58:40 -0400

Re: [vfio-users] two gpus

2020-06-22 Thread Roger Lawhorn
The card has 4gb per gpu. So 8gb of hbm memory. On 6/21/20 7:10 PM, Alex Williamson wrote: On Sun, 21 Jun 2020 18:58:40 -0400 Roger Lawhorn wrote: ok, third try to get a new thread Anyway, I tried your global switch. I still get code 10 device failed to start on the 2nd gpu. I tried 8GB

[vfio-users] two gpus

2020-06-21 Thread Roger Lawhorn
ok, third try to get a new thread Anyway, I tried your global switch. I still get code 10 device failed to start on the 2nd gpu. I tried 8GB. Am I actually allocating 8GB for the pci hole or is that just a size? I did a full reinstall and factory reset on the video driver. On 6/21/20 6:05 PM,

Re: [vfio-users] two gpus

2020-06-21 Thread Roger Lawhorn
I always use reply to list. Is this somehow wrong? Anyway, so this is a valid qemu switch? I launch using a script. I do not use the gui. On 6/21/20 6:05 PM, Alex Williamson wrote: [intentionally de-threaded] On Sun, 21 Jun 2020 17:02:44 -0400 Roger Lawhorn wrote: Hello, I have a video

[vfio-users] two gpus

2020-06-21 Thread Roger Lawhorn
Hello, I have a video card with two gpus. The Radeon Pro Duo. I can get only one of the gpus passed off to windows 10. If I pass off the second one I am told by windows that there is not enough resources. So, does the q35 pc not support enough resouces for a 2nd video card? Thanks

Re: [vfio-users] Only 8 devices functional on i7 system

2020-06-21 Thread Roger Lawhorn
Hello, I have a video card with two gpus. The Radeon Pro Duo. I can get only one of the gpus passed off to windows 10. If I pass off the second one I am told by windows that there is not enough resources. So, does the q35 pc not support enough resouces for a 2nd video card? Thanks

Re: [vfio-users] new video card. vm wont boot

2020-06-03 Thread Roger Lawhorn
=1002:7340,1002:ab38 from this: /etc/modprobe.d/rad.conf options vfio-pci ids=1002:7340,1002:ab38 On 6/3/20 5:03 PM, Roger Lawhorn wrote: Thank you, I had considered this. Is the format to put it on the command line different? You need to build it as a module and not built in. With it built

Re: [vfio-users] new video card. vm wont boot

2020-06-03 Thread Roger Lawhorn
wrote: On Mon, 1 Jun 2020 at 14:38, Roger Lawhorn wrote: ok. $ grep VFIO config-5.4.43-050443-generic CONFIG_KVM_VFIO=y CONFIG_VFIO_IOMMU_TYPE1=y CONFIG_VFIO_VIRQFD=y CONFIG_VFIO=y CONFIG_VFIO_NOIOMMU=y CONFIG_VFIO_PCI=y CONFIG_VFIO_PCI_VGA=y CONFIG_VFIO_PCI_MMAP=y CONFIG_VFIO_PCI_INTX=y

Re: [vfio-users] new video card. vm wont boot

2020-06-01 Thread Roger Lawhorn
ok. $ grep VFIO config-5.4.43-050443-generic CONFIG_KVM_VFIO=y CONFIG_VFIO_IOMMU_TYPE1=y CONFIG_VFIO_VIRQFD=y CONFIG_VFIO=y CONFIG_VFIO_NOIOMMU=y CONFIG_VFIO_PCI=y CONFIG_VFIO_PCI_VGA=y CONFIG_VFIO_PCI_MMAP=y CONFIG_VFIO_PCI_INTX=y CONFIG_VFIO_PCI_IGD=y CONFIG_VFIO_MDEV=m

Re: [vfio-users] new video card. vm wont boot

2020-06-01 Thread Roger Lawhorn
/drivers/vfio/pci /lib/modules/5.3.0-40-generic/kernel/drivers/vfio/pci/vfio-pci.ko On 5/31/20 12:23 PM, Roger Lawhorn wrote: [ 0.886294] pci :0d:00.0: Using iommu direct mapping [    0.886624] pci :0d:00.1: Adding to iommu group 19 Is there a reason that the video card is being used

Re: [vfio-users] new video card. vm wont boot

2020-05-31 Thread Roger Lawhorn
missing in action. [    0.948298] VFIO - User Level meta-driver version: 0.3 still cant use modinfo on either. i have reached out to the maker of ukuu to get more info. On 5/31/20 9:14 AM, leeste...@pm.me wrote: On Sunday, May 31, 2020 2:29 PM, Roger Lawhorn wrote: Thanks for responding. BTW

Re: [vfio-users] new video card. vm wont boot

2020-05-31 Thread Roger Lawhorn
archives. If you have the instructions to pull a working kernel for ubuntu with vfio manually then let me know. On 5/31/20 3:20 AM, leeste...@pm.me wrote: On Sunday, May 31, 2020 5:45 AM, Roger Lawhorn wrote: ok, I got kernel 5.4 booted. They changed how raid0 works and I am one of the few

Re: [vfio-users] new video card. vm wont boot

2020-05-30 Thread Roger Lawhorn
ok, I got kernel 5.4 booted. They changed how raid0 works and I am one of the few that use raid0. Anyway, vfio-pci is missing in kernel 5.4. Anyone know why? On 5/29/20 8:41 PM, Roger Lawhorn wrote: This appears to be the navi reset bug. Supposedly kernel 5.4 fixes this. However, I am

Re: [vfio-users] new video card. vm wont boot

2020-05-29 Thread Roger Lawhorn
and watch qemu reset endlessly while trying to boot the vm. On 5/28/20 1:02 PM, Roger Lawhorn wrote: ok, I removed all cards but the new one and turned off vfio. Linux boots but finds no driver and uses fbdev instead: $ inxi -G Graphics:   Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M

Re: [vfio-users] new video card. vm wont boot

2020-05-28 Thread Roger Lawhorn
/28/20 11:58 AM, Roger Lawhorn wrote: I upgraded from a radeon duo pro 8gb hbm to a radeon rx 5500. Neither the win10 vm nor the win7 vm will boot with this card installed. The card is owned by vfio-pci on boot. The script didnt need any changes as it shows up at the same hardware address

[vfio-users] new video card. vm wont boot

2020-05-28 Thread Roger Lawhorn
I upgraded from a radeon duo pro 8gb hbm to a radeon rx 5500. Neither the win10 vm nor the win7 vm will boot with this card installed. The card is owned by vfio-pci on boot. The script didnt need any changes as it shows up at the same hardware address as the last card. Very frustrated.

Re: [vfio-users] optical eject issue

2020-05-23 Thread Roger Lawhorn
-MLT UJ260AF   1.00  /dev/sr0 /dev/sg3 [7:0:0:0]    disk    ATA  ST4000LM024-2AN1 0001  /dev/sdd /dev/sg4 On 5/23/20 9:05 PM, Samuel Holland wrote: On 5/23/20 5:43 PM, Roger Lawhorn wrote: Well, Got an error: qemu4.0-system-x86_64: -device scsi-generic,drive=cd0: SG_GET_SCSI_ID ioctl failed

Re: [vfio-users] optical eject issue

2020-05-23 Thread Roger Lawhorn
/23/20 5:43 PM, Roger Lawhorn wrote: Well, Got an error: qemu4.0-system-x86_64: -device scsi-generic,drive=cd0: SG_GET_SCSI_ID ioctl failed I haven't seen that error before. Make sure you're specifying the /dev/sgX node that matches your optical drive. Try `dmesg | grep sr.*sg` to find

Re: [vfio-users] optical eject issue

2020-05-23 Thread Roger Lawhorn
Well, Got an error: qemu4.0-system-x86_64: -device scsi-generic,drive=cd0: SG_GET_SCSI_ID ioctl failed The drive itself is sata so I don't think it will accept scsi commands. On 5/23/20 1:32 PM, Samuel Holland wrote: Hello, On 5/23/20 12:12 AM, Roger Lawhorn wrote: ok, sorry, did

Re: [vfio-users] optical eject issue

2020-05-23 Thread Roger Lawhorn
I will give this a try Seems like we have a winner. :-D On 5/23/20 2:54 PM, leeste...@pm.me wrote: Hello, On 5/23/20 12:12 AM, Roger Lawhorn wrote: ok, sorry, did a reply instead of a reply to all I have used the -cdrom /dev/sr0 option. When you say 'virtual' optical drive, are you

Re: [vfio-users] optical eject issue

2020-05-22 Thread Roger Lawhorn
-host,vendorid=0x21c4,productid=0x0cd1 \ -cdrom /dev/sr0 \ -boot menu=on \ -boot order=c exit 0 On 5/19/20 5:30 AM, leeste...@pm.me wrote: On Tuesday, May 19, 2020 1:05 AM, Roger Lawhorn wrote: When I add an optical drive to qemu the following happens: 1. the drive and any disc is seen

[vfio-users] optical eject issue

2020-05-18 Thread Roger Lawhorn
When I add an optical drive to qemu the following happens: 1) the drive and any disc is seen and works. 2) If I eject the disc and insert a new one the neew disc cannot be seen unless a full reboot of windows is performed. Is this normal behaviour? Is there a fix for this? Thanks Using QEMU

Re: [vfio-users] threadripper slowness

2019-08-15 Thread Roger Lawhorn
, 2019 at 7:31 PM Roger Lawhorn <mailto:r...@twc.com>> wrote: Just a note: So far to resolve this I have had to use the kernel boot line options "rcu_nocbs=0-23 processor.max_cstate=5". This fixes a known hardware bug in ryzen cpus that leads to constan

Re: [vfio-users] threadripper slowness

2019-08-14 Thread Roger Lawhorn
e. I never tweaked 'numa' before and I don't see why i need to now. Any ideas? I am on this till it works or I am out $3000. On 8/12/19 6:56 AM, Roger Lawhorn wrote: On 8/11/19 9:59 PM, gamana...@gmail.com wrote: You could probably get rid of all the lag you experience. Possibly qemu 4.0 provi

Re: [vfio-users] threadripper slowness

2019-08-12 Thread Roger Lawhorn
with minimal latency. -Original Message- From: vfio-users-boun...@redhat.com On Behalf Of Roger Lawhorn Sent: Sunday, August 11, 2019 9:31 PM To: vfio-users@redhat.com Subject: Re: [vfio-users] threadripper slowness Hello, Just wanted to mention that I got rid of a lot of the lag by compiling

Re: [vfio-users] threadripper slowness

2019-08-12 Thread Roger Lawhorn
your cpu by running lstopo. I am eager to see a configuration that uses both NUMA nodes of a Threadripper CPU in one guest with minimal latency. -Original Message- From: vfio-users-boun...@redhat.com On Behalf Of Roger Lawhorn Sent: Sunday, August 11, 2019 9:31 PM To: vfio-users@redha

Re: [vfio-users] threadripper slowness

2019-08-11 Thread Roger Lawhorn
. Are these drivers intel only? They are left only from my i7-4940mx processor install. On 8/9/19 11:51 AM, Roger Lawhorn wrote: Hello. I am new to the list. I have been doing gpu passthrough for almost 5 years now with a i7 4940mx cpu on a msi gt70 laptop. My new PC build is: MSI x399 carbon

[vfio-users] threadripper slowness

2019-08-09 Thread Roger Lawhorn
Hello. I am new to the list. I have been doing gpu passthrough for almost 5 years now with a i7 4940mx cpu on a msi gt70 laptop. My new PC build is: MSI x399 carbon pro motherboard : bios xx.1c0 : svm=enabled: iommu=enabled Threadripper 2920 12 core Radeon pro duo R9 Fury X Nvidia 980 TI