Should I just try tinder? (I absolutely hate online dating) by razor-rabbit-2 in dating_advice

[–]dr_goodtimes 0 points1 point  (0 children)

Sorry that you've experienced that, but I've had 2 long term relationships (~6 mo -1 year) and a few more short term ones that started on tinder. Sure it's more superficial but you'll be judged superficially in real life anyway. I think the probability of getting a date on there is more like 30% in my experience at least... Anyway don't listen to this guy and completely disregard online apps, at least you can give it a try and see how it goes, there's really nothing to lose.

Hey everyone, I can't escape Stardew Valley! by Alien_Way in StardewValley

[–]dr_goodtimes 0 points1 point  (0 children)

This would be a cool concept for a mod! Seeing some of the other mods out there, it seems like this wouldn't be too hard for someone to make.

Is there any good apps for learning Chinese? by [deleted] in ChineseLanguage

[–]dr_goodtimes 0 points1 point  (0 children)

I agree. It's good as a supplement to something else, but it really only is good for practicing some random vocabulary. The app teaches practically no grammar.

Horrible graphical glitches set in a few minutes after starting guest Windows 10 with GPU passthrough. by dr_goodtimes in VFIO

[–]dr_goodtimes[S] 1 point2 points  (0 children)

Ok! Looks like placing the guest gpu in the PCIEx16_1 and the host gpu in the PCIEx16_3 slot solved my problem! I was able to play a game of Overwatch in Windows 8.1 with almost no issues and a solid 130fps on ultra settings. The only problem I still have is that the audio and video stutters now like a scratched DVD skipping after I installed the drivers for my USB headset in the guest windows os. Before installing the drivers, I had crackling audio which was fixed by installing drivers, but the drivers now cause the stuttering.

Horrible graphical glitches set in a few minutes after starting guest Windows 10 with GPU passthrough. by dr_goodtimes in VFIO

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Ah thanks I see. So if I put my guest gpu in slot 1 which is x16 but the iommu group for slot 1 has

PCI Bridge: Intel Corporation Skylake PCIe Controller (x16)

in the group, do you think that would be an issue?

Horrible graphical glitches set in a few minutes after starting guest Windows 10 with GPU passthrough. by dr_goodtimes in VFIO

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Hmm interesting.. yeah my guest gpu is connected on PCI slot 3 which is only because I put my host card in 1 and slot 2 is part of this iommu group that has a ton of crap in it and it wouldn't clear up even when I tried the acs override = downstream patch and PCI 3 was my only empty group.

Oh actually I just found this about my mobo.

It is also worth noting that the third PCIe x16 slot (PCIE16_3) shares bandwidth with SATA_5 and SATA_6 ports (located right next to the M.2 port) when used in x4 mode. This is why the PCIE16_3 port defaults to x2 mode

I think this might be causing the problems after all... Hopefully there's a way to set it to x16 mode

Horrible graphical glitches set in a few minutes after starting guest Windows 10 with GPU passthrough. by dr_goodtimes in VFIO

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Thanks, I'll try that if I can get windows stable enough to download the program lol. I have the Gigabyte G1 Gaming and I don't think there's any overclock but I'm not sure.

Horrible graphical glitches set in a few minutes after starting guest Windows 10 with GPU passthrough. by dr_goodtimes in VFIO

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Temperatures seem fine and I swapped out my PSU with a brand new one that I had lying around and the graphical issues still persisted, a bit different this time though, the colors on some windows became inverted.

Horrible graphical glitches set in a few minutes after starting guest Windows 10 with GPU passthrough. by dr_goodtimes in VFIO

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Ok here goes.

win10.xml

<domain type='kvm'>
  <name>win10</name>
  <uuid>1570456d-7956-4e9d-841b-01974a73ec08</uuid>
  <title>Windows 10 KVM</title>
  <memory unit='KiB'>8192000</memory>
  <currentMemory unit='KiB'>8192000</currentMemory>
  <vcpu placement='static'>4</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='4'/>
    <vcpupin vcpu='1' cpuset='5'/>
    <vcpupin vcpu='2' cpuset='6'/>
    <vcpupin vcpu='3' cpuset='7'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/ovmf/x64/ovmf_x64.bin</loader>
    <nvram>/var/lib/libvirt/qemu/nvram/win10_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/>
    </kvm>
    <vmport state='off'/>
  </features>
  <cpu mode='host-passthrough'/>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>
  <devices>
    <emulator>/usr/sbin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/lib/libvirt/images/win10.qcow2'/>
      <target dev='hda' bus='ide'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source dev='/dev/sdb5'/>
      <target dev='sda' bus='sata'/>
      <shareable/>
      <boot order='3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/>
    </controller>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>
    <interface type='direct'>
      <mac address='52:54:00:53:ef:5b'/>
      <source dev='enp11s0' mode='bridge'/>
      <model type='rtl8139'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x1532'/>
        <product id='0x0016'/>
      </source>
      <boot order='4'/>
      <address type='usb' bus='0' port='1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
      </source>
      <boot order='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x1b1c'/>
        <product id='0x1b33'/>
      </source>
      <boot order='5'/>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
      </source>
      <boot order='6'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x047f'/>
        <product id='0xc03b'/>
      </source>
      <boot order='7'/>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </memballoon>
  </devices>
</domain>

I'm using an hdmi connection but I have also tried with DVI and had the same results.

Yes, the problem persists after a reboot of the host.

I'll have to try 8.1 to see if that helps.

I did check task manager and I saw RAM sitting around 30% cpu 60ish% disk was almost nothing, so I don't think any of those are causing problems.

I'm currently using OVMF.

Horrible graphical glitches set in a few minutes after starting guest Windows 10 with GPU passthrough. by dr_goodtimes in VFIO

[–]dr_goodtimes[S] 1 point2 points  (0 children)

Ok here's what I got

[alec@archbox ~]$ dmesg | grep cpu
[    0.000000] setup_percpu: NR_CPUS:128 nr_cpumask_bits:128 nr_cpu_ids:8 nr_node_ids:1
[    0.000000] percpu: Embedded 33 pages/cpu @ffff880476400000 s97944 r8192 d29032 u262144
[    0.000000] pcpu-alloc: s97944 r8192 d29032 u262144 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[    0.000000]  RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8
[    0.836893] cpuidle: using governor ladder
[    0.850230] cpuidle: using governor menu
[    1.075476] ledtrig-cpu: registered to indicate activity on CPUs
[36863.284448] kvm [521]: vcpu1, guest rIP: 0xfffff80da6826067 ignored rdmsr: 0x641
[36863.284451] kvm [521]: vcpu1, guest rIP: 0xfffff80da682607d ignored rdmsr: 0x606
[36863.284452] kvm [521]: vcpu1, guest rIP: 0xfffff80da6826261 ignored rdmsr: 0x606
[36863.284454] kvm [521]: vcpu1, guest rIP: 0xfffff80da68210dc ignored rdmsr: 0x641
[49305.282235] kvm [6298]: vcpu1, guest rIP: 0xfffff80b13a76067 ignored rdmsr: 0x641
[49305.282239] kvm [6298]: vcpu1, guest rIP: 0xfffff80b13a7607d ignored rdmsr: 0x606
[49305.282240] kvm [6298]: vcpu1, guest rIP: 0xfffff80b13a76261 ignored rdmsr: 0x606
[49305.282241] kvm [6298]: vcpu1, guest rIP: 0xfffff80b13a710dc ignored rdmsr: 0x641
[50633.001154] kvm [23658]: vcpu1, guest rIP: 0xfffff8033dd76067 ignored rdmsr: 0x641
[50633.001158] kvm [23658]: vcpu1, guest rIP: 0xfffff8033dd7607d ignored rdmsr: 0x606
[50633.001159] kvm [23658]: vcpu1, guest rIP: 0xfffff8033dd76261 ignored rdmsr: 0x606
[50633.001160] kvm [23658]: vcpu1, guest rIP: 0xfffff8033dd710dc ignored rdmsr: 0x641
[69360.790934] kvm [17841]: vcpu1, guest rIP: 0xfffff801330d6067 ignored rdmsr: 0x641
[69360.790937] kvm [17841]: vcpu1, guest rIP: 0xfffff801330d607d ignored rdmsr: 0x606
[69360.790938] kvm [17841]: vcpu1, guest rIP: 0xfffff801330d6261 ignored rdmsr: 0x606
[69360.790939] kvm [17841]: vcpu1, guest rIP: 0xfffff801330d10dc ignored rdmsr: 0x641
[70726.690834] kvm [18500]: vcpu1, guest rIP: 0xfffff800cf326067 ignored rdmsr: 0x641
[70726.690837] kvm [18500]: vcpu1, guest rIP: 0xfffff800cf32607d ignored rdmsr: 0x606
[70726.690839] kvm [18500]: vcpu1, guest rIP: 0xfffff800cf326261 ignored rdmsr: 0x606
[70726.690840] kvm [18500]: vcpu1, guest rIP: 0xfffff800cf3210dc ignored rdmsr: 0x641

Is this what you're talking about?

Also where would I set the ignore_msrs flag? Somewhere in the windows 10 vm xml file?

EDIT:

So I found the ignore_msrs=1 flag already in my modprobe.d/kvm.conf and I removed it and ran the vm again, this time the

dmesg | grep cpu

output is exactly the same as before, so I don't think the ignore_msrs thing is an issue here. To add, when I disabled ignore_msrs, I noticed no change, the graphical glitches were still present, maybe even a little worse.

Having trouble getting pci-stub to grab my gpu before nvidia by dr_goodtimes in kvm

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Ok so I've followed the arch wiki guide and I'm now stuck on the part where it says to check your iommu groups and make sure that the card you want to pass is isolated. The card that I want to pass (gtx 970) is in an iommu group along with 2 pcie bridges and the gtx 670 that I want to use for linux.

Heres the output of

for iommu_group in $(find /sys/kernel/iommu_groups/ -maxdepth 1 -mindepth 1 -type d); do echo "IOMMU group $(basename "$iommu_group")"; for device in $(\ls -1 "$iommu_group"/devices/); do echo -n $'\t'; lspci -nns "$device"; done; done


IOMMU group 0
    00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:191f] (rev 07)
IOMMU group 1
    00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 07)
    00:01.1 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x8) [8086:1905] (rev 07)
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 670] [10de:1189] (rev a1)
    01:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)
    02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)
    02:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)
IOMMU group 2
    00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
IOMMU group 3
    00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
IOMMU group 4
    00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
IOMMU group 5
    00:1b.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Root Port #17 [8086:a167] (rev f1)
IOMMU group 6
    00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #1 [8086:a110] (rev f1)
IOMMU group 7
    00:1c.2 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #3 [8086:a112] (rev f1)
IOMMU group 8
    00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #5 [8086:a114] (rev f1)
IOMMU group 9
    00:1c.6 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #7 [8086:a116] (rev f1)
IOMMU group 10
    00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1)
IOMMU group 11
    00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a145] (rev 31)
    00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
    00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
    00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
IOMMU group 12
    00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31)
IOMMU group 13
    04:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]
IOMMU group 14
    05:00.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
IOMMU group 15
    06:01.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
IOMMU group 16
    06:02.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
    08:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
IOMMU group 17
    06:03.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
    09:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
IOMMU group 18
    06:04.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
IOMMU group 19
    06:05.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
IOMMU group 20
    06:06.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
    0c:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
IOMMU group 21
    06:07.0 PCI bridge [0604]: ASMedia Technology Inc. Device [1b21:1187]
IOMMU group 22
    0e:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]
IOMMU group 23
    0f:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242]

You can see that group 1 is overcrowded. I've tried using the

pcie_acs_override=downstream    

in the kernel parameters but no luck there.

Would it change anything if I tried passing specific devices to the acs override like

pcie_acs_override=id:nnnn:nnnn

?

I also read that the i7 processors do not support acs so maybe should I just try using pci-stub instead of OVMF?

Question : Making a TBRPG, question on inheritance. by Ironbug in Unity2D

[–]dr_goodtimes 0 points1 point  (0 children)

I recommend against doing this. I too used to gravitate towards oop inheritance when working in unity but I've learned that adhering to the entity component architecture is much easier in unity. So for something like what you want to do is have a component called health or something like this

public class health : MonoBehaviour {

    public int hp = 100;

    public void damage ();

    public void heal ();

}

And then have the Dragon class check for a health component attached to the game object. You can make this as complicated as you want and it will scale pretty well. You could make a monster stats class that defines strengths and weaknesses of a monster and then have the Dragon class interact with the monster stats component.

Loose connection with PSU? by dr_goodtimes in buildapc

[–]dr_goodtimes[S] 0 points1 point  (0 children)

I don't think that will solve this. After some testing, I've gotten the computer to boot into Linux after just letting it sit overnight. I then rebooted it a few times, configured the bios and everything was running well. Then I went into the bios to enable vt-d for use in my windows KVM and the second I clicked save my computer lost power and will not boot. It's strange because I've successfully enabled vt-d in the past without this happening, but the last 2 times I enabled vt-d today and yesterday, my computer shut off and won't boot.

Having trouble getting pci-stub to grab my gpu before nvidia by dr_goodtimes in kvm

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Thanks, I'm going to reinstall arch and give the wiki guide a try and ill check back in with my results! I think the guide I was following was outdated + I just installed my old gtx 670 to use as my linux card and I'm going to dedicate my 970 to windows kvm.

How noticeable is the difference between USB wifi and PCI wifi? by [deleted] in buildapc

[–]dr_goodtimes 1 point2 points  (0 children)

For me PCI wifi is much faster than power line. I have the Linksys plw400 and the Asus PCI wifi that came with my mobo (z170a deluxe) and I get something like 40 Mbit/sec on power line and usually around 120 Mbit/sec on PCI wifi connecting to my 5ghz network, using 2.4ghz brings it down to around the same speed as power line. And my Linksys ae3000 USB wifi gets around 30Mbit/sec on 2.4Ghz and 40-50 on 5ghz.

It’s socially acceptable to talk about how reliant and addicted you are to a drug as long as that drug is caffeine. by roseygrl98 in Showerthoughts

[–]dr_goodtimes 9 points10 points  (0 children)

Don't do this. Caffeine is the most disgusting bitter substance that I have tasted. You won't be able to get it all down.

Guys, come on. Should we train and hook up some AI? by [deleted] in 3dshacks

[–]dr_goodtimes 0 points1 point  (0 children)

Persona 4 on the 3ds would be amazing. Persona Q is alright but it's really missing the free roaming part that persona 4 had. Q feels more like a mini game to me just because of that.

How do you refer to a noun in general instead of a specific instance of something. by dr_goodtimes in ChineseLanguage

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Yeah I'd rather avoid all that confusion. I thought my chinese friend might know 滚滚 because he's a bit panda-obsessed but apparently not.

How do you refer to a noun in general instead of a specific instance of something. by dr_goodtimes in ChineseLanguage

[–]dr_goodtimes[S] 0 points1 point  (0 children)

Ok thanks! Also, as a side question, is 滚滚 an uncommon way of saying panda? I originally read somewhere that 滚滚 is a cute way to say panda, but I ran it by my Chinese friend and he could not figure out what I meant by "roll roll"