Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-12-09, 11:34 AM   #1
kleinklausi
Registered User
 
Join Date: Apr 2009
Posts: 3
Default Force Projector (2nd Screen) while Turned Off

Hi,

As it took me some time to find out, I share this here.

Attached to my Geforce 9300/730i are a LCD and a projector. The projector is only used for watching movies. So many times it is turned off when the computer is started.
To force the GPU to display on the projector without having to restart X, I put two main options in the device section of xorg.conf.
Code:
    Option      "ConnectedMonitor" "CRT-0,DFP-0"
    Option	   "CustomEDID" "DFP-0:/etc/X11/edid_ptax200e.bin"
The EDID data was gathered via Nvidia-Settings tool.

Both options have to be in the first 'device' section. Also if the first device section belongs to the wrong display. Strangly they have to be in the first one appearing in xorg.conf!

May be it helps,
Regards


Below my xorg.conf
Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load	   "v4l"
    Load	   "dri"
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"

    # Taken from EDID when monitor was digitally connected
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Hanns-G"
    ModelName      "HSD HG216"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Panasonic"
    ModelName      "Panasonic AX-200"
    HorizSync       28.0 - 68.0
    VertRefresh     24.0 - 61.0
    Modeline	    "1280x720@50" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
    Modeline	    "1280x720@60" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
    Option          "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9300 / nForce 730i"
    BusID          "PCI:3:0:0"
    Screen          0
    Option         "ConnectedMonitor" "CRT-0,DFP-0"
    # The next line can apparently be in any Device or Screen section.
    # However, it must appear only ONCE since it seems to be global. Splitting
    # CRT-0 and DFP-0 into two separate ConnectedMonitor lines does not work!
    # At least with 180.37.
    Option	   "CustomEDID" "DFP-0:/etc/X11/edid_ptax200e.bin"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9300 / nForce 730i"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "MetaModes" "CRT-0: 1680x1050_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    #Option         "MetaModes" "DFP: 1280x720_60 +0+0; DFP: 1280x720_50 +0+0; DFP: 1280x720 +0+0 ;DFP: 1920x1080_24 +0+0"
    SubSection     "Display"
        Depth       24
	Modes	    "1280x720@50" "1280x720@60"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Disable"
EndSection
kleinklausi is offline   Reply With Quote
Old 04-17-09, 06:17 AM   #2
sensimilla
Registered User
 
Join Date: Nov 2007
Posts: 17
Default Re: Force Projector (2nd Screen) while Turned Off

Many Thanks for the tip. It works fine and has fixed a problem that has been bugging me for months with my HDTV connected as a second monitor.

If I started X without the TV being switched on, it would set it to the wrong resolution, seemingly no matter what I put in xorg.conf, worse than that I would correct the resolution using nvdia-settings but still end up with black bars, probably due to incorrect dpi values so a restart was required to watch TV as detect displays never worked either.
__________________
AMD X2 3800 - 8800GT 512MB
sensimilla is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 5.6 .nvidia-settings-rc settings un-applied on screen lock bluziff NVIDIA Linux 1 06-14-12 05:12 AM
Black screen after switching between graphical virtual consoles five times rrr-wtf NVIDIA Linux 1 05-21-12 04:40 PM
Toshiba Sat 1950 screen setup beaulieu NVIDIA Linux 7 06-13-03 03:17 PM
Redhat 8.0 NVIDIA works - INSTRUCTIONS STEEL1 NVIDIA Linux 267 04-15-03 06:48 PM
BF1942 demo and Refresh Force cricket Gaming Central 2 09-04-02 09:29 PM

All times are GMT -5. The time now is 09:14 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.