Software Support > GroovyMAME
GroovyArcade live-CD 2022 (collaborative effort)
Substring:
Not specifying an output would probably force the EDID to all outputs, wihch seems a good option to me, instead of listing VGA-n/DVI-n. But this would probablykill setups having a second LCD monitor for usual config.
A dirty trick could be:
- find connected outputs
- if a connected output can't give an EDID, then it's probably the CRT one, so adapt grub with it.
But this requires at least 1 boot cycle.
Is switchres64 the old switchres standalone found at https://github.com/Ansa89/switchres ? If yes, I'll write a small PKGBUILD and have it compiled with GA.
Calamity:
--- Quote from: Substring on April 11, 2019, 02:03:29 pm ---Not specifying an output would probably force the EDID to all outputs, wihch seems a good option to me, instead of listing VGA-n/DVI-n. But this would probablykill setups having a second LCD monitor for usual config.
--- End quote ---
That's the exact issue I want to prevent. All my systems except my cabinet are dual-head these days, a decent system must allow you to choose the desired output.
--- Quote ---A dirty trick could be:
- find connected outputs
- if a connected output can't give an EDID, then it's probably the CRT one, so adapt grub with it.
But this requires at least 1 boot cycle.
--- End quote ---
That wouldn't work if you have a PC CRT monitor, because those have EDID. Here on the other desk I have a system with 2 heads, one PC CRT (31-kHz) and a BVM (15-kHz). I'd like to be able to decide which head to boot the system on.
--- Quote ---Is switchres64 the old switchres standalone found at https://github.com/Ansa89/switchres ? If yes, I'll write a small PKGBUILD and have it compiled with GA.
--- End quote ---
Last version posted by me was this one. IIRC Ansa took that one and fixed some bugs, etc., not sure.
Substring:
Wouldn't it be better to have EDIDs generated with the kernel ? It's just some .S files to add in https://github.com/torvalds/linux/tree/master/Documentation/EDID. It looks rather easy
Calamity:
--- Quote from: Substring on April 12, 2019, 06:10:59 am ---Wouldn't it be better to have EDIDs generated with the kernel ? It's just some .S files to add in https://github.com/torvalds/linux/tree/master/Documentation/EDID. It looks rather easy
--- End quote ---
That code does not support interlace unfortunately.
The good thing about having the EDIDs created by Switchres is you can control the geometry also out of X. Even if no one ever will use that, I prefer that conceptually over having the EDIDs hardcoded with the kernel. If the later results to be more practical, then it's ok as long as we can add EDIDs for all the existing GM presets (e.g., ntsc, pal, arcade_15, arcade_31, etc.).
Substring:
--- Quote from: Calamity on April 12, 2019, 07:12:09 am ---
--- Quote from: Substring on April 12, 2019, 06:10:59 am ---Wouldn't it be better to have EDIDs generated with the kernel ? It's just some .S files to add in https://github.com/torvalds/linux/tree/master/Documentation/EDID. It looks rather easy
--- End quote ---
That code does not support interlace unfortunately.
The good thing about having the EDIDs created by Switchres is you can control the geometry also out of X. Even if no one ever will use that, I prefer that conceptually over having the EDIDs hardcoded with the kernel. If the later results to be more practical, then it's ok as long as we can add EDIDs for all the existing GM presets (e.g., ntsc, pal, arcade_15, arcade_31, etc.).
--- End quote ---
Doesn't suppoer interlace ? mmhhhhh ... reading the EDID.S, it seems a bit sets interlace, but never mind, let's not waste time on this yet.
Anyway, the real problem is to set an EDID post kernel boot if you want to get rid of those VGA-n DVI-n options on grub ... except probing connectors and respective EDIDs and make a dirty assumption "this output is connected but has no edid" means "apply the edid on it, i have no idea how to make that easy. And even : edid is a kernel parameter, so it's set at boot. Unless using kexec (which is a bad idea still), i'm clueless ...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version