During my college's final months crunch, during my downtime I finally took the time to learn how to interact with X11 and Wayland compositors. Finally, I'm using these to get accurate display info opposed to relying on EDID and other wacky stuff.
Some notes + stuff still to do;
Wayland
Works fine from what I've tested. Todo;
[x] Account for monitor translations (portrait monitors, etc)
[x] Compositor Test: Hyprland
[x] Compositor Test: Sway
[x] Compositor Test: KDE
[x] Compositor Test: Gnome/Mutter
x11
Requires randr to be implemented on the compositor.
Refresh rates do not work, due to x11's lack of mixed refresh rates. I've also not been able to find a place in x11rb to get the global refresh rate, nor would I accept that as it's simply going to be inaccurate.
Todo;
During my college's final months crunch, during my downtime I finally took the time to learn how to interact with X11 and Wayland compositors. Finally, I'm using these to get accurate display info opposed to relying on EDID and other wacky stuff. Some notes + stuff still to do;
Wayland
Works fine from what I've tested. Todo;
x11
Requires randr to be implemented on the compositor. Refresh rates do not work, due to x11's lack of mixed refresh rates. I've also not been able to find a place in x11rb to get the global refresh rate, nor would I accept that as it's simply going to be inaccurate. Todo;