[TwinView] Nvidia, Monitor en TV.

Pagina: 1
Acties:

  • DGTL_Magician
  • Registratie: Februari 2001
  • Laatst online: 12-05 13:01

DGTL_Magician

Kijkt regelmatig vooruit

Topicstarter
Ik heb na een ochtendje hard zoeken op GoT en Google mijn TVOut keurig voorelkaar. Ik heb nu 1 deskop (op mijn monitor), maar kan ook een scherm in mijn TV slepen. Werkt hartstikke netjes, mooi beeld en alles. De setup heeft een 1152x864 desktop (waar mijn taakbalk en alles in staan) op mijn monitor, en rechts daarvan staat een schermpje (640x480) wat mijn TVOut is. Als windowmanager gebruik ik KDE3.1 op Debian unstable. En ik gebruik de allernieuwste NVidia drivers. Het enige nadeel wat ik tegenkom is het feit dat mijn bureaublad-achtergrond over de gehele desktop (dus monitor EN tv) geschaald wordt. Als ik hem op center oid zet, dan komt ie ook in het midden van het totale scherm. Iemand hier eventueel een oplossing voor?

Mijn XF86Config-4 file:
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
    FontPath    "unix/:7100"            # local font server
    # if the local font server has problems, we can fall back on these
    FontPath    "/usr/lib/X11/fonts/misc"
    FontPath    "/usr/lib/X11/fonts/cyrillic"
    FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/Type1"
    FontPath    "/usr/lib/X11/fonts/Speedo"
    FontPath    "/usr/lib/X11/fonts/100dpi"
    FontPath    "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    #Load   "GLcore"
    Load    "bitmap"
    Load    "dbe"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "record"
    Load    "speedo"
    Load    "type1"
    Load    "vbe"
EndSection

Section "InputDevice"
    Identifier  "Generic Keyboard"
    Driver      "keyboard"
    Option      "CoreKeyboard"
    Option      "XkbRules"  "xfree86"
    Option      "XkbModel"  "pc104"
    Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option      "CorePointer"
    Option      "Device"        "/dev/psaux"
    Option      "Protocol"      "ImPS/2"
    Option      "Emulate3Buttons"   "true"
    Option      "ZAxisMapping"      "4 5"
EndSection

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

Section "Device"
    Identifier  "Generic Video Card"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    Option      "NoLogo"
    Option      "CursorShadow" "on"
    Option      "TwinView"
    Option      "TwinViewOrientation" "RightOf"
    Option      "MetaModes" "1152x864,640x480"
        Option      "RenderAccel" "1"
        Option      "IgnoreEDID" "1"
        Option      "UseEdidFreqs" "0"  
    Option      "ConnectedMonitor" "CRT, TV"
    Option      "TVStandard" "PAL-G"
    Option      "TVOutFormat" "Composite"
    Option      "Xinerama" "on"
EndSection

#Section "Device"
#   Identifier  "2e Video Kaart"
#   Driver      "vesa"
#   VendorName  "S3"
#   BoardName   "Trio64V2/DX"
#   BusID       "PCI:0:8:0"
#EndSection

Section "Monitor"
    Identifier  "Generic Monitor"
    HorizSync   30-72
    VertRefresh 50-120
    #Option     "DPMS"
EndSection

Section "Monitor"
    Identifier  "TV"
#   HorizSync   30-50
#   VertRefresh 60
    HorizSync   15-17
    VertRefresh 49-61
modeline "ntsc_320x240" 6.04186 320 328 352 384 240 244 247 262 -hsync -vsync # H 15734 [Hz], V 60.0534 [Hz]
modeline "ntsc_400x300" 7.55232 400 408 448 480 300 398 404 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
modeline "ntsc_512x384" 9.69214 512 528 568 616 384 440 446 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
modeline "ntsc_640x480" 12.2096 640 664 720 776 480 488 494 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
modeline "ntsc_720x480" 13.72 720 744 808 872 480 488 494 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]

modeline "ntsc_320x242" 6.04186 320 328 352 384 242 245 248 262 -hsync -vsync # H 15734 [Hz], V 60.0534 [Hz]
modeline "ntsc_640x484" 12.0837 640 656 704 768 484 490 496 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]


modeline "pal_320x240" 6.125 320 328 360 392 240 267 270 312 -hsync -vsync # H 15625 [Hz], V 50.0801 [Hz]
modeline "pal_400x300" 7.75 400 416 456 496 300 444 450 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
modeline "pal_512x384" 9.875 512 528 576 632 384 486 492 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
modeline "pal_640x480" 12.25 640 656 712 784 480 534 540 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]

modeline "pal_768x576" 14.75 768 784 864 944 576 582 588 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
modeline "pal_720x576" 13.875 720 744 808 888 576 582 588 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
    
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Device      "Generic Video Card"
    Monitor     "Generic Monitor"
    DefaultDepth    16
    SubSection "Display"
        Depth       1
        Modes       "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth       4
        Modes       "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth       8
        Modes       "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth       15
        Modes       "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth       16
        Modes       "640x480" "1152x864" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Depth       24
        Modes       "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

#Section "Monitor"
#       Identifier      "TV"
#        HorizSync       15-17
#        VertRefresh     49.0-61.0
#
#modeline "ntsc_320x240" 6.04186 320 328 352 384 240 244 247 262 -hsync -vsync # H 15734 [Hz], V 60.0534 [Hz]
#modeline "ntsc_400x300" 7.55232 400 408 448 480 300 398 404 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
#modeline "ntsc_512x384" 9.69214 512 528 568 616 384 440 446 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
#modeline "ntsc_640x480" 12.2096 640 664 720 776 480 488 494 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
#modeline "ntsc_720x480" 13.72 720 744 808 872 480 488 494 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
#
#modeline "ntsc_320x242" 6.04186 320 328 352 384 242 245 248 262 -hsync -vsync # H 15734 [Hz], V 60.0534 [Hz]
#modeline "ntsc_640x484" 12.0837 640 656 704 768 484 490 496 525 -hsync -vsync interlace # H 15734 [Hz], V 59.939 [Hz]
#
#
#modeline "pal_320x240" 6.125 320 328 360 392 240 267 270 312 -hsync -vsync # H 15625 [Hz], V 50.0801 [Hz]
#modeline "pal_400x300" 7.75 400 416 456 496 300 444 450 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
#modeline "pal_512x384" 9.875 512 528 576 632 384 486 492 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
#modeline "pal_640x480" 12.25 640 656 712 784 480 534 540 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
#
#modeline "pal_768x576" 14.75 768 784 864 944 576 582 588 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
#modeline "pal_720x576" 13.875 720 744 808 888 576 582 588 625 -hsync -vsync interlace # H 15625 [Hz], V 50 [Hz]
#
#EndSection

#Section "Screen"
#   Identifier  "2e Screen"
#   Device      ""
#   Monitor     "TV"
#   DefaultDepth    8
#   SubSection "Display"
#       Depth       1
#       Modes       "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#       Depth       4
#       Modes       "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#       Depth       8
##      Modes       "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#       Depth       15
#       Modes       "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#       Depth       16
#       Modes       "800x600" "640x480"
#   EndSubSection
#   SubSection "Display"
#       Depth       24
#       Modes       "800x600" "640x480"
#   EndSubSection
#EndSection

Section "Screen"
        Identifier      "Screen2"
        Device          "Generic Video Card"
        Monitor         "TV"
        DefaultDepth    16
        SubSection "Display"
                Depth           16
                Modes           "480"
        EndSubSection

        SubSection "Display"
                Depth           24
                Modes           "640x480"
        EndSubSection

EndSection
Section "ServerLayout"
    Identifier  "Default Layout"
    Screen  0   "Default Screen" 0 0
    Screen  1   "Screen2" RightOf "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "Generic Mouse"
EndSection

#Section "ServerFlags"
#   Option "Xinerama" "true"
#EndSection

Section "DRI"
    Mode    0666
EndSection

### END DEBCONF SECTION

Blog | aaZoo - (Wireless) Networking, Security, DDoS Mitigatie, Virtualisatie en Storage


  • Solarsparc
  • Registratie: Juli 2001
  • Laatst online: 22:05
Tja, zonder Xinerama kun je 2 verschillende achtergronden instellen (per desktop), maar dan kun je geen venstertjes meer slepen... Er is een domme oplossing: plak 2 wallpapers in 1 bestand, stel je hebt 2 schermen van 1024x768 dan plak je ze naast elkaar en dan krijg je een bestand van 2048x768 pixels. Maar dit wordt lastiger omdat je niet 2x dezelfde resolutie gebruikt...

  • DGTL_Magician
  • Registratie: Februari 2001
  • Laatst online: 12-05 13:01

DGTL_Magician

Kijkt regelmatig vooruit

Topicstarter
Solarsparc schreef op 15 december 2002 @ 20:14:
Tja, zonder Xinerama kun je 2 verschillende achtergronden instellen (per desktop), maar dan kun je geen venstertjes meer slepen... Er is een domme oplossing: plak 2 wallpapers in 1 bestand, stel je hebt 2 schermen van 1024x768 dan plak je ze naast elkaar en dan krijg je een bestand van 2048x768 pixels. Maar dit wordt lastiger omdat je niet 2x dezelfde resolutie gebruikt...
Ik heb nou de originele configuratie weer terug zoals ik hem eerst had draaien. Hiermee pakt hij de linkerbovenhoek van mijn desktop en zet dat op de TV neer (640x480). De ideale situatie zou zijn om een 2e desktop te maken en die op 640x480 te laten draaien op de TV. Toen ik een S3 kaartje in mijn PC prikte en een beeldscherm erop aansloot werkte dat toch goed. Maar ik krijg dit nu niet meer voorelkaar met de TV? :?
Iemand suggesties?

Ik heb nou een bashscript geschreven die het volgende rund:
code:
1
mplayer -monitoraspect 4:3 -ao oss -aop volume=255 -vo xv -fs -screenw 640 -screenh 480 -brightness 100 -contrast 100 $1

Zo krijg ik op mijn monitor een 640x480 scherm en op mijn TV een mooi schermgevuld beeld.

Blog | aaZoo - (Wireless) Networking, Security, DDoS Mitigatie, Virtualisatie en Storage