Closed Bug 1763125 Opened 3 years ago Closed 3 years ago

Experiencing heavy jank on Reddit video

Categories

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

Desktop
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox101 --- affected

People

(Reporter: jimm, Unassigned)

References

Details

I'm experiencing heavy jank on Reddit video ads. Will grab a profile. This is a recent regression.

"MediaInfo":{
"HTMLMediaElement":{
"autoplay":false
"buffered":[
0:{
"start":0
"end":14.982083
}
]
"controls":false
"crossOrigin":NULL
"currentSrc":"blob:https://www.reddit.com/707fa695-bceb-422e-8af0-1b3a3725d006"
"currentTime":6.403416
"defaultMuted":false
"defaultPlaybackRate":1
"duration":14.982083
"ended":false
"error":NULL
"loop":false
"mozAudioCaptured":false
"mozFragmentEnd":14.982083
"muted":true
"networkState":2
"networkState_name":"NETWORK_LOADING"
"paused":false
"playbackRate":1
"played":[
0:{
"start":0
"end":14.997333
}
]
"preload":"auto"
"readyState":4
"seekable":[
0:{
"start":0
"end":14.982083
}
]
"seeking":false
"src":"blob:https://www.reddit.com/707fa695-bceb-422e-8af0-1b3a3725d006"
"srcObject":NULL
"volume":0.5
}
"HTMLVideoElement":{
"height":0
"mozDecodedFrames":941
"mozFrameDelay":0.0026074
"mozHasAudio":true
"mozPaintedFrames":579
"mozParsedFrames":1123
"mozPresentedFrames":721
"videoHeight":720
"videoWidth":1280
"width":0
}
"videoPlaybackQuality":{
"ratio":"68%"
"droppedVideoFrames":333
}
"mozMediaSourceObject":[
0:{
"sourceBuffers":[
0:{
"start":0
"end":14.966666
}
]
}
1:{
"sourceBuffers":[
0:{
"start":0
"end":14.982083
}
]
}
]
"debugInfo":{
"EMEInfo":{
"keySystem":""
"sessionsInfo":""
}
"compositorDroppedFrames":0
"decoder":{
"PlayState":"PLAYING"
"channels":2
"containerType":"application/x.mediasource"
"hasAudio":true
"hasVideo":true
"instance":"23c82546200"
"rate":48000
"reader":{
"audioChannels":2
"audioDecoderName":"wmf audio decoder (RDD remote)"
"audioFramesDecoded":1901
"audioRate":48
"audioState":{
"demuxEOS":0
"demuxQueueSize":0
"drainState":0
"hasDecoder":false
"hasDemuxRequest":false
"hasPromise":false
"lastStreamSourceID":5
"needInput":false
"numSamplesInput":391
"numSamplesOutput":390
"pending":0
"queueSize":1
"timeTreshold":-1
"timeTresholdHasSeeked":false
"waitingForData":false
"waitingForKey":false
"waitingPromise":false
}
"audioType":"audio/mp4a-latm"
"frameStats":{
"droppedCompositorFrames":0
"droppedDecodedFrames":157
"droppedSinkFrames":176
}
"videoDecoderName":"wmf H264 codec software video decoder - yuv420 (GPU remote)"
"videoHardwareAccelerated":false
"videoHeight":720
"videoNumSamplesOutputTotal":941
"videoNumSamplesSkippedTotal":157
"videoRate":30.000003814697266
"videoState":{
"demuxEOS":0
"demuxQueueSize":0
"drainState":0
"hasDecoder":true
"hasDemuxRequest":false
"hasPromise":true
"lastStreamSourceID":4
"needInput":false
"numSamplesInput":70
"numSamplesOutput":69
"pending":0
"queueSize":1
"timeTreshold":-1
"timeTresholdHasSeeked":false
"waitingForData":false
"waitingForKey":false
"waitingPromise":false
}
"videoType":"video/avc"
"videoWidth":1280
}
"resource":{
"cacheStream":{
"cacheSuspended":false
"channelEnded":false
"channelOffset":0
"loadID":0
"streamLength":0
}
}
"stateMachine":{
"audioCompleted":false
"audioRequestStatus":"idle"
"clock":6440916
"decodedAudioEndTime":8767999
"decodedVideoEndTime":6766666
"duration":14997333
"isPlaying":true
"mediaSink":{
"audioSinkWrapper":{
"audioEnded":false
"audioSink":{
"audioEnded":false
"hasErrored":false
"isPlaying":true
"isStarted":false
"lastGoodPosition":5928916
"outputRate":48000
"playbackComplete":false
"startTime":512000
"written":289920
}
"isPlaying":true
"isStarted":true
}
"decodedStream":{
"audioQueueFinished":false
"audioQueueSize":0
"data":{
"audioFramesWritten":0
"haveSentFinishAudio":false
"haveSentFinishVideo":false
"instance":""
"lastVideoEndTime":0
"lastVideoStartTime":0
"nextAudioTime":0
"streamAudioWritten":0
"streamVideoWritten":0
}
"instance":""
"lastAudio":0
"lastOutputTime":0
"playing":0
"startTime":0
}
"videoSink":{
"endPromiseHolderIsEmpty":false
"finished":false
"hasVideo":true
"isPlaying":true
"isStarted":true
"size":10
"videoFrameEndTime":6466666
"videoSinkEndRequestExists":false
}
}
"mediaTime":6403416
"playState":2
"sentFirstFrameLoadedEvent":true
"state":""
"stateObj":{
"isPrerolling":false
}
"videoCompleted":false
"videoRequestStatus":"pending"
}
}
}
}

Blocks: media-triage

https://share.firefox.dev/3DKqH4s

Jank occurs on most videos, usually when they start to play as I scroll.

Summary: Experiencing heavy jank on Reddit video ads → Experiencing heavy jank on Reddit video
See Also: → 1761593

The time is being spent on the render thread under mozilla::wr::RenderCompositorANGLE::WaitForPreviousGraphicsCommandsFinishedQuery - NtGdiDdDDIGetDeviceState

A reboot fixed this.

No longer blocks: media-triage
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.