Article View: linux.debian.bugs.dist
Article #1043Bug#1151024: libegl-nvidia0: 550.163.01 DRM_FORMAT_NV12 EGL DMA-BUF import silently drops UV plane (green video in Chrome on Way...
From: Raul E Rangel
Date: Fri, 16 Oct 2026 15:10
Date: Fri, 16 Oct 2026 15:10
68 lines
5581 bytes
5581 bytes
Follow-up verification update for Debian Bug #1151024:
We applied the 4-entry binary patch to `/usr/lib/x86_64-linux-gnu/nvidia/current/libEGL_nvidia.so.550.163.01`
and verified it in Google Chrome (`155.0.8059.79-1`) running natively on
Wayland (`--ozone-platform=wayland --render-node-override=/dev/dri/renderD128`
with hardware zero-copy `NV12` `NativePixmap` DMA-BUFs enabled, 55 active
`/dmabuf:` FDs in the GPU process):
* Both Google Meet (WebRTC camera & remote participant streams) and YouTube
video playback now render with completely normal, accurate colors (the
bright green tint is 100% resolved).
* `journalctl` and `dmesg` show zero EGL/GL binding errors or kernel warnings.
For anyone affected on `550.163.01` (or for packaging/testing reference),
here is the idempotent patch script we used to patch `libEGL_nvidia.so.550.163.01`:
```bash
#!/bin/bash
set -euo pipefail
TARGET="/usr/lib/x86_64-linux-gnu/nvidia/current/libEGL_nvidia.so.550.163.01"
BACKUP="${TARGET}.bak"
if [ ! -f "$BACKUP" ]; then
cp -p "$TARGET" "$BACKUP"
fi
python3 - "$TARGET" << 'PYEOF'
import os
import shutil
import struct
import sys
target = sys.argv[1]
tmp_target = target + ".new"
shutil.copy2(target, tmp_target)
with open(tmp_target, "r+b") as f:
# Verify expected FourCCs and patch Plane 1 format in NV12, NV21, NV16, NV24
patches = [
(0xd4b80, b"NV12", 0xd4b98, 0x10180e10, 0x10880710),
(0xd4bb8, b"NV21", 0xd4bd0, 0x10880e10, 0x10180710),
(0xd4bf0, b"NV16", 0xd4c08, 0x10180e10, 0x10880710),
(0xd4c28, b"NV24", 0xd4c40, 0x10180e10, 0x10880710),
]
for entry_off, fourcc, fmt_off, old_val, new_val in patches:
f.seek(entry_off)
actual_fourcc = f.read(4)
if actual_fourcc != fourcc:
raise RuntimeError(f"Unexpected FourCC at {hex(entry_off)}: {actual_fourcc!r} != {fourcc!r}")
f.seek(fmt_off)
cur_val = struct.unpack("<I", f.read(4))[0]
if cur_val == old_val:
f.seek(fmt_off)
f.write(struct.pack("<I", new_val))
print(f"Patched {fourcc.decode()} Plane 1 fmt at {hex(fmt_off)}: {hex(old_val)} -> {hex(new_val)}")
elif cur_val == new_val:
print(f"{fourcc.decode()} Plane 1 fmt at {hex(fmt_off)} already patched ({hex(new_val)})")
else:
raise RuntimeError(f"Unexpected value at {hex(fmt_off)}: {hex(cur_val)}")
os.chmod(tmp_target, 0o644)
os.replace(tmp_target, target)
PYEOF
```
Thanks,
Raul E Rangel <rrangel@google.com>
Technical Details
Message-ID:
<NORJg-5WHD-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomodReferences:
<NOGkN-5Pml-7@gated-at.bofh.it> <NOGkN-5Pml-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Raul E Rangel <rrangel@chromium.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1151024: libegl-nvidia0: 550.163.01 DRM_FORMAT_NV12 EGL DMA-BUF import silently drops UV plane (green video in Chrome on Wayland)
Date: Fri, 16 Oct 2026 17:10:02 +0200
Message-ID: <NORJg-5WHD-3@gated-at.bofh.it>
References: <NOGkN-5Pml-7@gated-at.bofh.it> <NOGkN-5Pml-7@gated-at.bofh.it>
X-Original-To: 1151024@bugs.debian.org,
linux-bugs@nvidia.com
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Oct 16 15:05:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Raul E Rangel <rrangel@chromium.org>, 1151024@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-nvidia-devel@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1151024
X-Debian-Pr-Package: libegl-nvidia0
X-Debian-Pr-Keywords: patch upstream
X-Debian-Pr-Source: nvidia-graphics-drivers
X-Gm-Message-State: AFq9FYIF7h69IyRA26Kh5BlA4JJwgFOQNAqT2tvIzOz2wf04IjkdTB+F
yj+kgzKk6bZbXsp2mhy8t0WD/28SB/38aO8c2kRysYAPesUgP5i7QlmlNdeeG+Z4lkcmTQAbEB+
NceY=
X-Gm-Gg: AYBFou3QCsYstTDKvXbQ9VeGUTtKN7gsKiNFPWqEtDf4ePvYd7CDM2+PIKsTxuA88A1
FrJ3N2oS0KvbRSodPQjHwohc/KXXDUWFJ+xTc+0nqPQJs+t8pePkh9eM0VPalHMJcPlpq6r5DPC
1hgF+Nw4IBSl9xauqmSqvK2oy2IKS6T6ezE7x4xzHEj0aCbvkV2PKQqUBsT0ULNefdso3L+HNQo
8KjYG4ukq9lQnIIutiF8I9gbhrFJfHsBYMsTno1D2R8at2LkgysfhFrzZkOPSE/cBb74/M8Nyit
+sXU2hGfrqcDB0V7X6CDtm/fbXgPVPt2r96YxfvRdc3jXRfmNm+zv3SxAzzbBxWFRR9uIrvzVjD
PY8ifWV5jvb6GH/PgBq4WgzlOPopBsxpECKOrz3Nl2WL/DNrgOs5Q8MR6CpHiiDEQmY23ouskdt
/7DQSHf4JeBxOx+tIQdE0fguni53C8/w0yQG3CFy6HuCuXpjM4jkNqA804gFBXPVADa3uZxVxEX
ahggk7t2Z5TU/ivm+eTaLZOumJm62Khrt1jd/m6m3/gZLrN9sFy7jWHLOm5KwJ2Nr2PJONH86OB
X-Received: by 2002:a05:6871:3842:b0:46a:ce42:d731 with SMTP id 586e51a60fabf-4a75789725amr228824fac.9.1792162962187;
Fri, 16 Oct 2026 08:02:42 -0700 (PDT)
X-Google-Original-From: Raul E Rangel <rrangel@google.com>
X-Mailer: git-send-email 2.56.0.212.g129ede20d9-goog
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1997071
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 68
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: rrangel@google.com
X-Original-Date: Fri, 16 Oct 2026 09:02:39 -0600
X-Original-Message-ID: <20261016150239.1263990-1-rrangel@google.com>
X-Original-References: <20261016025252.827958-1-rrangel@google.com> <20261016025252.827958-1-rrangel@google.com>