Project

General

Profile

Fosphor » History » Version 28

horiz0n, 02/19/2016 10:50 PM

1 1
= gr-fosphor
2
3
GNU Radio block for RTSA-like spectrum visualization using GPU
4
5
http://git.osmocom.org/gr-fosphor/
6 2
7 21 horiz0n
== Building
8
9
=== GLFW3
10
11
Install dependencies
12
13
{{{
14 24 horiz0n
sudo apt-get install cmake xorg-dev libglu1-mesa-dev
15
}}}
16
17 21 horiz0n
Build GLFW
18
19
{{{
20
git clone https://github.com/glfw/glfw
21
cd glfw
22
mkdir build
23
cd build
24
cmake ../ -DBUILD_SHARED_LIBS=true
25
make
26 1
sudo make install
27
sudo ldconfig
28 21 horiz0n
}}}
29 1
30
=== gr-fosphor
31
32 25 horiz0n
Install dependencies
33
34 26 horiz0n
==== For NVidia
35 25 horiz0n
36
 * install [http://www.nvidia.com/object/unix.html NVidia drivers]
37 1
38 25 horiz0n
{{{
39
sudo apt-get install nvidia-opencl-dev opencl-headers
40
}}}
41
42 26 horiz0n
==== For AMD
43 25 horiz0n
44
 * install [http://support.amd.com/en-us/download AMD drivers] (13.4 and 13.11 beta6 drivers are known to work on linux)
45
 * install [http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/ AMD APP SDK]
46
47
Build gr-fosphor
48
49
{{{
50 21 horiz0n
git clone git://git.osmocom.org/gr-fosphor
51
cd gr-fosphor
52
mkdir build
53
cd build
54
make
55
sudo make install
56
sudo ldconfig
57
}}}
58
59 1
Build benchmark tool
60
61 21 horiz0n
{{{
62
cd gr-fosphor/lib/fosphor
63
make
64
}}}
65 25 horiz0n
66
Fosphor is known to build successfully on Linux, OSX and Windows.
67 21 horiz0n
68 2
== Screenshots
69
70 15
=== Short video examples
71
72
http://www.youtube.com/watch?v=mjD-l3GAghU
73
74
{{{
75
#!html
76
<iframe width="960" height="720" src="http://www.youtube.com/embed/mjD-l3GAghU" frameborder="0" allowfullscreen></iframe>
77
}}}
78
79
80 2
=== osmocom_fft in fosphor mode
81
[[Image(GrOsmoSDR:fosphor.png)]]
82
83
[[Image(GrOsmoSDR:fosphor2.png)]]
84 3 horiz0n
85
== Bandwidth figures
86
87
There's a benchmark program available which allows to estimate the maximal bandwidth that can be processed with a specific GPU.
88
89
To build it:
90
91
{{{
92
cd gr-fosphor/lib/fosphor
93
make
94
}}}
95
96
Then execute it by providing a prerecorded complex float file (a couple of 100MB should be fine) in gnuradio format.
97
98
{{{
99
./main some.cfile
100
}}}
101
102 14 horiz0n
Try to leave the window to its default size if possible and watch out for the Msps numbers printed out to the console.
103
104
Submit your numbers & help us to create a GPU survey. We are especially interested in the top end and mobile graphics figures.
105 3 horiz0n
106 8
||'''CPU'''||'''GPU'''||'''Msps'''||
107 27 horiz0n
||?||AMD R920(X)||WANTED||
108 8
||?||NVidia Titan||WANTED||
109 1
||i7-4770K @ 3.50GHz||!GeForce GTX 760||~228||
110 28 horiz0n
||?||AMD Radeon HD 7950 (Tahiti)||~220||
111
||i5-3570K 3.4GHz||AMD Radeon HD 7870 (Tahiti)||~210||
112
||i5-3570K 3.4GHz||AMD Radeon HD 7870 (Pitcairn)||~112||
113
||i5-2500 @ 3.3GHz||NVidia GTX 550 Ti||~110||
114
||i5-2500k 3.8GHz||AMD Radeon HD 6850||~100||
115
||?||NVidia GTX 550 Ti||~97||
116 1
||C2D 2.66GHz||!GeForce GT 640 (GK107)||~67||
117 28 horiz0n
||i5-2500K @ 4.2GHz||AMD Radeon HD 6570||~58||
118 23 steve-m
||C2D 3.00GHz||!GeForce 9800 GT||~47||
119 28 horiz0n
||C2D 2.4GHz||NVidia 9600M GT||~31||
120
||?||NVidia GT330M||~22||
121
||?||NVidia 8600GT||~15||
122
||C2D 2.2GHz||NVidia NVS 140M||~14||
123
||AMD E350 Fusion APU||AMD Radeon 6310||~12||
124
||Atom 330||NVidia ION||~10||
Add picture from clipboard (Maximum size: 48.8 MB)