wie definiert man die primäre grafikkarte in xorg.conf

jmar83

jmar83

Hans Müller
hallo zusammmen

weiss jemand, wie man die primäre grafikkarte in xorg.conf umstellt, z.b. wenn diese nicht die karte ist ab der der rechner startet?

also wenn die karte, welche z.b. im bios als primär definiert ist (früher gab es mal die option festzulegen ob agp- oder pci-bus), für das os die rolle einer sekundären karte übernehmen soll... sozusagen tauschen, ähnlich wie man es auch bei windows machen kann.
 
Zuletzt bearbeitet:
Soweit ich weiss geht das gar nicht. Das muss über's BIOS umgestellt werden. Zitat aus dem Gentoo-Wiki dazu:

If you're using two different card interfaces, such as PCI and AGP, you may be able to switch their order in your BIOS. If not, you can always switch the cables!

Wenn du allerdings die Dualscreen-Unterstützung meinst, dann dürfte sich ein Blick in http://wiki.debian.org/DualMonitorD...ontext=180&value=dualscreen&titlesearch=Titel lohnen, wenn du 2 verschiedene X-Server parallel laufen lassen willst. Wenn du eine normale Dual-Monitor-Unterstützung haben willst, dann ist xrandr dein Freund. Einfach mal bei Google nach "xrandr dual monitor debian howto" suchen.
 
hallo bitmuncher,

danke für deine antwort. der einfachheit halber habe ich die frage mal ziemlich "allgemein" gestellt - also am beispiel eine x86-rechners. habe gedacht dass ich das evtl. adaptieren könnte. (irgendwelche einstellungen in der xorg.conf, um die primäre grafik sekundär zu machen... aber wenn das so nicht geht...)

da ich aber eine sun blade 2500 habe, kann ich nicht auf die sekundäre karte (welche kein bios für sun besitzt - ist eine matrox g450 pci) im "open boot prompt" (quasi das bios bei sun-maschinen) umschalten.

ein "lspci" erkennt aber die matrox g450 pci-karte! nach dem einbau dieser fing die primäre grafikkarte (eine xvr100 - eine ati-karte für sun-workstations) an zu spinnen, und ich musste in der xorg.conf festlegen was wie ist:

Section "Device"
Identifier "primaryCard"
#Driver "ati"
Option "UseFBDev" "false"
BusId "PCI:0:0:2:0"
Screen 0
EndSection


Section "Monitor"
Identifier "primaryMonitor"
EndSection


Section "Screen"
Identifier "primaryScreen"
Device "primaryCard"
Monitor "primaryMonitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection







Section "Device"
Identifier "secondaryCard"
#Driver "mga"
#Option "OldDmaInit" "false"
#Option "UseFBDev" "true"
BusID "PCI:0:1:0:0"
Screen 1
EndSection


Section "Monitor"
Identifier "secondaryMonitor"
EndSection

Section "Screen"
Identifier "secondaryScreen"
Device "secondaryCard"
Monitor "secondaryMonitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection




später habe ich dann noch folgendes hinzugefügt:

Section "ServerLayout"
Identifier "myLayout"
Screen 0 "primaryScreen" 0 0
Screen 1 "secondaryScreen" LeftOf "primaryScreen"
Option "Xinerama" "1"
EndSection





...das ganze scheint aber keine wirkung zu zeigen.


die Xorg.0.log zeigt an dass 2 mögliche primäre karten ("More than one possible primary device found") installiert sind:

[ 49.953]
X.Org X Server 1.12.1.902 (1.12.2 RC 2)
Release Date: 2012-05-19
[ 49.953] X Protocol Version 11, Revision 0
[ 49.953] Build Operating System: Linux 2.6.32-5-sparc64-smp sparc Debian
[ 49.953] Current Operating System: Linux debiansparc 2.6.32-5-sparc64-smp #1 SMP Sun May 6 09:31:16 UTC 2012 sparc64
[ 49.953] Kernel command line: root=/dev/hda2 ro
[ 49.953] Build Date: 20 May 2012 04:04:48PM
[ 49.953] xorg-server 2:1.12.1.902-1 (Cyril Brulebois <kibi@debian.org>)
[ 49.953] Current version of pixman: 0.24.4
[ 49.953] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 49.953] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 49.954] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 26 09:50:13 2012
[ 49.989] (==) Using config file: "/etc/X11/xorg.conf"
[ 49.989] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 50.023] (==) ServerLayout "myLayout"
[ 50.023] (**) |-->Screen "primaryScreen" (0)
[ 50.023] (**) | |-->Monitor "primaryMonitor"
[ 50.023] (**) | |-->Device "primaryCard"
[ 50.024] (**) |-->Screen "secondaryScreen" (1)
[ 50.024] (**) | |-->Monitor "secondaryMonitor"
[ 50.024] (**) | |-->Device "secondaryCard"
[ 50.024] (**) Option "Xinerama" "1"
[ 50.024] (==) Automatically adding devices
[ 50.024] (==) Automatically enabling devices
[ 50.024] (**) Xinerama: enabled
[ 50.092] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 50.092] Entry deleted from font path.
[ 50.213] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
[ 50.213] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 50.213] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 50.213] (II) Loader magic: 0x701db850
[ 50.213] (II) Module ABI versions:
[ 50.213] X.Org ANSI C Emulation: 0.4
[ 50.213] X.Org Video Driver: 12.0
[ 50.213] X.Org XInput driver : 16.0
[ 50.213] X.Org Server Extension : 6.0
[ 50.215] (!!) More than one possible primary device found
[ 50.215] (--) PCI: (2:1:0:0) 102b:0525:102b:0d43 rev 133, Mem @ 0x04000000/33554432, 0x03000000/16384, 0x03800000/8388608, 0x00000000/1, 0x00000000/1, 0x00000000/1, BIOS @ 0x????????/131072
[ 50.215] (--) PCI: (3:0:2:0) 1002:5159:1002:0908 rev 0, Mem @ 0x08000000/134217728, 0x00100000/65536, 0x00000000/1, 0x00000000/1, 0x00000000/1, I/O @ 0x00000300/256, BIOS @ 0x????????/131072
[ 50.218] (II) LoadModule: "extmod"
[ 50.243] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 50.258] (II) Module extmod: vendor="X.Org Foundation"
[ 50.258] compiled for 1.12.1.902, module version = 1.0.0
[ 50.259] Module class: X.Org Server Extension
[ 50.259] ABI class: X.Org Server Extension, version 6.0
[ 50.259] (II) Loading extension SELinux
[ 50.259] (II) Loading extension MIT-SCREEN-SAVER
[ 50.259] (II) Loading extension XFree86-VidModeExtension
[ 50.259] (II) Loading extension XFree86-DGA
[ 50.259] (II) Loading extension DPMS
[ 50.259] (II) Loading extension XVideo
[ 50.259] (II) Loading extension XVideo-MotionCompensation
[ 50.259] (II) Loading extension X-Resource
[ 50.259] (II) LoadModule: "dbe"
[ 50.259] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 50.260] (II) Module dbe: vendor="X.Org Foundation"
[ 50.260] compiled for 1.12.1.902, module version = 1.0.0
[ 50.260] Module class: X.Org Server Extension
[ 50.260] ABI class: X.Org Server Extension, version 6.0
[ 50.260] (II) Loading extension DOUBLE-BUFFER
[ 50.260] (II) LoadModule: "glx"
[ 50.260] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 50.297] (II) Module glx: vendor="X.Org Foundation"
[ 50.297] compiled for 1.12.1.902, module version = 1.0.0
[ 50.297] ABI class: X.Org Server Extension, version 6.0
[ 50.297] (==) AIGLX enabled
[ 50.297] (II) Loading extension GLX
[ 50.297] (II) LoadModule: "record"
[ 50.298] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 50.298] (II) Module record: vendor="X.Org Foundation"
[ 50.298] compiled for 1.12.1.902, module version = 1.13.0
[ 50.298] Module class: X.Org Server Extension
[ 50.298] ABI class: X.Org Server Extension, version 6.0
[ 50.299] (II) Loading extension RECORD
[ 50.299] (II) LoadModule: "dri"
[ 50.299] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 50.313] (II) Module dri: vendor="X.Org Foundation"
[ 50.313] compiled for 1.12.1.902, module version = 1.0.0
[ 50.313] ABI class: X.Org Server Extension, version 6.0
[ 50.313] (II) Loading extension XFree86-DRI
[ 50.313] (II) LoadModule: "dri2"
[ 50.314] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 50.314] (II) Module dri2: vendor="X.Org Foundation"
[ 50.314] compiled for 1.12.1.902, module version = 1.2.0
[ 50.314] ABI class: X.Org Server Extension, version 6.0
[ 50.314] (II) Loading extension DRI2
[ 50.315] (==) Matched sunffb as autoconfigured driver 0
[ 50.315] (==) Matched fbdev as autoconfigured driver 1
[ 50.315] (==) Assigned the driver to the xf86ConfigLayout
[ 50.315] (II) LoadModule: "sunffb"
[ 50.352] (II) Loading /usr/lib/xorg/modules/drivers/sunffb_drv.so
[ 50.362] (II) Module sunffb: vendor="X.Org Foundation"
[ 50.362] compiled for 1.12.1, module version = 1.2.1
[ 50.362] Module class: X.Org Video Driver
[ 50.362] ABI class: X.Org Video Driver, version 12.0
[ 50.362] (II) LoadModule: "fbdev"
[ 50.362] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 50.374] (II) Module fbdev: vendor="X.Org Foundation"
[ 50.374] compiled for 1.12.1, module version = 0.4.2
[ 50.374] ABI class: X.Org Video Driver, version 12.0
[ 50.374] (II) SUNFFB: driver for Creator, Creator 3D and Elite 3D
[ 50.374] (II) FBDEV: driver for framebuffer: fbdev
[ 50.375] (++) using VT number 7

[ 50.380] (WW) Falling back to old probe method for sunffb
[ 50.380] (WW) Falling back to old probe method for fbdev
[ 50.380] (II) Loading sub module "fbdevhw"
[ 50.380] (II) LoadModule: "fbdevhw"
[ 50.381] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 50.457] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 50.457] compiled for 1.12.1.902, module version = 0.0.2
[ 50.457] ABI class: X.Org Video Driver, version 12.0
[ 50.457] (II) FBDEV(0): using default device
[ 50.458] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
[ 50.458] (==) FBDEV(0): RGB weight 888
[ 50.458] (==) FBDEV(0): Default visual is TrueColor
[ 50.458] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 50.458] (II) FBDEV(0): hardware: ATI Radeon 5159 (video memory: 65536kB)
[ 50.458] (II) FBDEV(0): checking modes against framebuffer device...
[ 50.458] (II) FBDEV(0): mode "1280x1024" ok
[ 50.458] (II) FBDEV(0): checking modes against monitor...
[ 50.469] (--) FBDEV(0): Virtual size is 1280x1024 (pitch 1280)
[ 50.469] (**) FBDEV(0): Default mode "1280x1024": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.0 Hz
[ 50.469] (II) FBDEV(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[ 50.469] (==) FBDEV(0): DPI set to (96, 96)
[ 50.469] (II) Loading sub module "fb"
[ 50.469] (II) LoadModule: "fb"
[ 50.469] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 50.514] (II) Module fb: vendor="X.Org Foundation"
[ 50.514] compiled for 1.12.1.902, module version = 1.0.0
[ 50.514] ABI class: X.Org ANSI C Emulation, version 0.4
[ 50.514] (**) FBDEV(0): using shadow framebuffer
[ 50.514] (II) Loading sub module "shadow"
[ 50.514] (II) LoadModule: "shadow"
[ 50.514] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 50.528] (II) Module shadow: vendor="X.Org Foundation"
[ 50.528] compiled for 1.12.1.902, module version = 1.1.0
[ 50.528] ABI class: X.Org ANSI C Emulation, version 0.4
[ 50.528] (II) UnloadModule: "sunffb"
[ 50.528] (II) Unloading sunffb
[ 50.528] (==) Depth 24 pixmap format is 32 bpp
[ 50.875] (==) FBDEV(0): Backing store disabled
[ 50.876] (==) FBDEV(0): DPMS enabled
[ 50.876] (==) RandR enabled
[ 50.876] (II) Initializing built-in extension Generic Event Extension
[ 50.876] (II) Initializing built-in extension SHAPE
[ 50.876] (II) Initializing built-in extension MIT-SHM
[ 50.876] (II) Initializing built-in extension XInputExtension
[ 50.876] (II) Initializing built-in extension XTEST
[ 50.876] (II) Initializing built-in extension BIG-REQUESTS
[ 50.876] (II) Initializing built-in extension SYNC
[ 50.876] (II) Initializing built-in extension XKEYBOARD
[ 50.876] (II) Initializing built-in extension XC-MISC
[ 50.876] (II) Initializing built-in extension SECURITY
[ 50.876] (II) Initializing built-in extension XINERAMA
[ 50.877] (II) Initializing built-in extension XFIXES
[ 50.877] (II) Initializing built-in extension RENDER
[ 50.877] (II) Initializing built-in extension RANDR
[ 50.877] (II) Initializing built-in extension COMPOSITE
[ 50.877] (II) Initializing built-in extension DAMAGE
[ 50.877] (II) SELinux: Disabled on system
[ 50.947] (II) AIGLX: Screen 0 is not DRI2 capable
[ 50.947] (II) AIGLX: Screen 0 is not DRI capable
[ 51.385] (II) AIGLX: Loaded and initialized swrast
[ 51.385] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 52.069] (II) config/udev: Adding input device LITEON Technology USB Multimedia Keyboard (/dev/input/event0)
[ 52.069] (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
[ 52.069] (II) LoadModule: "evdev"
[ 52.105] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 52.108] (II) Module evdev: vendor="X.Org Foundation"
[ 52.108] compiled for 1.12.1, module version = 2.7.0
[ 52.108] Module class: X.Org XInput Driver
[ 52.108] ABI class: X.Org XInput driver, version 16.0
[ 52.108] (II) Using input driver 'evdev' for 'LITEON Technology USB Multimedia Keyboard'
[ 52.108] (**) LITEON Technology USB Multimedia Keyboard: always reports core events
[ 52.108] (**) evdev: LITEON Technology USB Multimedia Keyboard: Device: "/dev/input/event0"
[ 52.120] (--) evdev: LITEON Technology USB Multimedia Keyboard: Vendor 0x46d Product 0xc312
[ 52.120] (--) evdev: LITEON Technology USB Multimedia Keyboard: Found keys
[ 52.120] (II) evdev: LITEON Technology USB Multimedia Keyboard: Configuring as keyboard
[ 52.120] (**) Option "config_info" "udev:/sys/devices/root/f007abfc/pci0002:00/0002:00:0b.0/usb3/3-1/3-1.1/3-1.1:1.0/input/input0/event0"
[ 52.120] (II) XINPUT: Adding extended input device "LITEON Technology USB Multimedia Keyboard" (type: KEYBOARD, id 6)
[ 52.120] (**) Option "xkb_rules" "evdev"
[ 52.120] (**) Option "xkb_model" "pc105"
[ 52.120] (**) Option "xkb_layout" "ch"
[ 52.120] (**) Option "xkb_variant" "de"
[ 52.226] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event1)
[ 52.226] (**) Logitech USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 52.226] (II) Using input driver 'evdev' for 'Logitech USB Optical Mouse'
[ 52.226] (**) Logitech USB Optical Mouse: always reports core events
[ 52.226] (**) evdev: Logitech USB Optical Mouse: Device: "/dev/input/event1"
[ 52.237] (--) evdev: Logitech USB Optical Mouse: Vendor 0x46d Product 0xc05b
[ 52.237] (--) evdev: Logitech USB Optical Mouse: Found 12 mouse buttons
[ 52.237] (--) evdev: Logitech USB Optical Mouse: Found scroll wheel(s)
[ 52.237] (--) evdev: Logitech USB Optical Mouse: Found relative axes
[ 52.237] (--) evdev: Logitech USB Optical Mouse: Found x and y relative axes
[ 52.237] (II) evdev: Logitech USB Optical Mouse: Configuring as mouse
[ 52.237] (II) evdev: Logitech USB Optical Mouse: Adding scrollwheel support
[ 52.237] (**) evdev: Logitech USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 52.237] (**) evdev: Logitech USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 52.237] (**) Option "config_info" "udev:/sys/devices/root/f007abfc/pci0002:00/0002:00:0b.0/usb3/3-1/3-1.2/3-1.2:1.0/input/input1/event1"
[ 52.237] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 7)
[ 52.238] (II) evdev: Logitech USB Optical Mouse: initialized for relative axes.
[ 52.238] (**) Logitech USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 52.238] (**) Logitech USB Optical Mouse: (accel) acceleration profile 0
[ 52.238] (**) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[ 52.238] (**) Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[ 52.239] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/mouse0)
[ 52.239] (II) No input driver specified, ignoring this device.
[ 52.239] (II) This device may have been added with another device file.




...oder könnte es sein, das mein versuch von anfang an zum scheitern verurteilt ist? einen treiber für die matrox-karte für sparc-plattformen scheint es aber zumindest zu geben.
 
wäre meine xorg.conf-einstellung zumindest auf einen x86/intel-system korrekt??
 
hallo zusammen

es ist folgendermassen:

- die angaben unter http://wiki.debian.org/DualMonitorD...ontext=180&value=dualscreen&titlesearch=Titel scheinen für mein sparc-debian6 teilweise nicht zu gelten, z.b.:

1. man muss unter dem ServerLayout bei der isolate-option nicht "1:0:0", sondern "PCI:1:0:0" verwenden! -> sonst heisst es, andere bus-typen als pci können nicht isoliert werden.

2. die "noint10"-option hat bei mir zur folge, dass das gui nicht mehr startet. allerdings keine einzige fehlermeldung in der Xorg.0.log... (ca. 5 zeilen, das ist alles)

3. bei debian6 ist der pfad nicht /etc/gdm/gdm.conf, sondern scheinbar /etc/gdm3/daemon.conf

4. der pfad des X-files ist nicht /usr/X11R6/bin/X, sondern /usr/bin/X


- bis zu punkt 3.2 der anleitung unter http://wiki.debian.org/DualMonitorD...ontext=180&value=dualscreen&titlesearch=Titel habe ich die sache durchgezogen... allerdings sehe ich noch keinen unterschied. man sollte doch wohl bereits ein anderes verhalten bemerken? Xorg.0.log zeigt auch nix aussergewöhnliches

- schlussendlich habe ich noch den tipp für die matrox g450 unter http://www.gentoo.org/proj/en/base/sparc/hwlist.xml (am beispiel von gentoo) befolgt. -> "Boot kernel with "video=matroxfb:init,nobios", works in Xorg with fbdev but not with mga. Causes kernel 2.6.25 to oops." -> also bei xorg.conf.1 keinen "Driver" angegeben, dafür UseFBDev auf "true" gesetzt. des weiteren die silo-option video=matroxfb:init,nobios



passiert rein gar nix damit... kann mir jemand helfen???
 
was ich auch nicht begreife:

hier in diesem forum wird mir was anderes gesagt an wenn ich sonst wo schaue. an einem anderen ort habe ich eine anleitung gesehen wo man alles in einer xorg.conf-datei konfiguriert.. wie in meinem code-auszug:

Section "ServerLayout"
Identifier "myLayout"
Screen 0 "primaryScreen" 0 0
Screen 1 "secondaryScreen" LeftOf "primaryScreen"
Option "Xinerama" "1"
EndSection



irgendwie scheint es mir, linux ist einmal "a", das andere mal "b"... da weiss man irgendwie nie genau, woran man ist... unterschiedliche distris und unterschiedliche versionen muss man jedes mal fast komplett neu lernen...??!
 
Zuletzt bearbeitet:
mein vorhaben ist wohl eh zu scheitern verurteilt. bin zwar nicht der erste, aber wohl einer von ein paar "bastlern" weltweit, welche sowas versucht haben... (?)
 

Ähnliche Themen

Monitor HP w2207h mit ATI Radeon Mobility X700

X-server stüzt ab

IBM T22, Debian Etch 4, X-server start nach Neuinstall

Kann mir jemand sagen, wo der Fehler in der Xorg.conf ist

Der gutte alte xserver

Zurück
Oben