Monitor, tv and xorg.conf fun
robvv Nov 21, 2016
Hi all,

I wonder if anyone can help with my predicament: I have a Dell 24" monitor and a Toshiba Regza tv, and what I would like to do is to output video playback (from VLC, etc.) to the tv only. Later on I might like to try games on the tv screen as well.

The Dell monitor is connected by DP and the tv by HDMI. I have read lots of guides online but cannot seem to get any program to output to the tv. For example, if I set 'X window' on VLC to :0.1, it still outputs to the monitor rather than the tv.

nvidia-settings detects both monitors with no fuss.

My modified xorg.conf looks like this:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL U2415"
    HorizSync       30.0 - 83.0
    VertRefresh     49.0 - 61.0
    Option         "DPMS"
    Option         "Position" "0 0"
    Option         "Rotate" "normal"
    Option         "Disable" "false"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "TOSHIBA-TV"
    HorizSync       15.0 - 65.0
    VertRefresh     49.0 - 76.0
    Option         "Position" "0 0"
    Option         "Rotate" "normal"
    Option         "Disable" "false"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 970"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 970"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Coolbits" "4"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DP-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


My system is OpenSUSE 42.1 with KDE Plasma 5.8; video card is a GTX 970.

Clearly I have missed something with the config but I would appreciate some help :-)
wolfyrion Nov 21, 2016
cant you just drag and drop VLC to TV ? :P

As long as xorg is recognize your 2x monitors you can do anything you want with the outputs.
The easiest thing is to use Window Rules from Plasma

robvv Nov 21, 2016
Quoting: wolfyrioncant you just drag and drop VLC to TV ? :P

Tried that but whilst the mouse moves across, VLC doesn't! Also, the tv has a strangely-coloured background.

Will try Window Rules so thanks for that suggestion.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.