LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-25-2019, 02:22 AM   #1
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Rep: Reputation: Disabled
Question Different versions of display EDID


My problem is i can't get laptop monitor working with kernel 4.19.17, but still working with kernel 4.4.14.
When i see Xorg.log i find that there is different EDID versions, i the strange is that with newer kernel EDID version is lower.
Xorg.log with kernel version 4.19.17:
Quote:
[ 25.513] (II) NOUVEAU(0): EDID for output LVDS-1
[ 25.545] (II) NOUVEAU(0): EDID for output DP-1
[ 25.577] (II) NOUVEAU(0): EDID for output DP-2
[ 25.580] (II) NOUVEAU(0): EDID for output eDP-1
[ 25.664] (II) NOUVEAU(0): EDID for output DP-3
[ 25.664] (II) NOUVEAU(0): Manufacturer: HWP Model: a72 Serial#: 16843009
[ 25.664] (II) NOUVEAU(0): Year: 2006 Week: 12
[ 25.664] (II) NOUVEAU(0): EDID Version: 1.3
[ 25.664] (II) NOUVEAU(0): Digital Display Input
[ 25.664] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 41 vert.: 31
Xorg.log with kernel version 4.4.14:
Quote:
[ 19.693] (II) NOUVEAU(0): EDID for output LVDS-1
[ 19.725] (II) NOUVEAU(0): EDID for output DP-1
[ 19.757] (II) NOUVEAU(0): EDID for output DP-2
[ 19.763] (II) NOUVEAU(0): EDID for output eDP-1
[ 19.763] (II) NOUVEAU(0): Manufacturer: LGD Model: 220 Serial#: 0
[ 19.763] (II) NOUVEAU(0): Year: 2009 Week: 0
[ 19.763] (II) NOUVEAU(0): EDID Version: 1.4
[ 19.763] (II) NOUVEAU(0): Digital Display Input
[ 19.763] (II) NOUVEAU(0): 10 bits per channel
[ 19.763] (II) NOUVEAU(0): Digital interface is undefined
[ 19.763] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 35 vert.: 19
When i boot with kernel 4.19.17 i get message:
18.956416 nouveau 0000:01:00.0: DRM: DDC responded, but no edid for eDP-1
This is before startx, i try with different xorg.conf parameters but not solved the problem. I also try with different kernel parameters in Lilo, but not solved the problem.

My question is where is this EDID file and can i copy the file with new version to older one?
 
Old 01-26-2019, 09:09 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
The EDID you show is from different connectors, so would be expected to be different as coming from different displays. The first is from an external (DisplayPort DP-3) connection, while the latter is from the laptop's display (eDP-1)

The NOUVEAU(0) you see reported in Xorg.0.log is the old technology X/DDX driver, which is not the same thing as the nouveau driver in the kernel. If you switch to the new technology X/DDX driver you may find the problem you are experiencing to disappear. Simplest way to make the switch is to remove the old tech driver, then restart X or reboot. Upstream's name for it is xf86-video-nouveau, but your distribution may have another name for it, possibly xserver-xorg-video-nouveau or xorg-x11-drv-nouveau. The new tech DDX driver name is modesetting. It is not provided by a separate package. Instead it is included with the server package since 1.17.0.

With kernels new as 4.4 you should have an X server (1.17.0 or newer) that has no need for xorg.conf in order for FOSS DDX drivers to function correctly. It is opposite if using non-FOSS X drivers, such as those from NVidia. If switching from a proprietary driver to a FOSS DDX driver you must follow the proprietary driver's uninstallation instructions exactly, lest you encounter problems such as that you are reporting here. With FOSS DDS, xorg.conf* is optional and unusually needed.

Last edited by mrmazda; 01-26-2019 at 09:28 PM.
 
Old 01-28-2019, 05:05 AM   #3
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Ok, i remove nouveau driver from xorg.conf and set modesetting.
I have installed xf86-video-nouveau-1.0.15-x86_64-3 and xorg-server-1.20.3-x86_64-1
But nothing changed with modesetting driver, X start but no EDID for eDP-1 /my laptop screen/ and i can't activate it from dysplay and monitor settings or terminal. Everithing is the same as i use nouveau driver.
I try to blacklist nouveau, but after that with "modesetting" driver can't start X.
Shoud i recompile kernel without nouveau support?

Last edited by KorialStrasZ; 01-28-2019 at 05:06 AM.
 
Old 01-28-2019, 08:22 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Please share output from
Code:
inxi -GxxSM
and entire Xorg.0.log from using the modesetting driver.
 
Old 01-28-2019, 11:15 AM   #5
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
bash-5.0# inxi -GxxSM
System: Host: KorialStrasZ.korialstrasz.org Kernel: 4.19.18 x86_64 bits: 64 compiler: gcc v: 8.2.0
Desktop: KDE 4.14.38 tk: Qt 4.8.7 wm: kwin dm: startx Distro: Slackware 14.2
Machine: Type: Laptop System: Hewlett-Packard product: HP EliteBook 8570w v: A1029D1102 serial: 5CB24826G2
Chassis: type: 10 serial: 5CB24826G2
Mobo: Hewlett-Packard model: 176B v: KBC Version 50.1F serial: PCZUTA57V3P1L6 BIOS: Hewlett-Packard
v: 68IAV Ver. F.65 date: 04/18/2017
Graphics: Card-1: NVIDIA GK107GLM [Quadro K1000M] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:0ffc
Display: server: X.Org 1.20.3 driver: modesetting alternate: nvidia resolution: 1600x1200~60Hz
OpenGL: renderer: N/A v: N/A direct render: N/A
Xorg.0.log
 
Old 01-28-2019, 12:23 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by KorialStrasZ View Post
Code:
bash-5.0# inxi -GxxSM
System: Host: KorialStrasZ.korialstrasz.org Kernel: 4.19.18 x86_64 bits: 64 compiler: gcc v: 8.2.0
Desktop: KDE 4.14.38 tk: Qt 4.8.7 wm: kwin dm: startx Distro: Slackware 14.2
Machine: Type: Laptop System: Hewlett-Packard product: HP EliteBook 8570w v: A1029D1102 serial: 5CB24826G2
Chassis: type: 10 serial: 5CB24826G2
Mobo: Hewlett-Packard model: 176B v: KBC Version 50.1F serial: PCZUTA57V3P1L6 BIOS: Hewlett-Packard
v: 68IAV Ver. F.65 date: 04/18/2017
Graphics: Card-1: NVIDIA GK107GLM [Quadro K1000M] driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:0ffc
Display: server: X.Org 1.20.3 driver: modesetting alternate: nvidia resolution: 1600x1200~60Hz
OpenGL: renderer: N/A v: N/A direct render: N/A
What does
Code:
xrandr --listproviders
report?

Does it help to boot with video=eDP-1:e appended to kernel cmdline?
 
Old 01-28-2019, 12:34 PM   #7
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
bash-5.0$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:modesetting
video=eDP-1:e to kernel parameters enable the eDP-1 and its says "connected" in logs, but i can't activate and always stays blank, and in System settings -> hardware -> display and monitor -> size and orientation i see section "Size" in white but inside is only "disabled" choice and no resolution. I try to load the EDID of laptop screen but somehow linux load this edit to DP-3 /my external monitor/
Quote:
drm.edid_firmware=edid/8570w.bin
Xorg.log
Quote:
43.446] (II) modeset(0): EDID for output LVDS-1
[ 43.478] (II) modeset(0): EDID for output DP-1
[ 43.510] (II) modeset(0): EDID for output DP-2
[ 43.513] (II) modeset(0): EDID for output eDP-1
[ 43.545] (II) modeset(0): EDID for output DP-3
[ 43.545] (II) modeset(0): Manufacturer: LGD Model: 220 Serial#: 0
[ 43.545] (II) modeset(0): Year: 2009 Week: 0
[ 43.545] (II) modeset(0): EDID Version: 1.4
[ 43.545] (II) modeset(0): Digital Display Input
[ 43.545] (II) modeset(0): 10 bits per channel
[ 43.545] (II) modeset(0): Digital interface is undefined
[ 43.545] (II) modeset(0): Max Image Size [cm]: horiz.: 35 vert.: 19
[ 43.545] (II) modeset(0): Gamma: 2.20
[ 43.545] (II) modeset(0): No DPMS capabilities specified
I try to say to load edit exactly to eDP-1 by this:
Quote:
drm.edid_firmware=eDP-1:edid/8570w.bin
But this way is not working, and again in logs is no EDID for eDP-1
 
Old 01-28-2019, 12:36 PM   #8
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Report of Xorg.log is there just like a hyperlink under inxi -GxxSM
https://www.linuxquestions.org/quest...1&d=1548695693
 
Old 01-28-2019, 02:15 PM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by KorialStrasZ View Post
Code:
bash-5.0$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x49 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 6 associated providers: 0 name:modesetting
I expected more lines from output, like so:
Code:
> xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x47; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 3; outputs: 5; associated providers: 0; name: modesetting
    output DP-1
    output HDMI-1
    output HDMI-2
    output HDMI-3
    output DP-2
Quote:
I try to load the EDID of laptop screen but somehow linux load this edit to DP-3 /my external monitor/
Software does not always label hardware as we expect:
Code:
# xrandr
Screen 0: minimum 320 x 200, current 2560 x 3720, maximum 8192 x 8192
DP-1 connected primary 2560x1440+0+2280 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440     59.95*+  74.92  
   1920x1440     75.00...
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 connected 1920x1080+0+1200 (normal left inverted right x axis y axis) 673mm x 284mm
   1920x1080     60.00* 
   1680x1050     59.88...
DP-2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00...

## Xorg.0.log
...
X.Org X Server 1.20.3
...
[   869.594] Current Operating System: Linux ab250 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64
...
[   869.665] (II) modeset(0): Output DP-1 has no monitor section
[   869.669] (II) modeset(0): Output HDMI-1 has no monitor section
[   869.673] (II) modeset(0): Output HDMI-2 has no monitor section
[   869.687] (II) modeset(0): Output HDMI-3 has no monitor section
[   869.699] (II) modeset(0): Output DP-2 has no monitor section
[   869.717] (II) modeset(0): EDID for output DP-1
[   869.717] (II) modeset(0): Manufacturer: ACR  Model: 524  Serial#: nnnnnnnn
[   869.717] (II) modeset(0): Year: 2018  Week: 41
...
[   869.722] (II) modeset(0): EDID for output HDMI-1
[   869.725] (II) modeset(0): EDID for output HDMI-2
[   869.739] (II) modeset(0): EDID for output HDMI-3
[   869.739] (II) modeset(0): Manufacturer: DEL  Model: 4089  Serial#: nnnnnnnn
[   869.739] (II) modeset(0): Year: 2016  Week: 25
...
[   869.752] (II) modeset(0): EDID for output DP-2
[   869.752] (II) modeset(0): Manufacturer: NEC  Model: 6863  Serial#: nnnnnnnn
[   869.752] (II) modeset(0): Year: 2011  Week: 48
...
[   869.753] (II) modeset(0): Output DP-1 connected		# DisplayPort cable
[   869.753] (II) modeset(0): Output HDMI-1 disconnected
[   869.753] (II) modeset(0): Output HDMI-2 disconnected
[   869.753] (II) modeset(0): Output HDMI-3 connected		# DVI-I cable
[   869.753] (II) modeset(0): Output DP-2 connected		# VGA cable
If I use HDMI cable instead of VGA cable for the NEC display, then the mislabeling attaches to HDMI instead of VGA:
Code:
HDMI-2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    59.94...
DP-2 disconnected (normal left inverted right x axis y axis)

[    19.747] (II) modeset(0): EDID for output HDMI-2
[    19.747] (II) modeset(0): Manufacturer: NEC  Model: 6866  Serial#: 16843009
[    19.747] (II) modeset(0): Year: 2011  Week: 48
...
[    19.762] (II) modeset(0): Output DP-1 connected		# DisplayPort cable
[    19.762] (II) modeset(0): Output HDMI-1 disconnected
[    19.762] (II) modeset(0): Output HDMI-2 connected		# HDMI cable
[    19.762] (II) modeset(0): Output HDMI-3 connected		# DVI-I cable
[    19.762] (II) modeset(0): Output DP-2 disconnected
I don't know if my info above can help you. Maybe it is time to report a regression bug to Slackware. Can you try a live distro with 4.19 or 4.20 kernel to see if it has the same problem? Maybe there is an upstream bug already known, either kernel or Xorg, and maybe fixed after 4.19.17.
 
Old 01-28-2019, 03:15 PM   #10
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
Software does not always label hardware as we expect:
I mean that EDID is going to DP-3, and only my external monitor is working again even with EDID from my notebook screen with 1920x1080, and my native resolution on my external monitor is 1600x1200.
And xrandr --listproviders gives me only this, no DP no VGA, nothing.
Quote:
Maybe there is an upstream bug already known, either kernel or Xorg, and maybe fixed after 4.19.17
No, now i'm with linux-4.19.18
I will try with live CD soon.
 
Old 01-28-2019, 04:03 PM   #11
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
EDID comes from a display. The EDID that Xorg.0.log is showing is coming from the only connected display that the server is finding. You see no EDID for the laptop display because the server thinks it is not connected:
Code:
[   171.452] (II) modeset(0): Output LVDS-1 disconnected
[   171.452] (II) modeset(0): Output DP-1 disconnected
[   171.452] (II) modeset(0): Output DP-2 disconnected
[   171.452] (II) modeset(0): Output eDP-1 disconnected
[   171.452] (II) modeset(0): Output DP-3 connected
[   171.452] (II) modeset(0): Output VGA-1 disconnected
Missing EDID is a symptom, not the disease. Why the internal display is not found needs to be corrected before its EDID will be reported. Maybe the newer kernel is responding differently to a BIOS setting than the old kernel did, and a BIOS change can be made to correct the mal-reported connection.

Something else to try would be a different cable type for the external display. Which connector on the display is being used for video input?
 
Old 01-29-2019, 12:12 AM   #12
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Quote:
The EDID that Xorg.0.log is showing is coming from the only connected display that the server is finding.
No i mean when i boot with kernel parameters to laptop screen EDID like this in Xorg.low which i upload here.
Quote:
drm.edid_firmware=edid/8570w.bin
So i start kernel with this EDID, but system is setting this EDID to only found connected monitor DP-3 /external/.
I hope when i give the right EDID system to enable the laptop screen, but not.
Quote:
Something else to try would be a different cable type for the external display. Which connector on the display is being used for video input?
My external monitor have only DVI. Monitor is HP LP2065. I connect monitor through docking station but that is not a problem because with older kernel everything works just fine. Now i will try with live linux and will report soon.
 
Old 01-29-2019, 12:40 AM   #13
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Ok, i run manjaro-kde-16.08-x86_64.iso
Its coming with kernel 4.4.19-1-MANJARO
Everything works just fine!
Here is Xorg.0.log
 
Old 01-29-2019, 12:55 AM   #14
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
BTW, when i remove my laptop from docking station and try to boot, the screen freeze on this line, but Caps lock and num lock is still functional.
Quote:
kernel: [ 7.882443] fb: switching to nouveaufb from VESA VGA
And if laptop is connected to docking station and external monitor, on this line laptop screen became blank and start external monitor, and laptop screen always stays blank. Before this line laptop screen is active and external monitor is blank.

Last edited by KorialStrasZ; 01-29-2019 at 01:12 AM. Reason: more info
 
Old 01-29-2019, 01:38 AM   #15
KorialStrasZ
LQ Newbie
 
Registered: Feb 2012
Distribution: Slackware Current
Posts: 25

Original Poster
Rep: Reputation: Disabled
Ooops, this kernel is not good kernel 4.4.19-1-MANJARO
I start with another Live distro.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Different version of EDID, blank screen RealUseR Linux - Kernel 3 01-26-2019 11:46 AM
[SOLVED] Different Linux versions within different Linux distributions? White Essence Linux - Newbie 8 02-04-2013 06:00 PM
[SOLVED] FC16 x86_64 - Radeon display connector DVI-D-1: No monitor connected or invalid EDID coolsg5636 Linux - Newbie 6 12-15-2011 10:45 AM
Different versions package from different user piccir Linux - Software 1 06-06-2010 03:45 AM
edid problem rustychait Linux - Hardware 2 02-01-2003 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration