Open Bug 1508017 Opened 6 years ago Updated 2 years ago

Unable to watch youtube 8K 60fps videos properly

Categories

(Core :: Audio/Video: Playback, defect)

63 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: bugzillamike, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [needinfo to jya on 2018/11/22])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Steps to reproduce:

I'm unable to watch ANY 8K 60fps videos on Intel UHD 630

Problem:
Video starts, you can see picture for a sec then it stops, you can hear audio all the time, after 10 seconds you can see a new scene change and video stops again.

Example Video: https://www.youtube.com/watch?v=hVvEISFw9w0

Note: ANY video up to 8K 30fps plays with no problem.

Fresh Windows 10 installation RS5 1809 17763.107

Firefox: tested in browsers up to 65.0 nightly, no change.
I also tried ALL older drivers, still no change.

GPU: Intel UHD 630
Intel driver Version: 25.20.100.6373 (Latest)

Opera browser = 8K 60fps no problems
Chrome, no problem
Edge, no problems

UHD 630 is capable to play 8K 60fps with no hassle: https://youtu.be/coplw7_bGBI?t=115
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
jya, could you take a look at this?
Flags: needinfo?(jyavenard)
The UHD isn't capable to do 8K to start with, it's 4K max the size of a supported hardware frame. so it's all software.

It also only supports DisplayPort version 1.2 or HDMI 1.4 (4096×2160 max), and as such can't drive an 8K screen. So what's the point of playing a 8K video on what will be at the most a 4K screen?

For performance, the issue will be more than likely in the compositing side of things.

Not enough information provided to act on it.

For a start, provide the about:support output, and ideally a performance profile when playing a video.
Flags: needinfo?(jyavenard)
Flags: needinfo?(bugzillamike)
Whiteboard: [needinfo to reporter on 2018/11/20]
(In reply to Jean-Yves Avenard [:jya] from comment #2)
> The UHD isn't capable to do 8K to start with, it's 4K max the size of a
> supported hardware frame. so it's all software.
> 
> It also only supports DisplayPort version 1.2 or HDMI 1.4 (4096×2160 max),
> and as such can't drive an 8K screen. So what's the point of playing a 8K
> video on what will be at the most a 4K screen?
> 
> For performance, the issue will be more than likely in the compositing side
> of things.
> 
> Not enough information provided to act on it.
> 
> For a start, provide the about:support output, and ideally a performance
> profile when playing a video.

about:support

https://pastebin.com/raw/xe5CKbTu
google translated: https://pastebin.com/raw/Gp1SKFhx

Yes, it's a foreign language.

----

8K HW support, HEVC and VP9 Profiles: https://i.imgur.com/DTha7CP.png

Skrin 1: Edge browser - Perfect smooth Video 8K 60fps HW Decode: https://i.imgur.com/puIkYst.jpg

As you can see, there is no way this could work without HW decode acceleration.
In fact you can see a perfect 90% Video Engine load.
CPU is barely 20% usage and CPU clock clearly saying I don't care, ;)

Skrin 2: https://i.imgur.com/LKLbsLm.jpg
"Just for fun", the same link with 8K 60fps, potplayer
Again, very smooth playback.

Like I said before, there is absolutely no problem wathing ANY wideos under:
Opera, Chrome, Edge

Now regarding: "what's the point of playing a 8K video on what will be at the most a 4K screen?"

The same point as watching 4K on 1080p display.
Much higher bitrate brings much better video quality, even a downscaled one, and you can't deny that.

But Jean, I don't want to bring the discussion to such level.
I've found a bug so I reported with a hope that someone will help me.

Regards.
Flags: needinfo?(bugzillamike)
NI to jya to continue that conversation.
Flags: needinfo?(jyavenard)
Whiteboard: [needinfo to reporter on 2018/11/20] → [needinfo to jya on 2018/11/22]

I can confirm that there is somewhat of an issue with the playback.
In my case it would be expected since the graphics card is a bit old (AMD 760G) tested on Win7x32;

  • Here's a pastebin linkto my about:support info;
  • Chrome does in fact, playback a bit better the videos on 8k;
  • Video tested on.
  • Perf link for the video trying to be played for ~20seconds;
  • another mention would be that it's still a case for Win10, Ubuntu18, the issue being that the video hangs but the audio still plays when not buffering.

This is reproducing too on mac10.11 with Intel Iris Pro graphics on Firefox 66.0b6. Anything higher than 4k, results in black screen, and only audio.

Playback is really bad here.
Testing on a machine with no HW decoder, we will go from keyframe to keyframe.

Chrome will drop about 50% of the frames but it still looks okay.

On a machine with HW VP9 decoding (intel 630UHD), decoding is fast enough and we don't drop any frames there, however none are painted on screen, we're close to 100% dropped frame rate. This is not because decoding is too slow.

Matt, you could you have a look?

Flags: needinfo?(jyavenard) → needinfo?(matt.woodrow)

I don't have any machines with HW 8k decoding support unfortunately.

Can you grab a profile?

Flags: needinfo?(matt.woodrow)

Older bug, but Matt asked for a profile -- Jean-Yves, is this something you can do?

Flags: needinfo?(jyavenard)

Matt, could you provide instructions on what profile info you're after?

Flags: needinfo?(jyavenard) → needinfo?(matt.woodrow)

As mentioned out of band, I just want a gecko profile (with all threads that handle video frames) to try to spot where the bottleneck is.

Flags: needinfo?(matt.woodrow)

NI jya so this doesn't get forgotten.

Flags: needinfo?(jyavenard)

Testing on a Lenovo Thinkpad X1 Extreme; plays nicely with the nvidia 1050Ti, barely a slide show when using the intel UHD 630, even though the DXVA Checker shows the GPU decoder at 48% speed (1050Ti is at 97% usage there). In Chrome GPU 3D usage is around 19% vs FF at 35%

profiler capture: https://perfht.ml/39UcAtH

Flags: needinfo?(jyavenard)

Same issue on a Radeon RX 470 (w/ Ryzen 2600 & 16GB RAM). Decodes the first several frames and then the video hangs. Audio still works. 8K at 30fps works perfectly fine.

Here's a profiler capture: https://perfht.ml/2ynoJcD

Yeah, we see it's still the compositor struggling. This really is a problem, the two machines being profiled are really really fast compared to what people have.

See Also: → 1601297
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.