Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Auspician on June 17, 2011, 09:16:05 PM



Title: Playing games while mining with the same GFX card
Post by: Auspician on June 17, 2011, 09:16:05 PM
The Goal: To play games while mining, letting the game use whatever portion of the GFX card it needs to run and leave the rest leftover for the mining client.

The Proof: This was achieved using an older Nvidia GFX card by using the -f128 flag.  The card was hashing at 40Mhash/s when not gaming and 8-10Mhash/s when gaming without any noticeable performance reduction in the game.

The Problem: Current I'm using 2x non-reference 6950's hashing at about 335Mhash/s each.  Games run fine when I turn the worker off that controls the monitor I'm gaming on.  However, the system locks whenever I attempt to also mine with that GFX card, regardless of starting the worker first or the game first.  This happens even with -f1024.

Any suggestions?


Title: Re: Playing games while mining with the same GFX card
Post by: Austinh100 on June 18, 2011, 12:38:58 AM
windows or linux, im assuming windows, i would try setting priority to the game in task manager


Title: Re: Playing games while mining with the same GFX card
Post by: Auspician on June 18, 2011, 01:09:07 AM
Windows 7 64-bit. 

Priority can only be set after the game is loaded and would require a complex process every time I wanted to game, even if it would work.  Any other suggestions?


Title: Re: Playing games while mining with the same GFX card
Post by: milk on June 18, 2011, 10:07:50 AM
Your monitor can display 1024 frames ? Really  :o

-f 60 (frames) is usually the max. If it hangs your computer is unstable.


Title: Re: Playing games while mining with the same GFX card
Post by: Waltibaba on June 18, 2011, 10:35:07 AM
If you want to, you can set priority permanently using a program like prifinnity; sets affinity and priority automatically.


Title: Re: Playing games while mining with the same GFX card
Post by: Auspician on June 18, 2011, 02:49:45 PM
That might be worth looking into, Waltibaba.  I'll check it out and get back to you.

As far as how many frames my monitor can display, honestly I've ignored that detail in favor of recognizing that the Mhash/s rate drops the higher -f I go to, and other applications seem to be able to utilize that additional graphics overhead.  At -f1024 I'm still at 93% utilization of my GFX cards.


Title: Re: Playing games while mining with the same GFX card
Post by: Auspician on June 18, 2011, 05:06:58 PM
No dice.  Setting GUIminer to Low priority and the game to Above Normal had no effect; the system still crashed.

Other suggestions?


Title: Re: Playing games while mining with the same GFX card
Post by: frizzl on June 18, 2011, 07:35:06 PM
Your monitor can display 1024 frames ? Really  :o

-f 60 (frames) is usually the max. If it hangs your computer is unstable.

This worked for me, i was able to login to RIFT didnt do anything hardcore but it was hashing still and had decent fps in RIFT.


Title: Re: Playing games while mining with the same GFX card
Post by: Auspician on June 18, 2011, 08:41:43 PM
What GFX card are you running RIFT on, frizzl?  What OS are you using and with what version of the GFX drivers?


Title: Re: Playing games while mining with the same GFX card
Post by: lacedwithkerosene on June 18, 2011, 08:54:09 PM
"Consider playing Minesweeper instead of Black Ops if you must game on a computer that is actively mining"


Title: Re: Playing games while mining with the same GFX card
Post by: Garrett Burgwardt on June 19, 2011, 06:04:43 AM
The 69xx series has a known problem where anything using OpenCL doesn't share resources with other programs.

Those cards will all lock.


Title: Re: Playing games while mining with the same GFX card
Post by: Auspician on June 19, 2011, 05:24:08 PM
Good to know, Garrett.  Is this an ATI/AMD problem, meaning could I share feedback with them about this and ask for a software update that doesn't have that problem?


Title: Re: Playing games while mining with the same GFX card
Post by: Fiyasko on June 20, 2011, 04:43:55 PM
Your monitor can display 1024 frames ? Really  :o

-f 60 (frames) is usually the max. If it hangs your computer is unstable.

I fucking hate noobs

But Yes, If it hangs, Your system is unstable.

I have two 6870's crossfire'd in my main comp
GPU0=940core 1150mem
GPU1=1000core 1200mem

Running at -v -w128 -f250

Crysis 2+advanced graphics options=No lag
No need to stop a GPU.
When i had GPU0 at 965core, i could mine with it But games would crash while the miner was running, Turn off the miner, and games EVENTUALLY crash

If you think it's the OpenCL bug, Then try placing the core affinity on ALL gpu's to just one core, BTW if you have more than 1 GPU, OpenCL will Peg one of your cores at 100%

Even with the bug Activly Fucking my 6th core really hard Crysis 2 runs Perfect whilst mining


Title: Re: Playing games while mining with the same GFX card
Post by: dikidera on June 20, 2011, 07:09:50 PM
I also played games while mining. And although i mined slower(obviously) i had the perfect settings. The game wasn't as smooth, but it worked.


Title: Re: Playing games while mining with the same GFX card
Post by: Fiyasko on June 21, 2011, 04:24:50 PM
Raise the F if the game is not smooth, I can play the most BASIC of video games (Touhou 12) and i lag without the F up at 250


Title: Re: Playing games while mining with the same GFX card
Post by: Auspician on June 29, 2011, 02:44:47 PM
Update: This issue seems to depend upon the game.  Civilization 5 doesn't want to share resources with the miners, and results in a system crash.  However, Neverwinter Nights 2 and Fallout New Vegas work great with just the -f60 flag, even running through a GFX card on a PCIe x8 slot. 


Title: Re: Playing games while mining with the same GFX card
Post by: qed on June 29, 2011, 11:32:20 PM
All DX11 games, on 6900 cards, will lock your PC if you start it while mining, DX9 games are working fine. I did not test DX10 games.


Title: Re: Playing games while mining with the same GFX card
Post by: Auspician on June 30, 2011, 05:04:30 PM
Good to know!  I'll have to try running Civilization 5 in DX9.


Title: Re: Playing games while mining with the same GFX card
Post by: SeriousWorm on June 30, 2011, 10:19:27 PM
I can play UrbanTerror (OpenGL game) with a miner in the background.

If I start UrT while mining, I get a crash.

*However*, if I start UrT, ALT-TAB out of the game, start the miner then just as the miner is starting ALT-TAB *back* in to the game, everything works. From then on I can ALT-TAB whenever I want, it runs perfectly for hours.

I'm running the latest Phoenix w/ Cat 10.6, MSI 6870 Hawk, Afterburner to control clocks.
I can set Aggression to about 5 without any fps loss or lag. I get minor lag on 6 and it increases at 7 and up.
I get around 150-250 MH/sec out of the 300 maximum. Much better than 0. :)



Additionally, Far Cry 2 (which I got with the card) seems to run fine without crashes, regardless of the above.


Title: Re: Playing games while mining with the same GFX card
Post by: Fiyasko on July 01, 2011, 08:09:12 AM
All DX11 games, on 6900 cards, will lock your PC if you start it while mining, DX9 games are working fine. I did not test DX10 games.

You are completely incorrect, I am loving my 6990 eyefinity, a yummy 60fps max graphics with one core and 400mhashes with the other.

When i obey this threads 'ruleset' we'll call it, (and i just tested this) i get a horrible 139mh/s per core(2) but the game still gets a solid 60fps+

Maxedout Eyefinity on Crysis2 with the Adavanced Graphics Tweaker
Notes:AA is disabled.
         All forms of PhysX are disabled
         Windows7UltimateX86
         -v -w128 -f350


Title: Re: Playing games while mining with the same GFX card
Post by: qed on July 01, 2011, 04:37:17 PM
All DX11 games, on 6900 cards, will lock your PC if you start it while mining, DX9 games are working fine. I did not test DX10 games.

You are completely incorrect, I am loving my 6990 eyefinity, a yummy 60fps max graphics with one core and 400mhashes with the other.

When i obey this threads 'ruleset' we'll call it, (and i just tested this) i get a horrible 139mh/s per core(2) but the game still gets a solid 60fps+

Maxedout Eyefinity on Crysis2 with the Adavanced Graphics Tweaker
Notes:AA is disabled.
         All forms of PhysX are disabled
         Windows7UltimateX86
         -v -w128 -f350

You are completely incorrect. Crysis 2 is DX9 unless you patched it with 1.9 AND the DX11 patch. Thing that you did NoT do not for sure, too many FPS with only 1 6990.

http://www.ctrlaltkill.org/2011/06/27/crysis-2-dx9-vs-dx11-benchmarks-time-to-upgrade-again/

I was able to play it while mining, now I can't anymore.


Title: Re: Playing games while mining with the same GFX card
Post by: Fiyasko on July 01, 2011, 05:34:21 PM
Ahahaha. Im not a dunce.
Im am fully aware of crysis' many frequent updates. it is currently my favorite game.

And no. There are not "too many fps"

I would fucking return my card if a 6970@940 wasnt able to run crysis as i want it too

No doubt that the extra resolution reduces my frame rates.
(i conceide here)
but if i look at the ground i goto 60 XD

To clarify I forgot to tell my 6990 to use only one core.
My previous statement of 1core running crysis and the other running mining. Was false.
The miner was sitting around doing dick fuck all(connection problems) when i was running crysis, So effectively the full 6990 was running crysis. Whilst no mining was active

To retest;
I got [as you said(but in reverse)] too many fps with what i stated earlier
Flipping off eyefinity gives me what i said earlier. But with eyefinity on i drop to an unbearable 32ish fps
40 is the fucking minimum frame rate in my books.

to clarify. Yes, My crysis is updated. And looks Fucking Gorgeous


Title: Re: Playing games while mining with the same GFX card
Post by: Jack of Diamonds on July 02, 2011, 12:48:50 AM
I tried to run that game with the Direct X patch (11) on my 4x 6990 rig for fun, but it just said 'failed to initialize wrapper' or something. Gave up after 20 mins

Maybe it's just been too long since I played video games (I tried F.E.A.R a few years back), but I didn't find an answer online as to why Crysis wouldn't work.

Well, back to mining.. Will have to test again later, it looks nice in screenshots. Much better than anything I've seen in the past.


Title: Re: Playing games while mining with the same GFX card
Post by: qed on July 02, 2011, 02:46:23 AM
Also my Crysis 2 looks great too and i love it! It's just annoying the state of ATI drivers, and all my systems are freezing on any DX11 application while mining.

I am not using catalyst 11.6 due to BSOD just after installation, if they fixed the freeze it would be great!


Title: Re: Playing games while mining with the same GFX card
Post by: Jack of Diamonds on July 02, 2011, 05:39:17 AM
So I searched around some more, it turns out you can't use 8 gpu's while gaming, even though it works for mining.

When you just enable 4 (2 6990) it will work just fine.

The problem is, a core 2 duo or sempron used for mining will seriously bottleneck those cards. I'll try switching a few on p67 platform with i7.


Title: Re: Playing games while mining with the same GFX card
Post by: Fiyasko on July 02, 2011, 05:15:07 PM
Also my Crysis 2 looks great too and i love it! It's just annoying the state of ATI drivers, and all my systems are freezing on any DX11 application while mining.

I am not using catalyst 11.6 due to BSOD just after installation, if they fixed the freeze it would be great!

o.0 Time for me to loadup every DX11 thing i have---- OH WAIT Dirt3 runs FINE while mining, So does the Heaven 2.1 Benchmark.
I guess im gonna skip the extra testing and pretend that it's all your fault


Title: Re: Playing games while mining with the same GFX card
Post by: qed on July 02, 2011, 11:30:59 PM
Also my Crysis 2 looks great too and i love it! It's just annoying the state of ATI drivers, and all my systems are freezing on any DX11 application while mining.

I am not using catalyst 11.6 due to BSOD just after installation, if they fixed the freeze it would be great!

o.0 Time for me to loadup every DX11 thing i have---- OH WAIT Dirt3 runs FINE while mining, So does the Heaven 2.1 Benchmark.
I guess im gonna skip the extra testing and pretend that it's all your fault

My guess is that you are trolling as always. You lied writing "You are completely incorrect, I am loving my 6990 eyefinity, a yummy 60fps max graphics with one core and 400mhashes with the other." and i show you benchmark of a 6990 using both cores reaching 48 FPS average with eyefinity turned off.
Then you said you meant with both cores and eyefinity turned off  ??? , but you are still outperforming benchmarks by a good 25%. You must be so good at computers for doing that! Did you write your own drivers?
Oh, wait! I found a post where you needed help to overclock the 6990...

The fact is simple, you can not use any DX11 application running on the same 6900 GPU where you are mining. You can with 5800 cards , as you are most likely doing.


Title: Re: Playing games while mining with the same GFX card
Post by: Fiyasko on July 03, 2011, 12:13:27 AM
Also my Crysis 2 looks great too and i love it! It's just annoying the state of ATI drivers, and all my systems are freezing on any DX11 application while mining.

I am not using catalyst 11.6 due to BSOD just after installation, if they fixed the freeze it would be great!

o.0 Time for me to loadup every DX11 thing i have---- OH WAIT Dirt3 runs FINE while mining, So does the Heaven 2.1 Benchmark.
I guess im gonna skip the extra testing and pretend that it's all your fault

My guess is that you are trolling as always. You lied writing "You are completely incorrect, I am loving my 6990 eyefinity, a yummy 60fps max graphics with one core and 400mhashes with the other." and i show you benchmark of a 6990 using both cores reaching 48 FPS average with eyefinity turned off.
Then you said you meant with both cores and eyefinity turned off  ??? , but you are still outperforming benchmarks by a good 25%. You must be so good at computers for doing that! Did you write your own drivers?
Oh, wait! I found a post where you needed help to overclock the 6990...

The fact is simple, you can not use any DX11 application running on the same 6900 GPU where you are mining. You can with 5800 cards , as you are most likely doing.

Aw i've been caught So Fucking Hard.
sonofabitch
Shall i delete all my posts? I will if asked too.

Edit: i was fighting for awhile because my dual 6870 rig has noproblems doing the afformention necessities (dx11game mining)
without the realisation that the 6870 and 6970 cores are apparently Much, Much more different than i had anticipated


Title: Re: Playing games while mining with the same GFX card
Post by: Xenland on July 05, 2011, 03:29:51 AM
I run my miner on my 6990 on GPU2 and then I just start the game up and no freezes :D