Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Einavkip · Dec 18, 2018 at 12:44 PM · performancewindowsplatformgpuopengl

Simulation works fast on ubuntu but slow on windows and doesn't use GPU

Hello, We use unity 2017 64 bit. Our simulation was built on ubunto with openGL and works good on this OS. We try to run the simulation on windows 10 OS. Our simulation has a "Velodyne16_GPU" object. Under this object we have "Cylinder" object alt textand "Camera" object. The "velodyne16_GPU" runs a script "GPU_Velodyne16.cs" (attached). The script uses texture2D and more... The camera object uses a script "GPULidar.cs" (attached) and shader "DepthShader.shader" (attached). We use NVIDIA GeForce GTX 1080 graphic card on the windows computer with openGL 4.6. When we run the simulation, we see that we get valid numbers in the range parameter (at the GPU_Velodyne16.cs script), but the simulation is really slow. We also used a program to detect the GPU load and it's below 7%. Do you know why our simulation works very slow on the windows, PC while it works good and fast on Ubuntu? We also understood that it's better to work on the exe file rather then in the editor, but since we changed to openGL, on the windows computer, the range parametr result is different than in the editor and is not a valid parameter. do you know why is it different? I don't know if it is connected to this issue, but we when we build a new exe, the date of the file remains the same as the previous.

shader.png (43.7 kB)
velodynegpu.png (217.0 kB)
Comment
Add comment · Show 9
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image TreyH · Dec 18, 2018 at 02:05 PM 0
Share

I think you forgot to attach the script, btw.

Have you tried running it on a windows editor with the profiler active?

avatar image Einavkip · Dec 19, 2018 at 07:17 AM 0
Share

more files

velodyne3.png (77.9 kB)
profilertimelinesmall.png (257.1 kB)
avatar image Einavkip · Dec 19, 2018 at 07:19 AM 0
Share

more files

camera.png (199.2 kB)
lidar.png (22.3 kB)
avatar image Einavkip · Dec 19, 2018 at 07:20 AM 0
Share

more files

profilergpu1a.png (473.8 kB)
profilergpu1b.png (474.7 kB)
avatar image Einavkip · Dec 19, 2018 at 07:21 AM 0
Share

more files

profilercpu1.png (488.2 kB)
profilercpu2.png (482.6 kB)
Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Einavkip · Dec 19, 2018 at 07:25 AM

Hi, thanks. I didn't forgot I can't upload more then 2 files. I'll try to add more in the comments. I ran it with the profiler. I'll try to add the pictures here.


velodyne1.png (75.0 kB)
velodyne2.png (89.6 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

122 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Question on iOS iPhone4 GPU Frame Time 0 Answers

how to create an IOS with a Windows machine. 4 Answers

Why is Unity identifying my computer as both a Windows and a Mac? 1 Answer

Framerate differences between Windows and Mac 2 Answers

Desktop resolution affects game performance 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges