Low FPS and crashes in the new MTA SA version

Đang mở
#5,547 4 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
game-dev, performance

Hướng nghiên cứu

Compare behavior between MTA SA versions r24149 and r24159, focusing on rendering while moving quickly across the map and on player login, which the issue reports as FPS drop triggers. Start by locating the changes between those versions that affect rendering or player login, then reproduce with the reported scenarios; done means identifying and fixing the regression so FPS remains comparable to r24149 without crashes.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Describe the bug

I tested using MTA SA versions r24149 and r24159 on my server with approximately 50 players online.
When I use version r24149, the game runs smoothly, without glitches or FPS drops, at around 120 FPS+.
However, on version r24159, the FPS is low, not exceeding 80 FPS.
And when another player logs into the server, the FPS drops to 40 and recovers.
I tested on an empty server and the FPS drops persist, but to a lesser extent

Steps to reproduce
  1. I joined my server using version r24159 and the FPS drops are evident in several situations:
  2. When moving quickly across the map, rendering all objects (this didn't cause FPS drops in the previous version r24149)
  3. Whenever another player logs in, the FPS drops for everyone online on version r24159
Version

I am using version: r24149

Additional context

No response

Relevant log output

Security Policy
  • I have read and understood the Security Policy and this issue is not security related.
Ngôn ngữ chính
C++
Star
1.9k
Fork
588
Merge trung bình
4 ngày 9 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của multitheftauto/mtasa-blue

Tất cả issue của multitheftauto/mtasa-blue

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.