Author

Topic: cgminer won't show temperature (Read 3879 times)

legendary
Activity: 1904
Merit: 1003
January 28, 2014, 01:40:56 PM
#15
aticonfig --odgt --adapter=all

Default Adapter - AMD Radeon R9 290 Series
    Sensor: Temperature - 74.00 C

Default Adapter - AMD Radeon R9 290 Series
    Sensor: Temperature - 74.00 C

Default Adapter - AMD Radeon R9 290 Series
    Sensor: Temperature - 74.00 C

Why so? It showing the same card 3 times. Actually I have 3xR9 290. 2 are mining, 1 is OFF in cgminer (I used -d 0-1).
sr. member
Activity: 322
Merit: 250
January 09, 2014, 01:31:48 PM
#14
you didn't by any chance install the driver via apt-get did you ? if you did that's the problem.
sr. member
Activity: 364
Merit: 250
January 09, 2014, 12:43:47 PM
#13
Finally get them all functioning @870 Khash/s.

-I 20 -g 1 --lookup-gap 2 -v 1 --thread-concurrency 32765 --no-submit-stale --shaders 2560 --gpu-fan 60-95 --auto-fan --temp-cutoff 80 --gpu-engine 1000 --gpu-memclock 1500 -w 256

I realized, that my gig required total poweroff instead of reboot if something went wrong with tuning to get normal hashrate back. I am wondering is there a workaround?

Due to the whacked out ADL library of the 290, it doesn't "release" clock settings when you exit cgminer as it should.

Unfortunately, for now, you'll probably need to continue rebooting to clear old clock settings.

The only advice I can give is make sure to delete the .bin files that cgminer makes on every successful start. Sometimes old bin files can interfere with new settings, so just delete them. They are generated in the cgminer directory.

RDC hasn't been able to start GPU mining forever AFAIK, windows will not use AMD drivers for RDC so cgminer will never find opencl devices. USB, maybe? Never bothered to find out.

Teamviewer will not restart the AMD driver on boot if it crashed previously, the solution is keeping a dummy plug in one GPU. Then you can RDC around dead/crashed vid drivers in teamviewer, call for a restart, then windows loads AMD drivers because of the dummy plug. Next, auto start or teamview in and you'll be rolling again.
newbie
Activity: 38
Merit: 0
January 09, 2014, 09:37:47 AM
#12
in windows ... when I use remote desktop ... I got this error too ...

SOLUTION? just do not use remote desktop ... use TeamViewer for example
legendary
Activity: 1904
Merit: 1003
January 09, 2014, 08:24:19 AM
#11
Finally get them all functioning @870 Khash/s.

-I 20 -g 1 --lookup-gap 2 -v 1 --thread-concurrency 32765 --no-submit-stale --shaders 2560 --gpu-fan 60-95 --auto-fan --temp-cutoff 80 --gpu-engine 1000 --gpu-memclock 1500 -w 256

I realized, that my gig required total poweroff instead of reboot if something went wrong with tuning to get normal hashrate back. I am wondering is there a workaround?
legendary
Activity: 1904
Merit: 1003
January 07, 2014, 06:41:24 AM
#10
Damn, now 1st card shows 0 Kh/s just temp and fan speed and cgminer won't shutdown. Just after reboot to make sure that everything is ok.
legendary
Activity: 1904
Merit: 1003
January 07, 2014, 04:43:34 AM
#9
You are right, dude. Just followed a guide http://www.ohmpie.com/mining-on-an-r9-290-in-linux/ and it works like a hell! Patching cgminer, etc... othrwise it will crush on cgminer exit like last night and all GPUs will continue to go like no tomorrow without any profit because it does not release them and lost ssh connection. oh, hell, it was long... too much headaches to finally get it working.
sr. member
Activity: 364
Merit: 250
January 06, 2014, 08:39:45 PM
#8
Until I have a chance to get home and play with these new 290's I just got I won't be much help, sorry!

Also can't play until I have a chance to hard reset crashed box due to xorg. Damn, I am out of business for 12+ hours.

I hate that! Seriously considered little servos and some kind of control for a "hard" remote reset switch  Grin

Alright, so I've learned a bit more. The 290 comes with a new version of AMD overdrive, that is it's ADL library is different than the older cards.

Apparently it's possible to fix by tweaking some of the ADL calls in cgminer. I guess this is done by recompiling it?
http://www.ohmpie.com/mining-on-an-r9-290-in-linux/


FWIW I do have a single 290x that is watercooled and running in windows. If I don't plug the fan in at some point after a restart cgminer will NEVER start, or hang, or do much of anything. Oddly, if I plug the GPU fan back in it fires right up and takes off mining as if nothing is wrong. I don't even have to have the fan plugged in while starting cgminer, just has to have been plugged in and removed at some point before starting mining. After the fan's been plugged in I can close and restart cgminer as often as I need to, without touching the fan again. If you look, the fan has a lot bigger role in the new AMD overdrive  Undecided
So, seems there might be something to this ADL recompile...

And my 290's came  Cheesy


legendary
Activity: 1904
Merit: 1003
January 06, 2014, 12:29:19 PM
#7
Until I have a chance to get home and play with these new 290's I just got I won't be much help, sorry!

Also can't play until I have a chance to hard reset crashed box due to xorg. Damn, I am out of business for 12+ hours.
sr. member
Activity: 364
Merit: 250
January 06, 2014, 11:47:03 AM
#6
I was afraid of that. You are using export display=:0 somewhere right?

I've not had a 290 working on linux and I know they behave differently than 280x cards. You are using a monitor on the card that displays temp, right? There's no way to dummy plug a 290 that I know of...

Until I have a chance to get home and play with these new 290's I just got I won't be much help, sorry!
legendary
Activity: 1904
Merit: 1003
January 06, 2014, 11:42:06 AM
#5
Well, I started xorg and now it shows C and RPM, but C only for first card.
sr. member
Activity: 364
Merit: 250
January 06, 2014, 11:27:45 AM
#4
I remember that same error when I was setting up 280x cards on xubuntu. I'm not very good with linux, so hopefully someone else steps in with tips...

If you are trying to launch over ssh, try locally first. Otherwise, this thread might be more help.

https://bitcointalksearch.org/topic/aticonfig-error-x-needs-to-be-running-to-perform-amd-overdrivetm-commands-179845

This post might be of help, I know my desktop does the "loop" problem he is talking about

"Ran into the same problem, but typing xinit into a terminal yielded no joy, just the message:

Fatal server error:
Server is already active for display 0
   If this server is no longer running, remove /tmp/.X0-lock
   and start again.

I'm running Ubuntu 12.04.2 desktop (64 bit)

After a while of struggling with it I've got it to display the temperatures of my GPUs. I did the following:


sudo apt-get install fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev


I then downloaded AMD-APP-SDK and followed step 12) in this guide: https://github.com/kanoi/linux-usb-cgminer/blob/master/linux-usb-cgminer#L117 to enable OpenCL.

Unfortunately Ive now got a problem with the display - the right hand side of the screen wraps back round to the left (but not he other way around) This isn't much of an issue, it just mildly irritating. I have a feeling it can be fixed by manually altering the xorg.conf but I don't wanna mess with it anymore."



legendary
Activity: 1904
Merit: 1003
January 06, 2014, 11:25:09 AM
#3
Which cards are they?? What does this command display?

sudo aticonfig --adapter=all --odgt


ERROR - X needs to be running to perform AMD Overdrive(TM) commands

Gigabyte R9 290. Also, my hashrate sucks.
sr. member
Activity: 364
Merit: 250
January 06, 2014, 11:19:32 AM
#2
Which cards are they?? What does this command display?

sudo aticonfig --adapter=all --odgt
legendary
Activity: 1904
Merit: 1003
January 06, 2014, 11:18:49 AM
#1
3.7.2 binary, latest catalyst, ubuntu. I don't see temperature:

Pool management
 GPU 0:                | 599.3K/635.8Kh/s | A: 8448 R:256 HW:0 WU: 569.3/m I:20
 GPU 1:                | 745.0K/757.6Kh/s | A:11520 R:  0 HW:0 WU: 667.5/m I:20

Any ideas?

Also, how to compile properly? If compiling I can't get a number of options like fan speed, etc... any ./configure tricks is missing?
Jump to: