mcogoni / supersdr

SuperSDR: an advanced KiwiSDR client with CAT transceiver integration
50 stars 15 forks source link

run error #12

Closed ok1hra closed 2 years ago

ok1hra commented 2 years ago
$ python3 supersdr.py --kiwiserver 192.168.1.86 --kiwiport 8073 -z 9 -f 198
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "/home/dan/inst/supersdr/supersdr.py", line 47, in <module>
    sdrdisplay = pygame.display.set_mode((disp.DISPLAY_WIDTH, disp.DISPLAY_HEIGHT), 
TypeError: 'vsync' is an invalid keyword argument for this function
mcogoni commented 2 years ago

Hi Dan, you need Pygame version >=2.0 to use vsync and avoid video jerkiness. If you cannot update Pygame, just remove the vsync parameter from the supersdr.py at lines 43 and 48.

ok1hra commented 2 years ago

Thanks Marco, after disable vsync run ok, many thanks! 73, Dan