Add telemetry for Linux Hardware Decoding
Categories
(Core :: Graphics, task)
Tracking
()
People
(Reporter: mkaply, Unassigned)
Details
Attachments
(2 files)
Now that hardware decoding is enabled on Intel GPUs for Linux, it would be useful to have telemetry data on how it's used on release.
Comment 1•2 years ago
•
|
||
I am curious why this probe isn't sufficient -
https://sql.telemetry.mozilla.org/queries/82393/source?p_platform=Linux#204116
https://searchfox.org/mozilla-central/search?q=hardware_decoding&path=&case=false®exp=false
Martin, maybe take a look at the source of the data here and see if it provides what you're looking for?
Comment 2•2 years ago
|
||
If you don't have access to that particular query but have access to t.m.o, the query is -
-- SCALARS_MEDIA.VIDEO_HARDWARE_DECODING_SUPPORT
-- payload.processes.content.keyed_scalars.media_video_hardware_decoding_support
-- break this down by platform
with dataset as (
select
count(distinct client_id) as count,
case
when hardware_decoding_supported.key = 'video/avc' then 'h264'
else replace(hardware_decoding_supported.key, 'video/', '')
end as codec,
case
when hardware_decoding_supported.value = true
then 'hardware'
when hardware_decoding_supported.value = false
then 'software'
end as supported
from
telemetry.main
cross join UNNEST(payload.processes.content.keyed_scalars.media_video_hardware_decoding_support)
as hardware_decoding_supported
where
DATE(submission_timestamp) >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
and normalized_channel = 'release'
and normalized_os = '{{platform}}'
and sample_id = 42
and payload.processes.content.keyed_scalars.media_video_hardware_decoding_support is not null
group by codec, supported
order by count desc
)
select * from dataset where count > 10
Comment 3•2 years ago
•
|
||
I don't have permissions to log in to sql.telemetry.mozilla.org.
it gives me:
Sorry, you do not have permission to access sql.telemetry.mozilla.org. Please contact the application owner for access. If unsure who that may be, please contact ServiceDesk@mozilla.com for support.
Comment 4•2 years ago
|
||
Ok, sorry about that. What kind of stats are you looking for? The query I posted displays a percentage graph comparing hardware and software decoding use. I'll post it here. I'll also try to get a historical trend graph going.
Comment 5•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Cool Thanks. Looks like 20% od H264 decode is done on HW.
Comment 7•2 years ago
|
||
Martin, does this existing telemetry address your questions? If so, should we close this report?
Comment 8•2 years ago
|
||
(In reply to Bob Hood [:bhood] from comment #7)
Martin, does this existing telemetry address your questions? If so, should we close this report?
Yes, works for me. Thanks.
Description
•