Jump to content

Tyranian

Members
  • Posts

    28
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Tyranian

  1. Couldnt see if this has already been stated but after updating to the new Unraid RC (6.10 RC5) from stable I have got permission errors on several Binhex containers here is the error for Sonarr  

     

    System.Data.SQLite.SQLiteException (0x80004005): attempt to write a read-only database

     

    updating the permissions or reinstalling the App fresh and restore of backup works (i went with the restore as wasnt sure what other files may have permission issues)

  2. I have a disk that will only mount RO and has the following issue when BTRFS checked I have tried Scrubbing but errors remain what are my next options?

     

    Disk 1 has the following errors when doing a BTFRS check

     

    [1/7] checking root items

    [2/7] checking extents

    parent transid verify failed on 1591866720256 wanted 3177 found 3193

    parent transid verify failed on 1591866720256 wanted 3177 found 3193

    Ignoring transid failure

    parent transid verify failed on 2617519161344 wanted 1827879 found 1827895

    parent transid verify failed on 2617519161344 wanted 1827879 found 1827895

    Ignoring transid failure

    parent transid verify failed on 2736103292928 wanted 1828130 found 1828146

    parent transid verify failed on 2736103292928 wanted 1828130 found 1828146

    Ignoring transid failure

    backref bytes do not match extent backref, bytenr=4500955992064, ref bytes=679936, backref bytes=684032

    backpointer mismatch on [4500955992064 679936]

    backref bytes do not match extent backref, bytenr=5663998078976, ref bytes=557056, backref bytes=561152

    backpointer mismatch on [5663998078976 557056]

    backref bytes do not match extent backref, bytenr=5663998640128, ref bytes=565248, backref bytes=569344

    backpointer mismatch on [5663998640128 565248]

    backref bytes do not match extent backref, bytenr=7142533070848, ref bytes=745472, backref bytes=749568

    backpointer mismatch on [7142533070848 745472] backref bytes do not match extent

    backref, bytenr=7939927638016, ref bytes=630784, backref bytes=634880

    backpointer mismatch on [7939927638016 630784] backref bytes do not match extent

    backref, bytenr=11081639366656, ref bytes=753664, backref bytes=757760

    backpointer mismatch on [11081639366656 753664] ERROR: errors found in extent allocation tree or chunk allocation

    [3/7] checking free space cache

    there is no free space entry for 4500956672000-4500956676096

    there is no free space entry for 4500956672000-4501146697728

    cache appears valid but isn't 4500072955904

    there is no free space entry for 5663998636032-5663998640128

    there is no free space entry for 5663998636032-5664009093120

    cache appears valid but isn't 5662935351296

    there is no free space entry for 7142533816320-7142533820416

    there is no free space entry for 7142533816320-7142551584768

    cache appears valid but isn't 7141477842944

    there is no free space entry for 7939928268800-7939928272896

    there is no free space entry for 7939928268800-7940341760000

    cache appears valid but isn't 7939268018176

    there is no free space entry for 11081640120320-11081640124416

    there is no free space entry for 11081640120320-11082110337024

    cache appears valid but isn't 11081036595200

    [4/7] checking fs roots

    parent transid verify failed on 1591866720256 wanted 3177 found 3193

    Ignoring transid failure

    parent transid verify failed on 2617519161344 wanted 1827879 found 1827895

    Ignoring transid failure

    parent transid verify failed on 2736103292928 wanted 1828130 found 1828146

    Ignoring transid failure

    [5/7] checking only csums items (without verifying data)

    parent transid verify failed on 1591866720256 wanted 3177 found 3193

    Ignoring transid failure

    there are no extents for csum range 4500956672000-4500956676096

    csum exists for 4500676567040-4500973539328 but there is no extent record

    there are no extents for csum range 5663999205376-5663999209472

    Right section didn't have a record

    there are no extents for csum range 5663998636032-5664008814592

    csum exists for 5663968206848-5664008814592 but there is no extent record

    there are no extents for csum range 7142533816320-7142533820416

    csum exists for 7141477842944-7142551478272 but there is no extent record

    there are no extents for csum range 7939928268800-7939928272896

    csum exists for 7939804889088-7939934044160 but there is no extent record

    parent transid verify failed on 2617519161344 wanted 1827879 found 1827895

    Ignoring transid failure

    parent transid verify failed on 2736103292928 wanted 1828130 found 1828146

    Ignoring transid failure

    there are no extents for csum range 11081640120320-11081640124416

    csum exists for 11081633353728-11081987842048 but there is no extent record

    ERROR: errors found in csum tree

    [6/7] checking root refs

    [7/7] checking quota groups skipped (not enabled on this FS)

    ERROR: transid errors in file system

    Opening filesystem to check...

    Checking filesystem on /dev/md1

    UUID: 1e50bdfa-ef2a-486c-a920-873abd0d967b

    found 5604656373760 bytes used, error(s) found

    total csum bytes: 5465849760

    total tree bytes: 6225084416

    total fs tree bytes: 361398272

    total extent tree bytes: 88276992

    btree space waste bytes: 300423581

    file data blocks allocated: 5605679144960

    referenced 5598424096768

     

    Thanks

  3. no issues passing through GPU or sound use both from the graphics card, the only thing I do have is on TV I have to remove HDMI cable and reinsert it when I restart the VM dont have this issue with my monitor though....

     

    I was messing around with both emulated and host passthrough CPU and can't remember why I left on emulated I'm guessing because it either gave better performance or I tested it last that way... I will try again with host passthrough when I get a chance.

  4. Hi,

     

    I have not been online for a while so apologies for not responding sooner. I actually just use NPT now that removes micro stuttering and kodi works perfectly, I won't get the same gaming performance, but I don't actually need too in this build it as it's for media pc / dockers / storage.

     

    I have no stutters at all on video playback what are you wanting to use your VM for Swiguy?

     

    Also think there is some good news on the whole subject here...

     

    https://www.phoronix.com/scan.php?page=news_item&px=AMD-NPT-GPU-Pass-Through

     

     

    this is what the suggested fix is I believe

     

    By just changing the line in `init_vmcb` that reads:
    >>>
    >>>    save->g_pat = svm->vcpu.arch.pat;
    >>>
    >>> To:
    >>>
    >>>    save->g_pat = 0x0606060606060606;


     

  5. Then if it helps I'm stable in general other then the VM at the moment which has just started crashing after a day or so of usage now I've finished setting it up, I have C-state enabled and my suffers no other types of crashes then the VM one.

     

    I'm using Ryzen 1600 & Gigabyte Gaming 5 Mobo with F8 bios.

     

    There is now a AGESA 1.0.0.6b bios so may try that next.

  6. On 9/13/2017 at 0:19 PM, luisv said:

    I still need to have C-State disabled, but have been stable for the last 15 days, 11 hours, 8 mins.   Asus released another BIOS update for my motherboard and I'm looking to add another HD to my system.  Once I purchase the drive, hopefully before the weekend, the plan is to shut the system down, add the HD, update the BIOS, enable C-State and check to see if the system is stable with C-State enabled.  If not, I'll upgrade to rc8q and again, see if it's stable with C-State enabled, otherwise, I'll just leave C-State disabled until the next round of BIOS / unRAID updates are released.  

     

    When not using C state what error do you see? does the VM crash and then you cannot restart the VM due to a PCI error until rebooting unraid? if so that may be the issue I have just started to see on my VM when leaving on overnight.. Im already on rc8q and latest bios for my Aorus Gaming5.

  7. Heres my current XML as requested i have lowered the core count recently is the only change from the benchmark results above

     

    <domain type='kvm'>
      <name>WindowsMedia</name>
      <uuid>452eed65-1dfc-9329-7212-62bde7d85385</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>8388608</memory>
      <currentMemory unit='KiB'>8388608</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>8</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='4'/>
        <vcpupin vcpu='1' cpuset='5'/>
        <vcpupin vcpu='2' cpuset='6'/>
        <vcpupin vcpu='3' cpuset='7'/>
        <vcpupin vcpu='4' cpuset='8'/>
        <vcpupin vcpu='5' cpuset='9'/>
        <vcpupin vcpu='6' cpuset='10'/>
        <vcpupin vcpu='7' cpuset='11'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-i440fx-2.9'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/452eed65-1dfc-9329-7212-62bde7d85385_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv>
          <relaxed state='on'/>
          <vapic state='on'/>
          <spinlocks state='on' retries='8191'/>
          <vendor_id state='on' value='none'/>
        </hyperv>
      </features>
      <cpu mode='host-passthrough' check='none'>
        <topology sockets='1' cores='8' threads='1'/>
        <feature policy='disable' name='smep'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='hypervclock' present='yes'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/user/isos/spaces_win_clover.img'/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <controller type='usb' index='0' model='nec-xhci'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
        </controller>
        <controller type='pci' index='0' model='pci-root'/>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:a4:6d:f2'/>
          <source bridge='br0'/>
          <model type='virtio'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </interface>
        <serial type='pty'>
          <target port='0'/>
        </serial>
        <console type='pty'>
          <target type='serial' port='0'/>
        </console>
        <channel type='unix'>
          <target type='virtio' name='org.qemu.guest_agent.0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x046d'/>
            <product id='0xc52b'/>
          </source>
          <address type='usb' bus='0' port='1'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x046d'/>
            <product id='0xc531'/>
          </source>
          <address type='usb' bus='0' port='2'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x0b05'/>
            <product id='0x17cb'/>
          </source>
          <address type='usb' bus='0' port='3'/>
        </hostdev>
        <memballoon model='virtio'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
        </memballoon>
      </devices>
    </domain>
     

  8. image.thumb.png.fcc1edf0c87b67bea9599a5ffe113e68.png

     

    As you can see in the GUI one of my drives is showing as full and reporting the incorrect size also it is no longer being written too.

     

    btrfs fi show /mnt/disk6

     

    Label: none  uuid: c779e108-2382-40b0-8370-57d6259db9a3
            Total devices 1 FS bytes used 1.42TiB
            devid    1 size 2.73TiB used 1.43TiB path /dev/md6
     

     

    btrfs fi df /mnt/disk6


    Data, single: total=1.43TiB, used=1.42TiB
    System, single: total=4.00MiB, used=176.00KiB
    Metadata, single: total=2.01GiB, used=1.50GiB
    GlobalReserve, single: total=512.00MiB, used=0.00B

     

     

    Results from DF

     

    /dev/md5        2930266532  1826284548  1103239740  63% /mnt/disk5
    /dev/md6        2930266532  1524981548           0 100% /mnt/disk6
    /dev/sdb1         58615672     4018356    53671500   7% /mnt/cache
     

     

    Any ideas what's gone wrong?

     

    I have rebooted and no change.

     

    Here is the Diag file unraid-diagnostics-20170906-1933.zip

     

     

    Another thing to note is my original build was on 7a and only after upgrading and a day of use has this occurred. 

  9. I did try last night to use the OVMF and was able to create a machine and once started see the NVMe in the bios options and set it to be the boot device but unfortunately, it hung on boot and I couldn't get windows to start again, I have a horrible feeling I might have to rebuild the VM from scratch or backup create a new VM and restore onto it.. but lack the time atm to give that a go.

    • Upvote 1
  10. Ok so progress so far is positive but its still not perfect,

     

    I now have fast responsive machine most of the time with the above benchmarks but it still suffers occasionally from micro stutter I am hoping to try and resolve\reduce this with CPU isolation and dedicating the cpu's to the VM but currently have an issue with my bootloader causing the VM not to load when cpu's are isolated.

     

    My settings are as follows

     

    Bios

    CPU is clocked to a fixed 3.6 ghz as dynamic boost doesn't seem to work currently 

     

    Boot 

     

    append kvm-amd.npt=0 kvm-amd.nested=0 kvm.ignore_msrs=1 initrd=/bzroot 

     

    VM 

     

    NVME & 970 GTX passed through - all cores passed through for testing (will reduce to 6-8) 8Gb memory

     

    <cpu mode='host-passthrough' check='none'>
        .....
        <feature policy='disable' name='smep'/>
     </cpu>

     

    I can provide the VM XML if that helps anyone.

     

     

     

     

  11. Hi, Firstly thanks for the great guides they have been a real help getting to grips with unRaid.

     

    I followed your guide and got my Nvme passed through no issues with the clover boot images but every time I isolate CPU's and try to launch the VM it refuses to boot and hangs on the cursor in the top left corner I assume this is the clover boot loader, is there a way to move from the clover boot loader to the method of booting from a passed through nvme drive described above with the newer ovmf?

     

    Thanks

    • Upvote 1
  12. Hi,

     

    I would say honestly the 1050ti will be the issue in getting 1080p 60fps on a lot of games looking at benchmarks for the 1050ti tomb raider etc hits around 40 fps on bare metal yes some games will run 60 fps but I would suggest 1060's if you can stretch to them instead.

     

    This review has both 1060 and a 1050ti gaming model in the benchmarks

     

    http://www.guru3d.com/articles_pages/gigabyte_geforce_gtx_1050_ti_g1_gaming_oc_review,12.html

     

    Cpu wise I don't think you would have a problem with that, but others with similar CPU's will be better able to comment as I have not tested one.

     

  13. With NPT on with the 970 GTX CPU performance went through the floor (around 2000) but GPU performance was good (still above 12000) in Firestrike however, the cinebench CPU results are still over 900.

     

    With NPT off the majority of benchmarks work well however, Kodi stutters occasionally on 4k video playback and the system seems a little unresponsive at times in general use, with NPT on this is not an issue and playback was flawless and general usage feels snappy but the benchmarks tank...

     

    Another thing of note is SMT doesn't not seem to be supported in the VM. I have found a bug has already been logged here that may be related  https://bugs.launchpad.net/qemu/+bug/1703506

     

    My experience with the AMD Radeon 280x was a little different  . 

     

    (will update more with more time)

  14. Ok so new to unRaid but really wanted to give it a go for an all in one media solution... I read of all the Ryzen issues but still couldn't stop myself from investing in Ryzen even though i knew it was going to be a headache! but so far made some good progress using a lot of guides and forums in this community and others and thought I would give back a little as information and benchmarks on this stuff is still pretty sparse (unless I just don't know where to look :) )

     

    Also if any of you more experienced guys and gals have any recommendations on changes\ what else I should be doing please let me know!

     

    Ok so current build is

     

    Case: NZXT H440 
    CPU: AMD Ryzen 5 1600 @ 3.6 
    Motherboard: Gigabyte Gaming 5 x370

    BIOS Version F7
    RAM: Ripjaws IV 16GB 3000 (4x8GB) DDR4 @2933 XMP profile

    GPU: Radeon HD 6450 

    GPU 2: Gigabyte Windforce GTX 970 / Sapphire VaporX 280X
    HDD's 3xHGST 8TB, 4xWD Red 3tb, 1x 120GB SSD cache
    SSD: Samsung 960 EVO NVMe M.2 250GB
    PSU: Corsair RM850x

     

    OS: Unraid 6.4.0-rc7a

    VM OS: Windows 10 home x64

     

    current progress is actually pretty positive here are the benchmarks I have achieved on with the 970 GTX passed through, NTP off, Emulated CPU, NVMe Passthrough. I have yet to complete the Bare metal benchmarks but looking at other 970 benches out there these don't seem far out.

     

    Cinebench 15

     

    cinebench-npt-off-nvidia-allcores-3.6.thumb.PNG.ef3bf53d908c05dcd5b776f4bd2e0078.PNG

     

    Firestrike (normal)

     

    firestrike-npt-off-nvidia-allcores-3.6.thumb.PNG.cf682dd88f0cf1ded61ac820368488fb.PNG

     

    Timespy

     

    timespy-npt-off-nvidia-allcores-3.6.thumb.PNG.9aede21ca26597b56b575b9afaa0b2af.PNG

     

    Shadow of Mordor (1920x1080 Ultra settings)

     

    shadowofmordor-npt-off-nvidia-allcore-3.6.thumb.PNG.8b5888e4dd9fe4264343290b27c8717e.PNG

     

    Crystal Disk Mark

     

    crystaldiskmark-npt-off-nvidia-allcores-3.6.PNG.e1a0cd76f45f506e549c9a0be165463e.PNG

     

     

  15. Thanks for the replies, 

     

    Your responses seem to confirm I should be able to do everything I want and sounds like BJP is already using a VM with passthrough that's capable of 4k media but with a few driver snags.

     

    I've spec'd up 2 builds so far 

     

    1 Ryzen because I think the additional cores would be great for VM use but nervous of going down this route as it seems people have struggled with passthrough on Ryzen

     

    https://uk.pcpartpicker.com/user/tyranian/saved/Dhh4D3

     

    My other build is based on Kaby Lake but is using the IGP for graphics will this be an issue for passtrough \ 4k playback?

     

    https://uk.pcpartpicker.com/user/tyranian/saved/sYc3CJ

     

     

    To answer some of the questions directly

     

    Will you be doing any Plex transcoding? - yes but only for mobile devices, I use this for streaming when away from home.

     

    you need an "enthusiast" level of interest happy to tinker to get things working and already knowledgeable in virtualization from the use of VMware and HyperV, but do need things especially the shared storage to be stable once it's done.

     

    Case wise

     

    I was tempted by the NZXT H440 (windowless) case as it can take up to 11 3.5" drives for growth and I can comfortably sit it behind my TV, though after your advice I think the Fractal Design Define R5 is more tempting as I am sure I can repurpose the 5.25" bays and get 11 drives in that too (if I ever need too) and it looks to have drive swap friendly bays while not swap they look like it should be easy to change and save me a few £ on going all out hot swap . The Define XL is also a tempting option.

     

    The other option I have is repurpose my Lian Li TYR-X2000 which has 6 hot swap bays and add in another 3 bay hot swap the 5.25" bays but its a big ass beast of a case to sit near the TV.... 

     

     

×
×
  • Create New...