open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

The screen show incorrect image when using custom EDID file on ubuntu

Open ch-gilbert opened this issue 1 year ago • 0 comments

NVIDIA Open GPU Kernel Modules Version

550.90.07

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • [ ] I confirm that this does not happen with the proprietary driver package.

Operating System and Version

Ubuntu 22.04.4 LTS

Kernel Release

Linux demo 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • [X] I am running on a stable kernel release.

Hardware: GPU

NVIDIA GeForce RTX 3070 (UUID: GPU-6876e04a-68a4-5e19-e878-92ec308679d4)

Describe the bug

I developed a program to output images by DRM, with libdrm 2.4.113.

When with the default EDID from monitor, the screen shows correct color (output red color). f57f0cc485f31b7a109ae7106fbb480

But it shows error when using custom EDID ( even use the same EDID as the monitor).

9a34c6bbb0526c96577e17baf60136e

To Reproduce

  1. override edid: echo HDMI-A-1:edid/custom-edid.bin > /sys/module/drm/parameters/edid_firmware
  2. run test program to output red color: sudo ./test 1000 0 0
  3. check the monitor output test.zip

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

No response

ch-gilbert avatar Jun 27 '24 06:06 ch-gilbert