BitShares Forum

Other => Graveyard => MemoryCoin => Topic started by: Delinquency on January 18, 2014, 08:06:36 am

Title: GPU Miner - Ubuntu Configuration (X server issues)
Post by: Delinquency on January 18, 2014, 08:06:36 am
I'm running the radeon fglrx non-free drivers on Xubuntu to run my GPU Miner.

However, the command aticonfig tool only works on the desktop that runs on the server. I'm only able to run the GPU miner on the desktop hooked up to the server.


This command does not work on an SSH session, nor does the gpu miner find my GPU card.
Error for aticonfig : X Server must be running for AMD " " to run ...

Running it on the desktop is problematic because the GPU miner also somehow consumes a significant amount of CPU, reducing the CPU mining by about 45%.

How can I run the GPU miner remotely from a command line, or better yet, how would I just have it run on startup from crontab without an error?
Title: Re: GPU Miner - Ubuntu Configuration (X server issues)
Post by: MaxPWR on January 24, 2014, 10:47:25 pm
I had issues with Xubuntu and cgminer with scrypt - everything just hashed slower.  That's why I use Ubuntu w/ hard disks.  Still to try CentOS or BAMT...but back to your issue...

That's an ati driver issue, not a miner issue.  You shouldn't need to run aticonfig after initial set-up and installation.  Can you do the first set-up from the local desktop, then try just running the miner remotely from the shell?

I think "X server must be running" refers to the Gnome/KDE desktop kernel.  I've gotten that before when booting straight into command prompt on recovery and trying aticonfig, but never if I've loaded the desktop first then gone to terminal.

(Also, which miner are you trying to use with linux?)
Title: Re: GPU Miner - Ubuntu Configuration (X server issues)
Post by: Delinquency on January 25, 2014, 11:34:41 pm
I've tested Xubuntu, debian 7, and ubuntu desktop 13 and 12 with issues on SSH. All MMC GPU miners including CGminer have this issue.

X server not detected.. etc.

In the end, I shall try a >300MB Windows XP + RDP and compare stats. I prefer Windows for stability with GPU's and scrypt.
Title: Re: GPU Miner - Ubuntu Configuration (X server issues)
Post by: MaxPWR on January 26, 2014, 01:41:44 am
I haven't tried SSH, but I've used this guide before - some version numbers are out of date:
http://www.cryptobadger.com/2013/04/build-a-litecoin-mining-rig-linux/

But, have you tried the export DISPLAY command before starting a miner?

export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
Title: Re: GPU Miner - Ubuntu Configuration (X server issues)
Post by: Delinquency on January 27, 2014, 02:26:33 am
Fixed it. Using Lubuntu Desktop 64-bit.

Basically the X server's config was running on the normal user (non-root).

Guess I got it working by using: su xxusername (in this case, su mmc) -- ran the miner, and everything went well with those commands ^.^
Title: Re: GPU Miner - Ubuntu Configuration (X server issues)
Post by: MaxPWR on January 27, 2014, 05:07:51 pm
Hey, seraphim and I, and everyone else are looking for a volunteer to collect links / manage / etc an "intro to mining" guide on mmcwiki - interested?