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

Unstable FPS on current simulator #4

Open
lamhoangtung opened this issue Oct 27, 2019 · 1 comment
Open

Unstable FPS on current simulator #4

lamhoangtung opened this issue Oct 27, 2019 · 1 comment

Comments

@lamhoangtung
Copy link
Contributor

lamhoangtung commented Oct 27, 2019

Hi. I'm trying to run the simulator provided in here

The problem is sometimes the simulator run very well on my computer with 60-70+ FPS, but almost other time it only staying bellow 30 FPS, which is very annoying and hard to work with.

Here is my computer spec:

  • Dell G7-7588 with Ubuntu 18.04.3 LTS
  • Intel® Core™ i7-8750H CPU (6 cores)
  • 16 GB DDR4 RAM
  • GeForce GTX 1050 Ti 4GB
  • HDD only

Other small thing to note:

  • I have a dedicated monitor hook up to my machine via an HDMI cable, it's only 1080p at 60Hz, same as the laptop screen.

Seem more than enough to run the simulator + some mild computation. But the simulator alone already seems bad ;(

Before asking for help, I had make sure the following things:

  • Computer is plugged in and fully charged (Computer run on AC, not battery)
  • Installed proper Nvidia Driver for my graphics cards, update all the software in my OS.

Here are some proof that my computer can run the simulator very fast:

Screenshot from 2019-10-21 01-51-14
=> 70.5 FPS
Screenshot from 2019-10-21 01-56-04
=> 67.8 FPS
Screenshot from 2019-10-21 01-56-07
=> 66.9 FPS

Please notice on the right side of the screen, I have 2 monitor program opened up: htop for CPU + RAM monitoring, nvtop for GPU monitoring. So, when the simulator are RUNNING well:

  • CPU is at 10-20% utilization at each core
  • 5-6GB of RAM
  • GPU running arround 1700MHz with 50-65% utilization, GPU mem arround 3500MHz with ~2.1GB of VRAM

Here is when the simulator performing very slow:

Screenshot from 2019-10-27 17-42-25
=> 28.5 FPS, even when I just stand still
Screenshot from 2019-10-27 17-42-45
=> 19.7 FPS, too slow
Screenshot from 2019-10-27 17-43-09
=> 20.4 FPS

Let's take a look at the hardware monitor this time:

  • CPU is at 10-20% utilization at each core
  • 5-6GB of RAM\
  • GPU running arround 1700MHz with 35-45% utilization, GPU mem arround 3500MHz with ~2.1GB of VRAM

My Conclusion

By looking at the hardware monitor in 2 cases, I don't see any hardware throttling at all, everything stay pretty much the same except when the simulator perform slowly, the GPU utilization is a bit smaller. Which indicating that's something is wrong with the software so that it can not utilize all the hardware available ???

What did I have tried ?

I have spent quite a lot of time digging into this and have try the following thing:

  • Restart the OS
  • Reinstall nvidia driver, lul my GPU still working great with pytorch and keras after many reinstallation
  • Delete and download and extract the simulator again (both 3). I also see this same problem on lower setting version of the simulator
  • Disconnect external monitor and try to run on a single monitor only
  • Go to NVIDIA X Server Setting, try to increase the performance setting of OpenGL and turn off VSync (cause sometime I felt like the simulator is being cap at 30fps). Here are some setting that I have tried, mainly to increase the GPU performance
    Screenshot from 2019-10-27 17-56-15
    Screenshot from 2019-10-27 17-56-23
  • I even went as far as install this game optimizer for linux: https://github.com/FeralInteractive/gamemode

All the things above haven't resolve the issue. At this points, I haven't been able to run the simulator smoothly for the past 2 days.

Soo then, what can I do to potentially fix this problem ? Not buying a new machine or reinstall the whole OS from scratch of course ;(. I guess that there are some saved configuration file that I can delete to make unity reset its setting about my laptop .... but I don't know how to do that ....

Maybe you guys can add Vulkan support for this to make it run faster and more reliable I guess ....

I'm not sure. But I hope that you guys can help me, especially the one who wrote these simulator since this is happening with all of them.

Again, I would do anything to help you guys resolve this problem. Thanks you and looking for yours help soon ;(

@BuiNgocHai
Copy link

BuiNgocHai commented Nov 11, 2019

Hi, I have same problem :( Have any new update for this problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants