Steven9101 / PhantomSDR-Plus

Custom WebSDR which can handle many Users at the same time
GNU General Public License v3.0
23 stars 4 forks source link

Further PhantomSDR + Development ?? #4

Open HB9RYZ opened 1 month ago

HB9RYZ commented 1 month ago

Hello I installed today my PhantomSDR Plus Webserver in the Swiss Alps at 1'660m with a Wellbrook Loop. http://185.199.176.46:8074

I have some questions regarding the GUI: a.) How can use a Bookmark - it's easy to store but how to recall? b.) I would like to change some parameter like [Auto Adjust set to true] in the Java-Scripts - how can I compile the new settings? c.) Would you develop and add some new Decoders? d.) Do you have a description of all commands in the config.toml file?

Thank you for your work :-)

image

Best 73 de HB9RYZ Wolfgang

Steven9101 commented 1 month ago

Hello, sorry for the long wait time. Ill respond with more infos on the weekend as i have a lot to do currently.

I appreciate you hosting an instance of it :)

Steven9101 commented 1 month ago

Also i checked the KiwiSDR compared to the PhantomSDR and it seems the AM Quality is better on PhantomSDR, the Waterfall also looks more alot higher quality and its less delayed.

Seems to be a viable oponent to the kiwisdr especially considering the user count it can handle.

You can let me know how your opinion is so far.

Edit: I feel like the PhantomSDR AM just sounds extremly clear and has more bass and KiwiSDR seems to consistently have more noise which is caused by the different AGC Approach i think.

ON5HB commented 4 weeks ago

I ordered me and RX888MK2 to play with it....I have been waiting for this to happen for a long time. Please keep programming. And if the sdr-list.xyz needs hosting, I have a unlimited fast VPS with penty space. Bas ON5HB.

Steven9101 commented 4 weeks ago

Yes, you will have alot of fun with it. Its a awesome SDR and i will further develop this software. Ill just have to find time. Ill host sdr-list.xyz again soon but i have just gotten busy alot in this month and trust me ill continue.

This is very efficent so its one of the only repositories that can handle such high bandwidths for many users.

Keep me updated :)

Ill soon add new decoders probably and rework some of the stuff. Dont worry 👍

Greetings!

Steven9101 commented 4 weeks ago

Especially the 16 bit is crazy, it outperforms the KiwiSDR mostly (the kiwi is impressive for the hardware but uses a fpga) and this software can handle way more users as i put in the description

Ryzen 5 2600 - All Cores - RX888 MKii with 64MHZ Sample Rate, 32MHZ IQ takes up 38-40% - per User it takes about nothing, 50 Users dont even take 1% of the CPU. RX 580 - RX888 MKII with 64MHZ Sample Rate, 32MHZ IQ takes up 28-35% - same as the Ryzen per User it takes about nothing (should handle many)

And HB9RYZ is doing it with an i7 6700 i suppose, which is very small hardware for the job and it works awesome.

HB9RYZ commented 4 weeks ago

Hello StevenGreat to hear that you will do further development 👍HB9RYZ - Swiss Amateur Radio Station - QO-100 - Remote DX-Station Rigi Scheidegghb9ryz.chI'm keen to see whats comming.73' Wolfgang, HB9RYZRemote DX-Station at 1'660m, QO-100 and LEO-Satellitenwww.hb9ryz.chAm 15.08.2024 um 22:01 schrieb Steven9101 @.***>: Especially the 16 bit is crazy, it outperforms the KiwiSDR mostly (the kiwi is impressive for the hardware but uses a fpga) and this software can handle way more users as i put in the description Ryzen 5 2600 - All Cores - RX888 MKii with 64MHZ Sample Rate, 32MHZ IQ takes up 38-40% - per User it takes about nothing, 50 Users dont even take 1% of the CPU. RX 580 - RX888 MKII with 64MHZ Sample Rate, 32MHZ IQ takes up 28-35% - same as the Ryzen per User it takes about nothing (should handle many) And HB9RYZ is doing it with an i7 6700 i suppose, which is very small hardware for the job and it works awesome.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Steven9101 commented 3 weeks ago

Hello guys, today I will start working on PhantomSDR-Plus again. Await some new features for this weekend and (maybe) also a changed look (but not much so that users that recognize it will not have to change much) but I will rework it even more to make it running more smoothly and looking nicer.

I'll keep you updated!

Steven9101 commented 3 weeks ago

I have fun doing this so expect good changes :)

And trust me, this project will be stable. I test all my changes beforehand and even if edge-cases occur you can still write me.

But im trying to make this the future WebSDR-Software to be open-source with the nicest design and best features + the best efficency

ON5HB commented 3 weeks ago

I have a hard time compiling it on Ubuntu 24.04 and Mint latest version, and when I do get it compiled with Glaze 2.4.0. Then it crashed right after starting. Where I can run and compile PhantomSDR. I'm already happy I got one version running...but it's hard to get there :-)

Steven9101 commented 3 weeks ago

Nvm sorry, ubuntu should work. Can you give me like a log / backtrace of the errors

Edit: Also provide your hardware, like SDR, PC etc

Steven9101 commented 3 weeks ago

It shouldnt be hard actually, tried to make it as easy as possible, ill fix it if you can tell me whats happening exactly. Im currently setting up my mini-pc aswell to setup a own host again indoor and publish it again, ill install ubuntu 24.04 and see if i get the same

Steven9101 commented 3 weeks ago

Got the same issue, seems that its caused by new stuff in ubuntu 24.04, ill fix it.

Steven9101 commented 3 weeks ago

Fixed, please delete phantomsdr and rebuild it fully

Edit: If you use the RX888 Mkii and the install script use apt to install curl before running it, then it will work.

Steven9101 commented 3 weeks ago

Alright, sorry for the many messages but ubuntu 24.04 seems like a shit show, dont install it and go back to 22.04. It will work fine there, the libraries are fully broken on 24.04 for this project.

I never had good experience with 24.04 sadly, it was very buggy as desktop also when i used it. I like 22.04 alot more.

Thats also why it was so hard to get it builded, it should work flawless on 22.04 (for me it did).

Try it on 22.04 and let me know.

Greetings!

ON5HB commented 3 weeks ago

Thanks!!

Steven9101 @.***> schreef op 16 augustus 2024 23:19:17 CEST:

Got the same issue, seems that its caused by new stuff in ubuntu 24.04, ill fix it.

-- Reply to this email directly or view it on GitHub: https://github.com/Steven9101/PhantomSDR-Plus/issues/4#issuecomment-2294328134 You are receiving this because you commented.

Message ID: @.***>

ON5HB commented 3 weeks ago

Ok!!! I will tey that.

Maybe good idea to mention that in the readme?

Steven9101 @.***> schreef op 17 augustus 2024 01:07:40 CEST:

Alright, sorry for the many messages but ubuntu 24.04 seems like a shit show, dont install it and go back to 22.04. It will work fine there, the libraries are fully broken on 24.04 for this project.

I never had good experience with 24.04 sadly, it was very buggy as desktop also when i used it. I like 22.04 alot more.

Thats also why it was so hard to get it builded, it should work flawless on 22.04 (for me it did).

Try it on 22.04 and let me know.

Greetings!

-- Reply to this email directly or view it on GitHub: https://github.com/Steven9101/PhantomSDR-Plus/issues/4#issuecomment-2294427241 You are receiving this because you commented.

Message ID: @.***>

Steven9101 commented 3 weeks ago

Yea ill add that, and let me know if it works.

Steven9101 commented 3 weeks ago

Just a quick opinion, would you like a smeter like this more?

image

Or stick to this?

image

I tried to make it more realistically looking.

HB9RYZ commented 3 weeks ago

great, I go for the first one 👍73' Wolfgang, HB9RYZRemote DX-Station at 1'660m, QO-100 and LEO-Satellitenwww.hb9ryz.chAm 17.08.2024 um 13:43 schrieb Steven9101 @.***>: Just a quick opinion, would you like a smeter like this more? image.png (view on web) Or stick to this? image.png (view on web) I tried to make it more realistically looking.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

HB9RYZ commented 3 weeks ago

Hi All - I just got today my second PahntomSDR Plus Server with the RX888 MKII SDR up and running :-)

One question: The content in the Chat window will be deleted, if I boot the PhantomSDR Plus Server?

73' Wolfgang

HB9RYZ commented 3 weeks ago

How can I set the Waterfall function "Auto Adjust" ON as default, when I start the PhantomSDR Plus ? and How can I recall the saved bookmarks?

73' Wolfgang

ON5HB commented 3 weeks ago

It works under Ubuntu 22.04!!! However, theinstall of RTL non-V4 doesn't work and fails...but you can really remove that option as I tested a NON-V4 with V4 drivers and it works fine. BTW, test runs fine with Virtualbox 2-CPU RTL 2MHz wide. Just testing, real machine and RX888MK2 should arrive today. When possible, it would be nice to have an CTCSS suppression option that knock out everything under say 300Hz in FM and maybe adjustable for the Hifi people :-)

HB9RYZ commented 3 weeks ago

I also installed the webSDR Server from Pieter parallel to the PhantomSDR Plus server with two Airspy HF+ Discovery.

Two webbased SDR Server running on one little HP ElitePro 800 G2 Server :-)

73 Wolfgang

Steven9101 commented 3 weeks ago

Yea the option for non v4 is obsolete as its backwards compatible. Yea the content will be deleted (in the chat), but im working on a redesign anyway and probably will fix that now. Also ON5HB how is the cpu usage? Should be very efficent :)

I will work on the bookmarks and chat now. I will also post a sneak peek of the new redesign now.

Steven9101 commented 3 weeks ago

image image

First redesign

When turning on Auto Adjust now the min and max sliders will also disappear as its useless

image

Hope you like it 👍 (it may change more but this is the first revision now and its not done yet)

Steven9101 commented 3 weeks ago

Yea it will run fine with pieters software because you do it on the GPU and pieter uses the CPU, its really awesome that we have OpenCL Implementation so that we can use many gpus and therefore outperform, but its also efficent on the CPU and just awesome in general as on such a small pc you run so many instances of different software and it runs easily.

And think about it, your small PC could handle several hundreds of users in the 30mhz aslong as you dont run out of network bandwidth.

Steven9101 commented 3 weeks ago

HB9RYZ what do you think about this? image

ON5HB commented 3 weeks ago

It didn't use much CPU in the viartualbox pc, was just 30% or less. It shouldn't use much CPU anyway as it only needs to process the waterfall, the rest is just cutting raw-data per client out of the stream. My HP G800 and RX-888MK2 just arrived. I'm now installing Ubuntu 22.04 on it. Will be able to tell more in a bit.

Steven9101 commented 3 weeks ago

well its demodulated data but yeah, and the waterfall processing is very efficent here. 32mhz (64mhz on the rx888 as its a real sdr) is much data to process and that such a small pc can handle it is quite nice. But the main advantage against any other websdr software out there is the gpu processing (websdr has it but only for his own site and his software is not open-sourced and not even public to download and the public software only has cpu processing and it only has the rtl-tcp with 8 bits)

What do you all think about the new redesign ON5HB and HB9RYZ?

ON5HB commented 3 weeks ago

You can call me Bas, yeah I like it...when is it online?

Steven9101 commented 3 weeks ago

Im not done yet, im on the decoder page currently:

image

Should be on this weekend, either today or tomorrow.

ON5HB commented 3 weeks ago

Plans for CTCSS notch in FM? Would be nice.

Steven9101 commented 3 weeks ago

I will have to look into it, ill keep you updated

ON5HB commented 3 weeks ago

Few more issues....you didn't 'apt install cargo curl', RX888 installation fails on that. Line 50 in the installer . After it finished installing...now going to test. You may want to add that in the installer.

Steven9101 commented 3 weeks ago

Fixed, please delete phantomsdr and rebuild it fully

Edit: If you use the RX888 Mkii and the install script use apt to install curl before running it, then it will work.

Yea i wrote that here, i already fixed that but havent pushed yet as i will push it with all the other stuff.

HB9RYZ commented 3 weeks ago

the new design looks great :-)

Some more ideas: a.) The waterfall could be a littel bit larger b.) if you mute the audio, FT8 should still work c.) If I choose a certain HAM-Band, the modulation schould be autom. regognised, if its LSB or USB

Thanks a lot - you make a super job :-) PhantomSDR Plus and WebSDR Server HB9RYZ

Steven9101 commented 3 weeks ago

I think ill add a option to change the waterfall size so each user can change it depending on their liking. Same for the modulation as it can be annoying if there is a cw signal in for example the 40m band and it switches to lsb. But good ideas.

Is this a new setup?

Steven9101 commented 3 weeks ago

IM now working on Chat and reworking it, so that there is also a option to share the frequency with modulation like websdr and the time of the message.

And i may add a admin usernameif the message is sent from the local network

HB9RYZ commented 3 weeks ago

yes, this is the setup at home in JN47FE with an active dipole from Stampfl https://www.heinzstampfl.ch/en/produkt/x-one-active-dipol-90-khz-150-mhz/

HB9RYZ commented 3 weeks ago

This is the setup at my Remote DX-Station at 1'660m in the Swiss Alps. IMG_6230

Steven9101 commented 3 weeks ago

Looks awesome, very structured. I think you wanted the feature with the chat correct? Like the modulation and frequency thing and the admin name

ON5HB commented 3 weeks ago

I know, seen that picture a lot of times :-)

ON5HB commented 3 weeks ago

Had a lot of trouble get the RX888MK2 to work...but after some manual labour I got it to work. First copied the binary rx888_stream to /usr/local/bin to get rid of weird directories.

Starting: rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 60000000 -g 90 -m low -d --pga -o - | build/spectrumserver --config config.toml

Config:

[server] port=9002 # Server port html_root="frontend/dist/" # HTML files to be hosted otherusers=1 # Send where other users are listening, 0 to disable threads=2

[websdr] register_online=false # If the SDR should be registered on https://sdr-list.xyz then put it to true name="ChangeThis" # Name that is shown on https://sdr-list.xyz antenna="ChangeThis" # Antenna that is shown on https://sdr-list.xyz grid_locator="ChangeThis" # 4 or 6 length Grid Locatlr shown on https://sdr-list.xyz and for the Distance of FT8 Signals hostname="" # If you use ddns or something to host with a domain enter it here for https://sdr-list.xyz

[limits] audio=1000 waterfall=1000 events=1000

[input] sps=60000000 # Input Sample Rate frequency=0 # Baseband frequency fft_size=1048576 # FFT bins fft_threads=4 brightness_offset=0 # Waterfall brightness offset. Reduce to negative if you see black regions in the waterfall signal="real" # real or iq accelerator="opencl" # Accelerator: none, cuda, opencl audio_sps=48000 # Audio Sample Rate audio_compression="flac" # flac or opus waterfall_size=2048 waterfall_compression="zstd" # zstd or av1 smeter_offset=0

[input.driver] name="stdin" # Driver name format="s16" # Sample format: u8, s8, u16, s16, u32, s32, f32, f64

[input.defaults] frequency=3645000 # Default frequency to show user modulation="LSB" # Default modulation

That works fine! :-)

Steven9101 commented 3 weeks ago

Did you follow the instructions that you have to reboot the terminal? As otherwise its not in the linux path and wont run

But your way will also work.

Steven9101 commented 3 weeks ago

New Chat: image

Old Chat: image

Huge Upgrade in my opinion, especially the frequency that other users can click and the design

ON5HB commented 3 weeks ago

No didn't reboot....didn't see it told me to do that....sorry.....

It should be running at in a few seconds....via wifi, but it's in testing....

Try at http://websdr.heppen.be:9002 in a few minutes .....

Steven9101 commented 3 weeks ago

Awesome reception :)

ON5HB commented 3 weeks ago

G5RV at 20m high :-) Probably overloaded a bit....but hey....it just the test-setup for the moment.

Steven9101 commented 3 weeks ago

Yea you can change gain, i dont know how high you have it

Steven9101 commented 3 weeks ago

And you can hear its a rx888 mkii, its just so clear on 40m. The 16 bits are awesome.

I would advise putting higher fft size for more zoom quality and reducing gain a bit, but thats up to you.

And for hf change the sampling rate of the audio to 12000 as otherwise the decoder wont work