LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2019, 08:00 PM   #1
AveryCatestheTewwible`
LQ Newbie
 
Registered: Jul 2019
Posts: 1

Rep: Reputation: Disabled
Trying to get "2560x1440" on monitor/ edid incorrect


Hello, I'm trying to get a 2560x1440 using my 55in lg tv as a monitor but my linux mint system isn't detecting the correct edid. Its detecting a 72 inch tv which obviously isn't correct. After 2 days of research nothing worked. Any help would be greatly appreciated.
Xrandr:
Code:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00 +  59.94    50.00    29.97    25.00    23.98  
   4096x2160     59.94    50.00    29.97    25.00    24.00    23.98  
   1920x1080    119.88   100.00    60.00*   59.94    50.00    29.97    25.00    23.98    60.00    50.04  
   1360x768      60.02  
   1280x1024     60.02  
   1280x720      59.94    50.00  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.95    59.94    59.93  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
Code:
cvt 2560 1440
Code:
# 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz
Modeline "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
Code:
xrandr --newmode "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
Code:
xrandr --addmode HDMI-0 "2560x1440_60.00"
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  43
  Current serial number in output stream:  44
xrandr then looks like this:
Code:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00 +  59.94    50.00    29.97    25.00    23.98  
   4096x2160     59.94    50.00    29.97    25.00    24.00    23.98  
   1920x1080    119.88   100.00    60.00*   59.94    50.00    29.97    25.00    23.98    60.00    50.04  
   1360x768      60.02  
   1280x1024     60.02  
   1280x720      59.94    50.00  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.95    59.94    59.93  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
  2560x1440_60.00 (0x22d) 312.250MHz -HSync +VSync
        h: width  2560 start 2752 end 3024 total 3488 skew    0 clock  89.52KHz
        v: height 1440 start 1443 end 1448 total 1493           clock  59.96Hz
Trying read edid:
Code:
sudo get-edid | parse-edid
Code:
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
No EDID on bus 8
No EDID on bus 9
No EDID on bus 10
2 potential busses found: 0 7
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
Bus 0 doesn't really have an EDID...
256-byte EDID successfully retrieved from i2c bus 7
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
	Identifier "LG TV"
	ModelName "LG TV"
	VendorName "GSM"
	# Monitor Manufactured week 1 of 2018
	# EDID version 1.3
	# Digital Display
	DisplaySize 1600 900
	Gamma 2.20
	Option "DPMS" "false"
	Horizsync 30-136
	VertRefresh 58-121
	# Maximum pixel clock is 600MHz
	#Not giving standard mode: 640x480, 60Hz
	#Not giving standard mode: 800x600, 60Hz
	#Not giving standard mode: 1024x768, 60Hz
	#Not giving standard mode: 1152x864, 60Hz
	#Not giving standard mode: 1280x1024, 60Hz

	#Extension block found. Parsing...
#WARNING: I may have missed a mode (CEA mode 97)
#DOUBLE WARNING: It's your first mode, too, so this may actually be important.
#WARNING: I may have missed a mode (CEA mode 96)
#DOUBLE WARNING: It's your first mode, too, so this may actually be important.
#WARNING: I may have missed a mode (CEA mode 102)
#WARNING: I may have missed a mode (CEA mode 101)
#WARNING: I may have missed a mode (CEA mode 93)
#WARNING: I may have missed a mode (CEA mode 94)
#WARNING: I may have missed a mode (CEA mode 95)
#WARNING: I may have missed a mode (CEA mode 98)
#WARNING: I may have missed a mode (CEA mode 99)
#WARNING: I may have missed a mode (CEA mode 100)
#WARNING: I may have missed a mode (CEA mode 63)
#WARNING: I may have missed a mode (CEA mode 64)
Segmentation fault (core dumped)
Installing nouveau drivers on my nvidia card change the hdmi from HDMI-0 to HDMI-1 and I was able to add a 2560x1440 mode but all I got was an invalid format screen.

Code:
System:    Host: batman0-AX370-Gaming-5 Kernel: 4.15.0-54-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
           Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:   Type: Desktop Mobo: Gigabyte model: AX370-Gaming 5 serial: <filter> UEFI [Legacy]: American Megatrends v: F21 
           date: 02/08/2018 
CPU:       Topology: 6-Core model: AMD Ryzen 5 2600X bits: 64 type: MT MCP arch: Zen+ rev: 2 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 86244 
           Speed: 1888 MHz min/max: 2200/3600 MHz Core speeds (MHz): 1: 1890 2: 2193 3: 1971 4: 2189 5: 2118 6: 2040 7: 1886 
           8: 2041 9: 2195 10: 2153 11: 1887 12: 2035 
Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1080] vendor: Gigabyte driver: nvidia v: 430.26 bus ID: 07:00.0 
           Display: x11 server: X.Org 1.19.6 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa tty: N/A 
           OpenGL: renderer: GeForce GTX 1080/PCIe/SSE2 v: 4.6.0 NVIDIA 430.26 direct render: Yes 
Audio:     Device-1: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 07:00.1 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           bus ID: 09:00.3 
           Sound Server: ALSA v: k4.15.0-54-generic 
Network:   Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: 5.4.0-k port: e000 bus ID: 04:00.0 
           IF: enp4s0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Gigabyte driver: alx v: kernel port: d000 
           bus ID: 05:00.0 
           IF: enp5s0 state: down mac: <filter> 
           Device-3: Linksys AE1200 802.11bgn Wireless Adapter [Broadcom BCM43235] type: USB driver: brcmfmac bus ID: 1-13:4 
           IF: wlxc05627c597b0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.82 TiB used: 208.13 GiB (11.2%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST1000DM003-1CH162 size: 931.51 GiB 
           ID-3: /dev/sdc vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
Partition: ID-1: / size: 457.45 GiB used: 208.13 GiB (45.5%) fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 60.1 C mobo: N/A gpu: nvidia temp: 53 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 25% 
Info:      Processes: 279 Uptime: 34m Memory: 15.68 GiB used: 1.56 GiB (10.0%) Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 
           Shell: bash v: 4.4.19 inxi: 3.0.27
 
Old 07-09-2019, 02:12 AM   #2
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,789

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
Quote:
Originally Posted by AveryCatestheTewwible` View Post
Code:
Section "Monitor"
	Identifier "LG TV"
	ModelName "LG TV"
	VendorName "GSM"
	# Monitor Manufactured week 1 of 2018
	# EDID version 1.3
	# Digital Display
	DisplaySize 1600 900
At times like this it really hurts I forgot to save the specs on my 43" LG 3840x2160 before returning it to vendor. I cannot recall whether 2560x1440 was a supported mode. I do remember it had surprisingly few modes available.

Quote:
Installing nouveau drivers on my nvidia card change the hdmi from HDMI-0 to HDMI-1 and I was able to add a 2560x1440 mode but all I got was an invalid format screen.
Just to be clear, the change was from NVidia's proprietary X drivers to Mint's xserver-xorg-video-nouveau FOSS DDX driver, right? Did you try the other FOSS DDX, modesetting? It's actually newer technology than the nouveau DDX. Modesetting is the only DDX I use with all my PCIe NVidia GPUs. To use it, simply have the NVidia and Nouveau DDX purged. It's actually the default DDX, provided by the server, and used in conjunction with the kernel's nouveau driver in same manner as the nouveau DDX.

Code:
# get-edid | read-edid
Section "Monitor"
	Identifier "K272HUL"
	ModelName "K272HUL"
	VendorName "ACR"
	# Monitor Manufactured week 41 of 2018
	# EDID version 1.4
	# Digital Display
	DisplaySize 600 340
	Gamma 2.20
	Option "DPMS" "true"
	Horizsync 113-113
	VertRefresh 40-75
	# Maximum pixel clock is 300MHz
...
	#Extension block found. Parsing...
	Modeline 	"Mode 12" 298.47 2560 2583 2615 2670 1440 1478 1486 1492 +hsync -vsync 
	Modeline 	"Mode 0" 241.50 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -vsync 
...
	Option "PreferredMode" "Mode 12"
EndSection
# inxi -GxxS
System:    Host: ab250 Kernel: 4.15.0-20-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.10 wm: muffin 
           dm: LightDM Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Graphics:  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5912 
           Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 2560x1440~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2) v: 4.5 Mesa 18.2.8 compat-v: 3.0 
           direct render: Yes 
# xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
DP-2 disconnected (normal left inverted right x axis y axis)
DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440     59.95*+  74.92  
   1920x1440     75.00  
...
   720x400       70.08  
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
Whether the above data could be of any use I don't know, but maybe the ModeLines would be worth trying instead of your CVT ModeLine. Note the HorizSync value from EDID is obviously invalid. Also note this is using Intel rather than NVidia, as that's all my only Linuxmint 19.1 installation has.

If you haven't already, do like I do with problematic EDID by using a minimalist xorg.conf file - no ModeLines, only HorizSync, VertRefresh and PreferredMode:
Code:
Section "Device"
    Identifier	"DefaultDevice"
	Driver		"modesetting"
EndSection
Section "Monitor"
    Identifier	"DefaultMonitor"
	HorizSync	30-136
	VertRefresh	58-121
	Option		"PreferredMode" "2560x1440"
EndSection
Section "Screen"
    Identifier	"DefaultScreen"
	Device		"DefaultDevice"
	Monitor		"DefaultMonitor"
EndSection
This is designed for the modesetting DDX - substitute nouveau for modesetting if desired. Whether it could work with an NVidia non-FOSS driver I can no more than speculate that it should with a correct spelling of the driver name. None of my PCs have ever had NVidia's closed-source software installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] How to Increase display resolution to 2560x1440 mfoley Linux - Hardware 15 10-22-2018 12:19 AM
No EDID from the monitor with a DVI-I to VGA converter connected to monitor deepclutch Linux - Hardware 6 10-24-2015 09:01 AM
[SOLVED] Assuring that the ASUS PB278Q Monitor Can Operate at 2560x1440 Resolution Steve R. Linux - Hardware 18 08-30-2013 07:09 AM
No signal from Apple TV to DVI Monitor (Xorg does not get EDID information) langelgjm Linux - Hardware 1 03-29-2011 06:06 AM
Incorrect resolution on external monitor w/ custom EDID (Fedora 13, GeForce GT 330M) ESC201 Linux - Software 0 08-03-2010 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration