Pages:
Author

Topic: SGMiner on XBOX One (Read 2651 times)

newbie
Activity: 42
Merit: 0
February 19, 2018, 01:31:48 AM
#67

Hmm that's pretty interesting. I guess there are multiple people working on xbox mining at the same time. I'll still release my own UWP Xbox Miner since I feel it's a good start and we have no idea how soon any of these other miners will appear on the store or for sideloading.
newbie
Activity: 42
Merit: 0
February 16, 2018, 11:40:33 PM
#65
Hey all, I know there's a TurtleCoin Xbox One miner in the works, but in the meantime, I've already been working on my own Monero CPU miner for the Xbox One. In it's current state, it's basically a UWP app written in HTML and JS, using CoinHive for mining. Originally I tried mining with CoinHive in the Xbox One Edge browser, but that proved to be wholly inefficient. I'm hoping that as a UWP app, it should run more natively than through the browser, unless I've totally misunderstood how JS in UWP works. But anyways, it's still CPU only and probably won't ever be as efficient as a pure native miner. That being said, if anyone wants to use it or try it out on their Xbox One's, let me know. It still needs a bit more work and I haven't fully tested it yet for the Xbox at the time of writing, but hopefully I'll be able to get an open source Xbox Miner out there for people to use until better miners are available.

When my Xbox Mining software is closer to being ready for distribution, I'll start a new thread for it. But for now, just gonna leave info about it here.

You don't allow PMs so I'll just ask my questions here. What hardware access do you have when developing on the X1? Do you have 100% GPU/CPU access or is it still limited? I am very much interested in devving on ths.

Ah I just fixed it. It seems by default people with the Newbie rank can't message people of higher ranks. You should be able to PM me now if you want. Anyways, to answer your question, with the recent October SDK update for Windows 10 and the Xbox One, regardless of whether you are developing a UWP or Game Engine app, you now have access to a full 6 cores of the Xbox One, 5 GB of RAM (supposedly more for the Xbox One X), and 100% access to the GPU. Although the app I'm working on is UWP, it's still using JavaScript which might not match the efficiency of a pure native UWP app and since I have yet to test my app on my Xbox One yet, I can't say how well it will perform, especially because it's CPU only for the moment. But theoretically the Xbox One CPU when using a full optimized native CPU miner can probably get around 100+ hashes a second. And theoretically, the GPU on the Xbox One X can probably hit around 900 h/s. So combined, the Xbox One X might possibly be able to mine at over 1 Kh/s.

As I mentioned in a previous post, my JS method of mining is inefficient and the best ways would be to either write a native DirectX UWP app to do GPU mining or use a game engine like Unity or Unreal Engine and write a mining app using compute shaders for the GPU mining. But I have no experience with DirectX or writing shaders so for now the JS UWP app is the best I can do. I'll let everyone here know what kind of hashrates my app can pull off when I test it. Feel free to ask me more questions if you want! I very much enjoy discussing this as well as the prospects of mining on an Xbox One. And of course for Xbox fans, if Xbox mining can be very lucrative, miners will snatch it all up since graphics cards are so expensive now, and very quickly, the Xbox One will outsell the PS4 haha.
Good luck on your endeavor! Hopefully this will attract more people on Xbox One and who knows, we may find someone will DX12 shader knowledge to write a miner.... 1-2% mining fee x millions of consoles = huge profit. Wink

ps: Does the JS miner support multi-threading?

Well, I finally got it tested on an Xbox One... Unfortunately running the JS miner natively in a UWP app doesn't offer much performance improvements over mining in the browser. With the browser, the JS miner achieves about 11 H/s while in the native UWP app, it achieves around 15-16 H/s. It is multi-threaded but UWP apps can only use 6 of the Xbox One's cores. So you can set the app to use 6 threads and use max CPU power but it doesn't help too much. My guess is that the developers in that thread grossly overestimated the Xbox One's CPU performance because my numbers shouldn't be that far off from the full potential of the CPU.

So basically, CPU mining on the Xbox One really isn't that great. It's the GPU that will make it totally worth it though since I have no doubt the Xbox One X GPU can hit 800-900 h/s. In the meantime though, I'll see if there's anything I can do to further optimize my JS miner and maybe try submitting it to the store for anyone who just wants to play around with it or do some benchmarks.
sr. member
Activity: 1666
Merit: 310
February 16, 2018, 05:25:07 PM
#64
Hey all, I know there's a TurtleCoin Xbox One miner in the works, but in the meantime, I've already been working on my own Monero CPU miner for the Xbox One. In it's current state, it's basically a UWP app written in HTML and JS, using CoinHive for mining. Originally I tried mining with CoinHive in the Xbox One Edge browser, but that proved to be wholly inefficient. I'm hoping that as a UWP app, it should run more natively than through the browser, unless I've totally misunderstood how JS in UWP works. But anyways, it's still CPU only and probably won't ever be as efficient as a pure native miner. That being said, if anyone wants to use it or try it out on their Xbox One's, let me know. It still needs a bit more work and I haven't fully tested it yet for the Xbox at the time of writing, but hopefully I'll be able to get an open source Xbox Miner out there for people to use until better miners are available.

When my Xbox Mining software is closer to being ready for distribution, I'll start a new thread for it. But for now, just gonna leave info about it here.

You don't allow PMs so I'll just ask my questions here. What hardware access do you have when developing on the X1? Do you have 100% GPU/CPU access or is it still limited? I am very much interested in devving on ths.

Ah I just fixed it. It seems by default people with the Newbie rank can't message people of higher ranks. You should be able to PM me now if you want. Anyways, to answer your question, with the recent October SDK update for Windows 10 and the Xbox One, regardless of whether you are developing a UWP or Game Engine app, you now have access to a full 6 cores of the Xbox One, 5 GB of RAM (supposedly more for the Xbox One X), and 100% access to the GPU. Although the app I'm working on is UWP, it's still using JavaScript which might not match the efficiency of a pure native UWP app and since I have yet to test my app on my Xbox One yet, I can't say how well it will perform, especially because it's CPU only for the moment. But theoretically the Xbox One CPU when using a full optimized native CPU miner can probably get around 100+ hashes a second. And theoretically, the GPU on the Xbox One X can probably hit around 900 h/s. So combined, the Xbox One X might possibly be able to mine at over 1 Kh/s.

As I mentioned in a previous post, my JS method of mining is inefficient and the best ways would be to either write a native DirectX UWP app to do GPU mining or use a game engine like Unity or Unreal Engine and write a mining app using compute shaders for the GPU mining. But I have no experience with DirectX or writing shaders so for now the JS UWP app is the best I can do. I'll let everyone here know what kind of hashrates my app can pull off when I test it. Feel free to ask me more questions if you want! I very much enjoy discussing this as well as the prospects of mining on an Xbox One. And of course for Xbox fans, if Xbox mining can be very lucrative, miners will snatch it all up since graphics cards are so expensive now, and very quickly, the Xbox One will outsell the PS4 haha.
Good luck on your endeavor! Hopefully this will attract more people on Xbox One and who knows, we may find someone with DX12 shader knowledge to write a miner.... 1-2% mining fee x millions of consoles = huge profit. Wink

ps: Does the JS miner support multi-threading?
newbie
Activity: 42
Merit: 0
February 16, 2018, 03:54:35 PM
#63
Hey all, I know there's a TurtleCoin Xbox One miner in the works, but in the meantime, I've already been working on my own Monero CPU miner for the Xbox One. In it's current state, it's basically a UWP app written in HTML and JS, using CoinHive for mining. Originally I tried mining with CoinHive in the Xbox One Edge browser, but that proved to be wholly inefficient. I'm hoping that as a UWP app, it should run more natively than through the browser, unless I've totally misunderstood how JS in UWP works. But anyways, it's still CPU only and probably won't ever be as efficient as a pure native miner. That being said, if anyone wants to use it or try it out on their Xbox One's, let me know. It still needs a bit more work and I haven't fully tested it yet for the Xbox at the time of writing, but hopefully I'll be able to get an open source Xbox Miner out there for people to use until better miners are available.

When my Xbox Mining software is closer to being ready for distribution, I'll start a new thread for it. But for now, just gonna leave info about it here.

You don't allow PMs so I'll just ask my questions here. What hardware access do you have when developing on the X1? Do you have 100% GPU/CPU access or is it still limited? I am very much interested in devving on ths.

Ah I just fixed it. It seems by default people with the Newbie rank can't message people of higher ranks. You should be able to PM me now if you want. Anyways, to answer your question, with the recent October SDK update for Windows 10 and the Xbox One, regardless of whether you are developing a UWP or Game Engine app, you now have access to a full 6 cores of the Xbox One, 5 GB of RAM (supposedly more for the Xbox One X), and 100% access to the GPU. Although the app I'm working on is UWP, it's still using JavaScript which might not match the efficiency of a pure native UWP app and since I have yet to test my app on my Xbox One yet, I can't say how well it will perform, especially because it's CPU only for the moment. But theoretically the Xbox One CPU when using a full optimized native CPU miner can probably get around 100+ hashes a second. And theoretically, the GPU on the Xbox One X can probably hit around 900 h/s. So combined, the Xbox One X might possibly be able to mine at over 1 Kh/s.

As I mentioned in a previous post, my JS method of mining is inefficient and the best ways would be to either write a native DirectX UWP app to do GPU mining or use a game engine like Unity or Unreal Engine and write a mining app using compute shaders for the GPU mining. But I have no experience with DirectX or writing shaders so for now the JS UWP app is the best I can do. I'll let everyone here know what kind of hashrates my app can pull off when I test it. Feel free to ask me more questions if you want! I very much enjoy discussing this as well as the prospects of mining on an Xbox One. And of course for Xbox fans, if Xbox mining can be very lucrative, miners will snatch it all up since graphics cards are so expensive now, and very quickly, the Xbox One will outsell the PS4 haha.
newbie
Activity: 26
Merit: 0
February 16, 2018, 02:37:20 PM
#62
Hey all, I know there's a TurtleCoin Xbox One miner in the works, but in the meantime, I've already been working on my own Monero CPU miner for the Xbox One. In it's current state, it's basically a UWP app written in HTML and JS, using CoinHive for mining. Originally I tried mining with CoinHive in the Xbox One Edge browser, but that proved to be wholly inefficient. I'm hoping that as a UWP app, it should run more natively than through the browser, unless I've totally misunderstood how JS in UWP works. But anyways, it's still CPU only and probably won't ever be as efficient as a pure native miner. That being said, if anyone wants to use it or try it out on their Xbox One's, let me know. It still needs a bit more work and I haven't fully tested it yet for the Xbox at the time of writing, but hopefully I'll be able to get an open source Xbox Miner out there for people to use until better miners are available.

When my Xbox Mining software is closer to being ready for distribution, I'll start a new thread for it. But for now, just gonna leave info about it here.

You don't allow PMs so I'll just ask my questions here. What hardware access do you have when developing on the X1? Do you have 100% GPU/CPU access or is it still limited? I am very much interested in devving on ths.
newbie
Activity: 42
Merit: 0
February 16, 2018, 01:51:45 PM
#61
Hey all, I know there's a TurtleCoin Xbox One miner in the works, but in the meantime, I've already been working on my own Monero CPU miner for the Xbox One. In it's current state, it's basically a UWP app written in HTML and JS, using CoinHive for mining. Originally I tried mining with CoinHive in the Xbox One Edge browser, but that proved to be wholly inefficient. I'm hoping that as a UWP app, it should run more natively than through the browser, unless I've totally misunderstood how JS in UWP works. But anyways, it's still CPU only and probably won't ever be as efficient as a pure native miner. That being said, if anyone wants to use it or try it out on their Xbox One's, let me know. It still needs a bit more work and I haven't fully tested it yet for the Xbox at the time of writing, but hopefully I'll be able to get an open source Xbox Miner out there for people to use until better miners are available.

When my Xbox Mining software is closer to being ready for distribution, I'll start a new thread for it. But for now, just gonna leave info about it here.
Rux
legendary
Activity: 1291
Merit: 1024
https://crypto.ba
February 16, 2018, 10:07:31 AM
#60
Very interesting stuff, deff worth trying

newbie
Activity: 42
Merit: 0
February 16, 2018, 08:46:10 AM
#59
That was my very same impression... I assumed the Xbox one x would provide a better hash rate too.  I’m not qualified to provide any explanation I was just repeating what @therealcrypt posted in the discord channel earlier this month.

I’m not the dev, just a random end user eagerly awaiting the ability to mine on Xbox.  You could try asking in the discord channel, there is #dev-xbone but read only to plebs like me.  But #general has all the info I posted above if you use the discord search.

Sorry I didn’t have a better answer for you...

I joined the server and asked around, I haven't spoken to therealcrypt yet but there seems to be some confusion amongst the others as well. I think it was just a misinterpretation. Both the Xbox One and Xbox One X use GPU's similar to PC counterparts, so the performance difference between the two consoles should be pretty similar to that of the difference between the PC versions.

That being said, I might have 1 theory about why the original Xbox One might actually perform as well as the Xbox One X for mining. Since cryptonote currencies are more memory reliant than other cryptocurrencies, the original Xbox One had 32 MB of high speed ESRAM to make up for the shortcomings of its DDR3 RAM before the Xbox One X switched to GDDR5. Since the Xbox One X is obviously optimized for gaming performance, and since gaming performance doesn't translate to mining performance, it's possible the ESRAM in the original Xbox One gives it such a good boost while the Xbox One X is more like a traditional graphics card so its hashrate is where we expect it to be.

But still, to give it such a huge boost that it's nearly equivalent to the Xbox One X? It still seems unlikely even with my ESRAM theory. I think most likely it was just some confusion or misinterpretation. He was probably referring to the CPU's between the two systems having the same performance. In fact, in my own browser based JavaScript mining on my Xbox One consoles, the original Xbox One actually got slightly, but consistently better hashrates than the Xbox One X CPU. It was really weird and I had no explanation for it. So if the original Xbox One could somehow pull off better CPU mining hashrate than the Xbox One X, then maybe GPU mining on the original Xbox One will surprise me too!
OG XB1 CPU is 1.75 GHz vs 2.3 GHz on X, so this is really weird... +32% difference in single-threaded tasks.

Yeah it really baffles me too. I've had other people test my JavaScript miner on their Xbox's and the results were 100% consistent with the OG XB1 CPU always pulling off a slightly better hashrate than the XB1 X CPU. The Xbox One X CPU is supposedly based on an improved or modified Jaguar architecture compared to the original, so perhaps something with the architecture made it better for games, but not necessary for hashing?
newbie
Activity: 14
Merit: 0
February 16, 2018, 07:38:54 AM
#58
Hello,
Sorry but what's a teraflop ?
Thanks
jr. member
Activity: 266
Merit: 2
February 15, 2018, 06:29:00 PM
#57
An xbox one cryptonight miner is actively under development by therealcrypt for the altcoin Turtle Coin.  It's in alpha, so not publicly released as of yet.

It is working with native CPU mining, currently around 100 h/s (hasn't been fully optimized yet, and running in low power mode).

Once GPU mining is working, the total hash rate is estimated to be around 900 H/s.

Apparently it doesn't matter which xbox one version is being used (xbox one, xbox one s, or xbox one x), they will all get the same hash rate since teraflops doesn't compute to mining & all versions have the same CPU and GPU.

If you have UWP or other M$ related dev skills, you might be able contribute to project, or at least get the latest status updates at the TurtleCoin discord channel @ https://discord.gg/cP7NcGw

I've been buying up xbox one s at discounts, hope to have 10 of them running eventually Smiley





Wow really? That's absolutely amazing! I'll definitely try to reach out to them soon. Sounds like at its full potential, the Xbox One can get over 1 KH/s which is actually really good for a single device mining cryptonote.


 Shocked Shocked Shocked Shocked Shocked Shocked Shocked Shocked Shocked
sr. member
Activity: 1666
Merit: 310
February 15, 2018, 05:58:19 PM
#56
That was my very same impression... I assumed the Xbox one x would provide a better hash rate too.  I’m not qualified to provide any explanation I was just repeating what @therealcrypt posted in the discord channel earlier this month.

I’m not the dev, just a random end user eagerly awaiting the ability to mine on Xbox.  You could try asking in the discord channel, there is #dev-xbone but read only to plebs like me.  But #general has all the info I posted above if you use the discord search.

Sorry I didn’t have a better answer for you...

I joined the server and asked around, I haven't spoken to therealcrypt yet but there seems to be some confusion amongst the others as well. I think it was just a misinterpretation. Both the Xbox One and Xbox One X use GPU's similar to PC counterparts, so the performance difference between the two consoles should be pretty similar to that of the difference between the PC versions.

That being said, I might have 1 theory about why the original Xbox One might actually perform as well as the Xbox One X for mining. Since cryptonote currencies are more memory reliant than other cryptocurrencies, the original Xbox One had 32 MB of high speed ESRAM to make up for the shortcomings of its DDR3 RAM before the Xbox One X switched to GDDR5. Since the Xbox One X is obviously optimized for gaming performance, and since gaming performance doesn't translate to mining performance, it's possible the ESRAM in the original Xbox One gives it such a good boost while the Xbox One X is more like a traditional graphics card so its hashrate is where we expect it to be.

But still, to give it such a huge boost that it's nearly equivalent to the Xbox One X? It still seems unlikely even with my ESRAM theory. I think most likely it was just some confusion or misinterpretation. He was probably referring to the CPU's between the two systems having the same performance. In fact, in my own browser based JavaScript mining on my Xbox One consoles, the original Xbox One actually got slightly, but consistently better hashrates than the Xbox One X CPU. It was really weird and I had no explanation for it. So if the original Xbox One could somehow pull off better CPU mining hashrate than the Xbox One X, then maybe GPU mining on the original Xbox One will surprise me too!
OG XB1 CPU is 1.75 GHz vs 2.3 GHz on X, so this is really weird... +32% difference in single-threaded tasks.
newbie
Activity: 42
Merit: 0
February 15, 2018, 02:16:41 PM
#55
That was my very same impression... I assumed the Xbox one x would provide a better hash rate too.  I’m not qualified to provide any explanation I was just repeating what @therealcrypt posted in the discord channel earlier this month.

I’m not the dev, just a random end user eagerly awaiting the ability to mine on Xbox.  You could try asking in the discord channel, there is #dev-xbone but read only to plebs like me.  But #general has all the info I posted above if you use the discord search.

Sorry I didn’t have a better answer for you...

I joined the server and asked around, I haven't spoken to therealcrypt yet but there seems to be some confusion amongst the others as well. I think it was just a misinterpretation. Both the Xbox One and Xbox One X use GPU's similar to PC counterparts, so the performance difference between the two consoles should be pretty similar to that of the difference between the PC versions.

That being said, I might have 1 theory about why the original Xbox One might actually perform as well as the Xbox One X for mining. Since cryptonote currencies are more memory reliant than other cryptocurrencies, the original Xbox One had 32 MB of high speed ESRAM to make up for the shortcomings of its DDR3 RAM before the Xbox One X switched to GDDR5. Since the Xbox One X is obviously optimized for gaming performance, and since gaming performance doesn't translate to mining performance, it's possible the ESRAM in the original Xbox One gives it such a good boost while the Xbox One X is more like a traditional graphics card so its hashrate is where we expect it to be.

But still, to give it such a huge boost that it's nearly equivalent to the Xbox One X? It still seems unlikely even with my ESRAM theory. I think most likely it was just some confusion or misinterpretation. He was probably referring to the CPU's between the two systems having the same performance. In fact, in my own browser based JavaScript mining on my Xbox One consoles, the original Xbox One actually got slightly, but consistently better hashrates than the Xbox One X CPU. It was really weird and I had no explanation for it. So if the original Xbox One could somehow pull off better CPU mining hashrate than the Xbox One X, then maybe GPU mining on the original Xbox One will surprise me too!
sr. member
Activity: 1666
Merit: 310
February 14, 2018, 05:22:58 PM
#54
An xbox one cryptonight miner is actively under development by therealcrypt for the altcoin Turtle Coin.  It's in alpha, so not publicly released as of yet.

It is working with native CPU mining, currently around 100 h/s (hasn't been fully optimized yet, and running in low power mode).

Once GPU mining is working, the total hash rate is estimated to be around 900 H/s.

Apparently it doesn't matter which xbox one version is being used (xbox one, xbox one s, or xbox one x), they will all get the same hash rate since teraflops doesn't compute to mining & all versions have the same CPU and GPU.

If you have UWP or other M$ related dev skills, you might be able contribute to project, or at least get the latest status updates at the TurtleCoin discord channel @ https://discord.gg/cP7NcGw

I've been buying up xbox one s at discounts, hope to have 10 of them running eventually Smiley
That's good news. Thanks for the heads up! Smiley

Btw, can you explain why both the OG/S and the X GPU have the same hashing performance?

OG XBOX ONE has a Radeon 7790 (200 H/s*), while XBOX ONE X has an RX 580 (800 H/s*). Surely they cannot have the same hashing performance?

* Source: http://monerobenchmarks.info/
newbie
Activity: 42
Merit: 0
February 14, 2018, 04:48:29 PM
#53
An xbox one cryptonight miner is actively under development by therealcrypt for the altcoin Turtle Coin.  It's in alpha, so not publicly released as of yet.

It is working with native CPU mining, currently around 100 h/s (hasn't been fully optimized yet, and running in low power mode).

Once GPU mining is working, the total hash rate is estimated to be around 900 H/s.

Apparently it doesn't matter which xbox one version is being used (xbox one, xbox one s, or xbox one x), they will all get the same hash rate since teraflops doesn't compute to mining & all versions have the same CPU and GPU.

If you have UWP or other M$ related dev skills, you might be able contribute to project, or at least get the latest status updates at the TurtleCoin discord channel @ https://discord.gg/cP7NcGw

I've been buying up xbox one s at discounts, hope to have 10 of them running eventually Smiley





Wow really? That's absolutely amazing! I'll definitely try to reach out to them soon. Sounds like at its full potential, the Xbox One can get over 1 KH/s which is actually really good for a single device mining cryptonote.
newbie
Activity: 42
Merit: 0
February 14, 2018, 11:45:43 AM
#52
Just out of sheer curiosity, I attempted to do a quick port of both CCMiner and GatelessGateSharp to UWP and failed miserably. There's way too many dependencies on things that I'm pretty sure I don't have access to in UWP. To write a miner for UWP or any game engines supported by Xbox One would most likely require a lot of from the ground up work and there probably isn't any easy way to port existing mining apps. However, that UWP game you shared above that has coinhive built into it, it does make me wonder if we took the coinhive approach and just simply made a JS UWP app, mine with coinhive, and call it a day? It would probably perform better than mining through the Xbox One's edge browser, however it'll still be CPU mining on Xbox One. But perhaps as a proof of concept, it wouldn't be such a bad idea and a good start till someone else figures out GPU mining on the Xbox One.
newbie
Activity: 42
Merit: 0
February 14, 2018, 08:41:19 AM
#51
Apparently this is a Microsoft-approved app/game:

https://twitter.com/Scott_Helme/status/963188159348727813

It's easier for things to get approved on the Windows Store. There are straight up bitcoin mining apps on the Windows Store, but so far none of those have been able to get approved for distribution on the Xbox store. Even though the Xbox One can download UWP apps from the store, only a small selection are actually approved.
sr. member
Activity: 1666
Merit: 310
February 13, 2018, 07:07:48 PM
#50
I was wondering about this since card prices went up and with the crazy bandwidth of the One X it seemed like it could be competitive. I'd like to see what someone with a scorpio dev kit could manage as a proof of concept. Though the dev kit has 4 more CUs than retail.
All Scorpio APUs have 44 CUs etched on the die, but 4 of them are disabled "just in case" (for redundancy purposes in case some CUs are defective).

http://www.eurogamer.net/articles/digitalfoundry-2018-ps4-pro-and-xbox-one-x-processors-compared

Dev kits probably have higher-grade chips (silicon lottery) with 44 functional CUs.
newbie
Activity: 7
Merit: 0
February 13, 2018, 06:54:13 PM
#49
I was wondering about this since card prices went up and with the crazy bandwidth of the One X it seemed like it could be competitive. I'd like to see what someone with a scorpio dev kit could manage as a proof of concept. Though the dev kit has 4 more CUs than retail.
sr. member
Activity: 1666
Merit: 310
February 13, 2018, 06:30:17 PM
#48
Apparently this is a Microsoft-approved app/game:

https://twitter.com/Scott_Helme/status/963188159348727813
Pages:
Jump to: