Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How many VRAM usage this otclient #999

Closed
2 of 5 tasks
sznycell162 opened this issue Dec 21, 2024 · 5 comments
Closed
2 of 5 tasks

How many VRAM usage this otclient #999

sznycell162 opened this issue Dec 21, 2024 · 5 comments
Labels
question Further information is requested Status: Pending Test This PR or Issue requires more testing

Comments

@sznycell162
Copy link

Priority

Missing Content

Area

  • Data
  • Source
  • Docker
  • Other

What is missing?

Hello, I have a VPS machine: CPU: 2 vCores VRAM: 2GB Memory: 40GB Speed: 500Mbps When I tried to upload the OTClient mehah, I get an error as if I don't have enough memory, and the compilation is interrupted. I have a question: will it run on such a machine? If not, what is the minimum I need? Which OTClient do you recommend for TFS 1.5 Downgrade Nekiro Tibia 8.0?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@github-actions github-actions bot added question Further information is requested Status: Pending Test This PR or Issue requires more testing labels Dec 21, 2024
@Vysius
Copy link
Contributor

Vysius commented Dec 21, 2024

Why would you run a client on a vps?

@sznycell162
Copy link
Author

And what – is that not allowed? I'm new to this; I just wanted to improve the server's performance or check how it would run on OTClient.

@Vysius
Copy link
Contributor

Vysius commented Dec 21, 2024

Of course its allowed, but no one will ever play on a vps. Thats why i dont think its worth measure anything of client on a vps

@gesior
Copy link
Contributor

gesior commented Dec 21, 2024

I get an error as if I don't have enough memory, and the compilation is interrupted

If you are using Linux instruction ex. https://github.com/mehah/otclient/wiki/Compiling-on-Ubuntu-24.04
In last step:

cmake --build linux-release

you must limit number of cores used to compile:

cmake --build linux-release -j1

because single core may use up to 2 GB RAM during compilation with "unity build" (build multiple .cpp files at once), so with 2 cores and 2 GB RAM it will probably crash.

You may also try linux-debug build:

cmake -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake .. --preset linux-debug
cmake --build linux-debug -j1

to build debug version, not release. Difference is that it won't use "unity build", which may use more RAM (to speed up compliation).

EDIT:
OTC should work on VPS, but you will probably get 1-5 FPS, as you do not have GPU and it will use CPU to render, CPU to compress images (OTC screen) and CPU to transfer them to you using remote desktop app (ex. TeamViewer/Anydesk/whatever you use).
As I've described here:
https://otland.net/threads/linux-running-on-windows.274039/#post-2754292
I ran OTC on Linux virtual machine, transferred OTC screen to Windows and it generated 12 FPS - all running on localhost with Intel i9-13900K CPU and using 2-4 cores. It was old 'edubart/otclient', not optimized Mehah OTC, but I don't expect too much more FPS on Mehah.

@sznycell162
Copy link
Author

sznycell162 commented Dec 22, 2024

Can I upload a different OTClient or change TFS 1.5 DG 8.0 by Nekiro to another one? The performance is just terrible overall, with laggy movement and stuttering. I’d like to work on versions 8.00-8.54.

Sorry if this is the wrong section
ubuntu 20.04 actualy

@edit THX GESIOR <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Status: Pending Test This PR or Issue requires more testing
Projects
None yet
Development

No branches or pull requests

3 participants