[Xorg] Dual Head functioneert half

Pagina: 1
Acties:

  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 27-11-2025
Vanmiddag heb ik een DVI kabeltje aangeschaft. Deze is te gebruiken voor mijn TFT monitor. De overgebleven VGA kabel pastte toevallig nog in mijn TV. Dus mijn idee: dual head.

Nu heb ik de volgende config:
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
# Xorg configuration created by system-config-display

Section "ServerLayout"
    Identifier     "Xorg default config"
    Screen      1  "Screen0" 0 0
    Screen      0  "Screen1" LeftOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Clone" "off"
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.
    FontPath        "unix/:7100"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "fbdevhw"
    Load           "glx"
    Load           "record"
    Load           "freetype"
    Load           "type1"
#   Load  "dri"
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" "pc104"
    Option         "XkbLayout" "us"
    Option         "XkbVariant" "nodeadkeys"
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     "Monitor"
    VendorName     "LG Electronics"
    ModelName      "L1730B"
    HorizSync       10.0 - 90.0
    VertRefresh     10.0 - 90.0
    Option         "dpms"
EndSection

Section "Monitor"

#Option     "TVStandard" "Pal-B"
#Option     "ConnectedMonitor" "TV"
    Identifier     "TV"
    VendorName     "Monitor Vendor"
    ModelName      "Samsung LW20M21C"
    HorizSync       28.0 - 33.0
    VertRefresh     50.0 - 70.0
EndSection

Section "Device"
    Identifier     "VGA"
    Driver         "nvidia"
    VendorName     "Asus"
    BoardName      "V9560 (nVidia GeForce FX 5600)"
    BusID          "PCI:3:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "DVI"
    Driver         "nvidia"
    VendorName     "Asus"
    BoardName      "V9560 (nVidia GeForce FX 5600)"
    Option         "AllowGLXWithComposite" "true"
    Option         "RenderAccel" "true"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "DVI"
    Monitor        "Monitor"
    DefaultDepth    24
    Option         "AllowGLXWithComposite" "true"
    Option         "RenderAccel" "true"
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "VGA"
    Monitor        "TV"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "720x540" "640x480"
    EndSubSection
EndSection

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


Let goed op de identifiers van de videokaarten en monitors, deze verhelderen een hele hoop.
Nu is het probleem, dat mijn TV de primaire monitor is geworden. Dat wil zeggen, alle toepassingen die ik automatisch heb laten starten, starten op de TV. Daar de TV niet altijd aan staat, en ik deze monitor vooral wil gebruiken voor DVD's, is dat niet handig werken.
Tevens is het zo dat zodra ik mijn muis van de TV weg beweeg, de monitor op, de muis nooit meer terug wilt naar de TV. De cursor verschijnt ongeveer 641 pixels van links op m'n monitor.
Beide problemen zijn mij een compleet raadsel. Wie kan mij een en ander verhelderen?

Edit: oja, laat ik de nummertjes in de "ServerLayout" voor de Screens weg (het nummertje voor "Screen0" en "Screen1"), dan zijn beide schermen 640x480. Dan draait hij dus *per ongeluk* de schermen om, blijft de TV het hoofdscherm, en kan ik aan de linkerzijde van de tv naar de rechterzijde van de monitor.

[ Voor 47% gewijzigd door RSpliet op 21-03-2006 18:01 ]

Schaadt het niet, dan baat het niet


  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 27-11-2025
Goed, even een aanvulling. Ik heb met TwinView een werkbare situatie gecreeert, echter kleven er nog een aantal nadelen aan. Eerst de config maar weer, n hele boel is weggecomment, dat laat ik hier weg:
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
# Xorg configuration created by system-config-display

Section "ServerLayout"
    Identifier     "Xorg default config"
    Screen     0 "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "Clone" "off"
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.
    FontPath        "unix/:7100"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "fbdevhw"
    Load           "glx"
    Load           "record"
    Load           "freetype"
    Load           "type1"
#   Load  "dri"
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" "pc104"
    Option         "XkbLayout" "us"
    Option         "XkbVariant" "nodeadkeys"
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     "Monitor"
    VendorName     "LG Electronics"
    ModelName      "L1730B"
    HorizSync       10.0 - 90.0
    VertRefresh     10.0 - 90.0
    Option         "dpms"
EndSection

Section "Device"
    Identifier     "DVI"
    Driver         "nvidia"
    VendorName     "Asus"
    BoardName      "V9560 (nVidia GeForce FX 5600)"
    Option     "AllowGLXWithComposite" "true"
    Option     "RenderAccel" "true"
    BusID          "PCI:3:0:0"
    Option     "TwinView"
    Option     "MetaModes" "640x480, 1280x1024; 1280x1024"
    Option     "TwinViewOrientation" "RightOf"
    Option     "SecondMonitorHorizSync" "UseEdidFreqs"
    Option     "SecondMonitorVertRefresh" "UseEdidFreqs"
    Option     "ConnectedMonitor" "DFP,CRT"
    Option "XAANoOffscreenPixmaps"
    Screen         0
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "DVI"
    Monitor        "Monitor"
    DefaultDepth    24
    Option         "AllowGLXWithComposite" "true"
    Option         "RenderAccel" "true"
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

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


En nu de problemen die ik nog steeds heb en niet opgelost krijg:
Videolan, en mogelijk gmplayer ook (niet geprobeert) wil niet full screen op de TV (blijkbaar m'n primaire monitor :X die van 640x480 iig) outputten. DWZ, nu kan ik nog geen DVD's kijken op m'n TV.dit is opgelost met wat rotzooien met VLC, gmplayer had hier geen last van
Daarnaast verschijnt de GDM greeter nog steeds op TV. Aangezien die niet altijd aanstaat is dat wel heel lastig inloggen. Hoe kan dit, hoe zorg ik ervoor dat de GDM greeter het andere scherm kiest, of nog beter, hoe zorg ik ervoor dat mijn DVI monitor de primaire monitor wordt?

Oh, en als het er toe doet: Ik draai Fedora Core 5, met een development kernel omdat de officiele nVidia drivers anders niet werken.

[ Voor 16% gewijzigd door RSpliet op 22-03-2006 18:59 ]

Schaadt het niet, dan baat het niet