LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   vlc and DISPLAY (https://www.linuxquestions.org/questions/linux-software-2/vlc-and-display-617914/)

nymusicman 02-01-2008 06:41 AM

vlc and DISPLAY
 
First thing is first I should post my xorg.conf.
Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Mon Apr 16 20:38:05 PDT 2007

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

Section "Files"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
EndSection

Section "ServerFlags"
    Option        "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/psaux"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "Monitor"
    # HorizSync source: xconfig, VertRefresh source: xconfig
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "TV-0"
    HorizSync      30.0 - 96.0
    VertRefresh    50.0 - 160.0
    Option        "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Samsung"
    HorizSync      30.0 - 96.0
    VertRefresh    50.0 - 160.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Videocard0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce4 MX 4000"
    BusID          "PCI:0:8:0"
    Screen          0
EndSection

Section "Device"
    Identifier    "Videocard1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce4 MX 4000"
    BusID          "PCI:0:8:0"
    Screen          1
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "metamodes" "TV: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "metamodes" "CRT: 1280x1024 +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    Option        "AddARGBGLXVisuals" "True"
    Option        "AddARGBGLXVisuals" "True"
EndSection

I'm trying to use vlc to play video on my tv and I have this current problem.

DISPLAY=0.1 "command" works.
vlc --x11-display 0.1 no-wx-embed "file" does not work.

This vlc command use to work when I had twinview setup but since I switched to totally seperate monitors, it all of a sudden does not want to work.

JunctaJuvant 02-02-2008 06:48 AM

Quote:

Originally Posted by nymusicman (Post 3042307)
Code:

...
Section "Screen"
    Identifier    "Screen0"
    Device        "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "metamodes" "CRT: 1280x1024 +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
  Option        "AddARGBGLXVisuals" "True"
    Option        "AddARGBGLXVisuals" "True"

EndSection
...

I'm trying to use vlc to play video on my tv and I have this current problem.

One thing that immediately stands out is the double AddARGBLXVisuals in your screen0 Screen section, which I have highlighted in bold: you should only set that option once, in the Device sections for Videocard0 and Videocard1 respectively.

I'm not sure if this will solve your problem, but maybe your xorg.conf will work a little better.


All times are GMT -5. The time now is 03:43 AM.