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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-28-06, 02:58 AM   #1
pi_bex
Registered User
 
Join Date: Nov 2006
Posts: 1
Default first startx only on crt after Ctrl+c and startx again it works

I have a laptop and want to use the internal TFT als default Screen. Sometimes I connect a CRT or beamer to that laptop so in this cases I would like to have that also working.
I took the xorg.conf from a gentoo wiki: http://gentoo-wiki.com/Twinview_Example and edited the way I thought it is correct. (You can find my xorg.conf below)
The twinview part doesn't work at all... but that doesn't matter.
If I have the "single" configuration I can switch to xinerama with the nvidia-settings tool and that is all I need...
So, where is the problem?
=> Single and xinerama have the same problem: when I start X only the external CRT brings up a picture. On the console I get an error message "(EE) NVIDIA(1): Unable to find available Display Devices for screen 1". If I kill the process by typing Ctrl+c I can't scoll on console on TFT (internal) and there is also no cursor blinking, CRT iss ok. Then I type startx again and everyting is working the way I want to. If single view, I can see my gnome on TFT and if xinerama I can see it on both screens.
How can I do it without restarting X everytime I boot.

my xorg.conf
================================================== ===
Code:
# xinerama nach startx ctrl+c startx mit erstem displaytft intern
# twinview funzt nicht
# single ist default (siehe erste Section "ServerFlags")
# xinerama kann von der konsole per startx -- -layout xinerama
# oder per nvidia-settings in X umgeschaltet werden 

Section "Files"
    RgbPath	"/usr/lib/X11/rgb"
    FontPath	"/usr/share/fonts/local/"
    FontPath	"/usr/share/fonts/misc/"
    FontPath	"/usr/share/fonts/75dpi/:unscaled"
    FontPath	"/usr/share/fonts/100dpi/:unscaled"
    FontPath	"/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath	"/usr/share/fonts/CID/"
    FontPath	"/usr/share/fonts/75dpi/"
    FontPath	"/usr/share/fonts/100dpi/"
EndSection

Section "Module"
    Load	"dbe"
    Load        "v4l"
    Load        "extmod"
    SubSection	"extmod"
        Option  "omit xfree86-dga"
    EndSubSection
    Load	"type1"
    Load	"freetype"
    Load	"glx"
EndSection

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

Section "ServerFlags"
#    Option	"blank time"	"1"
#    Option	"standby time"	"2"
#    Option	"suspend time"	"3"
#    Option	"off time"	"4"
    # SELECT YOUR PREFERRED LAYOUT HERE
    Option	"DefaultServerLayout" "xinerama"
EndSection

Section "InputDevice"
	Identifier	"TC1000 Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	#Option		"XkbVariant"	"nodeadkeys"
	#Option		"XKbOptions"	""

EndSection


#Section "InputDevice"
#	Identifier	"TC1000 External Keyboard"
#	Driver		"kbd"
#	Option		"CoreKeyboard"
#
#
#	Option		"XkbModel"	"pc105"
#	Option		"XkbLayout"	"de"
#	#Option		"XkbVariant"	"nodeadkeys"
#	#Option		"XKbOptions"	""
#
#EndSection

Section "InputDevice"
	Identifier	"TC1000 Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"
EndSection

Section "InputDevice"
        Identifier      "TC1000 pen"
        Driver          "tc1k"
	Option		"AlwaysCore"		"on"
        Option          "Device"        "/dev/tts/0"
        Option          "BaudRate"      "19200"
        Option          "MaximumXPosition"      "8635"
        Option          "MinimumXPosition"      "134"
        Option          "MaximumYPosition"      "6485"
        Option          "MinimumYPosition"      "110"
        #Option          "Rotate"      "CCW"
        ##Option          "SwapXY"      "true"
        Option          "InvertY"
EndSection

# monitoreinstellungen scheinen fuer die reihenfolge egal zu sein
Section "Monitor"
    Identifier	"SamsungTFT"
# ist zwar nicht samsung, lasse ich aber so, weil egal
    Option	"dpms"
#    HorizSync 29.0-49.0
#    VertRefresh 0.0-60.0
#    DisplaySize 376 301
    HorizSync 31-60
    VertRefresh 50-60
    DisplaySize 305 230
EndSection

Section "Monitor"
    Identifier	"ProviewCRT"
# iss auch nicht proview... s.o.
    Option	"dpms"
#    HorizSync 29.0-49.0
#    VertRefresh 0.0-60.0
#    DisplaySize 376 301
    HorizSync 31-60
    VertRefresh 50-60
    DisplaySize 305 230
EndSection

Section "Monitor"
    Identifier  "TwinMoni"
    Option      "dpms"
    HorizSync 29.0-49.0
    VertRefresh 0.0-60.0
    DisplaySize 752 301   #SamsungTFT horizontal size *2 to get 86*86 dpi
EndSection

#----- Single BEGIN ------------------------------------------------------------------------------
# zwei sektionen hochkopiert... wenn nicht klappt, wieder loeschen
#Section "Screen"
#    Identifier	"Screen0"
#    Device	"Nvidia0"
#    Monitor	"SamsungTFT"
#    DefaultDepth 24
#    Subsection "Display"
#        Depth 24
#        Modes "1024x768" "800x600"
#    EndSubsection
#EndSection

#Section "Screen"
#    Identifier	"Screen1"
#    Device	"Nvidia1"
#    Monitor	"ProviewCRT"
#    DefaultDepth 24
#    Subsection "Display"
#        Depth 24
#        Modes "1024x768" "800x600"
#    EndSubsection
#EndSection


Section "ServerLayout"
    Identifier	"single"
#    Screen	0 "Screen0"
#zwei zeilen zum testen
#    Option "ConnectedMonitor" "DFP"
#    Option "UseDisplayDevice" "DFP"
	InputDevice    "TC1000 Mouse" "CorePointer"
	InputDevice    "TC1000 pen"
	InputDevice    "TC1000 Keyboard" "CoreKeyboard"
EndSection
#----- Single END --------------------------------------------------------------------------------

#----- Twinview BEGIN ----------------------------------------------------------------------------
Section "Device"
    Identifier "NvidiaTwin"
    VendorName "Gainward"
    BoardName "Ultra/1960 Golden Sample"
    Driver "nvidia"
    BusID "PCI:0:5:0"
    Option "NoLogo" "0"
    Option "TwinView"
    Option "MetaModes"  "1280x1024,1280x1024; 1280x1024; 1024x768,1024x768; 1024x768; 800x600,800x600; 800x600"
    Option "TwinViewOrientation" "CRT-0 RightOf DFP-0"
    Option "HorizSync"   "DFP-0: 30-81; CRT-0: 30-98"
    Option "VertRefresh" "DFP-0: 56-75; CRT-0: 50-160"
    Option "ConnectedMonitor" "DFP-0,CRT-0"
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
    Option "UseEdidDpi" "FALSE"
EndSection

Section "Screen"
    Identifier	"ScreenTwin"
    Device      "NvidiaTwin"
    Monitor	"TwinMoni"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes "1280x1024" "1024x768" "800x600"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier	"twinview"
    Screen	0 "ScreenTwin"
    Option "Xinerama" "0"
	InputDevice    "TC1000 Mouse" "CorePointer"
	InputDevice    "TC1000 pen"
	InputDevice    "TC1000 Keyboard" "CoreKeyboard"
EndSection
#----- Twinview END ------------------------------------------------------------------------------

#----- Xinerama BEGIN ----------------------------------------------------------------------------
Section "Device"
    Identifier  "Nvidia0"
    VendorName  "NVIDIA Corporation"
    BoardName   "GeForce2 Go"
    Driver      "nvidia"
    BusID       "PCI:0:5:0"
    Screen       0
    #SINCE NVIDIA VERSION 1.0-8756 YOU MUST USE UseDisplayDevice INSTEAD OF ConnectedMonitor TO GET XINERAMA WORK:
    #Option "ConnectedMonitor" "CRT"
    Option "UseDisplayDevice" "CRT"
    Option "NoLogo" "1"
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
    Option "UseEdidDpi" "FALSE"
EndSection

Section "Device"
    Identifier  "Nvidia1"
    VendorName  "NVIDIA Corporation"
    BoardName   "GeForce2 Go"
#    VendorName  "Gainward"
#    BoardName   "Ultra/1960 Golden Sample"
    Driver      "nvidia"
    BusID       "PCI:0:5:0"
    Screen       1
    #SINCE NVIDIA VERSION 1.0-8756 YOU MUST USE UseDisplayDevice INSTEAD OF ConnectedMonitor TO GET XINERAMA WORK:
    #Option "ConnectedMonitor" "DFP"
    Option "UseDisplayDevice" "DFP"
    Option "NoLogo" "0"
    Option "RenderAccel" "true"
    Option "AllowGLXWithComposite" "true"
    Option "UseEdidDpi" "FALSE"
EndSection

Section "Screen"
    Identifier	"Screen0"
    Device	"Nvidia0"
    Monitor	"SamsungTFT"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600"
    EndSubsection
EndSection

Section "Screen"
    Identifier	"Screen1"
    Device	"Nvidia1"
    Monitor	"ProviewCRT"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier	"xinerama"
    Screen	0 "Screen1"
    Screen	1 "Screen0" RightOf "Screen1"
    Option "Xinerama" "1"
	InputDevice    "TC1000 Mouse" "CorePointer"
	InputDevice    "TC1000 pen"
	InputDevice    "TC1000 Keyboard" "CoreKeyboard"
EndSection
#----- Xinerama END ------------------------------------------------------------------------------
pi_bex is offline   Reply With Quote
Old 11-28-06, 11:27 AM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: first startx only on crt after Ctrl+c and startx again it works

If this problem persists without the ConnectedMonitor option, generate and attach an nvidia-bug-report.log while this problem is present.

Thanks,
Lonni
netllama 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 08:03 AM.


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