[Ubuntu Feisty] Dual-monitor met Matrox en nVidia

Pagina: 1
Acties:

Onderwerpen


Acties:
  • 0 Henk 'm!

  • Peedy
  • Registratie: Februari 2002
  • Laatst online: 06-11-2024
Hallo,

Ik ben sinds gisteren overgestapt van Windows naar Ubuntu en ik probeer nu mijn dual-monitor aan de praat te krijgen. Ik draai nu een GeForce FX5200 onder Feisty met Beryl. De gebruikte drivers heb ik binnengehaald via apt-get install nvidia-glx-new en het draait perfect. Ik wil echter mijn Matrox kaart er ook bij zetten om een dual-monitor setup te krijgen.

Nu heb ik dus al veel doorgelezen, maar alles lijkt te gaan over Twinview. Dat heb ik dus niet, ik heb gewoon een extra PCI kaart. Nu heb ik via lspci uitgelezen op welk BusID die zit. Dit is de output van lspci:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
00:0a.1 Input device controller: Creative Labs SB Live! Game Port (rev 08)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0e.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 03)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)

Mijn nVidia kaart zit volgens mijn xorg.conf file op BusID PCI:1:0:0. De BusID wordt volgens wat ik heb gelezen uit de laatste 3 entries van de code die bij lspci tevoorschijn komt. Nu klopt dat volgens mij al niet, aangezien bij m'n nVidia bij lspci 01:00:0 staat. Goed, ik heb dus vervolgens mijn xorg.conf zo samengesteld:
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
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen 1" 0 0
    Screen         1 "Screen 2" RightOf "Default Screen 1"
    Option         "Xinerama" "On"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

    # path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

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

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"        # Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"        # Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"        # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "IIyama"
    HorizSync       28.0 - 80.0
    VertRefresh     43.0 - 60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "LG"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV34 [GeForce FX 5200]"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    Screen        0
EndSection

Section "Device"
    Identifier     "Matrox Graphics Inc. MGA 1064SG [Mystique]"
    Driver         "mga"
    BusID          "PCI:0:15:0"
    Screen        1
EndSection

Section "Screen"
    Identifier     "Default Screen 1"
    Device         "nVidia Corporation NV34 [GeForce FX 5200]"
    Monitor        "IIyama"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen 2"
    Device         "Matrox Graphics Inc. MGA 1064SG [Mystique]"
    Monitor        "LG"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

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


In mijn dmesg kan ik geen fouten vinden die betrekking hebben op x of iets met Matrox.
Ik heb nog geprobeerd de BusID van mijn Matrox kaart op PCI:0:0:0 te zetten, maar dat mocht ook niet baten.

Wie kan me verder helpen?

Edit; ik heb nu deze HOWTO gevolgd, en mijn xorg.conf iets aangepast, maar het werkt nog steeds niet...

Acties:
  • 0 Henk 'm!

  • Crakie
  • Registratie: Augustus 2006
  • Laatst online: 02-09 11:29

Crakie

I want my board back, Lance

Je legt niet uit wat er precies niet lukt. Krijg je helemaal geen beeld, of doet slechts 1 monitor het?

Ik zou in eerste instantie Xinerama even weglaten en ook Composite niet gebruiken. Dan weet je dat het daar in ieder geval niet aan ligt. Verder kan je /var/log/Xorg.0.log analyseren om te kijken waar het misloopt. Tenslotte: moet je hexadecimaal (BusID Matrox 0:0e:0) niet omrekenen naar decimaal?

Deze signature is strikt genomen langer dan noodzakelijk.


Acties:
  • 0 Henk 'm!

  • Peedy
  • Registratie: Februari 2002
  • Laatst online: 06-11-2024
Ik heb Xinerama en Composite weggelaten, en van 0:e:0 nu 0:15:0 gemaakt (dat kon ik vinden in de Xorg.0.log file). Omdat ik eerst niet wist wat ik met die 'e' aan moest, had ik de kaart in een ander slot gezet. Hij staat nu op 'f' in ieder geval (vandaar de 15, 9+6 (f is 6e letter in het alfabet)).

Ik heb iets gevonden in de log 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
(WW) MGA: No matching Device section for instance (BusID PCI:0:15:0) found
(--) Chipset mga1064sg found
(II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1  0   0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
    [1] -1  0   0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1  0   0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1  0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1  0   0xea800000 - 0xea8000ff (0x100) MX[B]
    [5] -1  0   0xeb000000 - 0xeb0000ff (0x100) MX[B]
    [6] -1  0   0xec800000 - 0xec8000ff (0x100) MX[B]
    [7] -1  0   0xf8000000 - 0xf7ffffff (0x0) MX[B]O
    [8] -1  0   0xeffe0000 - 0xefffffff (0x20000) MX[B](B)
    [9] -1  0   0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
    [10] -1 0   0xed000000 - 0xedffffff (0x1000000) MX[B](B)
    [11] -1 0   0xeeff0000 - 0xeeffffff (0x10000) MX[B](B)
    [12] -1 0   0xeb800000 - 0xebffffff (0x800000) MX[B](B)
    [13] -1 0   0xec000000 - 0xec003fff (0x4000) MX[B](B)
    [14] -1 0   0xef000000 - 0xef7fffff (0x800000) MX[B](B)
    [15] -1 0   0x0000ffff - 0x0000ffff (0x1) IX[B]
    [16] -1 0   0x00000000 - 0x000000ff (0x100) IX[B]
    [17] -1 0   0x0000a400 - 0x0000a4ff (0x100) IX[B]
    [18] -1 0   0x0000e000 - 0x0000e0ff (0x100) IX[B]
    [19] -1 0   0x0000a800 - 0x0000a80f (0x10) IX[B]
    [20] -1 0   0x0000b000 - 0x0000b01f (0x20) IX[B]
    [21] -1 0   0x0000b400 - 0x0000b41f (0x20) IX[B]
    [22] -1 0   0x0000b800 - 0x0000b81f (0x20) IX[B]
    [23] -1 0   0x0000d000 - 0x0000d0ff (0x100) IX[B]
    [24] -1 0   0x0000d400 - 0x0000d407 (0x8) IX[B]
    [25] -1 0   0x0000d800 - 0x0000d81f (0x20) IX[B]
(EE) Screen 1 deleted because of no matching config section.
(II) UnloadModule: "mga"

Hij zegt dus dat hij geen Device section kan vinden, terwijl dit wel in de xorg.conf staat:
code:
1
2
3
4
5
6
Section "Device"
    Identifier     "Matrox Graphics Inc. MGA 1064SG [Mystique]"
    Driver         "mga"
    BusID          "PCI:0:15:0"
    Screen        1
EndSection


@hieronder; jazeker, maar elk topic dat ik tegenkom gaat over de TwinView of die Ati-tegenhanger daarvan, maar dit is dus geen dualhead kaart maar twee losse kaarten.

[ Voor 170% gewijzigd door Peedy op 16-06-2007 20:44 ]


Acties:
  • 0 Henk 'm!

Verwijderd

heb je de search uitgebreid gebruikt? lijkt me dat ik zo'n topic al eerder ben tegen gekomen..

Acties:
  • 0 Henk 'm!

  • Peedy
  • Registratie: Februari 2002
  • Laatst online: 06-11-2024
Hij doet het *O* !

Ik heb het Device stukje even helemaal overgetikt, nu doet hij het wel. Een of andere hidden character oid die er in stond denk ik. Crakie bedankt, zonder jouw tips was het niet gelukt :)

Alleen doet Beryl het nu niet meer :( Eens kijken hoe we dit gaan doen....

Edit; ok, for future reference; het is dus niet mogelijk om Beryl op een Matrox Mystique te laten draaien omdat het blijkbaar iets niet ondersteunt. Als ik een run command draai met de opties dat Beryl als Window Decorator Emerald moet gebruiken, geeft hij alles goed aan bij Screen 0 (mijn nVidia kaart) en geeft hij errors bij Screen 1, wat er op neer komt dat de kaart te oud is.

Dus het is of zonder Beryl draaien, of een nieuw kaartje kopen.

* Peedy rent naar de winkel :P

[ Voor 60% gewijzigd door Peedy op 16-06-2007 22:05 ]


Acties:
  • 0 Henk 'm!

  • Crakie
  • Registratie: Augustus 2006
  • Laatst online: 02-09 11:29

Crakie

I want my board back, Lance

Peedy schreef op zaterdag 16 juni 2007 @ 20:52:
Hij doet het *O* !

Ik heb het Device stukje even helemaal overgetikt, nu doet hij het wel. Een of andere hidden character oid die er in stond denk ik. Crakie bedankt, zonder jouw tips was het niet gelukt :)

Alleen doet Beryl het nu niet meer :( Eens kijken hoe we dit gaan doen....
Geen dank :) Ik heb zelf zoveel uurtjes met xorg zitten stoeien, mede met hulp van hier, dat ik met genoegen eens iets terug doe.

Beryl heeft Composite nodig. De Matrox-kaart heeft neem ik geen geen native glx-drivers, dus dat moet je zelf implementeren. Ik denk dat dat heel moeilijk gaat worden (een scherm met nvidia, een ander met eigen (ai)glx). Beryl zelf kan overigens sowieso nog niet goed met twee schermen overweg (niet dat het onmogelijk is).

De enige oplossing die ik zo snel kan bedenken is dat je composite maar voor 1 scherm inschakelt. Maar ik zou niet weten hoe dat moet...

Deze signature is strikt genomen langer dan noodzakelijk.


Acties:
  • 0 Henk 'm!

  • Peedy
  • Registratie: Februari 2002
  • Laatst online: 06-11-2024
glx-drivers in de Matrox drivers implementeren ga ik niet aan beginnen met mijn skills :P Daarnaast is het, voor zover ik lees op Beryl Project fora, onmogelijk om composite voor 1 afzonderlijk scherm aan/uit te schakelen.

Overigens kan Beryl zelf prima met 2 schermen overweg in TwinView en MergeFD. Het wordt pas lastig als het twee verschillende kaarten zijn, maar dat is volgens dit draadje ook niet zo'n groot probleem meer. Je moet alleen je xsession file aanpassen zodat je expliciet emerald als window decorator meegeeft.

Acties:
  • 0 Henk 'm!

  • Crakie
  • Registratie: Augustus 2006
  • Laatst online: 02-09 11:29

Crakie

I want my board back, Lance

Dan zitten we in hetzelfde schuitje... Ik heb een tweede scherm via een framebuffer op mijn tv-kaart waardoor ik ook geen composite kan gebruiken. Mijn oplossingen: nog een Linux distro erbij installeren. Mijn Ubuntu ziet er fantastisch uit, maar draait geen Beryl, terwijl Arch helemaal gepimpt is.

Deze signature is strikt genomen langer dan noodzakelijk.

Pagina: 1