Nividia en TVout onder Linux

Pagina: 1
Acties:

  • mpol
  • Registratie: September 2002
  • Laatst online: 19-01 18:45

mpol

root@localhost

Topicstarter
Hallo,
Ik heb een laptop met Mandriva 2009.1, met kernel 2.6.29, xserver 1.6 en nvidia 96.43.11. Nu probeer ik de tvout aan de praat te krijgen, maar het enige wat ik krijg is een groot blauw vak (niks dus). Intussen krijg ik al geen foutmeldingen meer in mijn xorg.log, maar hij geeft nog steeds niks. Zijn er mensen die weten hoe ik het aan de praat kan krijgen?

Mijn xorg.conf zag er eerst zo uit:
code:
1
2
3
4
5
6
7
8
9
10
11
Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce 3 to GeForce 4"
    Driver "nvidia"
    Option "DPMS"
    Option "TwinViewOrientation" "Clone"
    Option "AddARGBGLXVisuals"
    Option "TwinView"
    Option "IgnoreEDID" "1"
EndSection


Intussen ziet het er zo uit:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Section "Device"
        Identifier "device1"
        BoardName "NVIDIA GeForce 3 to GeForce 4"
        Driver "nvidia"
        Option "TwinView" "1"
        Option "TwinViewOrientation" "LeftOf"
        #Option "TwinViewOrientation" "Clone"
        Option "UseEdidFreqs" "True"
        #Option "IgnoreEDID" "1"
        Option "ConnectedMonitor" "DFP-0, TV-0"
        #Option "AddARGBGLXVisuals"
        Option "NoLogo" "1"
        Option "MetaModes" "1024x768,768x576;1024x768,NULL"
        #Option "NvAGP" "2"
        Option "RenderAccel" "1"
        Option "CursorShadow" "1"
        Option "Coolbits" "1"
        #Option "NoPowerConnectorCheck"
        # Option "SecondMonitorHorizSync" "30-82"
        # Option "SecondMonitorVertRefresh" "56-76"
EndSection



De xorg.log geeft aan dat hij een dfp-0 en een tv-0 ziet, en dat de modelines blijkbaar prima zijn, maar in LeftOff en in Clone mode krijg ik nog steeds niks.
Ik heb dus geen idee waar ik naar moet kijken of wat ik uit kan proberen. Iemand ideeen?

Ik heb nvtv geprobeerd, maar daar snap ik dus echt geen ruk van (en ja, ik snap Linux an sich wel goed genoeg, gebruik het al 10 jaar.). Ik kan daar testen, settings veranderen, maar er gebeurt vervolgens niks.

https://timelord.nl


  • Theimon
  • Registratie: April 2005
  • Laatst online: 04:59

Theimon

Snapte!?

Ik heb toevallig van de week mijn nVidia tv-out aan het werk gezet onder Gentoo. Een goede hulp is de nVidia driver Readme. Ikzelf heb iedere monitor op een eigen X-screen gedaan, maar je kan inderdaad ook op Twinview gaan werken.

Als dit het enige is wat je hebt aangepast aan je xorg.conf is er inderdaad kans dat de X-server niet begrijpt dat er 2 schermen zijn. Je moet de serverlayout ook aanpassen. Met nvidia-settings (in je menu ergens waarschijnlijk) kan je ook al 'displays detecten' en ook weg laten schrijven naar je xorg.conf, maar ik besloten dit gewoon zelf in xorg.conf te zetten.

Als voorbeeld de relevante info uit mijn oude xorg.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    #InputDevice    "Generic Keyboard"
    #InputDevice    "Configured Mouse"
    #Option       "AllowEmptyInput" "True"
    Option         "StandbyTime" "10"    # Turn off screen in 20 minutes (DPMS)
    Option         "SuspendTime" "20"
    #Option       "AutoAddDevices" "off"
EndSection

Section "Monitor"
    Identifier     "Samsung Syncmaster 2232BW"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS" "true"
EndSection

Section "Device"
    Identifier     "nVidia Corporation GTX260"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation GTX260"
    Monitor        "Samsung Syncmaster 2232BW"
    DefaultDepth    24
    #Option         "RenderAccel" "True"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

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


En de nieuwe xorg.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         0 "Screen0"
    Screen         1 "Screen1" leftOf "Screen0"
    #InputDevice    "Generic Keyboard"
    #InputDevice    "Configured Mouse"
    #Option "AllowEmptyInput" "True"
    Option "StandbyTime" "10"    # Turn off screen in 20 minutes (DPMS)
    Option "SuspendTime" "20"
    #Option "AutoAddDevices" "off"
EndSection

Section "Monitor"
    Identifier     "Samsung Syncmaster 2232BW"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS" "true"
EndSection

Section "Monitor"
    Identifier     "LG 32LG3000"
    HorizSync      28-67
    VertRefresh    50-75
    Modeline       "1368x768_59.80"  85.57  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
    Modeline       "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync
    Modeline       "1360x768_60.00"  84.72  1360 1424 1568 1776  768 769 772 795  -HSync +Vsync
    Option         "PreferredMode" "1366x768"
EndSection

Section "Device"
    Identifier     "nVidia Corporation GTX260 0"
    Driver         "nvidia"
    BusID      "PCI:2:0:0"
    Screen         0
EndSection

Section "Device"
    Identifier     "nVidia Corporation GTX260 1"
    Driver         "nvidia"
    BusID      "PCI:2:0:0"
    Screen         1
EndSection


Section "Screen"
    Identifier     "Screen0"
    Device         "nVidia Corporation GTX260 0"
    Monitor        "Samsung Syncmaster 2232BW"
    DefaultDepth    24
    #Option         "RenderAccel" "True"
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "nVidia Corporation GTX260 1"
    Monitor        "LG 32LG3000"
    Defaultdepth   24
    SubSection "Display"
    Depth      24
    Modes      "1366x768" "1360x768" "1280x720"
    EndSubSection
EndSection

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


In de Server Layout moet je X laten weten dat er 2 schermen zijn en de plaatsing van Screen 1 t.o.v. Screen 0. De BusID bij device is blijkbaar een vereiste om X te laten weten op welk pci device hij 2 schermen moet koppelen. Ook moet je voor iedere monitor een aparte Device Section opzetten.
Een beetje gegoogle voor de LG settings en de nVidia readme deden wonderen. De hele boel werkte in 1 keer.

Dit alles met Linux Kernel 2.6.30.5, nVidia driver 190.18 en xorg-server 1.6.3. Nu heb jij wel oudere versies voor de driver en de kernel, maar de setup zal niks schelen.

Evil in general does not sleep, and therefore doesn't see why anyone else should. | There is no "i" in denial. | There is no "i" in TEAM, but there is ME!


  • bobo1on1
  • Registratie: Juli 2001
  • Laatst online: 19-10-2025
Probeer het eens te configureren met nvidia-settings.

Impedance, a measure of opposition to time-varying electric current in an electric circuit.
Not to be confused with impotence.


  • laurencevde
  • Registratie: November 2001
  • Laatst online: 02-10-2025
Wat voor tv heb je? en welke resolutie/mode wordt ervoor gebruikt? en welke zijn er verder nog gedecteerd/beschikbaar? (staan in de x-log)

Have a taste of freedom. It is sometimes a bitter pill. To me though, this is the sweetness of the GPL


  • mpol
  • Registratie: September 2002
  • Laatst online: 19-01 18:45

mpol

root@localhost

Topicstarter
Nou, ik ben er weer, met veel uitproberen. Volgens mij heb ik alles goed geconfigureerd, met de hand. Probleem wat ik krijg als ik twinview aanzet is:
code:
1
(WW) NVIDIA(1): Option "UseDisplayDevice" requested "TV", but no unused TVs...

Ik kon er op het nvidia forum wat over vinden, en hier, en ben dus verder gaan rommelen. Ik heb twinview uitgezet, en nu geeft hij geen foutmelding meer. Geen enkele. Detail is alleen dat ik nog steeds geen beeld op mijn tv heb.
Als ik nvidia-settings draai met twinview dan vind hij geen screen1 voor tvout. Zonder twinview echter wel. Maar alsdus, wat ik ook aanklik, niks op de tv.
En nvtv snap ik nog steeds geen ruk van. Doet ook niks trouwens.

Hier mijn laatste incarnatie van xorg.conf:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
Section "ServerFlags"
    #DontZap # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

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

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "SHMConfig" "on"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1024x768"
    HorizSync 31.5-48.0
    VertRefresh 56.0-65.0
EndSection

Section "Monitor"
    Identifier     "JVC"
    HorizSync      28-67
    VertRefresh    50
    Modeline       "720x480"     50.00 720 736 798 858 480 489 495 525 -hsync -vsync
    ModeLine       "768x576"     50.00  768  832  846 1000   576  590  595  630 -hsync -vsync
EndSection

Section "Device"
    Identifier "device1"
    Screen 0
    BusID "PCI:1:0:0"
    BoardName "NVIDIA GeForce 3 to GeForce 4"
    Driver "nvidia"
    Option "TwinView" "0"
    Option "TwinViewOrientation" "LeftOf"
        #Option "TwinViewOrientation" "Clone"
    #Option "UseEdidFreqs" "True"
        #Option "IgnoreEDID" "1"
    Option "ConnectedMonitor" "DFP-0, TV-0"
        #Option "AddARGBGLXVisuals"
    Option "NoLogo" "1"
    #Option "MetaModes" "720x480 +0+0,720x480 +0+0"
    #Option "MetaModes" "1024x768,720x480;1024x768,NULL"
    #Option "NvAGP" "2"
    Option "RenderAccel" "1"
    #Option "CursorShadow" "1"
    #Option "Coolbits" "1"
    #Option "NoPowerConnectorCheck"
    Option "SecondMonitorHorizSync" "30-82"
    Option "SecondMonitorVertRefresh" "50"
EndSection

Section "Device"
    Identifier "device2"
    Screen 1
    BusID "PCI:1:0:0"
        BoardName "NVIDIA GeForce 3 to GeForce 4"
    Option "UseDisplayDevice" "TV"
    Option "ConnectedMonitor" "TV"
    Option "TVStandard" "PAL-B"
    Option "TVOutFormat" "SVIDEO"
    #Option "MetaModes" "720x480"
        Driver "nvidia"
EndSection

Section "Screen"
    Identifier "screen0"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1024x768" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1024x768" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1024x768" "800x600" "768x576" "640x480" "480x360" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1024x768" "800x600" "768x576" "720x480" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "Screen"
    Identifier     "screen1"
    Device         "device2"
    Monitor        "JVC"
    Defaultdepth   8
    SubSection "Display"
    Depth       8
    Modes       "800x600" "768x576" "720x480"
    EndSubSection
EndSection


Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "SynapticsMouse1" "SendCoreEvents"
    Screen "screen0"
    Screen "screen1" leftOf "screen0"
EndSection


Dingen die ik geprobeerd heb zijn oa Pal-M, Pal-B, Pal-G
Ook 720x480, en 768x576 voor tvout, en 800x600 voor beiden zonder twinview.
In mijn Xorg.0.log staat alleen DFP en TV als screens, hij vind niks anders.
Ik ben en beetje op het pint beland dat ik het wel wil opgeven, Linux en tvout is niet erg makkelijk. Nou ja, ik zie wel of jullie nog ideeen hebben.

https://timelord.nl