Myjestic Posted November 19, 2017 Share Posted November 19, 2017 Hi, I just tried my BJS Game with the new Firefox Quantum Browser. Loading times and preformance is really good as far as I could say at the moment. But I have a big issue with the mouse movement of the freecamera. It is very sluggish and sticky. I cannot really describe how it feels, but it is uncomfortable Has anyone noticed this problem as well? Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 20, 2017 Share Posted November 20, 2017 Hey, I have no problem with the free camera and quantum. Any specific scene/game you are referring to? Quote Link to comment Share on other sites More sharing options...
Myjestic Posted November 21, 2017 Author Share Posted November 21, 2017 I am sorry but at the moment I cannot provide the whole scene / game online. Too many thinks to do to make it work online. I cannot clearly see the problem at the espilit or sponza demo. Sometimes I thing the mouse movement in Quantum is like dropping fps. Something with the mouse or keyboard movement is interpreted in another way with Quantum. If I change the FreeCamera to a UniversalCamera, in Chrome everthing works fine. In Quantum if I walk forward, turn the mouse left and stop walking forward and still holding the mouse button, the camera is slightly moving forward. Also if I lock the cursor in Chrome and the old firefox versions, mouse behaviour is okay. In Quantum the view jumps around. Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 21, 2017 Share Posted November 21, 2017 Hey community, anyone else experiences such a drop in FPS with Firefox Quantum? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 21, 2017 Share Posted November 21, 2017 Can you try to check with the profiler to understand where the CPU is used when there is a FPS drop? Quote Link to comment Share on other sites More sharing options...
Myjestic Posted November 22, 2017 Author Share Posted November 22, 2017 @Deltakosh Are you talking about SpectorJS? If you mean the performance profiler integrated in Firefox, I need some help what to do, to find the "bug". Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 23, 2017 Share Posted November 23, 2017 In the F12 tools of Firefox you can select the tab "performance". You will see a "Start recording" button. Press it, move the camera while experiencing the drop in FPS and afterwards press "Stop recording". The result should look similar to this: This will help you and us understand what is taking most of the CPU usage and will allow us to optimize performance. Quote Link to comment Share on other sites More sharing options...
Myjestic Posted November 23, 2017 Author Share Posted November 23, 2017 @RaananW I fiddled around with this yesterday evening but I didn't found anything that would help me. Maybe you see something. Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 24, 2017 Share Posted November 24, 2017 I could learn that there is a major drop in FPS at certain times You can mark those areas and show both the waterfall (Verlauf) and call tree (JavaScript). This will give us a sense of what function makes the FPS drop so significantly. Quote Link to comment Share on other sites More sharing options...
Myjestic Posted November 25, 2017 Author Share Posted November 25, 2017 I cannot make head or tail of it Maybe its a problem with draw "zeichnen"? But this is only a problem in Quantum. Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 26, 2017 Share Posted November 26, 2017 What I learn, in general, is that requiestAnimationFrame takes 9ms to run, which is well in the limits and shouldn't be a problem. It takes a long time to draw the frame, which is the problem is this case. It doesn't seem to be related to the camera or any Babylon code, but this is purely an assumption. To me it seems like your browser finds in hard to render from time to time. Is it possible that there is another frame rendering at the same time? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.