You have been subscribed to a public bug:

My HP LP2475W monitor reports incorrect EDID info resulting in bad image
quality.

It can be fixed with a customized edid file, and adding
drm.edid_firmware kernel boot parameter.

But in Ubuntu 18.04.1 and Ubuntu 18.10, if crypsetup-initramfs package
is installed, it fails to load the firmware file.

Detailed bug report:

Following this istructions (https://blog.tingping.se/2018/12/01/amdgpu-
fullrgb.html), I created a modified edid.bin file in
/lib/firmware/edid/edid.bin and passed drm.edid_firmware=edid/edid.bin
to the kernel at boot.

In my daily Ubuntu 18.04.1 dmesg report this error and I could not solve it.
[    1.173897] platform HDMI-A-1: Direct firmware load for edid/edid.bin failed 
with error -2

So I tried in a fresh Ubuntu 18.10 and it worked nicely, no error and nice 
crisp display image.
But when I began to install the software I need for daily use it ceased to work 
and began to show the same message as in my work Ubuntu 18.04.1.

After some test it seems that the problem occurs after I install cryptsetup:
------
dmesg | grep edid
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-14-generic 
root=UUID=dfb5fdf3-b93b-4abf-99fd-d5a7ec4e66df ro 
drm.edid_firmware=edid/edid.bin quiet splash vt.handoff=1
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-14-generic 
root=UUID=dfb5fdf3-b93b-4abf-99fd-d5a7ec4e66df ro 
drm.edid_firmware=edid/edid.bin quiet splash vt.handoff=1
[    3.792846] [drm] Got external EDID base block and 1 extension from 
"edid/edid.bin" for connector "HDMI-A-1"
------

I purged cryptsetup but the problem persisted, so I removed too 
cryptsetup-initramfs and the the problem disapeared and the edid file is loaded 
again, improving the display quality:
------
dmesg | grep edid
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-14-generic 
root=UUID=dfb5fdf3-b93b-4abf-99fd-d5a7ec4e66df ro 
drm.edid_firmware=edid/edid.bin quiet splash vt.handoff=1
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-14-generic 
root=UUID=dfb5fdf3-b93b-4abf-99fd-d5a7ec4e66df ro 
drm.edid_firmware=edid/edid.bin quiet splash vt.handoff=1
[    3.717878] [drm] Got external EDID base block and 1 extension from 
"edid/edid.bin" for connector "HDMI-A-1"
-------

This question in AskUbuntu suggest that there are more people with this
probem (https://askubuntu.com/questions/1113195/how-to-output-full-
range-rgb-in-ubuntu-18-04-1)

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: linux-image-4.18.0-14-generic 4.18.0-14.15
ProcVersionSignature: Ubuntu 4.18.0-14.15-generic 4.18.20
Uname: Linux 4.18.0-14-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  david      2007 F.... pulseaudio
 /dev/snd/pcmC0D1p:   david      2007 F...m pulseaudio
 /dev/snd/controlC1:  david      2007 F.... pulseaudio
Date: Wed Feb  6 18:37:39 2019
InstallationDate: Installed on 2019-02-06 (0 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
IwConfig:
 lo        no wireless extensions.
 
 enp7s0    no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. To be filled by O.E.M.
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-14-generic 
root=UUID=dfb5fdf3-b93b-4abf-99fd-d5a7ec4e66df ro 
drm.edid_firmware=edid/edid.bin quiet splash vt.handoff=1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-14-generic N/A
 linux-backports-modules-4.18.0-14-generic  N/A
 linux-firmware                             1.175.1
RfKill:
 0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/11/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: U1n
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z68X-UD3H-B3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrU1n:bd07/11/2016:svnGigabyteTechnologyCo.,Ltd.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnZ68X-UD3H-B3:rvrTobefilledbyO.E.M.:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: To be filled by O.E.M.
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug bjf-tracking cosmic
-- 
drm.edid_firmware fails to load firmware where crypsetup-initramfs is installed
https://bugs.launchpad.net/bugs/1814938
You received this bug notification because you are a member of Ubuntu Touch 
seeded packages, which is subscribed to initramfs-tools in Ubuntu.

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to