FukutoTojido / beatmap-viewer-web

Beatmap Viewer on browser.

Home Page:https://preview.tryz.id.vn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance Issues on Firefox

nyaruku opened this issue · comments

title

I might need to ask you some questions first:

  • Have you enabled Hardware Accel?
  • If already, please specify which map you are having trouble with
  • Lastly, could you provide your PC specifications if possible?

Since the web performs pretty well on my side, I need to have more details about this one. Thank you.

i can confirm the same issues on mobile devices (using iPhone 15 Pro Max)
the hitsounds are way delayed with the music

I might need to ask you some questions first:

  • Have you enabled Hardware Accel?
  • If already, please specify which map you are having trouble with
  • Lastly, could you provide your PC specifications if possible?

Since the web performs pretty well on my side, I need to have more details about this one. Thank you.

Hardware Accel is On,
It's on literally any map
i7-4510U, Nvidia GeForce 860M
(it works fine on chrome)

Hmm, this might be a Gecko engine issue, but I can't really reproduce that on my FireFox.

What was the FPS display on the screen then and was there any cracking/distorting in Audio?

Hmm, this might be a Gecko engine issue, but I can't really reproduce that on my FireFox.

What was the FPS display on the screen then and was there any cracking/distorting in Audio?

FPS was flactuating often and a lot from 20-50fps and some kind of cracking

In that case, you can do a Performance Profiling from the Developer Tools of the browser and send it to me. Here are the steps:

  • Open DevTools by pressing F12 or Right-Click -> Inspect Elements
  • Move to Performance tab
  • Play the map
  • Choose Custom profile, then click Start Recording on Performance tab, let it profiling for about 10 seconds, then stop
  • Choose Upload Profile on the top right corner of the result, remember to tick Include hidden time ranges

i can confirm the same issues on mobile devices (using iPhone 15 Pro Max) the hitsounds are way delayed with the music

Did you try stopping the map then replaying? Cuz mobile is having audio delay issue upon first play of the map.

i can confirm the same issues on mobile devices (using iPhone 15 Pro Max) the hitsounds are way delayed with the music

Did you try stopping the map then replaying? Cuz mobile is having audio delay issue upon first play of the map.

yes even when scrolling around the map, stutters also occur

Which browser were you using then
My friend has an iPhone XR and it can still play smoothly.

Which browser were you using then My friend has an iPhone XR and it can still play smoothly.

tried safari and edge on iOS

tried safari and edge on iOS

Since I don't own Apple devices, it is really hard to pinpoint what is the problem. I have already tested with my 2 Android phones, one running on Snapdragon 845 and the other running on Google Tensor G2, both are running quite decently with the Google Tensor one even being able to reach 90Hz. In addition, a friend of mine who has been using an iPhone XR with Brave Browser can still run the site pretty well.

I guess I'll have to put this aside for a later time for investigation.

In that case, you can do a Performance Profiling from the Developer Tools of the browser and send it to me. Here are the steps:

  • Open DevTools by pressing F12 or Right-Click -> Inspect Elements
  • Move to Performance tab
  • Play the map
  • Choose Custom profile, then click Start Recording on Performance tab, let it profiling for about 10 seconds, then stop
  • Choose Upload Profile on the top right corner of the result, remember to tick Include hidden time ranges

Somehow performance on Firefox got better (osu.pages.dev, doesnt work anymore, so i used preview.tryz.id.vn), though the "delay" is still there, hitsounds and music are sync but from what i see the gameplay is off-sync
https://share.firefox.dev/3tkDzx9

osu.pages.dev is a site that is coming from fork of this repository and hasn't been kept up to date with the master repository (which is now preview.tryz.id.vn). Back then, the site used a different method for rendering the frames which might cause frame drops in other browser engines.

About the hitsound delay, do you have any recording of this? The site is running fine on my Firefox.

Closing this due to inactivity.
Also the debugging profile mentioned above is totally fine for a 60fps rendering.