Fosphor » History » Version 24
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 | For NVidia |
||
18 | |||
19 | {{{ |
||
20 | 21 | horiz0n | sudo apt-get install nvidia-opencl-dev opencl-headers |
21 | }}} |
||
22 | |||
23 | Build GLFW |
||
24 | |||
25 | {{{ |
||
26 | git clone https://github.com/glfw/glfw |
||
27 | cd glfw |
||
28 | mkdir build |
||
29 | cd build |
||
30 | cmake ../ -DBUILD_SHARED_LIBS=true |
||
31 | make |
||
32 | sudo make install |
||
33 | sudo ldconfig |
||
34 | }}} |
||
35 | |||
36 | === gr-fosphor |
||
37 | |||
38 | {{{ |
||
39 | git clone git://git.osmocom.org/gr-fosphor |
||
40 | cd gr-fosphor |
||
41 | mkdir build |
||
42 | cd build |
||
43 | make |
||
44 | sudo make install |
||
45 | sudo ldconfig |
||
46 | }}} |
||
47 | |||
48 | Build benchmark tool |
||
49 | |||
50 | {{{ |
||
51 | cd gr-fosphor/lib/fosphor |
||
52 | make |
||
53 | }}} |
||
54 | |||
55 | 2 | == Screenshots |
|
56 | |||
57 | 15 | === Short video examples |
|
58 | |||
59 | http://www.youtube.com/watch?v=mjD-l3GAghU |
||
60 | |||
61 | {{{ |
||
62 | #!html |
||
63 | <iframe width="960" height="720" src="http://www.youtube.com/embed/mjD-l3GAghU" frameborder="0" allowfullscreen></iframe> |
||
64 | }}} |
||
65 | |||
66 | |||
67 | 2 | === osmocom_fft in fosphor mode |
|
68 | [[Image(GrOsmoSDR:fosphor.png)]] |
||
69 | |||
70 | [[Image(GrOsmoSDR:fosphor2.png)]] |
||
71 | 3 | horiz0n | |
72 | == Bandwidth figures |
||
73 | |||
74 | There's a benchmark program available which allows to estimate the maximal bandwidth that can be processed with a specific GPU. |
||
75 | |||
76 | To build it: |
||
77 | |||
78 | {{{ |
||
79 | cd gr-fosphor/lib/fosphor |
||
80 | make |
||
81 | }}} |
||
82 | |||
83 | Then execute it by providing a prerecorded complex float file (a couple of 100MB should be fine) in gnuradio format. |
||
84 | |||
85 | {{{ |
||
86 | ./main some.cfile |
||
87 | }}} |
||
88 | |||
89 | 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. |
90 | |||
91 | Submit your numbers & help us to create a GPU survey. We are especially interested in the top end and mobile graphics figures. |
||
92 | 3 | horiz0n | |
93 | 8 | ||'''CPU'''||'''GPU'''||'''Msps'''|| |
|
94 | ||?||AMD Hawaii||WANTED|| |
||
95 | ||?||AMD Tahiti||~220|| |
||
96 | ||?||NVidia Titan||WANTED|| |
||
97 | 12 | horiz0n | ||C2D 2.2GHz||NVidia NVS 140M||~14|| |
98 | 8 | ||Atom 330||NVidia ION||~10|| |
|
99 | ||?||NVidia GT330M||~22|| |
||
100 | ||?||NVidia 8600GT||~15|| |
||
101 | ||C2D 2.4GHz||NVidia 9600M GT||~31|| |
||
102 | ||?||NVidia GT330M||~22|| |
||
103 | ||?||NVidia GTX 550 Ti||~97|| |
||
104 | 20 | horiz0n | ||i5-2500 @ 3.3GHz||NVidia GTX 550 Ti||~110|| |
105 | 1 | ||AMD E350 Fusion APU||AMD Radeon 6310||~12|| |
|
106 | 23 | steve-m | ||i5-2500K @ 4.2GHz||AMD Radeon HD 6570||~58|| |
107 | ||i7-4770K @ 3.50GHz||!GeForce GTX 760||~228|| |
||
108 | ||C2D 2.66GHz||!GeForce GT 640 (GK107)||~67|| |
||
109 | ||C2D 3.00GHz||!GeForce 9800 GT||~47|| |
||
110 | 22 | horiz0n | ||i5-3570K 3.4GHz||AMD Radeon HD 7870 (Pitcairn)||~112|| |
111 | ||i5-2500k 3.8GHz||AMD Radeon HD 6850||~100|| |