NVIDIA / NVIDIA/open-gpu-kernel-modules

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

Open
#668 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

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.
  • 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting test.zip and nvidia-bug-report.log.gz, then reproduce on Ubuntu 22.04.4 with kernel 6.5.0-41 and driver 550.90.07 using the documented custom EDID override. Compare the DRM program's output with the default and custom EDID cases; done means the custom EDID path produces the same correct red image or the driver limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, ubuntu
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.