I will build a small pc for emulation, and will connect it to a sony bvm display that support only few resolution (1080i, 720p, 480p, 480i, 240p). It will be connected with a hdmi to vga dac, so i don’t know what EDID info it will give, most likely nothing right. So i think my best bet is to only use a few modeline compatible with this monitor, and only these modeline, i cannot really keep the preset one.
I try to understand how this is working in manjaro mate. After some experimentation i realize this :
- A xorg.conf.d/10-monitor.conf is not working. If something is added to this file it is loaded when x start but then it’s probably overwrite by a script.
- I check the lightdm.conf file and it seems to start a Xsession script, that itself start several other scripts.
- From my understanding if i want custom resolution i need to use xrandr to add the modeline i want. The Xsession script is looking inside the /etc/X11/xinit/xinitrc.d/ for custom scripts.
So i add one with the custom xrandr command, then restart.
Strangely the modeline was added successfully, so --newmode and --addmode are working, but the resolution set do not, it starts at the maximum resolution.
And even if this is working it won’t change the fact i will need to delete the preset modeline to only use my own.
I also tried to see if i can create a custom edid.bin with resolution i wanted, but the program to do it do not working at all (GitHub - akatrevorjay/edid-generator: Hackerswork to generate an EDID blob from given Xorg Modelines, complete with valid checksum.).