Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No video mode large enough for 1920x1080 #191

Open
wifispray opened this issue May 8, 2024 · 0 comments
Open

No video mode large enough for 1920x1080 #191

wifispray opened this issue May 8, 2024 · 0 comments

Comments

@wifispray
Copy link

Can someone help with why im getting this error May 08 20:22:24 raspberrypi rpisurv[7002]: pygame.error: No video mode large enough for 1920x1080

May 08 20:21:27 raspberrypi rpisurv[6959]: self.surface = pygame.display.set_mode((self.resolution_width, self.resolution_height))
May 08 20:21:27 raspberrypi rpisurv[6959]: pygame.error: No video mode large enough for 1920x1080
May 08 20:21:27 raspberrypi systemd[1]: rpisurv.service: Main process exited, code=exited, status=1/FAILURE
May 08 20:21:27 raspberrypi systemd[1]: rpisurv.service: Failed with result 'exit-code'.
May 08 20:21:47 raspberrypi systemd[1]: rpisurv.service: Service RestartSec=20s expired, scheduling restart.
May 08 20:21:47 raspberrypi systemd[1]: rpisurv.service: Scheduled restart job, restart counter is at 19.
May 08 20:21:47 raspberrypi systemd[1]: Stopped Rpisurv Raspberry Pi Surveillance.
May 08 20:21:47 raspberrypi systemd[1]: Started Rpisurv Raspberry Pi Surveillance.
May 08 20:21:49 raspberrypi rpisurv[6989]: pygame 1.9.4.post1
May 08 20:21:49 raspberrypi rpisurv[6989]: Hello from the pygame community. https://www.pygame.org/contribute.html
May 08 20:21:49 raspberrypi rpisurv[6989]: 2024/05/08 20:21:49 - l_default - INFO - Starting rpisurv 3.0.0
May 08 20:21:49 raspberrypi rpisurv[6989]: 2024/05/08 20:21:49 - l_default - INFO - Auto detected display GSM-LG_HDR_4K at HDMI 0 with display number 2 1920 x 1080
May 08 20:21:49 raspberrypi rpisurv[6989]: 2024/05/08 20:21:49 - l_default - INFO - Unique id of this installation is b99fff382e842ed85b59049905f367bf9385775ce74660fb7d940eba03012873
May 08 20:21:55 raspberrypi rpisurv[6989]: Traceback (most recent call last):
May 08 20:21:55 raspberrypi rpisurv[6989]: File "surveillance.py", line 188, in
May 08 20:21:55 raspberrypi rpisurv[6989]: screen_manager=ScreenManager(f'screen_manager_{count}', display, enable_opportunistic_caching_next_screen, disable_pygame)
May 08 20:21:55 raspberrypi rpisurv[6989]: File "/usr/local/bin/rpisurv/core/ScreenManager.py", line 20, in init
May 08 20:21:55 raspberrypi rpisurv[6989]: self._init_drawinstance()
May 08 20:21:55 raspberrypi rpisurv[6989]: File "/usr/local/bin/rpisurv/core/ScreenManager.py", line 214, in init_drawinstance
May 08 20:21:55 raspberrypi rpisurv[6989]: self.drawinstance = Draw([int(self.display["resolution"]["width"]), int(self.display["resolution"]["height"])], self.disable_pygame, self.name)
May 08 20:21:55 raspberrypi rpisurv[6989]: File "/usr/local/bin/rpisurv/core/util/draw.py", line 52, in init
May 08 20:21:55 raspberrypi rpisurv[6989]: self.surface = pygame.display.set_mode((self.resolution_width, self.resolution_height))
May 08 20:21:55 raspberrypi rpisurv[6989]: pygame.error: No video mode large enough for 1920x1080
May 08 20:21:56 raspberrypi systemd[1]: rpisurv.service: Main process exited, code=exited, status=1/FAILURE
May 08 20:21:56 raspberrypi systemd[1]: rpisurv.service: Failed with result 'exit-code'.
May 08 20:22:16 raspberrypi systemd[1]: rpisurv.service: Service RestartSec=20s expired, scheduling restart.
May 08 20:22:16 raspberrypi systemd[1]: rpisurv.service: Scheduled restart job, restart counter is at 20.
May 08 20:22:16 raspberrypi systemd[1]: Stopped Rpisurv Raspberry Pi Surveillance.
May 08 20:22:16 raspberrypi systemd[1]: Started Rpisurv Raspberry Pi Surveillance.
May 08 20:22:18 raspberrypi rpisurv[7002]: pygame 1.9.4.post1
May 08 20:22:18 raspberrypi rpisurv[7002]: Hello from the pygame community. https://www.pygame.org/contribute.html
May 08 20:22:18 raspberrypi rpisurv[7002]: 2024/05/08 20:22:18 - l_default - INFO - Starting rpisurv 3.0.0
May 08 20:22:18 raspberrypi rpisurv[7002]: 2024/05/08 20:22:18 - l_default - INFO - Auto detected display GSM-LG_HDR_4K at HDMI 0 with display number 2 1920 x 1080
May 08 20:22:18 raspberrypi rpisurv[7002]: 2024/05/08 20:22:18 - l_default - INFO - Unique id of this installation is b99fff382e842ed85b59049905f367bf9385775ce74660fb7d940eba03012873
May 08 20:22:24 raspberrypi rpisurv[7002]: Traceback (most recent call last):
May 08 20:22:24 raspberrypi rpisurv[7002]: File "surveillance.py", line 188, in
May 08 20:22:24 raspberrypi rpisurv[7002]: screen_manager=ScreenManager(f'screen_manager
{count}', display, enable_opportunistic_caching_next_screen, disable_pygame)
May 08 20:22:24 raspberrypi rpisurv[7002]: File "/usr/local/bin/rpisurv/core/ScreenManager.py", line 20, in init
May 08 20:22:24 raspberrypi rpisurv[7002]: self._init_drawinstance()
May 08 20:22:24 raspberrypi rpisurv[7002]: File "/usr/local/bin/rpisurv/core/ScreenManager.py", line 214, in _init_drawinstance
May 08 20:22:24 raspberrypi rpisurv[7002]: self.drawinstance = Draw([int(self.display["resolution"]["width"]), int(self.display["resolution"]["height"])], self.disable_pygame, self.name)
May 08 20:22:24 raspberrypi rpisurv[7002]: File "/usr/local/bin/rpisurv/core/util/draw.py", line 52, in init
May 08 20:22:24 raspberrypi rpisurv[7002]: self.surface = pygame.display.set_mode((self.resolution_width, self.resolution_height))
May 08 20:22:24 raspberrypi rpisurv[7002]: pygame.error: No video mode large enough for 1920x1080
May 08 20:22:24 raspberrypi systemd[1]: rpisurv.service: Main process exited, code=exited, status=1/FAILURE
May 08 20:22:24 raspberrypi systemd[1]: rpisurv.service: Failed with result 'exit-code'.
May 08 20:22:45 raspberrypi systemd[1]: rpisurv.service: Service RestartSec=20s expired, scheduling restart.
May 08 20:22:45 raspberrypi systemd[1]: rpisurv.service: Scheduled restart job, restart counter is at 21.
May 08 20:22:45 raspberrypi systemd[1]: Stopped Rpisurv Raspberry Pi Surveillance.
May 08 20:22:45 raspberrypi systemd[1]: Started Rpisurv Raspberry Pi Surveillance.
May 08 20:22:47 raspberrypi rpisurv[7014]: pygame 1.9.4.post1
May 08 20:22:47 raspberrypi rpisurv[7014]: Hello from the pygame community. https://www.pygame.org/contribute.html
May 08 20:22:47 raspberrypi rpisurv[7014]: 2024/05/08 20:22:47 - l_default - INFO - Starting rpisurv 3.0.0
May 08 20:22:47 raspberrypi rpisurv[7014]: 2024/05/08 20:22:47 - l_default - INFO - Auto detected display GSM-LG_HDR_4K at HDMI 0 with display number 2 1920 x 1080
May 08 20:22:47 raspberrypi rpisurv[7014]: 2024/05/08 20:22:47 - l_default - INFO - Unique id of this installation is b99fff382e842ed85b59049905f367bf9385775ce74660fb7d940eba03012873

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant