raspberry pi 400 (pi 4 - 4gb) build issues
Moderator: OpenTTD Developers
raspberry pi 400 (pi 4 - 4gb) build issues
I have built from source open ttd using cmake for raspberry pi 400 (pi 4b 4gb in a keyboard)
it works fine with the switches for release version
however it opens as OpenTTD norev0000
So I cannot play multiplayer due to version mismatch
I would like to rectify this
Should I have used different source code?
New to building / compiling i guess I've used the 'latest' source and not the 'release'?
or should I have specified a version number
Currently running a single player game 2k by 2k map
with 13 trains using zbase graphics at 720p okay.. dropped framerate to 30fps
the video is the part struggling slightly game speed seems good simulation rate solid at 33.33fps htop gives 50% max on 1 core are 3 cores minor usage and cpu temp around 42 degrees c
Still very playable but not sure how video usage will scale with more players and more infrastructure
running better than expected to be fair
Any Help appreciated
Thanks
it works fine with the switches for release version
however it opens as OpenTTD norev0000
So I cannot play multiplayer due to version mismatch
I would like to rectify this
Should I have used different source code?
New to building / compiling i guess I've used the 'latest' source and not the 'release'?
or should I have specified a version number
Currently running a single player game 2k by 2k map
with 13 trains using zbase graphics at 720p okay.. dropped framerate to 30fps
the video is the part struggling slightly game speed seems good simulation rate solid at 33.33fps htop gives 50% max on 1 core are 3 cores minor usage and cpu temp around 42 degrees c
Still very playable but not sure how video usage will scale with more players and more infrastructure
running better than expected to be fair
Any Help appreciated
Thanks
Re: raspberry pi 400 (pi 4 - 4gb) build issues
How did you get the source code?
Did you download an archive file? Did you check it out from git?
Part of the CMake build process is detecting which version is being built. That first check if it's inside a git repository, and if it is then it uses an appropriate tag name or branch name as the version name. If it isn't inside a git repository then it looks for a file describing the version number, that should be included in all source code archive downloads.
Did you download an archive file? Did you check it out from git?
Part of the CMake build process is detecting which version is being built. That first check if it's inside a git repository, and if it is then it uses an appropriate tag name or branch name as the version name. If it isn't inside a git repository then it looks for a file describing the version number, that should be included in all source code archive downloads.
Re: raspberry pi 400 (pi 4 - 4gb) build issues
Thanks for the reply
i downloaded the source from here..
https://github.com/OpenTTD/OpenTTD
clicked the green code button and download zip..
extracted the zip, added a build directory to the extracted folder
i downloaded the source from here..
https://github.com/OpenTTD/OpenTTD
clicked the green code button and download zip..
extracted the zip, added a build directory to the extracted folder
Re: raspberry pi 400 (pi 4 - 4gb) build issues
Then you should try doing a proper git clone instead - it's not hard and there are many tutorials.
Re: raspberry pi 400 (pi 4 - 4gb) build issues
Thankyou
I see you say their are many tutorials for a git clone, could your kind self or someone point me to a tutorial for a proper git clone that should work?
Building from source takes a while on the pi as is.. if I can do it just the once and get it right that would be awesome
Many Thanks
I see you say their are many tutorials for a git clone, could your kind self or someone point me to a tutorial for a proper git clone that should work?
Building from source takes a while on the pi as is.. if I can do it just the once and get it right that would be awesome
Many Thanks
Re: raspberry pi 400 (pi 4 - 4gb) build issues
Or download the source archive from the website:
Stable release (currently 1.11.2)
Beta/RC version (currently 12.0-RC1)
Nightly versions
They contain the version stamp file that will make it have the right network version string.
You'll want the "Sources (xz/lzma archive)" file, under the Developer files section.
Stable release (currently 1.11.2)
Beta/RC version (currently 12.0-RC1)
Nightly versions
They contain the version stamp file that will make it have the right network version string.
You'll want the "Sources (xz/lzma archive)" file, under the Developer files section.
Re: raspberry pi 400 (pi 4 - 4gb) build issues
Thankyou - this worked like a charm for stable release..jfs wrote: ↑15 Oct 2021 10:50 Or download the source archive from the website:
Stable release (currently 1.11.2)
Beta/RC version (currently 12.0-RC1)
Nightly versions
They contain the version stamp file that will make it have the right network version string.
You'll want the "Sources (xz/lzma archive)" file, under the Developer files section.
About to join btpro quick goal temperate as 'raspberry pi400 test'
Thankyou for your assistance
Re: raspberry pi 400 (pi 4 - 4gb) build issues
Not sure if this is expected behavior
But disabling hardware acceleration seems to make no difference
Does this mean that OpenTTD is not using the GPU in the RiPi4?
it would be nice to run at 1080p...
Other than running at 720p 30fps it worked great for a quick 2hr game on btpro
Many Thanks
But disabling hardware acceleration seems to make no difference
Does this mean that OpenTTD is not using the GPU in the RiPi4?
it would be nice to run at 1080p...
Other than running at 720p 30fps it worked great for a quick 2hr game on btpro
Many Thanks
Re: raspberry pi 400 (pi 4 - 4gb) build issues
Anything over 720p and mouse becomes very laggy unplayably so
Maybe just reached the limit of the hardware lol
Maybe just reached the limit of the hardware lol
Re: raspberry pi 400 (pi 4 - 4gb) build issues
if you hit framerate limits, there's an entry in the ? menu to check which part of the calculation is the slow part.
Who is online
Users browsing this forum: No registered users and 18 guests