Bitcoin Forum
December 15, 2024, 10:24:42 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Do AMD GPUs need a dummy plug to work without a monitor?  (Read 5121 times)
salfter (OP)
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
September 01, 2012, 05:35:39 AM
 #1

Received a Radeon 7750 today to hold me over until the Jalapeños arrive...put it in an idle box with an on-board nVidia GPU (GeForce 7-series equivalent, so no CUDA or OpenCL on it).  It already had Gentoo on it, so it just needed drivers and bfgminer.

AFAICT, X is working (haven't plugged it in, but the messages are consistent with it running). Starting bfgminer with the -n option ends with "error -1: getting device IDs", after some messages about the OpenCL vendor, platform, and version (all of which mention AMD and not nVidia).

The computer is in a closet with a power cord and network cable plugged in. I haven't yet plugged in a monitor. I know some nVidia GPUs won't fire up properly if no monitor is plugged in or the monitor is off. Is this also an issue with AMD GPUs? Could this also be a result of not disabling the on board video in BIOS setup?

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
crazyates
Legendary
*
Offline Offline

Activity: 952
Merit: 1000



View Profile
September 01, 2012, 06:01:46 AM
 #2

First of all, I <3 Gentoo.

I never had to use dummy plugs when I used linux. Dummy plugs were only used on Windows machines with older drivers (think 11.6 or something). In recent months, I had to use dummy plugs to let CGMiner control the card through ADL, but again, I dont think that's a linux issue.

What driver did you install, and did it install with the -opencl USE flag?

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
AndrewBUD
Hero Member
*****
Offline Offline

Activity: 1078
Merit: 502



View Profile WWW
September 01, 2012, 01:25:28 PM
 #3

I don't use dummy plugs on my rigs.... i forget what driver version i run but "newer"


▄▄▄███████▄▄▄
▄▄█████▀▀''`▀▀█████▄▄
▄███P'            `YY██▄
▄██P'                  `Y██▄
███'                      `███
███'                         ███
▄██'   ▄█████▄▄  ,▄▄▄▄▄▄▄▄▄▄p   ███
▄██▀  ,████▀P▀███.`██████████P   ▀██▄
███[ ,████ __. ███.   ,▄████▀    ███
███[ ]████████████[  ▄████▀       ███
███[ `████   ,oo2 ▄████▀'       ,███
▀██▄  `████▄▄█████d███████████   ▄██▀
▀██.   `▀▀▀▀▀▀"  Y▀▀▀▀▀▀▀▀▀▀▀  ,██▀
███.                        ,███
▀██▄                      ▄██▀
▀███▄_                 ,███▀
▀███▄▄_          _▄▄███▀
▀▀████▄▄ooo▄▄█████▀
▀▀███████▀▀'

365

TM

EZ365 is a digital ecosystem that combines
the best aspects of online gaming, cryptocurrency
trading
and blockchain education. ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

..WHITEPAPER..    ..INVESTOR PITCH..

.Telegram     Twitter   Facebook

                       .'M████▀▀██  ██
                      W█Ws'V██  ██▄▄███▀▀█
                     i█████m.~M████▀▀██  ███
                     d███████Ws'V██  ██████
                     ****M██████m.~███f~~__mW█
          ██▀▀▀████████=  Y██▀▀██W ,gm███████
      g█████▄▄▄██   █A~`_WW Y█  ██!,████████
   g▀▀▀███   ████▀▀`_m████i!████P W███  ██
 _███▄▄▄██▀▀▀███Af`_m███   █W ███A ]███  ██
__ ~~~▀▀▀▀▄▄▄█*f_m██████   ██i!██!i███████
Y█████▄▄▄▄__. i██▀▀▀██████████ █!,██████
 8█  █▀▀█████.!██   ██████████i! █████
 '█  █  █   █W M█▄▄▄██████   ██ !██
  !███▄▄█   ██i'██████████   ██
   Y███████████.]██████████████
   █   ███████b ███   ██████
   Y   █   █▀▀█i!██   ████
    V███   █  █W Y█████
      ~~▀███▄▄▄█['███
            ~~*██

Play

            │
    │      ███
    │      ███
    │      ███
    │   │  ███
   ███  │  ███
   ███ ███ ███
 │  ███ ███ ███
███ ███ ███ ███
███ ███  │   │
███ ███  │   │
 │   │
 │

Trade

           __▄▄████▄▄
     __▄▄███████████████▄▄▄
 _▄▄█████████▀▀~`,▄████████████▄▄▄
 ~▀▀████▀▀~`,_▄▄███████████████▀▀▀
   d█~  =▀███████████████▀▀
   ]█! m▄▄ '~▀▀▀████▀▀~~ ,_▄▄
  ,W█. *████▄▄__ '  __▄▄█████
  !██P  █████████████████████
   W█. - ██████████████████▀
  i██[   ~ ▀▀█████████▀▀▀
 g███!
Y███

Learn
[/tabl
salfter (OP)
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
September 01, 2012, 04:49:46 PM
 #4

What driver did you install, and did it install with the -opencl USE flag?

x11-drivers/ati-drivers-12.6, which doesn't appear to have any USE flags pertaining to OpenCL.  It pulled in the following:

  • sys-power/acpid-2.0.16-r1
  • virtual/modutils-0
  • app-admin/eselect-opencl-1.1.0-r1
  • virtual/pkgconfig-0
  • x11-proto/xf86miscproto-0.9.3

bfgminer (2.7.5, modified ebuild from the bitcoin overlay) pulled in these:

  • dev-libs/jansson-2.3.1
  • x11-libs/amd-adl-sdk-4.0
  • virtual/opencl-0-r2

In /etc/make.conf, VIDEO_CARDS was changed from nvidia to fglrx.  These USE flags are active: adl, cpumining, ncurses, opencl, sse2, sse2_4way, sse4, and udev.

X produces this output when it starts up:

Code:
X.Org X Server 1.11.2
Release Date: 2011-11-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.1.10-gentoo-r1 x86_64 Gentoo
Current Operating System: Linux lanbox 3.2.5-gentoo #1 SMP Tue Feb 14 09:11:58 PST 2012 x86_64
Kernel command line: root=/dev/sda1 vga=791
Build Date: 26 January 2012  09:55:15PM
 
Current version of pixman: 0.24.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep  1 09:43:11 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:1) found

Here's something I did since last night: I needed to put a longer power cord on the box, so I shut it down, swapped cords, and rebooted.  I started X in a screen session, then started bfgminer in benchmark mode.  Without any tweaking, it's getting about 115-116 MH/s.  I didn't change any settings.  I don't know what the reboot would've done, but it's working now.  It's still not plugged into a monitor.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
salfter (OP)
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
September 01, 2012, 05:03:02 PM
 #5

...and with minimal tweaking (mostly copying some settings from my nVidia miners), it's now getting about 120 MH/s.  That makes it about 20x faster than my 9500GTs.

 Cool

Next step will be to migrate bitcoind and p2pool onto this box.

This, BTW, is what I'm running...factory-overclocked to 880 MHz.

Update: In the past 7 minutes, I have nineten rejected shares and no accepted shares.  That sounds troubling. Maybe I should walk away for a bit and see what it does longer-term.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
salfter (OP)
Hero Member
*****
Offline Offline

Activity: 651
Merit: 501


My PGP Key: 92C7689C


View Profile WWW
September 01, 2012, 06:56:46 PM
 #6

...and another update: the high reject rate was with long polling turned off.

Derp.

Four minutes so far...4 accepted, 2 rejected.

Also, with intensity at 11, I'm getting ~134 MH/s.

Tipjars: BTC 1TipsGocnz2N5qgAm9f7JLrsMqkb3oXe2 LTC LTipsVC7XaFy9M6Zaf1aGGe8w8xVUeWFvR | My Bitcoin Note Generator | Pool Auto-Switchers: zpool MiningPoolHub NiceHash
Bitgem Resources: Pool Explorer Paper Wallet
Zenitur
Sr. Member
****
Offline Offline

Activity: 362
Merit: 250


View Profile
September 01, 2012, 08:14:05 PM
 #7

You need edit /etc/X11/xorg.conf. This is my configuration file (integrated ATi Radeon HD 3200 and ATi Radeon HD 5850):

Code:
Section "ServerLayout"
Identifier     "aticonfig Layout"
Screen      0  "aticonfig-Screen[0]-0" 0 0
Screen         "amdcccle-Screen[2]-0" 800 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier   "0-CRT1"
Option     "VendorName" "ATI Proprietary Driver"
Option     "ModelName" "Generic Autodetecting Monitor"
Option     "DPMS" "true"
Option     "PreferredMode" "800x600"
Option     "TargetRefresh" "60"
Option     "Position" "0 0"
Option     "Rotate" "normal"
Option     "Disable" "false"
EndSection

Section "Monitor"
Identifier   "1-??????? ?? ?????????"
Option     "VendorName" "ATI Proprietary Driver"
Option     "ModelName" "Generic Autodetecting Monitor"
Option     "DPMS" "true"
Option     "PreferredMode" "640x480"
Option     "TargetRefresh" "60"
Option     "Position" "0 0"
Option     "Rotate" "normal"
Option     "Disable" "false"
EndSection

Section "Device"
Identifier  "aticonfig-Device[0]-0"
Driver      "fglrx"
Option     "Monitor-CRT1" "0-CRT1"
BusID       "PCI:1:5:0"
EndSection

Section "Device"
Identifier  "amdcccle-Device[2]-0"
Driver      "fglrx"
Option     "Monitor-??????? ?? ?????????" "1-??????? ?? ?????????"
BusID       "PCI:2:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device     "aticonfig-Device[0]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "amdcccle-Screen[2]-0"
Device     "amdcccle-Device[2]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

It was created by graphical tool amdcccle, because of aticonfig --initial did wrong config file. I may use only one monitor, but must define two.
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!