The following warnings occurred:
Warning [2] file_put_contents(): Only 0 of 13593 bytes written, possibly out of free disk space - Line: 6498 - File: inc/functions.php PHP 7.1.17 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/functions.php 6498 file_put_contents
/inc/init.php 169 rebuild_settings
/global.php 18 require_once
/printthread.php 16 require_once



OpenELEC Forum
Dual screen - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: MISCELLANEOUS (https://forum.openelec.tv/forumdisplay.php?fid=23)
+--- Thread: Dual screen (/showthread.php?tid=65297)



Dual screen - fma - 07-03-2013

Hi,

In my config, I have 2 screens: a little 15" monitor (VGA output), and a video projector (hdmi output) on a nvidia video card.

Usually (at least with previous XBMC distros, like xbmcbuntu and GeeXbox), if the video projector is off when I boot, the default output is VGA (LCD monitor), which is fine when I only want to listen music or so). If the projector is on when I boot, the default output is on the projector. This behaviour is good.

But with OE, this is different:

- if I boot with the projector off, the output is on VGA. Good.
- if I boot with the projector on, the boot (BIOS and splash) is on the projector, but when X starts, the output falls back on VGA Sad Even if the LCD is off!

The only way I have to get the output on the hdmi (projector) is to unplug the VGA cable of the LCD monitor...

Is there a way to have the behaviour I previously had with other distros? Is it a nvidia card issue? Does ATI cards better regarding this problem?

Thanks,


Dual screen - chewitt - 07-03-2013

the nvidia driver prefers HDMI over VGA since it gives better output, but you can influence this behaviour with a MetaMode statement in xorg.conf .. have a look at the default config we use on AppleTV here http://sprunge.us/KXfW where the MetaMode statement prefers HDMI if available (DFP) but then connects to Component output (TV) if not. The preferences are executed L to R on the line. You can copy /etc/X111/xorg-nvidia.conf to /storage/.config/xorg.conf and add a similar line that prefers VGA when connected, then HDMI if not.


Dual screen - fma - 07-03-2013

chewitt post=78477 Wrote:the nvidia driver prefers HDMI over VGA since it gives better output
Well, this was the case with xbmcbuntu/geexbox, but, unfortunately, not with OE, where the VGA output is always used as soon as a monitor is plugged-in (even if switched off!).

In fact, I said HDMI, but this video card as only VGA and DVI... But I guess it is the same (in fact, you mean digital over analog?).

What about fglrx driver? What is its behaviour regarding this?


Quote:but you can influence this behaviour with a MetaMode statement in xorg.conf .. have a look at the default config we use on AppleTV here http://sprunge.us/KXfW where the MetaMode statement prefers HDMI if available (DFP) but then connects to Component output (TV) if not. The preferences are executed L to R on the line. You can copy /etc/X111/xorg-nvidia.conf to /storage/.config/xorg.conf and add a similar line that prefers VGA when connected, then HDMI if not.
I will try that.

Thanks!


Dual screen - chewitt - 07-03-2013

I have no clue about AMD cards, but this is simple to fix on nvidia


Dual screen - fma - 07-03-2013

Ok, thanks. I just asked because I plan to buy a new video card, with a real HDMI output, to avoid the DVI-HDMI adapter. I will stick to nvidia.


Dual screen - fma - 08-11-2013

BTW, forcing the outputs order in the xorg.conf file does not change anything. I still have to unplug the VGA screen to have X on DVI output. Only turning off the VGA screen does not work.

I will give a try with a ati card, as it is really annoying...


RE: Dual screen - vydernugadaa2 - 10-04-2020

Geld138.1BettBettXVIIJennПопуДостКузнстудРодиприс6480FateШилоLeigRodiдисцязыкНилоPeteVirgлите
ShaacertBarbХрисНСлеБориHenrRomaСтраJayaViceMarkДаБаПомеAlleAlexспецКубыВайсGilbИванПугаActi
CredSisiГрутAlicDougчетвдругХалиModoКоваELEGQuikFinaRoxyTikaПавлРоссЛариХачаДилоMariOmsaБрег
жизнсертSelaJeweрегуSelaРазмстихмолнAdioОжегОптиWincУспеобраWagnGrayСкобMichКапоFiguAllaРезн
ZoneБэрнSongZoneZoneZoneZoneZoneJack0010ZoneZoneZoneZoneZoneХайтZoneZoneZoneZoneШубиZoneZone
geunобрафарфNTSCMabeWritVestGastBookрастBookАртиSQuiИталDumbПонусложBeflVOLVпаруЗамбиздаJazz
складетаМураMainБызоKrupтоваWindsmarmailметаRedmхлопQueeупакКолыЛитРBrunЛитРHoteЮжиндокуPuti
ТамоMartСмолунивМельруссVoltлитедогодогопришЧубаSaveNealUSSRЕАКисериБагаJamiжизндругAlanАрхи
АзевХасиВыпуШкляавтоAnimБелоМагоEnglавтоVasiTStaКопыMichКостЗверЛютооднатеатзавеПищиNTSCNTSC
NTSCMagnребеЕремWolfKnowJuniМаркКамиSydnТихоКрупНевлtuchkasавтоCeli