Graka Nummer zwei

Was macht man, wenn man nachts nicht schlafen will? Zum Beispiel eine zweite Grafikkarte in seinen Rechner stöpseln und versuchen diese zu aktivieren. Nichts leichter als das, dachte ich.

Falsch.

Die gewünschte Einrichtung sah vor, dass die Monitore an der ersten Dualhead-Grafikkarte zusammen einen Desktop mit 2560x1024 Pixeln ergeben und die zweite Grafikkarte einen eigenen Desktop für den Beamer.
Beide Grafikkarten zusammen wollte Suse 10.3 jedoch nicht wahrhaben. Was tun?

Erstens: PCI-Grafikkarte reinstöpseln, mit Option init 3 booten, als Root einloggen und die alte xorg.config sichern. Dann mitels sax2 -r die PCI-Grafikkarte einrichten. Danach mit init 5 && exit durchstarten.

Spätestens jetzt sollte eine neue xorg.conf mit den Eigenschaften der PCI-Grafikkarte angelegt worden sein. Diese sichert man sich, z.B. als xorg.conf - nur RIVA TNT2 Model 64/Model 64 Pro.

Dann herunterfahren, PCI-Grafikkarte raus, AGP-Graka rein und das gleiche Spiel: Mit init 3 booten, als Root einloggen und mit sax2 -r die AGP-Grafikkarte einrichten. Danach mit init 5 && exit in die Grafische Oberfläche. Im Systemverwaltungsmodus den Dual-Head-Betrieb der AGP-Karte einrichten (steht dann in der xorg.conf in der Sektion Device[0]), dann (als Root) die neue xorg.conf aufsuchen, sichern (z.B. xorg.conf - nur ATI Radeon RV280 5964) und dann die neue Konfiguration zusammenbasteln:

Man öffne die neueste xorg.conf. Für die Werte der AGP-Grafikkarte steht Monitor[0], Modes[0], Device[0] und Screen[0] in der neuen xorg.config. In der xorg.conf - nur RIVA TNT2 Model 64/Model 64 Pro stehen die Werte für die PCI-Grafikkarte, Hier muss man sich die Monitor, Modes, Device und Screen werte "leihen" und in die xorg.conf kopieren. Dabei die Nummer bei den PCI-Grafikkarten-Werten auf 1 erhöhen – im Beispiel die Rot markierten Sektionen:

Aus

Section "Monitor"    
DisplaySize 340 270  
HorizSync 30-62  
Identifier "Monitor[0]"  
ModelName "MONITOR"  
Option "DPMS"    
VendorName "TAR"     
VertRefresh 43-60    
UseModes "Modes[0]"  
EndSection   

in xorg.conf - nur RIVA TNT2 Model 64/Model 64 Pro wird

Section "Monitor"    
DisplaySize 340 270  
HorizSync 30-62  
Identifier "Monitor[1]"  
ModelName "MONITOR"  
Option "DPMS"    
VendorName "TAR"     
VertRefresh 43-60    
UseModes "Modes[1]"  
EndSection   

in xorg.conf.

Das ganze sieht dann so aus:

# /.../  
Section "Files"  
...  
EndSection   

Section "ServerFlags"    
...  
EndSection    

Section "Module"     
...  
EndSection    

Section "InputDevice"    
...  
EndSection    

Section "InputDevice"    
...  
EndSection

Section "InputDevice"    
...  
EndSection   

Section "Monitor"    
DisplaySize 337 270  
HorizSync 29-61  
Identifier "Monitor[0]"  
ModelName "MONITOR"  
Option "DPMS"    
VendorName "TAR"     
VertRefresh 50-60    
UseModes "Modes[0]"  
EndSection   

Section "Monitor"    
DisplaySize 340 270  
HorizSync 30-62  
Identifier "Monitor[1]"  
ModelName "MONITOR"  
Option "DPMS"    
VendorName "TAR"     
VertRefresh 43-60    
UseModes "Modes[1]"  
EndSection   

Section "Modes"  
Identifier "Modes[0]"    
Modeline "1280x1024" 103.24 1280 1360 1496 1712 1024 1025 1028 1058  
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795    
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622    
Modeline "768x576" 34.96 768 792 872 976 576 577 580 597     
Modeline "1280x960" 102.10 1280 1360 1496 1712 960 961 964 994   
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828    
Modeline "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895    
Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795    
Modeline "1280x600" 61.50 1280 1336 1464 1648 600 601 604 622    
Modeline "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622    
Modeline "640x480" 23.86 640 656 720 800 480 481 484 497     
Modeline "1280x1024" 106.97 1280 1360 1496 1712 1024 1025 1028 1059  
Modeline "1280x960" 105.61 1280 1360 1496 1712 960 961 964 995   
Modeline "1280x800" 86.35 1280 1344 1480 1680 800 801 804 829    
Modeline "1152x864" 84.44 1152 1216 1336 1520 864 865 868 896    
Modeline "1280x768" 82.91 1280 1344 1480 1680 768 769 772 796    
Modeline "1024x768" 66.33 1024 1080 1184 1344 768 769 772 796    
Modeline "1280x600" 63.55 1280 1336 1464 1648 600 601 604 622    
Modeline "1024x600" 50.60 1024 1064 1168 1312 600 601 604 622    
Modeline "800x600" 39.49 800 832 912 1024 600 601 604 622    
Modeline "768x576" 36.13 768 792 872 976 576 577 580 597     
Modeline "640x480" 24.70 640 656 720 800 480 481 484 498     
Modeline "2560x1024" 103.24 2560 2640 2776 2992 1024 1025 1028 1058  
EndSection   

Section "Modes"  
Identifier "Modes[1]"    
Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059  
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795    
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622    
Modeline "768x576" 34.96 768 792 872 976 576 577 580 597     
EndSection   

Section "Screen"     
DefaultDepth 24  
SubSection "Display"     
Depth 15     
Modes "1280x1024" "1024x768" "800x600" "768x576"     
EndSubSection    
SubSection "Display"     
Depth 16     
Modes "1280x1024" "1024x768" "800x600" "768x576"     
EndSubSection    
SubSection "Display"     
Depth 24     
Modes "1280x1024" "1024x768" "800x600" "768x576"      
EndSubSection    
SubSection "Display"     
Depth 32     
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"     
EndSubSection    
SubSection "Display"     
Depth 8  
Modes "1280x1024" "1024x768" "800x600" "768x576"     
EndSubSection    
Device "Device[0]"   
Identifier "Screen[0]"   
Monitor "Monitor[0]"     
EndSection   

Section "Screen"     
DefaultDepth 16  
SubSection "Display"     
Depth 15     
Modes "1280x1024" "1024x768" "800x600" "768x576"     
EndSubSection    
SubSection "Display"     
Depth 16     
Modes "1280x1024" "1024x768" "800x600" "768x576"     
EndSubSection    
SubSection "Display"     
Depth 24     
Modes "1280x1024" "1024x768" "800x600" "768x576"     
EndSubSection    
SubSection "Display"     
Depth 8  
Modes "1280x1024" "1024x768" "800x600" "768x576"     
EndSubSection    
Device "Device[1]"   
Identifier "Screen[1]"   
Monitor "Monitor[1]"     
EndSection   

Section "Device"     
BoardName "RV280 5964"   
BusID "1:0:0"    
Driver "radeon"  
Identifier "Device[0]"   
Option "XaaNoColor8x8PatternFillTrap"    
Option "SaXDualHead"     
Option "IgnoreEDID"  
Option "MergedFB"    
Option "SaXDualMonitorVendor" "TAR"  
Option "CRT2VRefresh" "50-60"    
Option "CRT2Position" "RightOf"  
Option "MonitorLayout" "AUTOCRT,CRT"     
Option "MetaModes" "1280x1024,1280x1024;1024x768,1024x768;800x600,800x600;768x576,768x576"   
Option "SaXDualOrientation" "RightOf"    
Option "SaXDualResolution" "1280x1024"   
Option "CRT2HSync" "30-62"   
Option "SaXDualMode" "Xinerama"  
Option "SaXDualHSync" "30-62"    
Option "SaXDualMonitorModel" "MONITOR"   
Option "SaXDualVSync" "50-60"    
Screen 0     
VendorName "ATI"     
EndSection   

Section "Device"     
BoardName "RIVA TNT2 Model 64/Model 64 Pro"  
BusID "0:5:0"    
Driver "nv"  
Identifier "Device[1]"   
Screen 0     
VendorName "NVidia"  
EndSection   

Section "ServerLayout"   
Identifier "Layout[all]"     
InputDevice "Keyboard[0]" "CoreKeyboard"     
InputDevice "Mouse[1]" "CorePointer"     
InputDevice "Mouse[3]" "SendCoreEvents"  
Option "Clone" "off"     
Option "Xinerama" "off"  
Screen "Screen[0]" LeftOf "Screen[1]"    
Screen "Screen[1]"   
EndSection    

Section "DRI"    
Group "video"    
Mode 0660    
EndSection   

Section "Extensions"     
EndSection   

Die Sektion "ServerLayout" ist das entscheidende: hier sieht man, wie die beiden oben definierten Screens zusammen eingebunden werden. Und das war's auch schon. Gut, bei mir hats etwa 5 Stunden gedauert, aber jetzt funktioniert's. :) Und natürlich sehen die einzelnen Sections für andere Grafikkarten auch etwas anders aus.

Neuen Kommentar hinzufügen

Eingeschränktes HTML

  • Erlaubte HTML-Tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Zeilenumbrüche und Absätze werden automatisch erzeugt.
  • Website- und E-Mail-Adressen werden automatisch in Links umgewandelt.