New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 784536 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

HDR not working on Chrome canary

Project Member Reported by ccameron@chromium.org, Nov 13 2017

Issue description

My local HDR machine is failing to display HDR content.
This is on Canary 64.0.3266.0 (Windows)

Some parts are in HDR
- in about:gpu it reports that the display is in HDR mode.
- YouTube plays HDR video

Some parts aren't in HDR
- the aforementioned YouTube videos are clipped to sRGB
- WCG images are clipped to sRGB

A local Chromium build does not have this problem. On both builds about:flags was reset.
 

Comment 1 by hubbe@chromium.org, Nov 13 2017

Obvious question: Does it work if you force it into HDR mode?

Nope :/

Comment 3 by piman@chromium.org, Nov 17 2017

Cc: geoffl...@chromium.org
I was assuming that something was dropped on the floor here, but that appears not to be the case -- we create the surface for HDR at
https://cs.chromium.org/chromium/src/gpu/ipc/service/direct_composition_child_surface_win.cc?rcl=f810ef4a0a7693fa3c22b5f1b4e5e4c0b95ffce1&l=90

Somehow it's just not taking.
The output surface is being correctly created -- I changed the final shader to amp-up the values and they are consumed correctly by the system.

I suspect that we are failing to create float-16 textures.
Project Member

Comment 7 by bugdroid1@chromium.org, Nov 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/58c07c7bdf1b9c9d0ebc853e96342f3376d875bf

commit 58c07c7bdf1b9c9d0ebc853e96342f3376d875bf
Author: Christopher Cameron <ccameron@chromium.org>
Date: Tue Nov 21 21:48:32 2017

Initialize color_buffer_half_float_rgba in passthrough

If HDR is requested, DCHECK that RGBA_16F is supported.

R=geofflang
TBR=zmo

Bug:  784536 
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Ib775c15c8a0a0d4f89c33f408c3dede2907d49ce
Reviewed-on: https://chromium-review.googlesource.com/779865
Reviewed-by: ccameron <ccameron@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: ccameron <ccameron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#518407}
[modify] https://crrev.com/58c07c7bdf1b9c9d0ebc853e96342f3376d875bf/components/viz/service/display/gl_renderer.cc
[modify] https://crrev.com/58c07c7bdf1b9c9d0ebc853e96342f3376d875bf/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc

Status: Fixed (was: Assigned)

Sign in to add a comment