HDMI/VGA display detection
Does anybody knows how to detect second display before Xorg or GDM loads? I’m always moving between home with second display (through hdmi) and another places with just my laptop screen
Why am I asking. Ok I can enable second display in Catalyst Control Center (CCC), but for applying changes I need to re-login. Next I need to enable Xinerama and re-login again. Now I have two working displays. Next I move somewhere without additional display, boot my laptop. It boots to login screen with wrong resolution (1280), I login, disable Xinerama, re-login, disable second display, change resolution back (without re-login). That’s too m uch moves to enable/disable second display. Oh I forgot to mention, it’s all about FGLRX of course. XrandR does not work with Xinerama enabled. I guess radeonhd should work ok, but I need performance.
Here is what I want. Just before login screen appears system should check if second display connected and load appropriate configuration for Xorg.
I know how to detect it after GDM loads Xorg, and I’ll post a solution soon when I test it. But I want a better way out.
Stay tuned.
would like to hear answer though, i have the same problem.
Taygun Kekec
December 21, 2009 at 03:25