Bitcoin Forum
May 12, 2024, 07:47:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: cgminer won't show temperature  (Read 3856 times)
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 06, 2014, 04:18:49 PM
 #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?
1715500046
Hero Member
*
Offline Offline

Posts: 1715500046

View Profile Personal Message (Offline)

Ignore
1715500046
Reply with quote  #2

1715500046
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715500046
Hero Member
*
Offline Offline

Posts: 1715500046

View Profile Personal Message (Offline)

Ignore
1715500046
Reply with quote  #2

1715500046
Report to moderator
1715500046
Hero Member
*
Offline Offline

Posts: 1715500046

View Profile Personal Message (Offline)

Ignore
1715500046
Reply with quote  #2

1715500046
Report to moderator
1715500046
Hero Member
*
Offline Offline

Posts: 1715500046

View Profile Personal Message (Offline)

Ignore
1715500046
Reply with quote  #2

1715500046
Report to moderator
pontiacg5
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
January 06, 2014, 04:19:32 PM
 #2

Which cards are they?? What does this command display?

sudo aticonfig --adapter=all --odgt

Please DO NOT send me private messages asking for help setting up GPU miners. I will not respond!!!
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 06, 2014, 04:25:09 PM
 #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.
pontiacg5
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
January 06, 2014, 04:27:45 PM
 #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://bitcointalk.org/index.php?topic=179845.0

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."




Please DO NOT send me private messages asking for help setting up GPU miners. I will not respond!!!
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 06, 2014, 04:42:06 PM
 #5

Well, I started xorg and now it shows C and RPM, but C only for first card.
pontiacg5
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
January 06, 2014, 04:47:03 PM
 #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!

Please DO NOT send me private messages asking for help setting up GPU miners. I will not respond!!!
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 06, 2014, 05: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.
pontiacg5
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
January 07, 2014, 01:39:45 AM
 #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



Please DO NOT send me private messages asking for help setting up GPU miners. I will not respond!!!
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 07, 2014, 09: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.
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 07, 2014, 11:41:24 AM
Last edit: January 07, 2014, 12:04:52 PM by sammy007
 #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.
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 09, 2014, 01:24:19 PM
 #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?
poolerMF
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
January 09, 2014, 02:37:47 PM
 #12

in windows ... when I use remote desktop ... I got this error too ...

SOLUTION? just do not use remote desktop ... use TeamViewer for example
pontiacg5
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250



View Profile
January 09, 2014, 05: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.

Please DO NOT send me private messages asking for help setting up GPU miners. I will not respond!!!
foodies123
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
January 09, 2014, 06: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.

nope
sammy007 (OP)
Legendary
*
Offline Offline

Activity: 1904
Merit: 1003


View Profile
January 28, 2014, 06: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).
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!