Bitcoin Forum
June 22, 2024, 02:41:54 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CGMINER problems over LINUX  (Read 2170 times)
gogo7901 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 20, 2014, 12:19:51 PM
 #1

Hi to all,
 I have 3 ( three ) card R9 290 sapphire
I'm trying almost a week to run them to mine litecoins on Linux ( Debian ) without success
On Linux everything seems OK:


root@miner:~/app-sdk#  lspci
----------------------------------------------------------------------------------------------------
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aac8
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290]
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aac8
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290]
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aac8
----------------------------------------------------------------------------------------------------

Installed software :::


- 13.11-betaV9.95 ( from January )
- APP-SDK-v2.9
- latest ADL  - only includes



ati config returns

root@miner:~/cgminer-3.7.2# aticonfig --lsa
* 0. 01:00.0 AMD Radeon R9 290 Series
  1. 02:00.0 AMD Radeon R9 290 Series
  2. 05:00.0 AMD Radeon R9 290 Series

* - Default adapter

I see all cards in dev ...

root@miner:~/app-sdk#  ls -la /dev/ati/*
crw-rw-rw- 1 root root 251, 0 Jan 20 12:08 /dev/ati/card0
crw-rw-rw- 1 root root 251, 1 Jan 20 12:08 /dev/ati/card1
crw-rw-rw- 1 root root 251, 2 Jan 20 12:08 /dev/ati/card2


My kernel is :

root@miner:~/app-sdk# uname -a
Linux miner 3.12-1-amd64 #1 SMP Debian 3.12.6-2 (2013-12-29) x86_64 GNU/Linux


So till now looks great !

After that

I compile cgminer
./configure with these options for 3.7.2


------------------------------------------------------------------------
cgminer 3.7.2
------------------------------------------------------------------------


Configuration Options Summary:

  libcurl(GBT+getwork).: Enabled: -lcurl
  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: FOUND. GPU mining support enabled
  scrypt...............: Enabled
  ADL..................: SDK found, GPU monitoring support enabled


I set these lines in /etc/profile

export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export XAUTHORITY=/.Xauthority



After all this I reboot and check it again ...

and than


 ./cgminer --scrypt -o stratum+tcp://spare.ozco.in:9333 -u XXXX -p XXXX --syslog


and I see in syslog :

Jan 20 13:55:57 miner cgminer: Started cgminer 3.7.2
Jan 20 13:55:57 miner cgminer: CL Platform 0 vendor: Advanced Micro Devices, Inc.
Jan 20 13:55:57 miner cgminer: CL Platform 0 name: AMD Accelerated Parallel Processing
Jan 20 13:55:57 miner cgminer: CL Platform 0 version: OpenCL 1.2 AMD-APP (1214.3)
Jan 20 13:55:57 miner cgminer: Error -1: Getting Device IDs (num)
Jan 20 13:55:57 miner cgminer: clDevicesNum returned error, no GPUs usable
Jan 20 13:55:57 miner cgminer: All devices disabled, cannot mine!


So cgminer did not see GPU devices... Question is why ? Sad
What am I doing wrong ?

Please advice ...

Regards,
 Georgi 




Shahrukh
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile WWW
January 20, 2014, 01:17:24 PM
 #2

make a swap file:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile
install git
sudo apt-get install git
clone gpu miner
git clone https://github.com/pooler/cpuminer.git
compile the source code
sudo apt-get install build-essential libcurl4-openssl-dev automake make

cd cpuminer

#Basic *nix build instructions:
./autogen.sh    # only needed if building from git repo (which we are)
CFLAGS="-O3 -Wall -msse2" ./configure
make

./minerd --url http://whatever.poolyouwant.com:Port/ --userpass 
USERNAME:password


I turned everyone down Sad Sorry for that
gogo7901 (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
January 21, 2014, 07:53:31 AM
 #3

I have already swap
 And why I need minerd ( it is only CPU miner ) ... as I can see

I compiled it .. but same I see only CPU .. nothing more...

turtle83
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


Supersonic


View Profile WWW
January 21, 2014, 10:07:12 AM
 #4

did you try running cgminer as root?

Havent GPU mined for ages, but i recalled having issues using GPU in headless setup, needed to be logged into some form of xwindow system...

crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
January 21, 2014, 11:52:44 AM
 #5

Delete your /etc/X11/xorg.conf

Then run "sudo aticonfig --adapter=all --initial --force"

then do "cgminer -n"

Do you see all your GPUs?

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
Syzygy123
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 24, 2014, 02:48:55 AM
 #6

I'm running into the same issue with Debian stable and 14.1 drivers. Did you ever resolve the issue?
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!