Fosphor » History » Revision 30
Revision 29 (horiz0n, 02/19/2016 10:50 PM) → Revision 30/67 (horiz0n, 02/19/2016 10:50 PM)
= gr-fosphor GNU Radio block for RTSA-like spectrum visualization using GPU http://git.osmocom.org/gr-fosphor/ == Building === GLFW3 Install dependencies {{{ sudo apt-get install cmake xorg-dev libglu1-mesa-dev }}} Build GLFW {{{ git clone https://github.com/glfw/glfw cd glfw mkdir build cd build cmake ../ -DBUILD_SHARED_LIBS=true make sudo make install sudo ldconfig }}} === gr-fosphor Install dependencies ==== For NVidia * install [http://www.nvidia.com/object/unix.html NVidia drivers] {{{ sudo apt-get install nvidia-opencl-dev opencl-headers }}} ==== For AMD * install [http://support.amd.com/en-us/download AMD drivers] (13.4 and 13.11 beta6 drivers are known to work on linux) * install [http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/ AMD APP SDK] Build gr-fosphor {{{ git clone git://git.osmocom.org/gr-fosphor cd gr-fosphor mkdir build cd build make sudo make install sudo ldconfig }}} Build benchmark tool {{{ cd gr-fosphor/lib/fosphor make }}} Fosphor is known to build successfully on Linux, OSX and Windows. == Screenshots === Short video examples http://www.youtube.com/watch?v=mjD-l3GAghU {{{ #!html <iframe width="960" height="720" src="http://www.youtube.com/embed/mjD-l3GAghU" frameborder="0" allowfullscreen></iframe> }}} === osmocom_fft in fosphor mode [[Image(GrOsmoSDR:fosphor.png)]] [[Image(GrOsmoSDR:fosphor2.png)]] == Bandwidth figures There's a benchmark program available which allows to estimate the maximal bandwidth that can be processed with a specific GPU. To build it: {{{ cd gr-fosphor/lib/fosphor make }}} Then execute it by providing a prerecorded complex float file (a couple of 100MB should be fine) in gnuradio format. {{{ ./main some.cfile }}} Try to leave the window to its default size if possible and watch out for the Msps numbers printed out to the console. Submit your numbers & help us to create a GPU survey. We are especially interested in the top end and mobile graphics figures. ||'''CPU'''||'''GPU'''||'''Msps'''|| ||?||AMD R920(X)||WANTED|| ||?||NVidia Titan||WANTED|| ||i7-4770K 3.50GHz||NVidia !GeForce 3.50GHz||!GeForce GTX 760||~228|| ||?||AMD Radeon HD 7950 (Tahiti)||~220|| ||i5-3570K 3.4GHz||AMD Radeon HD 7870 (Tahiti)||~210|| ||i5-3570K 3.4GHz||AMD Radeon HD 7870 (Pitcairn)||~112|| ||i5-2500 3.3GHz||NVidia GTX 550 Ti||~110|| ||i5-2500k 3.8GHz||AMD Radeon HD 6850||~100|| ||?||NVidia GTX 550 Ti||~97|| ||C2D 2.66GHz||NVidia !GeForce 2.66GHz||!GeForce GT 640 (GK107)||~67|| ||i5-2500K 4.2GHz||AMD Radeon HD 6570||~58|| ||C2D 3.00GHz||NVidia !GeForce 3.00GHz||!GeForce 9800 GT||~47|| ||C2D 2.4GHz||NVidia 9600M GT||~31|| ||?||NVidia GT330M||~22|| ||?||NVidia 8600GT||~15|| ||C2D 2.2GHz||NVidia NVS 140M||~14|| ||AMD E350 Fusion APU||AMD Radeon 6310||~12|| ||Atom 330||NVidia ION||~10||