Bug#894731: linux-image-4.15.0-2-amd64: Setting drm.edid_firmware or drm_kms_firmware.edid_firmware has no effect

2018-06-01 Thread Ricardo Martin Camarero
Thanks Henrik, it's working for me too after adding "video=HDMI-A-1:e"
in my case.



Bug#894731: linux-image-4.15.0-2-amd64: Setting drm.edid_firmware or drm_kms_firmware.edid_firmware has no effect

2018-05-23 Thread Henrik Friedrichsen
I reported this on the Linux bugzilla: 
https://bugzilla.kernel.org/show_bug.cgi?id=199799

drm/i915 bugreports go to Freedesktop, but Jani Nikula suggested to add
"video=VGA-1:e" to the kernel commandline, which fixed this for me.

Not sure if this closes the matter, as it used to work without setting
video before, but I thought I'd pass this suggestion on to other affected 
people.



Bug#894731: linux-image-4.15.0-2-amd64: Setting drm.edid_firmware or drm_kms_firmware.edid_firmware has no effect

2018-05-15 Thread Henrik Friedrichsen
Indeed, and it continues to be a problem on 4.16.

I'm guessing something about moving from drm_kms_firmware.edid_firmware
to drm.edid_firmware broke this. Maybe this should be reported upstream?



Bug#894731: linux-image-4.15.0-2-amd64: Setting drm.edid_firmware or drm_kms_firmware.edid_firmware has no effect

2018-05-08 Thread Andreas Schreiner
Hi!

I can also confirm the issue with a TV that does not provide any EDID data.

The "drm_kms_firmware.edid_firmware" option worked with the 4.13 Kernel.

With the 4.15.x Kernel it stopped working. In fact it seems to disable
the display completely at boot so that I have to remove it as a boot option
to be able to use the system at all. Kernel 4.16.0-1 still has the
issue.

Neither drm_kms_firmware.edid_firmware=edid/1920x1080.bin nor
drm.edid_firmware=edid/1920x1080.bin do work currently.

X11 later recognizes the correct resolution but has the DPI setting
completely wrong (it guesses a 7" Display at 1920x1080). Applications
that regard the DPI settings (like VLC v3) are thus unusable.

Thank you!



Bug#894731: linux-image-4.15.0-2-amd64: Setting drm.edid_firmware or drm_kms_firmware.edid_firmware has no effect

2018-04-09 Thread Ricardo Martín Camarero
Hi,

I'm also affected by this issue. I have a horrible samsung TV which I
use as monitor in my desktop that doesn't send correct EDIDs (it simply
doesn't send any EDID). I was working OK with kernel 4.13. Today I have
upgraded to 4.15.0-2 and TV is showing mode setting not supported, so
the option is not recognized (I've tested with
drm_kms_helper.edid_firmware and drm.edid_firmware with no luck). I'm
configured grub to use the old kernel for the moment.

Thanks



Bug#894731: linux-image-4.15.0-2-amd64: Setting drm.edid_firmware or drm_kms_firmware.edid_firmware has no effect

2018-04-03 Thread Henrik Friedrichsen
Package: src:linux
Version: 4.15.11-1
Severity: normal
Tags: upstream

Dear Maintainer,

Today I upgraded from linux-image-4.14.0-3-amd64 to 4.15.0-2-amd64. Because the
third monitor connected via VGA
doesn't seem to expose a proper EDID or any EDID at all, I use
"drm_kms_helper.edid_firmware=VGA-1:edid/1280x1024.bin"
to force the resolution. This used to work fine with the built-in firmwares as
well as with a custom EDID I acquired from
the screen by connecting it to HDMI.

With the upgrade to 4.15.0-2-amd64, the flag doesn't work anymore. The only
relevant message I get in dmesg is:
[8.750411] [drm] drm_kms_firmware.edid_firmware is deprecated, please use
drm.edid_firmware intead.

When using the config variable drm.edid_firmware, instead, the deprecation
warning disappears, but still, nothing happens.

"edid-decode /sys/devices/pci:00/:00:02.0/drm/card0/card0-VGA-1/edid"
now returns an invalid or no EDID:
Extracted contents:
header:  00 00 00 00 00 00 00 00
serial number:   00 00 00 00 00 00 00 00 00 00
version: 00 00
basic params:00 00 00 00 00
chroma info: 00 00 00 00 00 00 00 00 00 00
established: 00 00 00
standard:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 1:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 2:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 3:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
descriptor 4:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
extensions:  00
checksum:00

No header found
Manufacturer: @@@ Model 0 Serial Number 0
EDID version: 0.0
Analog display, Input voltage level: 0.7/0.3 V
Sync:
Image size is variable
Gamma: 1.00
Monochrome or grayscale display
Established timings supported:
Standard timings supported:
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
non-conformant standard timing (0 horiz)
Manufacturer-specified data, tag 0
Manufacturer-specified data, tag 0
Manufacturer-specified data, tag 0
Manufacturer-specified data, tag 0
Checksum: 0x0 (valid)
EDID block does not conform at all!
Bad year of manufacture
Manufacturer name field contains garbage


Whereas previously it would display information about the custom EDID.

I have also attached the dmesg of the previous kernel.



-- Package-specific info:
** Version:
Linux version 4.15.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version
7.3.0 (Debian 7.3.0-12)) #1 SMP Debian 4.15.11-1 (2018-03-20)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.15.0-2-amd64
root=UUID=78f2fe7c-bc1b-4073-aa07-9ea42b0ab9e0 ro quiet
drm_kms_helper.edid_firmware=VGA-1:edid/1280x1024.bin

** Tainted: O (4096)
 * Out-of-tree module has been loaded.

** Kernel log:
[8.863552] lpc_ich: Resource conflict(s) found affecting gpio_ich
[8.976735] EFI Variables Facility v0.08 2004-May-17
[9.060109] pstore: using zlib compression
[9.060124] pstore: Registered efi as persistent store backend
[9.131124] sd 0:0:0:0: Attached scsi generic sg0 type 0
[9.131144] sr 2:0:0:0: Attached scsi generic sg1 type 5
[9.329121] fbcon: inteldrmfb (fb0) is primary device
[9.408147] snd_hda_intel :00:03.0: enabling device (0100 -> 0102)
[9.408267] snd_hda_intel :00:1b.0: enabling device (0100 -> 0102)
[9.443559] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC221:
line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[9.443561] snd_hda_codec_realtek hdaudioC1D0:speaker_outs=1
(0x17/0x0/0x0/0x0/0x0)
[9.443562] snd_hda_codec_realtek hdaudioC1D0:hp_outs=1
(0x21/0x0/0x0/0x0/0x0)
[9.443563] snd_hda_codec_realtek hdaudioC1D0:mono: mono_out=0x0
[9.443563] snd_hda_codec_realtek hdaudioC1D0:inputs:
[9.443565] snd_hda_codec_realtek hdaudioC1D0:  Mic=0x1a
[9.443566] snd_hda_codec_realtek hdaudioC1D0:  Line=0x1b
[9.449006] snd_hda_intel :00:03.0: bound :00:02.0 (ops
i915_audio_component_bind_ops [i915])
[9.449006] Console: switching to colour frame buffer device 128x48
[9.466746] i915 :00:02.0: fb0: inteldrmfb frame buffer device
[9.467834] input: HDA Intel HDMI HDMI/DP,pcm=3 as
/devices/pci:00/:00:03.0/sound/card0/input10
[9.467851] input: HDA Intel HDMI HDMI/DP,pcm=7 as
/devices/pci:00/:00:03.0/sound/card0/input11
[9.467868] input: HDA Intel HDMI HDMI/DP,pcm=8 as
/devices/pci:00/:00:03.0/sound/card0/input12
[9.467883] input: HDA Intel HDMI HDMI/DP,pcm=9 as
/devices/pci:00/:00:03.0/sound/card0/input13
[9.467901] input: HDA Intel HDMI HDMI/DP,pcm=10 as
/devices/pci:00/:00:03.0/sound/card0/input14
[9.492591] input: HDA Intel PCH Mic as
/devices/pci:00/:00:1b.0/sound/card1/input15
[9.492606] input: HDA