LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-11-2006, 05:40 PM   #1
PhilTR
Member
 
Registered: Jun 2004
Location: Birmingham, AL
Distribution: FC6, FC8, FC11
Posts: 102

Rep: Reputation: 17
GeForce4 Ti 4200 and TwinView


Hello all.

I'm unable to get my GeForce4 Ti 4200 to simultaneously display on my monitor (Samsung 150s (and TV (Sony 32" w Svideo). I can do one or the other but not both by editing xorg.conf.


Editing to: Options "ConnectedMonitor" "LCD" displays only on the Samsung.
Editing to: Options "ConnectedMonitor" "TV" displays only on the Sony TV.
Editing to: Option "ConnectedMonitor" "LCD, TV" displays only on the Sony TV.

X won't load when I use "CRT, TV" in this line. "DFP, TV" gives the same results as "LCD, TV".

I'm running FedoraCore4, kernel, v2.6.17-1.2141_FC4. NVIDIA kernel vNVIDIA-Linux-x86-1.0-8762-pkg1. NVIDIA documentation reports that GeForce4 support TwinView. TwinView works with XP displaying the desktop simultaneously on both the monitor and TV.

UpDate1: Xorg.0.log gives me two warnings:
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) NVIDIA(0): Invalid ConnectedMonitor string token: "LCD"; discarding token.


UpDate2: My xorg.config file as updated by the NVIDIA installer was as follows:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

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

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

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



After modifications it is as follows:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "TwinView configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

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

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "TwinView" "True"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "LCD" #"TV"
Option "TwinViewOrientation" "Clone"
Option "TVOutFormat" "SVIDEO"
Option "MetaModes" "1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"

EndSection

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

Thanks for your kind assistance. phil

Last edited by PhilTR; 07-11-2006 at 10:00 PM.
 
Old 07-11-2006, 08:38 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
DOn't know about the TV - you'll surely need to know the hsync & vsync - but here's my working twinview config file on two 19" monitors:

http://hero.com/~briank/misc/XF86Con...nvidiatwinview
 
Old 07-12-2006, 05:57 PM   #3
PhilTR
Member
 
Registered: Jun 2004
Location: Birmingham, AL
Distribution: FC6, FC8, FC11
Posts: 102

Original Poster
Rep: Reputation: 17
I'm now able to see my desktop on my TV. Looking over xorg.0.log I noticed that NVIDIA assigned my Samsung (CRT-1) and my Sony TV (TV-0)

(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "ConnectedMonitor" "CRT-1, TV-0"
(**) NVIDIA(0): Option "TVStandard" "NTSC-M"
(**) NVIDIA(0): Option "TVOutFormat" "SVIDEO"
(**) NVIDIA(0): Option "TwinView" "True"
(**) NVIDIA(0): Option "TwinViewOrientation" "Clone"
(**) NVIDIA(0): Option "SecondMonitorHorizSync" "30-50"
(**) NVIDIA(0): Option "SecondMonitorVertRefresh" "60"
(**) NVIDIA(0): Option "MetaModes" "1024x768, 800x600; 800x600, 800x600; 640x480, 640x480"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): Forcing SVIDEO output
(**) NVIDIA(0): TV Standard string: "NTSC-M"
(**) NVIDIA(0): TwinView enabled
(**) NVIDIA(0): ConnectedMonitor string: "CRT-1, TV-0"
(II) NVIDIA(0): NVIDIA GPU GeForce4 Ti 4200 at PCI:1:0:0
(--) NVIDIA(0): VideoRAM: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 04.25.00.37.00
(II) NVIDIA(0): Detected AGP rate: 4X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce4 Ti 4200 at PCI:1:0:0:
(--) NVIDIA(0): Samsung SyncMaster (CRT-1)
(--) NVIDIA(0): Philips 7108 TV Encoder (TV-0)
(--) NVIDIA(0): Samsung SyncMaster (CRT-1): 350.0 MHz maximum pixel clock
(--) NVIDIA(0): Philips 7108 TV Encoder (TV-0): 165.0 MHz maximum pixel clock
(--) NVIDIA(0): TV encoder: Philips 7108
(II) NVIDIA(0): Assigned Display Devices: CRT-1, TV-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0): "1024x768,800x600"
(II) NVIDIA(0): "800x600,800x600"
(II) NVIDIA(0): "640x480,640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768

So I changed xorg.config Device section so:

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "TwinView" "True"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "CRT-1, TV-0"
Option "TwinViewOrientation" "Clone"
Option "TVOutFormat" "SVIDEO"
Option "MetaModes" "1024x768, 800x600; 800x600, 800x600; 640x480, 640x480"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"


Option "ConnectedMonitor" "CRT-1, TV-0"
Option "MetaModes" "1024x768, 800x600; 800x600, 800x600; 640x480, 640x480"

I'm able to see my desktop in the TV in all three resolution groups. Now I've got to figgure out how to contrict the desktop showing on the TV to the bounds of the TV.

Hope this helps any with my particular setup. Cheers. Phil

Last edited by PhilTR; 07-12-2006 at 05:59 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
glxgears < 200 FPS for nVidia GeForce4 4200 Go drumz Slackware 10 04-15-2006 02:06 PM
GeForce4 4200 TI Crashes Every Friggin Time Its In AGP Mode G-Prime Linux - Hardware 9 04-27-2004 10:00 PM
GeForce 4 Ti 4200 and Mandrake 9.1 vitalis70 Linux - Software 3 11-04-2003 05:56 AM
Geforce Ti 4200 sutho1 Linux - Hardware 3 10-01-2003 09:15 PM
GeForce4 Ti 4200 and Red Hat 9.0 gleet Linux - Hardware 27 08-15-2003 11:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration