RespawnDespair / wifibroadcast-image-builder

Image builder for the EZ-Wifibroadcast project
MIT License
20 stars 22 forks source link

No video/telemetry transmission with CSL300 (Ralink rt5572) #41

Closed Yes21 closed 5 years ago

Yes21 commented 6 years ago

I think my problem is on my airPi and my wifi board (CSL300 - rt5572) So I've connected my hdmi screen on it. The boot is ok, and the wifi board set in monitor mode. But after that, I see a continuous flow of lines which never stops (see joint picture). I never had this problem with the same setup and 1.6rc6 ... That's certainly a specific problem with ralink rt5572, but I've any other compatible wifi board.

img_20181023_174402

htcohio commented 6 years ago

Hello, I tried your image during lunch. The video quality was below 1mbs Boot: OK OSD: OK Video: really bad and 2sec latency

Freq: 2312

*I have pi3b+ ground and I had to enable RC-mavlink in the wfb.txt file.

*I also enabled the 5G hotspot in apconfig.txt on pi3b+.

Here is a Dropbox link to my exact config settings for wfb and apconfig.txt

https://www.dropbox.com/sh/euk4vgk8rj2dyrn/AAArdI0ZB1IvMoq2xZ3IycVHa?dl=0

Here's a link to the video, sorry it's very poor quality it was set up in my car. https://youtu.be/wMEOmpY0AME

I hope this helps in some way... On Oct 23, 2018 8:04 AM, "Jelle Tigchelaar" notifications@github.com wrote: I ahve generated a new image based on the lastest Github. Updated image < https://drive.google.com/open?id=1CN63R1GIa7looYJsHhcKy_BgKlDHFyJ6> Untested as i am at work, but if somebody would at least verify it boots and show OSD/video i would be very grateful. — You are receiving this because you commented.

On Tue, Oct 23, 2018, 12:51 PM Yes21 notifications@github.com wrote:

I think my problem is on my airPi and my wifi board (CSL300 - rt5572) So I've connected my hdmi screen on it. The boot is ok, and the wifi board set in monitor mode. But after that, I see a continuous flow of lines which never stops (see joint picture). I never had this problem with the same setup and 1.6rc6 ... That's certainly a specific problem with ralink rt5572, but I've any other compatible wifi board.

[image: img_20181023_174402] https://user-images.githubusercontent.com/33381245/47376866-1061a880-d6f4-11e8-8215-6672befa4f5c.jpg

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RespawnDespair/wifibroadcast-image-builder/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AcSp0jj4VxroDugc1b0SoUiySM2a9l_Hks5un0ktgaJpZM4X2Bot .

RespawnDespair commented 6 years ago

I have no rt5572 to test this with, but i can definately confirm video works with the Atheros cards...

htcohio commented 6 years ago

@RespawnDespair please see my notes and video above.

Your image had RC and internal hotspot disabled.

I tested as is and also enabled hotspot RC for the second test.

Both resulted in poor video. *I thought it was the result of an under voltage error but I checked the logs and there weren't any.

RespawnDespair commented 6 years ago

EDIT: nevermind, i see you shared it in your post...

I think the version i have included in the overlay/boot folder has some default settings that are not 'optimal'. Even when running kernel7.img on the pi3b+ i wouldn't expect a 2 second lag. RC and hotspot are indeed disabled in the config i now have.

htcohio commented 6 years ago

Here is the wfb and apconfig.txt settings

https://www.dropbox.com/sh/euk4vgk8rj2dyrn/AAArdI0ZB1IvMoq2xZ3IycVHa?dl=0

On Wed, Oct 24, 2018, 7:13 AM Jelle Tigchelaar notifications@github.com wrote:

@htcohio https://github.com/htcohio can you share the wifibroadcast-1.txt you normally use? I think the version i have included in the overlay/boot folder has some default settings that are not 'optimal'. Even when running kernel7.img on the pi3b+ i wouldn't expect a 2 second lag. RC and hotspot are indeed disabled in the config i now have.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RespawnDespair/wifibroadcast-image-builder/issues/41#issuecomment-432614552, or mute the thread https://github.com/notifications/unsubscribe-auth/AcSp0mNylVxZSDuOnRvrcAVhCC-THpR2ks5uoEtCgaJpZM4X2Bot .

RespawnDespair commented 6 years ago

Thanks, What settings do you normally use for the bitrate and quality and cts settings? I don't think what i have there now is optimal... I'd like the default config to be optimized for quality without sacrificing too much range.

htcohio commented 6 years ago

8/4/1024 is the standard default setting that seems to be very reliable for short-range.

And data rate 4

All of this is just the stock video setting except for the frequency. I use 2312 to eliminate any local Wi-Fi noise issues.

On Wed, Oct 24, 2018, 7:22 AM Jelle Tigchelaar notifications@github.com wrote:

Thanks, What settings do you normally use for the bitrate and quality and cts settings? I don't think what i have there now is optimal... I'd like the default config to be optimized for quality without sacrificing too much range.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RespawnDespair/wifibroadcast-image-builder/issues/41#issuecomment-432616934, or mute the thread https://github.com/notifications/unsubscribe-auth/AcSp0jahw6724zL5R_V3ACBZlyIsYfCuks5uoE1ZgaJpZM4X2Bot .

RespawnDespair commented 6 years ago

Understood, so the defaults in my config are ok, except for the RC and hotspot. I will keep FREQ in the 24xx range for dongles that don't support 23xx range by default.

I hope to hear from user1321 about the Pi3B+ image, i really want to support that, going to order one for myself next week in order to be able to test quicker.

Yes21 commented 5 years ago

CSL300 is now working.