View Single Post
Old 05-13-04, 12:16 AM   #1
mojoholder
Registered User
 
Join Date: May 2004
Posts: 5
Default [SOLUTION] linux 2.4.2 + nvidia4496 + GF4 = CRT Desktop + TV-OUT fullscreen DVD

input:
Linux 2.4.2
nvidia 4496
GeForce4
CRT
TV connected via SVIDEO
KDE 3.1
xine + dvdnav + ...

output:
Our usual desktop environment on CRT (display=:0.0) and another desktop on TV (display=:0.1)
Exiting KDE doesn't break the fb
You can watch fullscreen DVD on TV and use CRT desktop. Or in case you have 2 DVD drives you can watch two different movies on TV and CRT.

Please note the order of sections IS important. You need to edit the monitors' characteristics to match your hardware.
The solution is not new, but it works and might be helpful.

Enjoy!


/etc/X11/XF86Config-4


************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbCompat" "default+group_led"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection

#Let's configure GF4 TV-Out

Section "Monitor"
Identifier "crt"
VendorName "Dell"
ModelName "Dell D825HT"
HorizSync 31.0-70.0
VertRefresh 50.0-120.0
Option "DPMS" "on"
EndSection

Section "Monitor"
Identifier "tv"
VendorName "LG"
ModelName "ArtVisionJoy"
HorizSync 30.0-50.0
VertRefresh 60.0
Option "DPMS" "on"
Option "IgnoreDisplayDevices" "DFP"
Option "ConnectedMonitor" "TV"
Option "NoBandWidthTest" "True"
EndSection


Section "Device"
Identifier "nvidia-tv"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
BusID "PCI:1:0:0"

Option "NvAGP" "1" #"4"
Option "DPMS" "on"
Option "NoLogo" "on"
Option "TVStandard" "NTSC-M"
Option "TVOutFormat" "SVIDEO"
Option "ConnectedMonitor" "TV"
Screen 1
Option "NoDDC" "True"
EndSection

Section "Device"
Identifier "nvidia-crt"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
BusID "PCI:1:0:0"

Option "NvAGP" "1" #"4"
Option "DPMS" "on"
Option "NoLogo" "on"
Screen 0
Option "NoDDC" "True"
EndSection

Section "Screen"
Identifier "Monitor"
Device "nvidia-crt"
Monitor "crt"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "TV"
Device "nvidia-tv"
Monitor "tv"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
Screen 0 "Monitor"
Screen 1 "TV" rightof "Monitor"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
mojoholder is offline   Reply With Quote