PINE64
OpenTTD game - Error: no usable screen resolutions found. - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: OpenTTD game - Error: no usable screen resolutions found. (/showthread.php?tid=13397)



OpenTTD game - Error: no usable screen resolutions found. - eugenr - 03-15-2021

I'm trying to run OpenTTD on mobian pinephone and it doesn't work. I see that error above when starting it from the terminal. Trying to set a resolution manually with the -r flag didn't helped.

However if I run it with:
Code:
$ openttd -v dedicated

then I have no errors but no picture/window, only music playing. I tried also to start it in fullscreen by changing the opentdd.cfg file. Nothing new happened.

Does anybody succeed in running this game? How?

Thanks,
  Eugen


RE: OpenTTD game - Error: no usable screen resolutions found. - tmschmitz - 03-15-2021

(03-15-2021, 05:34 AM)eugenr Wrote: I'm trying to run OpenTTD on mobian pinephone and it doesn't work. I see that error above when starting it from the terminal. Trying to set a resolution manually with the -r flag didn't helped.

However if I run it with:
Code:
$ openttd -v dedicated

then I have no errors but no picture/window, only music playing. I tried also to start it in fullscreen by changing the opentdd.cfg file. Nothing new happened.

Does anybody succeed in running this game? How?

Thanks,
  Eugen

https://github.com/OpenTTD/OpenTTD/issues/8029


RE: OpenTTD game - Error: no usable screen resolutions found. - eugenr - 03-15-2021

(03-15-2021, 09:47 AM)tmschmitz Wrote: https://github.com/OpenTTD/OpenTTD/issues/8029

Using that I managed to run it with this command:

Code:
$ SDL_VIDEODRIVER=wayland openttd -v sdl:no_threads

Thanks!


RE: OpenTTD game - Error: no usable screen resolutions found. - Mary_Davis - 06-23-2026

(03-15-2021, 05:34 AM)eugenr Wrote: I'm trying to run OpenTTD on mobian pinephone and it doesn't work. I see that error above when starting it from the terminal. Trying to set a resolution manually with the -r flag didn't helped.

However if I run it with:
Code:
$ openttd -v dedicated

then I have no errors but no picture/window, only music playing. I tried also to start it in fullscreen by changing the opentdd.cfg file. Nothing new happened.

Does anybody succeed in running this game? How?

Thanks,
  Eugen

That feeling when you finally crack the code and see the game window pop up is the same rush as hitting a lucky streak, right? It's all about that dopamine hit, whether you're building a transport empire or just trying your luck. Speaking of which, if you ever fancy a break from managing virtual trains and want to try your hand at some different kind of action, you might find https://nl.casinonlinenieuwe.com/ a pretty exciting change of pace; they have a ton of slots and live dealer games. Anyway, back to the topic – the -v sdl:no_threads flag seems to be the key for stability here.

Just a heads up, if you're on a newer Mobian update, you might need to also mess with the scaling settings in the config file to get the UI size right on the PinePhone screen. I had to tweak gui_scale a bit because everything was tiny.