How is the EDID and DTS resolutions and frames saved and used in gnome when a display is attached?
I’m creating a multi user target application which gstreamer, therefore when running a gstreamer it just writes to a frame buffer and shows video on the display. I’m setting my desired resolution by writing inside
/sys/class/graphics/fb0/mode which works fine, but when unplugging and plugging hdmi cable resolution is set to the max resolution display can use, instead of using previous resolution. I understand this is not an issue gnome desktop since when display is plugged in it somehow remembers what user desired resolution was and uses it. I want to understand the mechanics of this to replicate in my multi user mode.
Here are some background.