Open Bug 1980115 Opened 1 year ago Updated 3 months ago

youtube.com - NVIDIA RTX Video HDR works on videos when logged out, or when logged in with Light Mode enabled (fails with DarkMode)

Categories

(Web Compatibility :: Site Reports, defect, P3)

Desktop
Windows 10

Tracking

(Webcompat Priority:P3, Webcompat Score:4)

Webcompat Priority P3
Webcompat Score 4

People

(Reporter: rbucata, Unassigned)

References

()

Details

(Keywords: webcompat:needs-diagnosis, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan][webcompat:core][worldcup])

User Story

platform:windows
impact:feature-broken-minor
configuration:common
affects:all
branch:release
diagnosis-team:graphics
user-impact-score:52.5

Environment:
Operating system: Windows 10
Firefox version: Firefox 142.0

Preconditions:

  • compatible NVIDIA RTX GPU
  • enable "RTX Video HDR" in the NVIDIA Control Panel

Steps to reproduce:

  1. Navigate to: http://youtube.com and log in.
    2.Enable Dark Mode in YouTube's appearance settings.
  2. Play any SDR video (e.g., a standard 1080p video) and observe

Expected Behavior:
The "RTX HDR" logo appears and stays, and the video is processed with HDR.

Actual Behavior:
The "RTX HDR" logo appears for a moment and then vanishes as the page UI loads. The video is not processed.

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/169202

QA does not have the proper set-up to test this, but since the site is a top 100 site, we think it might benefit from further investigations, with the required set-up.

Issue reproducing on the user side: https://www.youtube.com/watch?v=ayYtvUWZsA8

Severity: -- → S4
User Story: (updated)
Webcompat Priority: --- → P3
Webcompat Score: --- → 4
Priority: -- → P3

This seems to be related to Firefox not being able to overlay the video for some reason, as such, it breaks RTX HDR and Super Resolution too. Only some YouTube accounts have this change as far as I've tested, so it seems to be some sort of A/B test from Google. For me, it doesn't work in light mode either, though.

There have been some reports about similar issues on Reddit, as well as a comment that contains a fix using CSS changes applied through uBlock Origin. I can confirm that fix does make RTX features work in non-fullscreen views on YouTube, at least for me.

The CSS code from that comment (Needs to be applied in uBlock Origin's "My filters" page):

www.youtube.com###ytd-player.ytd-watch-flexy:style(border-radius:0 !important;)
www.youtube.com##ytd-masthead:style(opacity:0.98 !important;)

The CSS fix seems to do two things:

  1. Remove rounded corners from the video player
  2. Change the opacity of the header (ytd-masthead) element to 0.98

Both of these were required for video overlaying/RTX features to work in my case.

I hope this helps figure out the root cause. YouTube might push this change to more accounts in the future, which could also result in higher video playback power consumption for those users due to videos not being overlayed, in addition to breaking RTX video features.

I forgot to mention this, but for me, RTX video features work correctly when in fullscreen mode even when logged in to the affected YT account. It seems like video overlay only works correctly in fullscreen mode in this case.

Also, someone else is having issues similar to this bug in Bug 1960242.

Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan]
User Story: (updated)
Whiteboard: [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan] → [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan][webcompat:core]
Whiteboard: [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan][webcompat:core] → [webcompat-source:web-bugs][webcompat:sightline][webcompat:japan][webcompat:core][worldcup]
You need to log in before you can comment on or make changes to this bug.