[AI] Making game unplayable #1

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

[AI] Making game unplayable #1

Post by Prophet »

Hi,

i just wanted to ask why OpenTTD is bucking on my computer. I'm playing it on a 3,6 GHz CPU with 512MB Ram so i don't understand. It didn't before. I am playing a 2048x2048 map but i have played those often before to so that can't be the reason eigther. Can it be that OpenTTD buckles when you build to many signals?

Greetings, Prophet
KUDr
OpenTTD Developer
OpenTTD Developer
Posts: 219
Joined: 11 Jan 2006 21:36
Location: Czech Republic

Post by KUDr »

It shouldn'd do that. What revision (is it not _DEBUG build?) or nightly you are running, on what OS, cfg file, and so on?
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

What revision (is it not _DEBUG build?) or nightly you are running, on what OS, cfg file, and so on?
Version: 0.4.8 - Debian/Ubuntu from Download Page (No nightly / No debug)
OS: Ubuntu 6.06 Dapper Drake
CFG File: Attached
Map: Greenland - Random - 2048x2048
Screen: Attached
Attachments
Prophetic Transports, 30. Okt 1973.png
A screen of the buckling game. The main industry is shown on the map and on screen.
(168.84 KiB) Downloaded 212 times
openttd.cfg.tar.gz
My current cfg.
(1.68 KiB) Downloaded 244 times
User avatar
doktorhonig
Tycoon
Tycoon
Posts: 1104
Joined: 22 Aug 2006 11:03
Location: Austria
Contact:

Post by doktorhonig »

Are you using an nVidia card with the nv-driver? Try installing the binary driver.
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

I have already installed the nvidia driver.
KUDr
OpenTTD Developer
OpenTTD Developer
Posts: 219
Joined: 11 Jan 2006 21:36
Location: Czech Republic

Post by KUDr »

Must be really something on your side. Here it works fine (ubuntu in vmware).
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

But it did not buckle before. Why does it just start now? Are there to many signals?
KUDr
OpenTTD Developer
OpenTTD Developer
Posts: 219
Joined: 11 Jan 2006 21:36
Location: Czech Republic

Post by KUDr »

Don't think so. I also use many signals and it doesn't influence performance.

Many trains? Or some other process taking too much CPU? Try to switch off NPF.
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

Many trains? Or some other process taking too much CPU? Try to switch off NPF.
I had 32 trains. Game with more didn't buckle...

I had nothing else running. I thought that to in the first moment but there was nothing irregular.

What is NPF?
KUDr
OpenTTD Developer
OpenTTD Developer
Posts: 219
Joined: 11 Jan 2006 21:36
Location: Czech Republic

Post by KUDr »

NPF is New Path Finder (under menu/patches settings/vehicles).
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

No change when i turn it off
KUDr
OpenTTD Developer
OpenTTD Developer
Posts: 219
Joined: 11 Jan 2006 21:36
Location: Czech Republic

Post by KUDr »

Then i don't know. Maybe some linux guru can help you.
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

Hi,

well i tried it again. Directly after i booted. I loaded the savegame and played. At first it only buckled when scrolling but after a few minutes i couldn't even build things anymore. As switched in window mode i saw that the game needed about 50% of CPU load. What is this?

This never happend before and i allready played map this size with 200 trains on two player mode over network...

I would attach the savegame. Mayby it helps you guys. But the max size is 4mb and the savegame has 7.1mb...

Greetings, Prophet
User avatar
RiTi
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 23 Jun 2006 10:24

Post by RiTi »

Prophet wrote:But the max size is 4mb and the savegame has 7.1mb...
A savegame of 7.1mb is huge. Is the savegame not corrupt? Have you tried other savegames? And maybe the problem is not the CPU load but the memory load. Is the memory not overloaded therefor no roam for normal gameplay?
Keep life simple...
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

And maybe the problem is not the CPU load but the memory load. Is the memory not overloaded therefor no roam for normal gameplay?
Durring Game:
CPU Load: ~50%
RAM Load: ~40%

A savegame of 7.1mb is huge. Is the savegame not corrupt? Have you tried other savegames?
All my save games have a size of 4 to 7 MB. How can i check if it is corrupt? I can load and save all my savegames without problems. Only this game starts bucking. Its like that since i built the big rail station you se on the screen.
User avatar
RiTi
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 23 Jun 2006 10:24

Post by RiTi »

Would like to try with this savegame to test if the problem is still there? Just load the game en start.

Can you send me a savegame by e-mail? riti@hccnet.nl
Attachments
1014.sav
(52.3 KiB) Downloaded 252 times
Keep life simple...
User avatar
Prophet
Engineer
Engineer
Posts: 48
Joined: 25 Nov 2006 15:45

Post by Prophet »

There were no problems with your savegame. But it was pretty small.

I'll send my one to you.
User avatar
RiTi
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 23 Jun 2006 10:24

Post by RiTi »

Thanks for the save game. I played with it and indeed by playing some time the game starts bucking.

What did I notice:

Very big save game and I think that's because of the many trees on the map.
Autosave was on, I turned it of;
At the 3rd of march 1974 the game starts bucking, CPU load at 99%. Before that normal play. Question why at the 3rd of march starts bucking, because there was no indication?

I tried the following:

I deleted all the trains and bought new ones, no result.
I started the game in a later/earlier year, no result.
I renamed the save file in a scenario file, load it in the scenario editor, saved the scenario and start playing this as a new scenario, no result. But I noticed that on the 3rd of march 1974 a new vehicle was popping up. This popping up didn't appear in the old save game. After clicking no/yes to this popup the game begins bucking. Why after, or because of, this popup, I really don't know. Maybe somebody else can give an answer.

For this moment I can only advise to make a complete new scenario that looks like this one and give that a try. If the new scenario acts smoothly then I think that your old save games are somehow corrupt.
Keep life simple...
KUDr
OpenTTD Developer
OpenTTD Developer
Posts: 219
Joined: 11 Jan 2006 21:36
Location: Czech Republic

Post by KUDr »

RiTi:
- Did you play it in the same ( 0.4.8 ) or some other version?
- Linux or some Win32?
User avatar
RiTi
Transport Coordinator
Transport Coordinator
Posts: 374
Joined: 23 Jun 2006 10:24

Post by RiTi »

KUDr wrote:RiTi:
- Did you play it in the same ( 0.4.8 ) or some other version?
- Linux or some Win32?
I played it with the Nightly r7194 and Windows XP SP2.
Keep life simple...
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests