Bitcoin Forum
May 26, 2024, 10:54:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Running a GPU with BBB  (Read 979 times)
altcointalk14 (OP)
Sr. Member
****
Offline Offline

Activity: 751
Merit: 251


View Profile
July 31, 2016, 05:45:29 PM
 #1

Does anyone know how to run a GPU (for mining/other code - NOT video) with a BBB as pictured?



Obviously the BBB does not have the PCI* but the signals are sent over the USB Cable when used with these risers.  Maybe some sort of pci* usb emulator?  Looks like it should be technically feasible. ??

Look forward to everyones ideas.
bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
July 31, 2016, 07:56:14 PM
 #2

Interesting idea. I don't know much about it but I don't think a BBB could drive the card even if you'd manage to communicate with it.

But if it would work it would be awesome.

Not your keys, not your coins!
QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
July 31, 2016, 07:56:48 PM
 #3

So-called "USB risers" don't actually use the USB protocal, so that concept is totally impractical.

 They just "merge" signaling so that a USB-type CABLE can be used to transfer data.

I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
bathrobehero
Legendary
*
Offline Offline

Activity: 2002
Merit: 1051


ICO? Not even once.


View Profile
July 31, 2016, 08:01:40 PM
 #4

So-called "USB risers" don't actually use the USB protocal, so that concept is totally impractical.

 They just "merge" signaling so that a USB-type CABLE can be used to transfer data.


I think he knows that, but the signal is there so communication in theory is only up to the software.


Not your keys, not your coins!
LeChuckDE
Sr. Member
****
Offline Offline

Activity: 420
Merit: 252



View Profile
July 31, 2016, 08:33:00 PM
 #5

So-called "USB risers" don't actually use the USB protocal, so that concept is totally impractical.

 They just "merge" signaling so that a USB-type CABLE can be used to transfer data.


I think he knows that, but the signal is there so communication in theory is only up to the software.



hope you didn't powered on ...
USB = 5 V PCIE 12 V.

1. When same powerlines are used for the PCIE USB-Style Riser (It is only same connectors!) possible that BBB usb bridge get roasted
2. When powerlines switched, possible that Card and BBB are get roasted...

Will never work !
altcointalk14 (OP)
Sr. Member
****
Offline Offline

Activity: 751
Merit: 251


View Profile
July 31, 2016, 11:36:02 PM
 #6

I understand about the voltage.  If that was all it would be easy to remove those 12V from going to the USB --> you power the 12V on the pcie with the aux pcie power connection.

Problem is the signals on the usb are not standard USB Protocol.  To do this it would definately require some custom software and maybe different usb drivers.

Anything is possible with enough time and money.  Remember people said we would never fly, never put a man on the moon (and with less than a TSR80 computer).  And Bitcoin will never . . . . .

Just curious if someone has figured this out.
LeChuckDE
Sr. Member
****
Offline Offline

Activity: 420
Merit: 252



View Profile
August 01, 2016, 06:51:40 AM
 #7

I understand about the voltage.  If that was all it would be easy to remove those 12V from going to the USB --> you power the 12V on the pcie with the aux pcie power connection.

Problem is the signals on the usb are not standard USB Protocol.  To do this it would definately require some custom software and maybe different usb drivers.

Anything is possible with enough time and money.  Remember people said we would never fly, never put a man on the moon (and with less than a TSR80 computer).  And Bitcoin will never . . . . .

Just curious if someone has figured this out.

this is a completly other connection. the only thing that use both are the physicaly connectors.
adaseb
Legendary
*
Offline Offline

Activity: 3766
Merit: 1718



View Profile
August 01, 2016, 08:54:40 AM
 #8

Only way it would work is if the BBB had the PCIe lane. Which they don't support so it won't work.


Mzie
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
August 01, 2016, 09:03:24 AM
 #9

How do you intend to power the Card?
altcointalk14 (OP)
Sr. Member
****
Offline Offline

Activity: 751
Merit: 251


View Profile
August 01, 2016, 02:42:36 PM
 #10

The main power for the GPU is from the main pci power connectors,  But the power on the pcie slot is powered by an aux power connection from the riser card
picture shows how a SATA power connector will provide the 12 & 3.3 V


--
--

There are ONLY 4 wires in the USB cable going from the motherboard to the GPU.


The USB Riser Connector:


--
--


The USB Riser Connector to Motherboard PCIe slot:


--
--

You can see that the connector does not connect to the first four contacts, so will not touch 12V.
Here is the PCIe pinout, red square shows the connections for the USB riser.


altcointalk14 (OP)
Sr. Member
****
Offline Offline

Activity: 751
Merit: 251


View Profile
August 01, 2016, 02:52:30 PM
 #11

So, if there are only 4 wires in the USB cable - I am not sure which 4 in the red box are being used.

My guess it is 4 before the mechanical key.

IF  these 4 wires go to  pins 5, 6, 7 & 8, then we could cut the 3.3V line, make sure the ground goes to ground

And then figure out a way to make the USB communicate with the SMBus Clock and Data (5 & 6)

I am pretty sure that the SATA power connector would provide the 12 & 3.3 V to the PCIe connector.

I have no idea what 4 lines the usb is connected to other than 5 thru 22.  So the above is totally guessing.

It does seem POSSIBLE, I just dont know if it is feasible.
klondike_bar_recovery
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
August 01, 2016, 03:29:29 PM
 #12

okay - theres a lot wrong here - so much it hurts.

1) your picture of the riser is backwards. it does touch the enire first section of the riser. (ever wonder why its the perfect width to plug in backwards of the way you have it?

2) the USB cable does not carry 12V, or 5V, for the riser board. thats the entire reason they are used, because you can have the GPU on a seperate PSU without frying the mobo over the common 12V/GND lines (because this eliminates those)

3) The USB cable is a USB 3.0, and AFAIK thats because it uses more than just 4 wires to push the PCIe 1x data. either way:
4) plugging that usb in will push a 5V/GND signal to the 16x board, over lines that were not meant to support either. You'll probably damage or lock-up any cards in the 16x slot doing so

TLDR: its not meant for a USB connection.

what you really need to do to achieve this is emulate a PCIe 1x connection from the GPIO pins, and wire that to a custom USB3.0 port for the riser. AFAIK it hasnt been achieved yet
altcointalk14 (OP)
Sr. Member
****
Offline Offline

Activity: 751
Merit: 251


View Profile
August 01, 2016, 03:50:48 PM
 #13

Klondike, you are correct with #1, it is backwards

& I thought the USB had 9 connections but could only see 4 in the cable.

I was thinking we could modify the USB cable to eliminate the power going to the 16x,  BUT if that line is used to send signals, a new type of USB driver can not remove the hard wired voltage to the USB port on the BBB.  --Thanks.  I understand

your idea with the GPIO pins seems the way to go.



klondike_bar_recovery
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
August 01, 2016, 04:00:27 PM
 #14

Klondike, you are correct with #1, it is backwards

& I thought the USB had 9 connections but could only see 4 in the cable.

I was thinking we could modify the USB cable to eliminate the power going to the 16x,  BUT if that line is used to send signals, a new type of USB driver can not remove the hard wired voltage to the USB port on the BBB.  --Thanks.  I understand

your idea with the GPIO pins seems the way to go.

te other 5 are tucked deeper into the connector. 
LeChuckDE
Sr. Member
****
Offline Offline

Activity: 420
Merit: 252



View Profile
August 01, 2016, 07:19:28 PM
 #15

guys, that will never work !
see specs pcie. see specs usb

this isn't handlebar in software ...

GPIOs are to slow to communicate as software pcie x1 emulator
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!