Author

Topic: Need help with Xubuntu + CGminer (edit: still unresolved) (Read 3680 times)

donator
Activity: 798
Merit: 500
I've sold my rigs but I had multiple rigs with multiple 79xx cards with Xubuntu.  That guide in OP didn't work for me.  Here is what I used, all from root terminal, hope it helps (I was using 12.4 driver)...

Clean old installs:
Code:
/usr/share/ati/fglrx-uninstall.sh --force
apt-get remove --purge fglrx*
sync
reboot

Install new driver (use defaults when prompted):
Code:
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
chmod 755 amd-driver-installer-12-4-x86.x86_64.run
chmod +x amd-driver-installer-12-4-x86.x86_64.run
./amd-driver-installer-12-4-x86.x86_64.run
aticonfig -f --initial --adapter=all
sync
reboot

Check cgminer is seeing all the devices:
Code:
cd
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
./cgminer --ndevs

I would also check top to make sure only one instance of cgminer is launching.
wzl
newbie
Activity: 25
Merit: 0
Here's what I'd try

- make sure X is using both cards
- upgrade to latest cgminer
- figure out cgminer command-line args to disable one GPU, try running, disable other GPU, try running, see what happens, may be informative. (-d flag)


hero member
Activity: 850
Merit: 1000
I had a problem similar to this (see this post https://bitcointalksearch.org/topic/help-im-only-getting-half-of-the-expected-hash-rate-168343 ). Fortunately I was able to fix it by stopping cgminer, plugging a monitor into a video card (play around and see which slot works for you), and starting cgminer again.

I'm going to Radio Shack tomorrow to get resistors to make a dummy plug http://blog.zorinaq.com/?e=11 so that I don't have to keep hauling my monitor around, and I'll post back on my original post with my findings.
hero member
Activity: 710
Merit: 502
Hello
I have exactly these cards, but for now in windows, I will switch to linux to reduce the 10W the hard drive is using, booting off flash drive.

Did you try dummyplug? I have it on from day one, just in case, if not there is something called ULPS that is the auto power save of the card, if this is activated and no monitor attached the card won't start, I don't know how to disable ULPS in linux but it is a very good chance that it's your problem.

what do you think?
newbie
Activity: 28
Merit: 0
Is your power supply sufficient?

Yea, we figured out it's something Linux-specific. Someone else was having the same issue, so discussion picked up in his thread. Anyone reading this thread looking for help can follow the discussion here https://bitcointalksearch.org/topic/first-rig-mining-slow-4x7950s-130mhs-per-164825
newbie
Activity: 12
Merit: 0
Is your power supply sufficient?
newbie
Activity: 28
Merit: 0
Here's an excellent GPU comparison chart that should help you with your card settings, hope it helps..... Wink

https://en.bitcoin.it/wiki/Mining_hardware_comparison#AMD_.28ATI.29

I have my gpu and memory set to what's suggested in this guide already, and no help. For whatever reason my cards are stuck outputting half each of what they should be according to that guide...and I dont have a spare PC to throw the other card in

If I try to press G and change card settings during mining, it sells me the driver reports success but nothing actually changes. One card is actually running at the proper clock speeds, the other one is essentially off (300 mhz gpu, 150mhz RAM)

Crossfire is not enabled (afaik, cable for it was not connected)
newbie
Activity: 12
Merit: 0
Can I suggest pulling one of the cards and seeing what the hashrate is for one card?
I had a similar problem with one card producing the expected hashrate but two cards combined producing about the same as one... I solved it by using a spare box I had lying around so I am sorry I am not of more help, but at least you will know if it is the cards or something else.
Cheers Forrie
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
Here's an excellent GPU comparison chart that should help you with your card settings, hope it helps..... Wink

https://en.bitcoin.it/wiki/Mining_hardware_comparison#AMD_.28ATI.29
newbie
Activity: 28
Merit: 0
Got slightly better results and changed my cgminer parameters. Any help would be appreciated
newbie
Activity: 28
Merit: 0
First of all, I'm running 2 Gigabyte AMD Radeon HD 7850 1GB (http://www.amazon.com/dp/B009LTUC90/ref=pe_175190_21431760_M3T1_ST1_dp_1)

Rest of my setup is 2GB of RAM, and Xubuntu running off of a flashdrive

I followed the steps at https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/edit# to get ATI drivers and cgminer set up on an Xubuntu install with no problems.

I wrote a bash script to start CGIMiner, and it does in the following manner:

Code:
#!/bin/sh
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
cd /home/moneygenerator/cgminer*
./cgminer -o http://ppcpool.bitparking.com:20098 -u user -p pass --api-listen --api-network -I 14 --auto-fan --temp-target 77 --gpu-engine 1150 --gpu-memclock 800

However, I am only getting ~375mh\s? Any ideas?

Here is the CGMiner output. It looks like one of the GPUs is not working that much?:

https://i.imgur.com/MD9Gjxr.png
Jump to: