[Bug]: my game starts graphically lagging after I am playing for a while

Open
#15,393 16 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
cpp, macos

Research direction

Start by reproducing OpenTTD 15.2 on macOS Tahoe 26.1, then monitor the mouse, camera movement, and displayed graphics FPS during an extended game. Compare what changes when the lag begins and record any action or game state that triggers it. Done means the cause is identified and the mouse and camera remain smooth during continued play.

Written by the indexing model from the issue text.

Description

Version of OpenTTD

15.2, MacOS Tahoe 26.1

Expected result

The mouse runs smoothly the entire game and the graphics fps runs on a solid 60 fps.

Image
Actual result

Moving the mouse and camera POV becomes laggy and choppy after an unknown amount of time that the game has been open(or some unknown thing triggers it that I don't know about)

The fps graphics in the fps also says it drops down to roughly 30fps(but seems to change a lot depending on how fast I'm moving the mouse/camera) but it doesn't seem to affect the game fps nor do i notice anything else lagging(to my knowledge)

Image
Steps to reproduce
  1. Play a game
  2. (maybe i accidentally do something that breaks it?)
  3. Keep playing the game normally for like a while
  4. the mouse starts becoming noticeably choppy and annoying to use.
Dominant language
C++
Stars
8.5k
Forks
1.3k
Avg merge
1d 7h
Merged PRs (30d)
57

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenTTD/OpenTTD

All issues in OpenTTD/OpenTTD

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.