Linux dual display ( TV & Projector )
#1
Hiya.

I used to run XBMC-XVBA, but I stopped today after this advice ( http://forum.xbmc.org/showthread.php?tid...pid1519651 ) yeah its taken me a while to find the time.


I am having problems with dual displays on the official build.

I can still switch using

Quote:xrandr -d 0:0 --output DVI-I-1 --off
xrandr -d 0:0 --output HDMI-0 --mode 0x281

xrandr -d 0:0 --output HDMI-0 --off
xrandr -d 0:0 --output DVI-I-1 --mode 0x281

But not from inside xbmc, I ran nvidia-xconfig to see if it would generate a decent xorg.conf (or atleast give me some pointers) but it just built a basic one.

xorg.conf
http://paste.ubuntu.com/6826629/

xbmc.log (debug)
http://paste.ubuntu.com/6826630/

xbmc-xranr -d 0:0
http://paste.ubuntu.com/6826635/

I just get FullScreen #1 and Windowed in System > Vicki Output > Display Mode


Any hints or advice would be great.

S.
Reply
#2
No video expert, but arandr is a bare UI that might help getting the video to the right output .. ?
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#3
I really dont want to mess about too much in territory that is unfamiliar to me, especially as I can force the output on the CLI, its just not wife friendly Sad Thanks for the suggestion though, I may end up having to do that.

EDIT //


I deleted guisettings.xml to see if it was something different between mainline and fernetmentas builds, but it made no different.
Reply
#4
arandr is just a wrapper for xrandr http://christian.amsuess.com/tools/arandr/ and as your script is using xrandr anyway, it just might expose some setting to help you.

I then reckon it'd be a udev rule to react in a predefined video-output fashion with the presence of your projector.

Something like this:-

http://stackoverflow.com/questions/12782...al-display
http://ruedigergad.com/2012/01/28/hotplu...-on-linux/
http://unix.stackexchange.com/questions/...splay-is-p

Unless of course they're permanently connected.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply
#5
Wouldn't udev stuff only be activated when the item is plugged in ? The projector is always plugged in (as it the TV)

Projector on HDMI TV on DVI all the time.

Its an interesting idea though, I will do some reading.

I also have a flirc ( http://flirc.tv/ ) dongle on order, I am wondering if I can bind the projon / projoff commands to keys on a remote using that (I could also use irexec I suppose for that, but I found that flakey in the past)


I shall look into the udev stuff, I had wanted to keep it all inside the xbmc gui though.
Reply
#6
(2014-01-28, 15:37)Saner Wrote: I had wanted to keep it all inside the xbmc gui though.

Yeah, that's the ideal. There must be members with this set up? either it should work out the box, and if it doesn't, perhaps tinkering your setup is the only way to go.
HTPC RPI3 Kodi 17 (Krypton) v8.0.1 MR
Storage BPI 1x 500GB SSD UPnP server
Display Sony Bravia 32"
Reply

Logout Mark Read Team Forum Stats Members Help
dual display ( TV & Projector )0