I'm trying to use this monitor Acer XB270H, with my Ubuntu laptop, but it is not recognized, appears cropped with incorrect resolution.
Note: I first was using the docking station with the monitor DP cable, and bought a mini DP to DP cable to be able to plug directly the computer to the monitor instead : but no change, it was not a hardware problem.
I tried to force a new configuration with xrandr
:
cvt 1920 1080
:
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode DP1 "1920x1080_60.00"
Here what shows up :
gsd-color[2315]: unable to get EDID for xrandr-DP1: unable to get EDID for output
So, following command turns the second monitor black showing 'no signal'
:
xrandr --output DP1 --mode 1920x1080_60.00
SPECS
Linux 4.18.0-13-generic #14-Ubuntu SMP x86_64 GNU/Linux
lspci -v | grep VGA
:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])```
inxi -Gxx
:
Graphics: Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel bus ID: 00:02.0
chip ID: 8086:0166
Display: x11 server: X.Org 1.20.1 driver: i915 compositor: gnome-shell
resolution: 1366x768~60Hz, 1024x768~60Hz
OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.2.2 compat-v: 3.0
direct render: Yes
UPDATE :
I'm now trying to use a xorg.conf
file as proposed.
To get the EDID I could not use read-edid
, parse-edid
: /sys/class/drm/card0-DP1/edid : Partial Read... Try again...
, and could not find it on Internet.
I finally managed to get the EDID (256-bits) file from Windows with moninfo.exe
tool :
ls -al /etc/X11/edid.bin
-rwxr----- 1 root root 256 Feb 3 14:00 /etc/X11/edid.bin
I tried to follow some Xorg guides, but this error came up too many times :
gsd-color[2995]: failed to get edid: unable to get EDID for output
I finally found the solution following the idea of to the answer below. I have to tell that I had a hard time to know what to specify in this xorg.conf
file to finally make it work.
Examples, guides and documentation are not very precise about what is mandatory, what is not and the right values.
- Problem 1: retrieve the Monitor EDID
- Solution : use Windows with
moninfo.exe
tool.
- Problem 2: configure a proper
xorg.conf
file - Solution : do not generate a complicated one, but just fill the necessary, with multiple tests... (i.e: xorg was crashing on moving certain program windows, or opening a second app...)
/etc/X11/xorg.conf :
Section "Monitor"
Identifier "MonitorLVDS1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "MonitorDP1"
VendorName "Acer"
ModelName "XB270H"
Option "Right Of" "MonitorLVDS1"
EndSection
Section "Device"
Identifier "Device0"
BusID "PCI:00:02:0"
Option "LVDS-1" "MonitorLVDS1"
Option "DP-1" "MonitorDP1"
Driver "intel"
Option "CustomEDID" "DP1:/etc/X11/edid.bin"
Option "UseEDID" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 3286 1200
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0"
EndSection
xorg.conf
? – Bussller Jan 28 '19 at 6:55