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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-23-07, 06:18 AM   #1
addisor
Registered User
 
Join Date: Feb 2007
Posts: 3
Default Twinview a LCD and HD projector

Where should I start? would like to have my LCD monitor screen (via vga) and my Yamaha projector (via dvi) for movies. I have a basic understanding of twinview, but would like to tweak output so that film only plays on projector and ubuntu stays on LCD.
addisor is offline   Reply With Quote
Old 02-23-07, 07:58 AM   #2
mic64
Registered User
 
Join Date: Mar 2005
Posts: 5
Default Re: Twinview a LCD and HD projector

Hi

I couldnt get a similar setup with twinview, so I decided to go with 2 xservers.
works pretty well.
Standard dekstop on LCD, Movies on my 1080p RPTV.

Here is the relevant part from my xorg conf
Code:
Section "Modes" 
    Identifier   "Modes0"
    ModeLine     "1280x1024" 136.6 1280 1368 1504 1728 1024 1025 1028 1068
    ModeLine     "1280x1024" 134.7 1280 1368 1504 1728 1024 1025 1028 1068
    ModeLine     "1280x1024" 132.8 1280 1368 1504 1728 1024 1025 1028 1067
    ModeLine     "1024x768" 80.7 1024 1080 1192 1360 768 769 772 802
    ModeLine     "1024x768" 79.5 1024 1080 1192 1360 768 769 772 801
    ModeLine     "1024x768" 78.4 1024 1080 1192 1360 768 769 772 801
    ModeLine     "800x600" 48.2 800 840 920 1040 600 601 604 626
    ModeLine     "800x600" 47.5 800 840 920 1040 600 601 604 626
    ModeLine     "800x600" 46.9 800 840 920 1040 600 601 604 626
    ModeLine     "1280x720" 74.086 1280 1320 1376 1648 720 722 728 750 -hsync -vsync
    ModeLine	 "1920x1080" 148.4 1920 1960 2016 2200 1080 1082 1088 1125 +hsync +vsync
EndSection



Section "Monitor"
    Identifier     "Medion"
    HorizSync	31-83   
    VertRefresh	50-75 	 
    Option "DPMS"
    DisplaySize 	380 300
EndSection

Section "Monitor"
    	Identifier	"HDTV"
   	HorizSync       30-46
        VertRefresh     48-65
 	Option          "DPMS"
EndSection

Section "Device"
    Identifier     "Nvidia 0"
    Driver         "nvidia"
    Option 	"HorizSync"
    Option 	"VertRefresh" "60"
    Option   	"UseEdidDpi"   "FALSE"
    Option   	"DPI"   "96 x 96" 
    Option	"XvMC"		"true"
    Option 	"XvmcUsesTextures" "true"
    BoardName   "GeForce 7600 GS"
    Option      "AddARGBGLXVisuals" "True"
    Option      "RenderAccel" "True"
    Option      "AllowGLXWithComposite" "True"
    Option      "backingstore" "True"
    Option      "TripleBuffer" "True"
    Screen 0
EndSection

Section "Device"
     Identifier	"Nvidia 1"
    Driver	"nvidia"
    Option      "VertRefresh" "59.94"
    Option      "XvMC"          "true"
    Option      "XvmcUsesTextures" "true"
    BusID	"PCI:1:0:0"
    Option      "AddARGBGLXVisuals" "True"
    Option      "RenderAccel" "True"
    Option      "AllowGLXWithComposite" "True"
    Option      "backingstore" "True"
    Option      "TripleBuffer" "True"
    Screen 1
EndSection



Section "Extensions"
        Option "Composite"      "Enable"
EndSection



Section "Screen"
    Identifier     "Screen 0"
    Device         "Nvidia 0"
    Monitor        "Medion"
    Option 		"DPI" "86x86"
    Option 		"UseEdidDpi" "False" 
    DefaultDepth    24
    SubSection     "Display"
        Depth       15
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
   Identifier		"Screen 1"
    Device		"Nvidia 1"
    Monitor		"HDTV"
#   Option		"UseEdidDpi" "False"
    DefaultDepth	24
    SubSection "Display"
	Depth		24
	Modes "1920x1080"
    EndSubSection
EndSection


Section "ServerLayout"
    Identifier     "Multi Head"
    Screen 0	"Screen 0" 0 0
    Screen 1	"Screen 1" LeftOf "Screen 0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "USB Mouse" "CorePointer"
EndSection



Section "DRI"
	Mode 0666
EndSection
Im starting just mplayer or xine with a smal script, so the movie starts playing on the 2nd Display.
Code:
DISPLAY=:0.1
mplayer -lavdopts threads=2 -vo xv -monitoraspect 16:9 -fs -ao alsa -ac hwac3 -cache 8096 "$@"
Im using a nvidia 7600GS, LCD on DVI, HDTV on DVI-HDMI cable, Driver 9746.

hope this helps
mic64
mic64 is offline   Reply With Quote
Old 02-23-07, 09:07 AM   #3
addisor
Registered User
 
Join Date: Feb 2007
Posts: 3
Default Re: Twinview a LCD and HD projector

This is my current Xorg,

Section "Monitor"
Identifier "LCD-15EX"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
EndSection

Section "Screen"

# Enable 32-bit ARGB GLX Visuals
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "LCD-15EX"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
# If you are using an older version of compiz that
Option "DisableGLXRootClipping" "True"
Option "TripleBuffer" "true"
SubSection "Display"
Depth 1
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Understand most required, what's the "modes" section for? thanks for your help
addisor 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


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


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