Custom EDID an xorg.conf

Kernels & Hardware, configuring network, installing services

Custom EDID an xorg.conf

Postby sailor757 » 2019-08-01 19:25

For Debian 10 I put an xorg.conf in /etc/X11 to load a custom EDID file. And worked beautifully the first time. Desktop at 1920x1080. Then I rebooted a second time and now I'm back to 1024x768 maximum resolution without having done any change at all except shutting down the machine and starting it again.

The EDID file is verified OK for this monitor and in use in another setup for this monitor.

How do I make Debian use the custom EDID again like it did an hour ago?

Here's my xorg.conf:

Code: Select all
Section "Monitor"
     Identifier "VGA Monitor"
EndSection

Section "Device"
Identifier "Configured Video Device"
    Driver "radeon"
    Option "CustomEDID" "VGA-0:/etc/X11/s27c350h.bin"
    Option "IgnoreEDID" "false"
    Option "UseEDID" "true"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Monitor "VGA Monitor"
    Device "Configured Video Device"
EndSection



Card is Radeon HD 5450
sailor757
 
Posts: 3
Joined: 2019-08-01 19:20

Re: Custom EDID an xorg.conf

Postby ruwolf » 2019-08-01 19:41

Loot at log, it is probably somewhere like /var/log/Xorg.0.log
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: Custom EDID an xorg.conf

Postby sailor757 » 2019-08-01 20:36

There were two logs at /var/log/: Xorg.0.log and Xorg.1.log (why two)

I don't understand everything in the log, but it seems the EDID file never loaded. Anyway I got 1920x1080 right after using xorg.conf with custom edid. Once...

Here is the Xorg.0.log:
https://pastebin.com/vCbZ6LZ5

The Xorg.1.log:
https://pastebin.com/jXsc32vu
sailor757
 
Posts: 3
Joined: 2019-08-01 19:20

Re: Custom EDID an xorg.conf

Postby ruwolf » 2019-08-01 21:21

There are two log, because X was started more than one time (1 is older with different configuration, I think.)
In my opinion, this is relevant from log:
Code: Select all
(II) RADEON(0): Output HDMI-0 using monitor section VGA Monitor
(II) RADEON(0): Output DVI-0 has no monitor section
(II) RADEON(0): Output VGA-0 has no monitor section
(II) RADEON(0): EDID for output HDMI-0
(II) RADEON(0): EDID for output DVI-0
(II) RADEON(0): EDID for output VGA-0

(WW) RADEON(0): Option "CustomEDID" is not used
(WW) RADEON(0): Option "IgnoreEDID" is not used
(WW) RADEON(0): Option "UseEDID" is not used

I do not know why it is not used, I will try to find tomorow. :-)
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: Custom EDID an xorg.conf

Postby sailor757 » 2019-08-02 00:43

Thanks for helping. The Linux and AMD non-free firmware have been installed installed. Now, sometímes after a reboot there is 1920x1080 resolution. If I then go to var/log/ and check xorg log it has all the EDID info from the monitor. But I have a 20 meter long VGA cable to the monitor and sometimes the EDID cannot be read because of that. (Picture is perfect though) Then the resolution goes back to 1024x768. I also want to use a custom EDID file because the computer tries to get this info from the screen many times per minute, and it causes flickering.

Here's the successful xorg log where the EDID was read correctly: https://pastebin.com/dZggufdi
sailor757
 
Posts: 3
Joined: 2019-08-01 19:20

Re: Custom EDID an xorg.conf

Postby sunrat » 2019-08-02 02:37

sailor757 wrote:But I have a 20 meter long VGA cable...


This may be your problem. The longer the cable, the lower the resolution it supports.
We had a similar problem at work and solved it by using HDMI over CAT extenders. Everyone has HDMI these days. :)
You can get similar extenders for VGA.
https://www.cablechick.com.au/cables/vg ... balun.html
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2920
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Custom EDID an xorg.conf

Postby Head_on_a_Stick » 2019-08-02 14:18

If you use cvt(1) to generate a custom modeline[1] and set the modeline using an X.org configuration file[2] then you won't need the custom EDID file at all.
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10680
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to System configuration

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable