g0orx / linhpsdr

Linux HPSDR
GNU General Public License v3.0
74 stars 44 forks source link

No sound no waterfall graph #101

Closed hellmind closed 3 years ago

hellmind commented 3 years ago

Orion mk2 ARCH , pipewire

[hellmind@workstation ~]$ linhpsdr
Build: 2021-02-25 Beta
GTK+ version 3.24.29
sysname: Linux
nodename: workstation
release: 5.12.1-arch1-1
version: #1 SMP PREEMPT Sun, 02 May 2021 12:43:58 +0000
machine: x86_64
load_css
opengl: 0
Creating wisdom file: /home/hellmind/.local/share/linhpsdr/
discovery
protocol1_discovery
discover: looking for HPSDR devices on lo
discover: bound to lo
discover_receive_thread
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for lo
discover: looking for HPSDR devices on ens18
discover: bound to ens18
discover_receive_thread
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for ens18
discovery found 0 devices
protocol2_discover: looking for HPSDR devices on ens18
protocol2_discover: bound to ens18 192.168.0.5 255.255.255.0
protocol2_disovery: thread_id=0x55b254053300
protocol2_discover: received 60 bytes
protocol2_discover: found 0 protocol=1 device=5 software_version=19 status=2 address=192.168.0.6 (D8:80:39:6F:92:3B) on ens18 DDCs=4
protocol2_discover: bytes read -1
protocol2_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
protocol2_discover: exiting protocol2_discover_receive_thread
protocol2_discover: exiting discover for ens18
protocol2_discovery found 1 devices
discovery: found protocol=1 device=5 software_version=19 status=2 address=192.168.0.6 (D8:80:39:6F:92:3B) on ens18
main: discovery found 1 devices
discovered: 0 device=5
adding Orion2
tree_selection_changed_cb
tree_selection_changed_cb: selected=Orion2,2,19,192.168.0.6,D8:80:39:6F:92:3B
tree_selection_changed_cb: first=Orion2,2,19,192.168.0.6,D8:80:39:6F:92:3B
found 0
starting LinHPSDR (Beta): Orion2 P2 19 192.168.0.6 (D8:80:39:6F:92:3B) on ens18
create_radio for Orion2 5
loadProperties: /home/hellmind/.local/share/linhpsdr/D8-80-39-6F-92-3B.props
get_midi_devices: 0: UMC404HD 192k MIDI 1 hw:0,0,0
audio_get_backend_name: PulseAudio
audio: create_audio: USE_SOUNDIO: 2 PulseAudio
n_input_devices=2
create_receiver: channel=0 sample_rate=192000
create_receiver: channel=0 frequency_min=0 frequency_max=61440000
create_receiver: buffer_size=1024
create_receiver: fft_size=2048
create_receiver: OpenChannel: channel=0 buffer_size=1024 sample_rate=192000 fft_size=2048 output_samples=256
receiver_update_title: LinHPSDR: Orion2 Rx-0 ADC-0 192000
create_vfo: rx=0
iq_thread: channel=0
sendto socket failed for general: seq=0
sendto socket failed for receive_specific: sequence=0
sendto socket failed for general: seq=1
sendto socket failed for receive_specific: sequence=1
create_transmitter: channel=8
transmitter_init_analyzer: width=0 pixels=0
update_timer: fps=10
protocol2_init: MIC_SAMPLES=64
iq_thread: channel=0
sendto socket failed for general: seq=2
sendto socket failed for receive_specific: sequence=2
protocol2_init: date_socket 14 bound to interface
protocol2_init: high_priority_addr setup for port 1027
protocol2_thread: id=0x55b2592a2b00
protocol2_thread
protocol2_thread: data_socket bound to interface
protocol2_thread: high_priority_addr setup for port 1027
protocol2_timer_thread: id=0x55b2592a2d80
protocol2_timer_thread
x=997 y=502
moving main_window to x=997 y=502
radio_start
tx_panadapter_configure_event: width=300 height=150
transmitter_init_analyzer: width=300 pixels=3600
SetAnalyzer id=8 buffer_size=4096 overlap=3392
hellmind commented 3 years ago

a screenshot : https://i.imgur.com/3uu1COz.png

g0orx commented 3 years ago

I suspect the problem is with Archlinux. I have never used it as all my development is using Ubuntu. I will download the latest version and try it myself. I can see the UI does not look very good so suspect that GTK-3 is not too well supported with the Display Manager. I will get back to you in the next couple of days. -- John

hellmind commented 3 years ago

Maybe my orion mk II isnt working as it should be. Sometimes it works, maybe protocol 2 related I don't know exactly when.

On Mon, May 10, 2021 at 6:38 PM John Melton @.***> wrote:

I suspect the problem is with Archlinux. I have never used it as all my development is using Ubuntu. I will download the latest version and try it myself. I can see the UI does not look very good so suspect that GTK-3 is not too well supported with the Display Manager. I will get back to you in the next couple of days. -- John

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g0orx/linhpsdr/issues/101#issuecomment-837387389, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIZ5WZ3CO7YQ57SQVTGJDLTNBG65ANCNFSM44P3EQ5A .

hellmind commented 3 years ago

I found a seg fault if there are no rx when you press tune :D

On Mon, May 10, 2021 at 6:55 PM HellMind ZMaster @.***> wrote:

Maybe my orion mk II isnt working as it should be. Sometimes it works, maybe protocol 2 related I don't know exactly when.

On Mon, May 10, 2021 at 6:38 PM John Melton @.***> wrote:

I suspect the problem is with Archlinux. I have never used it as all my development is using Ubuntu. I will download the latest version and try it myself. I can see the UI does not look very good so suspect that GTK-3 is not too well supported with the Display Manager. I will get back to you in the next couple of days. -- John

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g0orx/linhpsdr/issues/101#issuecomment-837387389, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIZ5WZ3CO7YQ57SQVTGJDLTNBG65ANCNFSM44P3EQ5A .

hellmind commented 3 years ago

When it works, the logs shows :+1:

90 SetAnalyzer id=8 buffer_size=4096 overlap=3392
        91 create_radio_dialog
        92 radio_dialog_update_controls: model=12
        93 radio_dialog_update_controls: defualt set_sensitive
        94 audio_get_backends: 4
        95 audio_get_backend_name: JACK
        96 audio_get_backends: 4
        97 audio_get_backend_name: PulseAudio
        98 audio_get_backends: 4
        99 audio_get_backend_name: ALSA
        100 audio_get_backends: 4
        101 audio_get_backend_name: Dummy
        102 audio_get_backends: 4
        103 radio_change_audio_backend: 2
        104 audio_get_backend_name: ALSA
        105 audio: create_audio: USE_SOUNDIO: 3 ALSA
        106 ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
        107 ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
        108 ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
        109 ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
        110 n_input_devices=5
        111 update_filters: new filter grid 0x55d348850420
        112 create_transmitter_dialog: tx=8
        113 update_transmitter_dialog: tx=8
        114 adding: Default Audio Device
        115 adding: PipeWire Sound Server
        116 adding: Default ALSA Output (currently PipeWire Media Server)
        117 adding: UMC404HD 192k, USB Audio: Default Audio Device
        118 adding: UMC404HD 192k USB Audio
        119 get_midi_devices: 0: UMC404HD 192k MIDI 1 hw:0,0,0
        120 switch_page: 1 OC
        121 switch_page: 0 Radio
        122 frequency_a_scroll_event_cb: digit=4 step=1000000
        123 frequency_a_scroll_event_cb: digit=4 step=1000000
        124 frequency_a_scroll_event_cb: digit=4 step=1000000
        125 frequency_a_scroll_event_cb: digit=4 step=1000000
        126 frequency_a_scroll_event_cb: digit=4 step=1000000
        127 frequency_a_scroll_event_cb: digit=4 step=1000000
        128 frequency_a_scroll_event_cb: digit=3 step=10000000
        129 frequency_a_scroll_event_cb: digit=3 step=10000000
        130 frequency_a_scroll_event_cb: digit=2 step=100000000
        131 frequency_a_scroll_event_cb: digit=3 step=-10000000
        132 frequency_a_scroll_event_cb: digit=3 step=-10000000
        133 frequency_a_scroll_event_cb: digit=3 step=-10000000
        134 frequency_a_scroll_event_cb: digit=3 step=-10000000
        135 frequency_a_scroll_event_cb: digit=3 step=-10000000
        136 frequency_a_scroll_event_cb: digit=3 step=-10000000
        137 frequency_a_scroll_event_cb: digit=3 step=-10000000
        138 frequency_a_scroll_event_cb: digit=3 step=-10000000
        139 frequency_a_scroll_event_cb: digit=3 step=-10000000
        140 frequency_a_scroll_event_cb: digit=3 step=-10000000
        141 frequency_a_scroll_event_cb: digit=3 step=-10000000
        142 frequency_a_scroll_event_cb: digit=3 step=-10000000
        143 frequency_a_scroll_event_cb: digit=5 step=0
        144 switch_page: 3 RX-0
hellmind commented 3 years ago

The problem was my device had the same ip of a device in my network.