jeanlemotan / esp32-cam-fpv

esp32 cam digital low latency fpv
MIT License
278 stars 68 forks source link

gs get stuck full cpu and no popup window. #21

Closed lida2003 closed 1 year ago

lida2003 commented 1 year ago

RPI 3B+ latest code, desktop got stuck, checked from putty. top suggested 100% CPU on each core.

图片

Kill from putty

图片

sudo -E DISPLAY=:0 ./gs

图片

wlan1 & wlan2 support monitor mode, which is rtl8192cu card.

$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:51:af:e3:b7  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.19  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::8112:16ad:ead7:dc16  prefixlen 64  scopeid 0x20<link>
        inet6 2408:8240:610:61f0:f198:aad0:39d1:abfa  prefixlen 64  scopeid 0x0<global>
        ether b8:27:eb:f3:69:a6  txqueuelen 1000  (Ethernet)
        RX packets 3134  bytes 914784 (893.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 970  bytes 270711 (264.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 5  bytes 284 (284.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 284 (284.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.68.231  netmask 255.255.255.0  broadcast 192.168.68.255
        inet6 fe80::25d8:b6f9:e8b3:2573  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:a6:3c:f3  txqueuelen 1000  (Ethernet)
        RX packets 7708  bytes 893984 (873.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9031  bytes 6097881 (5.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        unspec 14-CF-92-0B-EA-04-30-30-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 98697  bytes 22437402 (21.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 123  bytes 25826 (25.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lida2003 commented 1 year ago

it seems duplicated with HDMI monitor. currently, I add two wifi cards.

gs compiles ok, but it doesn't work properly #20