Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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
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.
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.
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?
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.