Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia/X.org conf for CRT + CRT (DVI) + TV
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
smeghead
n00b
n00b


Joined: 05 Apr 2005
Posts: 4

PostPosted: Tue Apr 05, 2005 8:36 am    Post subject: Nvidia/X.org conf for CRT + CRT (DVI) + TV Reply with quote

I currently run two CRTs in TwinView mode on my GeForce FX5200 (Abit Siluro) and everything works great with the Nvidia binary driver 1.0.6629 and X.org 6.8.0-r5.

I'd like to use my TV-out occasionally as well, but I can't figure out how to modify my xorg.conf to let me switch my secondary display over to TV-out via software (since I'd rather not have to disconnect/reconnect cables to accomplish this). In other words I'd like to always have all three outputs physically connected--CRT, DVI-to-CRT, and TV-out--even though I know I can only output to two simultaneously.

I'd like to be able to do this switching without exiting my existing X session, but if there's no way to do so, then at least without having to reboot. And if I'm forced to use clone mode, so be it.

So is there some way I can configure X to let me do the switching in software?

The relevant sections from my current xorg.conf:

Code:
Section "Monitor"
    Identifier "Monitor0"
    VendorName "Blur-o-matic"
    ModelName "MegaB0rk"
    HorizSync 30-70
    VertRefresh 50-180
    Option  "DPMS"
EndSection

Section "Device"
    Identifier "NVIDIA GeForce FX5200"
    Driver  "nvidia"
    VendorName "Abit"
    BoardName "Siluro FX5200 DT"
    BusID  "PCI:2:0:0"
    Option  "NvAGP"    "1"
    Option  "RenderAccel"   "true"
    Option  "UseEdidFreqs"   "true"
    Option  "NoLogo"   "true"
    Option  "SecondMonitorHorizSync" "31.5-70"
    Option  "SecondMonitorVertRefresh" "50-120"
    Option  "TwinView"   "true"
    Option  "MetaModes"   "1024x768,1024x768; 800x600,800x600; 640x480,640x480"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device  "NVIDIA GeForce FX5200"
    Monitor  "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport 0 0
        Depth  24
        Modes  "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier "X.org Configured"
    Screen  0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Back to top
View user's profile Send private message
Leikor
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 123

PostPosted: Tue May 10, 2005 4:05 am    Post subject: Reply with quote

Have you found any way of doing this? I'm in the same situation 2 monitors and a tv connected, and I'd like to switch to any 2 of them. I know it's possible, the windows driver does it, but I have no idea how to switch without a reboot, and unplugging of cables.

Leikor
Back to top
View user's profile Send private message
smeghead
n00b
n00b


Joined: 05 Apr 2005
Posts: 4

PostPosted: Tue May 10, 2005 5:16 am    Post subject: Reply with quote

Leikor wrote:
Have you found any way of doing this? I'm in the same situation 2 monitors and a tv connected, and I'd like to switch to any 2 of them. I know it's possible, the windows driver does it, but I have no idea how to switch without a reboot, and unplugging of cables.


Sorry, I haven't. I posted on the nvidia forums and on the asus forums (the maker of my card), and nobody has given an answer.

I remember that with my old ATI Radeons I couldn't have all three connected at once (even if only 2 were in use), so perhaps this is true as well for the Nvidia cards.

Do let me know if you hear anything. :wink:
Back to top
View user's profile Send private message
hollovoid7
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2005
Posts: 126
Location: Phelps NY

PostPosted: Tue May 10, 2005 12:38 pm    Post subject: Reply with quote

as far as ive seen 3 doesnt work when connected at all, ive tried it and even in bios level (where dual screen works reguardless) it just gave me a black screen, this is on my Nvidia Geforce 5700le.
_________________
MAO
Back to top
View user's profile Send private message
Beetle B.
Guru
Guru


Joined: 01 Mar 2003
Posts: 524

PostPosted: Fri May 27, 2005 6:32 am    Post subject: Reply with quote

Just curious, is this possible if I just have one monitor and a TV connected to the other?

I want to know if it's possible without having to restart X.

Thanks,
_________________
Beetle B.

Please update the table of equivalents.
A Firefox guide.
Back to top
View user's profile Send private message
abel7
n00b
n00b


Joined: 16 Apr 2004
Posts: 27
Location: Göteborg, Sweden

PostPosted: Fri May 27, 2005 8:13 am    Post subject: Reply with quote

I have a FX5200 and I also have 2 CRTs. I have both CRTs and TV connected at the same time. But I still have to start a new X session if I want to use the TV.
running "startx -- :2 -config xorg.conf.tv2" is the only thing I have to do.
These are my two xorg.conf:

xorg.conf:
Section "Monitor"
Identifier "Monitor[0]"
HorizSync 30-95
VertRefresh 50-160
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor[1]"
HorizSync 60
VertRefresh 30-150
Option "DPMS"
EndSection

Section "Device"
Identifier "Device[0]"
Driver "nvidia"
BusID "PCI:3:0:0"
Screen 0
Option "NoLogo" "on"
EndSection

Section "Device"
Driver "nvidia"
Identifier "Device[1]"
Screen 1
# Option "TVOutFormat" "Composite" #or S-VIDEO etc
# Option "TVStandard" "PAL-G" #or NTSC etc
# Option "ConnectedMonitor" "Monitor[1]"
BusID "PCI:3:0:0" #adjust using 'lspci' or cat /proc/pci
Option "NoLogo" "on"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubsection
EndSection

Section "Screen"
Device "Device[1]"
Identifier "Screen[1]"
Monitor "Monitor[1]"
DefaultDepth 16
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen[0]"
Screen 1 "Screen[1]" LeftOf "Screen[0]"
Option "OffTime" "15"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection


xorg.conf.tv2:

Section "Monitor"
Identifier "G90-0"
HorizSync 31.5 - 82.0
VertRefresh 50 - 180
#Option "DPMS"
Modeline "1280x768_60.00" 80.14 1280 1344 1480 1680 768 769 772 795 -HSync +Vsync
EndSection

Section "Device"
Identifier "GFXT-0"
Driver "nvidia"
BusID "PCI:3:0:0"
Option "TwinView"
Option "SecondMonitorHorizSync" "31.5-82"
Option "SecondMonitorVertRefresh" "50-100"
# Option "MetaModes" "1024x768, 800x600; 1024x768, NULL"
# Option "MetaModes" "1280x1024, 1280x1024; 1024x768, NULL"
# Option "TwinViewOrientation" "LeftOf"
# Option "TVStandard" "PAL-B"
Option "ConnectedMonitor" "TV"
Option "TVOutFormat" "Composite"
## Option "RenderAccel" "true"
# Option "AllowGLXWithComposite" "true"
# Option "NvAgp" "2"
Option "NoLogo" "on"
# Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen-0"
Device "GFXT-0"
Monitor "G90-0"
DefaultDepth 16

Subsection "Display"
Depth 16
# Modes "1024x768"
Modes "1280x768"
# ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Dual"
Screen "Screen-0"
# InputDevice "Intellimouse" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
#Option "OffTime" "15"
EndSection


I hope this is at least some help.
_________________
Abel
Back to top
View user's profile Send private message
smeghead
n00b
n00b


Joined: 05 Apr 2005
Posts: 4

PostPosted: Fri May 27, 2005 1:34 pm    Post subject: Reply with quote

Thanks, this is what I've been looking for. I was pretty sure I wouldn't be able to do it all in the same X session anyhow, so it's no big deal. Plugging and unplugging cables was the big deal. :wink:

I'll give this a try and report back.
Back to top
View user's profile Send private message
smeghead
n00b
n00b


Joined: 05 Apr 2005
Posts: 4

PostPosted: Mon May 30, 2005 2:49 am    Post subject: Reply with quote

Okay I've followed your model and made a script to launch my TV-out X.org configuration:

Code:
#!/bin/sh
unset SESSION_MANAGER
startx -- :1 -config xorg-tvout.conf

It works fine as far as opening a virtual console on vt8 and displaying it on my TV.

Then a problem: gdm starts which starts Gnome and then it tries to load the already-running Gnome session from vt7 into the new vt8 session. As you can see I've unset the SESSION_MANAGER variable, but for some reason it's still pulling in the existing session. Anyone know how to start with a fresh session in vt8?

I've tried messing around with gdmflexiserver, but I can't get it to load my special xorg-tvout.conf file.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum