Kodi Community Forum

Full Version: Forcing XBMC to use the external monitor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am running XBMC live 10.1 on an HP Pavillion DV6000. I use hook it to a TV in the living room via the external RGB & use a Logitech Harmony One to control it. I am wanting to load the video output to the external RGB connection instead of the laptop's LCD screen. I am not sure how to get this accomplished. Any ideas on how to make this happen?

~JFM
If you have a Nvidia display card, just enable TwinView inside xorg.conf and clone your notebook screen to TV.
You could also try Devils Pie

http://live.gnome.org/DevilsPie
it seems 'Devils Pie' is for windows, and as this thread is under XBMC Live, I figure your running the linux XBMC version.

Have a look at this thread
http://forum.xbmc.org/showthread.php?tid=93249
The Op has one method, and I post another near the bottom.

Both post are setting the output on the laptop on only. My method disables the Laptop's LCD screen if a RGB cable is connected to the RGB port on the laptop.

Hope this is of help.
vbat99 Wrote:it seems 'Devils Pie' is for windows, and as this thread is under XBMC Live, I figure your running the linux XBMC version.

Have a look at this thread
http://forum.xbmc.org/showthread.php?tid=93249
The Op has one method, and I post another near the bottom.

Both post are setting the output on the laptop on only. My method disables the Laptop's LCD screen if a RGB cable is connected to the RGB port on the laptop.

Hope this is of help.

Devils pie is for Linux. I run it under ubuntu every day.
leorik Wrote:Devils pie is for Linux. I run it under ubuntu every day.

Sorry, my bad. again, I didn't read the full page.

To jfmanamtr, did you succeed in getting this working?
what vbat99 posted is of great value idk why its being ignored, over some devils pie which is apprently not as easy to setup and thers no reall how-to attached to it. I wouldn't know where to start with that and I know a little bit of Linux, the other stuff posted below seems better documented and tested.

http://forum.xbmc.org/showthread.php?tid=93249
Sorry for the long time no posting. My job just laid off 90 people & I was really working my tail off to not be counted among those unfortunate people. I am still unable to get this to work. I tried turning on the twin screen to no avail. I ran xrandr -d :0 -q & saw that I only have one screen showing up. I am guessing my xorg.conf isn't right? I will post xorg.conf & lspci to see if we can get this figured out. Note that I didn't make any changes to this install, it is 10.1 default.

lspci
-------
Code:
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51 [Geforce Go 6150] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
07:05.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
07:05.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 0a)
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 05)
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)

xorg.conf
------------
Code:
HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Option      "FlatPanelProperties" "Scaling = Native"
    Option      "HWCursor" "Off"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "True"
    Option         "DynamicTwinView" "true"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection
You need to tell Xorg to launch 2 separate X instances.

Open Terminal on each window. Type "echo $DISPLAY".

You can then either launch XBMC on the second display OR type
"export DISPLAY=<DISPLAY>" where <DISPLAY> matches what the TV's display was.
I don't have 2 displays at the moment. Once I get it to show on the TV & laptop's LCD, It shows the same thing on bith displays.The Issue I am having is that in order to get anything on the TV, I have to push a button on the Harmony marked display after the laptop is through booting. It is almost like XBMC doesn't know there are 2 displays on this laptop.

~JFM
I was just fiddling with my XBMC when I noticed something weird. I had the laptop open & the LCD & TV were showing the exact same thing up until the point that XBMC finally loads. Any idea on what to check for that?

~John