RockPro64 pcie Gpu
#1
Hey Guys,

 I have a qestion to the RockPro64. Is a nvidia 570 geforce compatible withe the RockPro64 ?
 I like to operate over the Pcie. What kind of Pcie I need (sometimes a Pcie x4 to Pcie x16 bridge) ?
 Did I need a special driver or a normal ARM64 driver. My other AMD GPU does not work. The Fans working normal but I get no signal from the HDMI port of the GPU.

I hope someone can help me thanks  [Image: biggrin.png] 
#2
Hello Davidos,

The first problem with doing this is that there is no driver support for using an NVIDIA or AMD / ATI GPU on an ARM based device. Not that it isn't possible, just not supported on external cards yet. For example, thhe NVIDIA Jetson class systems are a system on chip with an ARM CPU core coupled with a GPU.

The second is hardware support. PCIe slots intended for GPUs supply 75Watts to the GPU while the rest of the GPU's power is supplied by the 12V connector. PCIe x4 connectors are not intended for GPUs and are often only designed to provide up to 45 Watts. I don't know if this is the case for the RockPro64, but it is a potential problem area.

If you can get your AMD GPU to power up there is some hope. I have heard that there are efforts to port the open source AMD / ATI driver to ARM. In addition, Samsung may be adopting AMD GPU's for Android and Chrome OS devices.
#3
(06-04-2019, 07:51 PM)laserguru Wrote: Hello Davidos,

The first problem with doing this is that there is no driver support for using an NVIDIA or AMD / ATI GPU on an ARM based device.  Not that it isn't possible, just not supported on external cards yet.  For example, thhe NVIDIA Jetson class systems are a system on chip with an ARM CPU core coupled with a GPU.

The second is hardware support.  PCIe slots intended for GPUs supply 75Watts to the GPU while the rest of the GPU's power is supplied by the 12V connector.  PCIe x4 connectors are not intended for GPUs and are often only designed to provide up to 45 Watts.  I don't know if this is the case for the RockPro64, but it is a potential problem area.

If you can get your AMD GPU to power up there is some hope.  I have heard that there are efforts to port the open source AMD / ATI driver to ARM.  In addition, Samsung may be adopting AMD GPU's for Android and Chrome OS devices.

Okay thank you.
I saw on the nvidia page a driver for Linux ARM 32 bit. I will test it and I ask nvidia for an interface drawing to soldering the power supply on the PCIE of the GPU.
If its work I will answer and if you like I can post a tutorial for a reconstruction on this page.
#4
Linux kernel drivers for AMD GPU would work (maybe with a little code meddling), but I seems to me (and I may be wrong) the SoC has too small window for mapping PCIe device address space. GPU cards usually have at least 128MB BAR space, but RK3399 is so tightly stuffed, it seems to support only 64MB. It is enough for something like SATA controller, but not enough for graphic data/buffers.
#5
(06-19-2019, 03:58 PM)pc2005 Wrote: Linux kernel drivers for AMD GPU would work (maybe with a little code meddling), but I seems to me (and I may be wrong) the SoC has too small window for mapping PCIe device address space. GPU cards usually have at least 128MB BAR space, but RK3399 is so tightly stuffed, it seems to support only 64MB. It is enough for something like SATA controller, but not enough for graphic data/buffers.

RK3399 memory mapping PCIe device address space is 32MB, which not sufficient for GPU cards.
#6
Photo 
(05-29-2019, 03:18 PM)Davidos Wrote: Hey Guys,

 I have a qestion to the RockPro64. Is a nvidia 570 geforce compatible withe the RockPro64 ?
 I like to operate over the Pcie. What kind of Pcie I need (sometimes a Pcie x4 to Pcie x16 bridge) ?
 Did I need a special driver or a normal ARM64 driver. My other AMD GPU does not work. The Fans working normal but I get no signal from the HDMI port of the GPU.

I hope someone can help me thanks  [Image: biggrin.png] 

Hi ,I read too late that "RK3399 memory mapping PCIe device address space is 32MB"


Anyway I also tried to connect a Nvidia GeForce GT 710 to my Rockpro64, I used a PCI Express 1X to 16X Riser Card . I connect the 12VDC 5A supply , used for the Rockpro64 also to the molex connector of the riser (yellow +12 ) so negative common to rockpro64 and riser.
On Rockpro64 I have Ubuntu 18.04 Bionic LXDE Desktop 32bit (armhf)   Ubuntu 18.04.4 LTS \n \l
and following :
sudo apt update
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get install nvidia-384   (it looks that driver support also GT710)
sudo reboot
After that xrdp stop working, I have no signal on HDMI of GT710 neither on HDMI of Rockpro64 ,

I tried to test if it could mine :

sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev make g++ git libgmp-dev opencl-headers libncurses5-dev libtool
git clone https://github.com/tpruvot/ccminer.git
wget https://developer.download.nvidia.com/co...tu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo dpkg -i cuda-repo-ubuntu1804-10-2-local-10.2.107-435.17.01_1.0-1_arm64.deb
sudo apt-key add /var/cuda-repo-10-2-local-10.2.107-435.17.01/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda
./build.sh

but receive just

(  ccminer.cpp:49:10: fatal error: cuda_runtime.h: No such file or directory

   #include <cuda_runtime.h>    )
#7
Hi ! After the unsucesful installation of GPU G710 with riser on my Rockpro64 PCIe
I have formatted another sd card with
bionic-lxde-rockpro64-0.8.3-1141-armhf.img
but during first start I receive this error :

mali ff9a0000.gpu: failed to get pvtm

the lxde desktop does not start.
Maybe have I corrupted the mali driver or firmware during Nvidia driver installation?
Is it possible to fix it or have I lost tha mali GPU?
regards
#8
(03-20-2020, 02:07 PM)bluciano Wrote: Hi ! After the unsucesful installation of GPU G710 with riser on my Rockpro64 PCIe
I have formatted another sd card with
bionic-lxde-rockpro64-0.8.3-1141-armhf.img
but during first start I receive this error :

mali ff9a0000.gpu: failed to get pvtm

the lxde desktop does not start.
Maybe have I corrupted the mali driver or firmware during Nvidia driver installation?
Is it possible to fix it or have I lost tha mali GPU?
regards


Perhaps I'd try with the Jetson Nano image.
Instead of making the GPU work, it might be easier to make the image work with a different cpu.
#9
(03-20-2020, 02:07 PM)bluciano Wrote: the lxde desktop does not start.
Maybe have I corrupted the mali driver or firmware during Nvidia driver installation?
Is it possible to fix it or have I lost tha mali GPU?
regards

It is custom on x86/x64 linux distributions, that once the Nvidia driver is installed, it takes over from the previous GPU.
You should try getting into grub, boot into safe mode, terminal, and either uninstall the Nvidia drivers (sudo apt remove), to get the GUI back on the mali GPU, or you could also install openssh server, and connect to your pi via an ethernet connection, and see how much the pi is still operational.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Powering on the Rockpro64 JPT223 1 829 09-24-2023, 12:23 PM
Last Post: hoarfrosty
  ROCKPro64 Battery Power Supply hoarfrosty 11 1,634 09-23-2023, 04:17 PM
Last Post: hoarfrosty
  Compatible PCIe Sata Controller spacebricker 1 1,501 02-06-2023, 10:03 AM
Last Post: diizzy
  ROCKPro64 with 16 ports SATA controller ZeblodS 19 25,278 12-18-2022, 06:25 PM
Last Post: heyghoge
  Using RPI hat on RockPro64? misterc 0 799 12-16-2022, 02:05 PM
Last Post: misterc
  PCIe bifurcation support (on RK3399) Arn 1 1,248 11-28-2022, 05:12 PM
Last Post: tllim
  GPIO on the RockPro64 - all pins high? colinmarc 2 1,527 11-18-2022, 10:20 AM
Last Post: colinmarc
  ROCKPro64 DOA ajtravis 8 6,364 11-08-2022, 03:40 AM
Last Post: ajtravis
  RockPro64 not booting up mvicha@gmail.com 0 1,094 09-19-2022, 07:35 AM
Last Post: mvicha@gmail.com
  GPIO Expander HAT for ROCKPro64 and Quartz64 CounterPillow 7 5,198 07-18-2022, 10:05 PM
Last Post: zer0sig

Forum Jump:


Users browsing this thread: 1 Guest(s)