mcogoni/supersdr

run error

Closed this issue · 2 comments

$ 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

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.

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