I have AMD Radeon HD 6450 card and Ubuntu is my OS. If I log in normally and start cgminer it works properly and detect my graphic card. Now my monitor is turned off and I connect to my computer by ssh. In this scenario cgminer does not detect my graphic card:
[2013-12-22 13:35:09] Started cgminer 3.7.2
[2013-12-22 13:35:09] clDevicesNum returned error, no GPUs usable
[2013-12-22 13:35:09] No devices detected!
[2013-12-22 13:35:09] Waiting for USB hotplug devices or press q to quit
[2013-12-22 13:35:09] Probing for an alive pool
[2013-12-22 13:35:09] Pool 0 difficulty changed to 256
[2013-12-22 13:35:10] Network diff set to 3.23K
I suspect that the card is idle because monitor is turned off. To solve this I enabled X11 forwarding in my ssh session but It did not help.
sudo aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 6450
* - Default adapter
What can be cause of that situation? Is possible that card is idle? How to check that and how to force card to starts?
EDIT
My cgminer start script:
#!/bin/sh
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
cd /mypath/cgminer-3.7.2-x86_64-built
./cgminer [parameters]
EDIT
sudo aticonfig --adapter=all --odgt
No protocol specified
No protocol specified
ERROR - X needs to be running to perform AMD Overdrive(TM) commands