dboris Posted February 28, 2021 Share Posted February 28, 2021 (edited) In two words ; Machine Type Q35, VNC driver CIRRUS. Download NiceHashOS from : https://www.nicehash.com/download-center Download and install OSFMount : https://www.osforensics.com/tools/mount-disk-images.html On a Windows VM : - Extract the NHos archive with Winrar or 7Zip. - With OSFMount, select tthe extracted .img file and mount the DDOS3.31+FAT16 partition. - Uncheck "read-only drive" - Open the mounted partition in the explorer and edit the configuration.txt by adding your BTC address (from your Nicehash account) and worker's name (as you like). - Save the file and unmount the partition - Mount again the .img file and ensure that your changes have been recorded - You can now move the .img file in your domains/vm disks folder Create a new VM with Ubuntu Template. Ensure to have these settings : - At least 2GB of ram - Save on CPU cores as it will bring no benefits Mandatory : - Of course point to the edited .img file. - Machine Type Q35 - Change VNC driver for CIRRUS - Add a secondary nvidia GPU. You should be all set :). You can control the GPU OC settings from the web interface. Your nvidia GPU should have no more rest. Edited February 28, 2021 by dboris 2 Quote Link to comment
snazz Posted March 4, 2021 Share Posted March 4, 2021 (edited) @dborisAre you passing through a hardware NIC? I'm getting an error "Generating NiceHash Miner rig identifier failed!" followed by it not connecting on the next screen. My network config for the VM: Edit: Nevermind, got it working. Not sure what it was exactly. I created a new VM with a passed-though USB NIC and it worked. I removed the NIC passthrough and it still worked, so I guess something got messed up with the original VM. Edited March 5, 2021 by snazz derp. 1 Quote Link to comment
Haugi Posted March 26, 2021 Share Posted March 26, 2021 Hi, great work! Thx a lot. Where do i finde the BTC adresse in my Nicehash Account^^ THX again Quote Link to comment
flic Posted April 24, 2021 Share Posted April 24, 2021 Any clues to why NHOS does not see my AMD card? It is passthrough correctly since it displays the connection status through the HDMI monitor thanks for the article Quote Link to comment
mdrodge Posted April 29, 2021 Share Posted April 29, 2021 On 3/26/2021 at 8:10 PM, Haugi said: Hi, great work! Thx a lot. Where do i finde the BTC adresse in my Nicehash Account^^ THX again go to https://www.nicehash.com/my/mining/rigs and click the Mining Address button in the top left. ( or you can use mine if you like ) Quote Link to comment
mcai3db3 Posted May 14, 2021 Share Posted May 14, 2021 Thank you for the guide @dboris, I'm about to try this myself. I was wondering what happens if I just load the default NH image rather than opening up the file and tweaking the BTC address. Is there no way to just update this in the OS itself? Apologies for the laziness/naivety, I'm just curious. Quote Link to comment
dboris Posted May 15, 2021 Author Share Posted May 15, 2021 23 hours ago, mcai3db3 said: Thank you for the guide @dboris, I'm about to try this myself. I was wondering what happens if I just load the default NH image rather than opening up the file and tweaking the BTC address. Is there no way to just update this in the OS itself? Apologies for the laziness/naivety, I'm just curious. Exactly, normally you would do it from your bootable usb key Quote Link to comment
kron Posted May 19, 2021 Share Posted May 19, 2021 Need a little help here. Nicehash rig dashboard is showing the unraid rig but the status is Offline. Last seen timestamp shows only the initial creation of the VM and nothing more. What am I missing? UNRAID-nicehashOS-vm.log Quote Link to comment
dRuEFFECT Posted July 10, 2021 Share Posted July 10, 2021 On 5/19/2021 at 9:23 AM, kron said: Need a little help here. Nicehash rig dashboard is showing the unraid rig but the status is Offline. Last seen timestamp shows only the initial creation of the VM and nothing more. What am I missing? Just got this sorted out myself. To properly pass through the GPU into the VM, you first need to set "PCIe ACS override" to "Downstream" in the VM Manager settings, then reboot. This is the first VM i ever needed to build and found Spaceinvader's VM walkthrough for unraid was pretty helpful in piecing this together. Quote Link to comment
okkies Posted August 17, 2021 Share Posted August 17, 2021 3 hours ago, mani3321 said: My VM has no "Device" any ideas? PS: I also tried other "PCIe ACS override" options. you forgot to forward your soundcard in the gpu on this screenshot atleast Quote Link to comment
mani3321 Posted August 18, 2021 Share Posted August 18, 2021 10 hours ago, okkies said: you forgot to forward your soundcard in the gpu on this screenshot atleast thanks man I tried it, but nothing changed Quote Link to comment
Lectoid Posted August 20, 2021 Share Posted August 20, 2021 My mining status keeps flipping from no to yes. I got it set up and the nicehash website said it was benchmarking. Showed fan speed and temp. But now it's unavailable, but the VNC screen show's it's connected. I have an AMD video card if that matters. I restarted the unRAID server and started the VM. The nicehash website said pending and then eventually error check locally. I don't know where any logs would be to check. Just looked again and now it's going back and forth every few minutes between pending and benchmarking. Quote Link to comment
n0aimatall Posted September 3, 2021 Share Posted September 3, 2021 Thanks @dboris, worked like a charm! Quote Link to comment
Malachi89 Posted September 22, 2021 Share Posted September 22, 2021 On 8/20/2021 at 11:44 AM, Lectoid said: My mining status keeps flipping from no to yes. I got it set up and the nicehash website said it was benchmarking. Showed fan speed and temp. But now it's unavailable, but the VNC screen show's it's connected. I have an AMD video card if that matters. I restarted the unRAID server and started the VM. The nicehash website said pending and then eventually error check locally. I don't know where any logs would be to check. Just looked again and now it's going back and forth every few minutes between pending and benchmarking. Did you ever get this resolved? I am getting the same issue myself. It went through the bench marking, turned on and started working, Then off. And from there on and off repeatedly. ALSO running AMD video card. Anyone have any ideas why it goes on and off repeatedly? Quote Link to comment
bndrillo Posted October 9, 2021 Share Posted October 9, 2021 Working, but my NiceHash OS is on the EU server instead of the US East, any ideas how to fix that Quote Link to comment
okkies Posted October 15, 2021 Share Posted October 15, 2021 out of the blue it just stopped detecting my RTX 3080 Quote Link to comment
mdrodge Posted October 16, 2021 Share Posted October 16, 2021 13 hours ago, okkies said: out of the blue it just stopped detecting my RTX 3080 Have you considered just using a VM of HiveOS instead? Since you can since you can still mine to NiceHash in HiveOS but you can do your own overclock and it'll probably be about %5 more profitable. That's not a lot of information there bud. Have you attached new devices? More HDD's or NVMe maybe? What slot is the GPU in? Is it on a x1 or x16? How is your iommu set up? (some boards have real problems with passthrough) One of my boards is a massive pain and will only work with PCIe ACS override set to both and as with many boards if you use all slots you can lose some sata ports due to PCIe switching. Do you Bind the devices in the VFIO options AKA UNRAID TOOLS/SYSTEM DEVICES? What do the groups look like? Quote Link to comment
mdrodge Posted October 16, 2021 Share Posted October 16, 2021 On 9/22/2021 at 1:12 AM, Malachi89 said: Did you ever get this resolved? I am getting the same issue myself. It went through the bench marking, turned on and started working, Then off. And from there on and off repeatedly. ALSO running AMD video card. Anyone have any ideas why it goes on and off repeatedly? Are you on q35 or i440fx? Sounds a lot like the classic i440fx issue of stutter. (just a guess) if not maybe give it a try with or without a monitor attached (is it the only GPU in the system? and is binding in VFIO working?) Quote Link to comment
okkies Posted October 16, 2021 Share Posted October 16, 2021 (edited) 8 hours ago, mdrodge said: Have you considered just using a VM of HiveOS instead? Since you can since you can still mine to NiceHash in HiveOS but you can do your own overclock and it'll probably be about %5 more profitable. Never looked into HiveOS tbh, I just wanna casually mine while its still profitable. - whenever im in windows i run the client when im just browsing - When im on my work VM (cloned my work laptop :P) i also run it with the 3080 overhead - all other times im not sitting behind the screen i use NicehashOS. Doing all this make the nas actually profitable while its turned on. If HiveOS can function the same ill might switch to that That's not a lot of information there bud. Have you attached new devices? More HDD's or NVMe maybe? - nope, What slot is the GPU in? Is it on a x1 or x16? - x16. as it always been How is your iommu set up? (some boards have real problems with passthrough) ACS downstream Gigabyte Aurus master X570 btw One of my boards is a massive pain and will only work with PCIe ACS override set to both and as with many boards if you use all slots you can lose some sata ports due to PCIe switching. I dont use my sata ports, Do you Bind the devices in the VFIO options AKA UNRAID TOOLS/SYSTEM DEVICES? What do the groups look like? Edited October 16, 2021 by okkies forgot a question Quote Link to comment
mdrodge Posted October 16, 2021 Share Posted October 16, 2021 That all looks pretty good. I did see that despite the fact that your running acs "downstream" your board has split the gpu into 2 groups like what you'd see with acs "both". I am forced to run "both" on one of my systems so that can work but if you can get them to become one device on it's own group that's better because some nvidia drivers get upset. Apart from that your looking at os level issues in nicehash os and they really don't give you much in the way of tools for troubleshooting. HiveOS is one of the OS's real miners would use. It's quite easy (especially compared to unraid) but it has a lot more tools than the nicehash os. (It would at least allow you to bash in or just visit the web gui and see what's happening.) Loads of videos on YouTube about it. Another one that exists but wouldn't suit your multi-vm approach is t-rex miner as a docker container. (Witch is good if you don't want to vfio your gpu away from unraid.) I tried nicehash os a couple of months ago and gave up and moved to HiveOS since then I've expanded and have a few rigs and needed a vm on one rig (I've done a few windows gaming vm's before) I tried nicehash os and was let down again and decided I'd virtualize HiveOS. It's been doing really well I still mine to nicehash because it's convenient etc but nicehashOS for me didn't work out. (Similar issues) Quote Link to comment
mdrodge Posted October 16, 2021 Share Posted October 16, 2021 (edited) Is your bios up to date (that can effect vfio groups) (see above post... forgot to tag you in) @okkies Edited October 16, 2021 by mdrodge Biscuits Quote Link to comment
Lectoid Posted October 21, 2021 Share Posted October 21, 2021 On 9/21/2021 at 8:12 PM, Malachi89 said: Did you ever get this resolved? I am getting the same issue myself. It went through the bench marking, turned on and started working, Then off. And from there on and off repeatedly. ALSO running AMD video card. Anyone have any ideas why it goes on and off repeatedly? Weird I just got notified that you "quoted" me. No I never got this resolved. I stuck my video card in a physical box and run it from there. Quote Link to comment
okkies Posted October 28, 2021 Share Posted October 28, 2021 On 10/17/2021 at 1:09 AM, mdrodge said: Is your bios up to date (that can effect vfio groups) (see above post... forgot to tag you in) @okkies ye, its updated. doesnt change the fact it used to work and out of nowhere its not working anymore Quote Link to comment
mdrodge Posted October 28, 2021 Share Posted October 28, 2021 36 minutes ago, okkies said: ye, its updated. doesnt change the fact it used to work and out of nowhere its not working anymore Thats Nvidia drivers under a VM for you. Quote Link to comment
okkies Posted October 28, 2021 Share Posted October 28, 2021 maybe there is hope after all ? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.