LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-19-2015, 08:17 AM   #1
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
Post No EDID from the monitor with a DVI-I to VGA converter connected to monitor


Hi,
I am using LMDE 2 with a Nvidia Geforce 7300GT Dual DVI graphics card. Recently I bought a Dell E1914H 18.5" monitor which has only VGA input and supports a maximum resolution of 1366x768@60Hz. The problem is that monitor does not report EDID data. I booted a LMDE live cd with nouveau driver and it showed edid data (possibly corrupted?) and modeline in Xorg.0.log. I copied it and presently my /etc/X11/xorg.conf.do/20-nvidia.conf is below:
Code:
Section "Screen"
    Identifier     "Screen0"
    Device         "Nvidia 7300GT"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "UseEdidDpi" "FALSE"
    Option "ModeDebug" "true"
    Option "ExactModeTimingsDVI" "true"
    Option         "ModeValidation" "NoWidthAlignmentCheck, NoDFPNativeResolutionCheck"
#    Option "ModeValidation"    "AllowInterlacecModes, NoTotalSizeCheck,AllowNon60HzDFPModes,NoEdidMaxPClkCheck,NoVertRefreshCheck,NoHorizSyncCheck,NoDFPNativeResolutionCheck,NoVesaModes,NoEdidModes,NoXServerModes,NoPredefinedModes,NoMaxSizeCheck,NoVirtualSizeCheck,NoMaxPclkCheck,NoVertRefreshCheck"
    Option "UseEDID" "False"
    Option         "TwinView" "0"
    SubSection     "Display"
        Depth       24
        Modes   "1366x768"
    EndSubSection
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Dell"
    ModelName      "Dell E1914H"
    HorizSync      30.0 - 83
    VertRefresh    56 - 75 
    DisplaySize    409.8  230.4
Modeline "1366x768"   85.50  1366 1436 1579 1792  768 771 774 798 +Hsync +Vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier "Nvidia 7300GT"
    Driver "nvidia"
EndSection

I ran xrandr and it is showing below output. It seems the modeline may not be exactly correct. X is looking for too many moderanges.
Code:
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 4096 x 4096
DVI-I-0 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      75.03 +  70.07    60.00  
   1920x1200     59.95  
   1920x1080     59.93  
   1792x1344     60.01  
   1680x1050     74.89    69.88    59.95    59.88  
   1600x1200     65.00    60.00  
   1600x1024     60.17  
   1440x900      59.89  
   1400x1050     74.76    70.00    59.98  
   1366x768      59.79* 
   1360x768      59.96    59.80  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00    75.00    70.00    60.00  
   960x600       60.00  
   960x540       59.99  
   896x672       60.01  
   840x525       74.96    69.88    60.01    59.88  
   832x624       74.55  
   800x600       65.00    60.00    75.00    72.19    60.32    56.25  
   800x512       60.17  
   720x450       59.89  
   700x525       74.76    70.06    59.98  
   680x384       59.96    59.80  
   640x512       75.02    60.02  
   640x480       60.00    75.00    72.81    59.94  
   576x432       75.00    75.00    70.00    60.06  
   512x384       75.03    70.07    60.00  
   416x312       74.66  
   400x300       75.12    72.19    60.32    56.34  
   320x240       75.00    72.81    60.05

You can see that the input is identified as from DVI-I while the monitor is clearly a VGA monitor. I would want to see EDID data loaded and the problem of flickering black and white vertical line at the right hand side of the screen resolved.
Is the VGA cable, DVI-I to VGA converter or any other physical component may have the problem OR is there a way to get the monitor automatically configured by Xorg for correct resolution and mode ranges?
I am attaching the edid data of the monitor. The checksum is showing some error.
Also:
Code:
sudo get-edid |parse-edid
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
    Function supported
    Call successful

    VBE version 300
    VBE string at 0x11100 "NVIDIA"

VBE/DDC service about to be called
    Report DDC capabilities

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
    Function supported
    Call successful

    Monitor and video card combination does not support DDC1 transfers
    Monitor and video card combination supports DDC2 transfers
    0 seconds per 128 byte EDID block transfer
    Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
    Read EDID

    Performing real mode VBE call
    Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
    Function supported
    Call failed

The EDID data should not be trusted as the VBE call failed
EDID claims 255 more blocks left
EDID blocks left is wrong.
Your EDID is probably invalid.
Looks like VBE was successful. Have a good day.
You seem to have too many extension blocks. Will not continue to parse
Something strange happened. Please contact the author,
Matthew Kern at <pyrophobicman@gmail.com>
 
Old 10-19-2015, 08:20 AM   #2
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Also, edid-decode reports below information from a edid dump I've taken after booting a live cd with nouveau driver:
Code:
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   10 ac 3a d0 42 41 59 34 11 19
version:         01 03
basic params:    0e 29 17 78 ea
chroma info:     2c c5 a4 56 50 a1 28 0f 50 54
established:     a5 4b 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    66 21 56 aa 51 00 1e 30 46 8f 33 00 9a e6 10 00 00 1e
descriptor 2:    00 00 00 ff 00 36 35 37 50 4e 35 34 4c 34 59 41 42 0a
descriptor 3:    00 00 00 fc 00 44 45 4c 4c 20 45 31 39 31 34 48 0a 20
descriptor 4:    00 00 00 fd 00 38 4b 1e 53 09 00 0a 20 20 20 20 20 20
extensions:      00
checksum:        2a

Manufacturer: DEL Model d03a Serial Number 
Made week 17 of 2015
EDID version: 1.3
Analog display, Input voltage level: 0.7/0.3 V
Sync: Separate Composite SyncOnGreen 
Maximum image size: 41 cm x 23 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
RGB color display
First detailed timing is preferred timing
Established timings supported:
  720x400@70Hz
  640x480@60Hz
  640x480@75Hz
  800x600@60Hz
  800x600@75Hz
  1024x768@60Hz
  1024x768@75Hz
  1280x1024@75Hz
Standard timings supported:
Detailed mode: Clock 85.500 MHz, 410 mm x 230 mm
               1366 1436 1579 1792 hborder 0
                768  771  774  798 vborder 0
               +hsync +vsync 
Serial number: 657PN54L4YAB
Monitor name: DELL
Monitor ranges (GTF): 56-75Hz V, 30-83kHz H, max dotclock 90MHz
Checksum: 0x2a (valid)
EDID block does NOT conform to EDID 1.3!
	Detailed block string not properly terminated
I will want to know if this edid data is correct, then adding this as custom edid in xorg.conf to point the monitor to the correct resolution.

So, I removed the xorg.conf lines and let the edid of the monitor to load. This time edid is available and the resolution is converted into 1368x768 instead of 1366x768! This causes some straining/fussy display especially fonts. I know, earlier nvidia drivers only allowed display resolution as multiples of 8 that can be the reason why 1368x768 is forced.
Is there a way to force 1366x768 with nvidia driver?

Last edited by deepclutch; 10-19-2015 at 08:32 AM.
 
Old 10-21-2015, 04:59 PM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
My previous monitor (straight VGA) never did report a proper EDID, and would boot to 1024x768, whereas the monitor's true resolution was 1680x1050. . I used gtf to get a Modeline for it (1680x1050 @ 60 Hz in the example below)
Code:
~$ gtf 1680 1050 60

  # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
  Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
then just inserted that modeline into either a custom /etc/X11/xorg.conf file or a partial xorg.conf file in /etc/X11/xorg.conf.d
 
Old 10-22-2015, 04:21 AM   #4
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

Quote:
Originally Posted by RockDoctor View Post
My previous monitor (straight VGA) never did report a proper EDID, and would boot to 1024x768, whereas the monitor's true resolution was 1680x1050. . I used gtf to get a Modeline for it (1680x1050 @ 60 Hz in the example below)
Code:
~$ gtf 1680 1050 60

  # 1680x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 147.14 MHz
  Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync
then just inserted that modeline into either a custom /etc/X11/xorg.conf file or a partial xorg.conf file in /etc/X11/xorg.conf.d
Here, monitor reports EDID, just that I remembered EDID was disabled through xorg.conf arguement. And, I can get the monitor to work at 1366x768 after some custom options in xorg.conf. The problem is, on the RHS side, some pixelated area/tint shows up! with 1368x768 resolution, this disappears.

but Nvidia driver or Xorg forces a resolution of 1368x768 instead of 1366x768 resolution stretching 2 pixels horizontally affecting font clarity and all. I have had already used gtf/cvt and what they threw out is a multiple of 8 (nvidia driver needs resolution to be a multiple of 8 while the new driver can support unconventional resolutions).

See:
Code:
 ~ $ cvt 1366 768 59.8
# 1368x768 59.71 Hz (CVT) hsync: 47.65 kHz; pclk: 85.00 MHz
Modeline "1368x768_59.80"   85.00  1368 1440 1576 1784  768 771 781 798 -hsync +vsync

~ $ gtf 1366 768 59.8

  # 1368x768 @ 59.80 Hz (GTF) hsync: 47.54 kHz; pclk: 85.57 MHz
  Modeline "1368x768_59.80"  85.57  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
The real modeline as reported from EDID is:
Code:
Modeline "1366x768"   85.50  1366 1436 1579 1792  768 771 774 798 +Hsync +Vsync
 
Old 10-22-2015, 05:22 AM   #5
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Interesting. Even on my Samsung laptop (1366x768; Intel 3000 graphics) both cvt and gft return 1368x768 when fed a resolution of 1366x768. You may just have to play around with the timing parameters to see if there's a configuration that gives both clean fonts and no color fringing.
 
Old 10-23-2015, 12:21 PM   #6
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773

Original Poster
Blog Entries: 1

Rep: Reputation: 34
Post

Quote:
Originally Posted by RockDoctor View Post
Interesting. Even on my Samsung laptop (1366x768; Intel 3000 graphics) both cvt and gft return 1368x768 when fed a resolution of 1366x768. You may just have to play around with the timing parameters to see if there's a configuration that gives both clean fonts and no color fringing.
Unfortunately, I am totally confused regarding changing timing parameters. IINM, Vertical timing may be what needs to be adjusted? Please see a snap I managed to take from my phone when I was running the display as 1366x768 without EDID and custom modeline. (sorry for the bad quality image). Look at the RHS side.
Attached Thumbnails
Click image for larger version

Name:	IMG_20151019_224526.resized.jpg
Views:	51
Size:	253.9 KB
ID:	19846  

Last edited by deepclutch; 10-23-2015 at 12:26 PM.
 
Old 10-24-2015, 09:01 AM   #7
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Whenever I've tweaked any of the timing parameters, it's been by trial and error.
 
  


Reply

Tags
dviconfiguration, edid, vga



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
Ubuntu duel monitor (dvi + vga) tegdk Linux - Newbie 2 07-01-2012 07:15 AM
[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
No signal from Apple TV to DVI Monitor (Xorg does not get EDID information) langelgjm Linux - Hardware 1 03-29-2011 06:06 AM
switch between DVI and VGA on monitor linuxhippy Linux - General 3 02-13-2010 12:07 PM
change of monitor from VGA to DVI peternielsen5 Linux - Newbie 2 03-04-2008 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:34 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
Open Source Consulting | Domain Registration