specifying primary device

Carl Karsten carl at personnelware.com
Wed Dec 17 11:55:14 PST 2008


Beso wrote:
 > 2008/12/17 Carl Karsten <carl at personnelware.com>:
 >> (!!) More than one possible primary device found
 >>
 >> google says to specify BusID, which I do.
 >>
 >> Is there a .conf setting to specify which it is?
 >>
 >> No clue if it will have any impact on anything, but it is in the log, so I
 >> figured I should follow it.
 >>
 > do a lspci and identify your video device bus. then put BusID "<bus
 > id>" in your
 > device section in the xorg.conf.
 > example; let's say that my video device has been identified on the
 > 1:5:0 pci bus.
 > i'd open my xorg.conf and put the following line in my device section.
 >
 >   BusID         "1:5:0"
 >
 > after that select that specific device in your screen section so that it can
 > be used as default for that specific screen that is set as default in the
 > serverlayout section.
 >
 > it influences the board you chose.
 >

according to man xorg.conf: BusID  "PCI:bus:device:function"

but it still gave me the warning

# xorg.conf

Section "ServerLayout"
     Identifier     "Layout0"
     # Screen         "dell1901fp" 0 0
     # screen          "pt810"
     screen          "dellM991"
     # screen          "pt810" RightOf "dell1901fp"
     # screen          "dellM991" above "pt810"
     InputDevice    "Keyboard0" "CoreKeyboard"
     InputDevice    "Mouse0" "CorePointer"
EndSection


Section "ServerFlags"
     Option         "Xinerama" "0"
     Option         "InitPrimary" "1"
EndSection

Section "Extensions"
     Option "Composite" "1"
EndSection

Section "DRI"
     Mode    0666
EndSection


Section "Monitor"
     Identifier     "dell1901fp"
     VendorName     "Dell"
     ModelName      "DELL 1901FP"
     HorizSync       30.0 - 80.0
     VertRefresh     56.0 - 76.0
     # Option         "DPMS"
EndSection

Section "Monitor"
# http://www.monitorworld.com/Monitors/viewsonic/viewsonicpt810.html
# Max Resolution:           1600 x 1200
# Sync Type:        Seperate
# H Freq/ V Freq:           30-96 Khz / 50-160 Hz
     Identifier      "pt810"
     Vendorname      "ViewSonic"
     # HorizSync       30-96
     # VertRefresh     50-160
     Option          "DPMS"
EndSection

Section "Monitor"
     Identifier      "dellM991"
     Vendorname      "Dell"
     Modelname       "Dell M991"
     # HorizSync       30-96
     # VertRefresh     50-160
     Option          "DPMS"
EndSection


Section "Device"
     Identifier     "nv0"
     Driver         "nvidia"
     # Driver         "vesa"
     VendorName     "NVIDIA Corporation"
     BoardName      "GeForce2 MX/MX 400"
     Busid       "PCI:1:0:0"
     Option      "NoLogo" "0"
     Option      "NoInt10" "1"
EndSection

Section "Device"
# 02:08.0 VGA compatible controller: ATI Technologies Inc Rage 128 PP/PRO TMDS 
[Xpert 128]
     Identifier  "rage"
     # Driver      "ati"
     Driver      "r128"
     # Driver      "vesa"
     # Driver      "fglrx"
     Vendorname      "ATI"
     Boardname       "ATI Rage 128"
     Busid       "PCI:2:8:0"
     Option      "UseFBDev" "1"
     Option      "NoInt10" "1"
     # Option      "MergedFB"  "off"
     # Option      "OldDmaInit"    "True"
     # Option      "DRI"       "off"
EndSection

Section "Device"
# 02:09.0 VGA compatible controller: ATI Technologies Inc 210888GX [Mach64 GX] 
(rev 03)
     Identifier  "mach"
     # Driver      "ati"
     Driver      "mach64"
     # Driver      "fglrx"
     # Driver      "vesa"
     Boardname   "Mach64"
     Busid       "PCI:2:9:0"

     Option      "probe_sparse"  "1"
     # Option      "OldDmaInit"    "1"
     Option      "NoInt10"   "0"

     Option      "DRI"       "0"
     Option      "UseFBDev"  "1"
     Option      "MergedFB"      "0"

EndSection


Section "Screen"
     Identifier     "dell1901fp"
     Monitor        "dell1901fp"
     Device         "nv0"
     DefaultDepth    24
     # Option         "metamodes" "1280x1024_60 +0+0; 1280x1024 +0+0; 1024x768 
+0+0; 800x600 +0+0; 640x480 +0+0"
     SubSection     "Display"
         Depth       24
         Modes       "1280x1024x60" "1024x768"
     EndSubSection
EndSection

Section "Screen"
     Identifier  "pt810"
     Monitor     "pt810"
     Device      "rage"
     Defaultdepth    24
     SubSection "Display"
         Depth   24
         Modes        "1024x768"
         # Modes        "1600x1200" "1024x768"
     EndSubSection
EndSection

Section "Screen"
     Identifier  "dellM991"
     Monitor     "dellM991"
     Device      "mach"
     Defaultdepth    24
     SubSection "Display"
         Depth   24
         Modes        "1024x768"
     EndSubSection
EndSection


Section "InputDevice"
     Identifier     "Mouse0"
     Driver         "mouse"
     Option         "Protocol" "auto"
     Option         "Device" "/dev/psaux"
     Option         "Emulate3Buttons" "no"
     Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
     Identifier     "Keyboard0"
     Driver         "kbd"
EndSection



X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux dell29 2.6.27-9-generic #1 SMP Thu Nov 20 
21:57:00 UTC 2008 i686
Build Date: 24 October 2008  08:00:16AM
xorg-server 2:1.5.2-2ubuntu3 (buildd at rothera.buildd)
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 17 10:52:41 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "dellM991" (0)
(**) |   |-->Monitor "dellM991"
(**) |   |-->Device "mach"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(==) 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
(==) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d9a40
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 4.1
	X.Org XInput driver : 2.1
	X.Org Server Extension : 1.1
	X.Org Font Renderer : 0.6
(II) Loader running on linux
(++) using VT number 7

(!!) More than one possible primary device found
(!!) More than one possible primary device found
(--) PCI:*(0 at 1:0:0) nVidia Corporation NV11 [GeForce2 MX/MX 400] rev 178, Mem @ 
0xfd000000/0, 0xe8000000/0, BIOS @ 0x????????/65536
(--) PCI: (0 at 2:8:0) ATI Technologies Inc Rage 128 PP/PRO TMDS [Xpert 128] rev 0, 
Mem @ 0xf0000000/0, 0xfbedc000/0, I/O @ 0x0000de00/0, BIOS @ 0x????????/131072
(--) PCI: (0 at 2:9:0) ATI Technologies Inc 210888GX [Mach64 GX] rev 3, Mem @ 
0xfc000000/0, BIOS @ 0x????????/65536
(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[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	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"

(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  96.43.09  Mon Oct 27 14:37:08 PST 2008
(II) Loading extension GLX
(II) LoadModule: "freetype"

(II) Loading /usr/lib/xorg/modules//fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 1.5.2, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.6
(II) Loading font FreeType
(II) LoadModule: "record"

(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension RECORD
(II) LoadModule: "dri"

(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "mach64"

(II) Loading /usr/lib/xorg/modules/drivers//mach64_drv.so
(II) Module mach64: vendor="X.Org Foundation"
	compiled for 1.5.0, module version = 6.8.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "kbd"

(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 1.4.99.905, module version = 1.3.1
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1
(II) LoadModule: "mouse"

(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.4.99.905, module version = 1.3.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 2.1
(II) MACH64: Driver for ATI Mach64 chipsets
(II) Primary Device is: PCI 01 at 00:00:0
(II) resource ranges after probing:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[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	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(**) MACH64(0): Depth 24, (--) framebuffer bpp 32
(**) MACH64(0): Option "probe_sparse" "1"
(==) MACH64(0): Using XAA acceleration architecture
(II) MACH64: Mach64 in slot 2:9:0 detected.
(II) MACH64:  VGA Wonder at I/O port 0x01CE detected.
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[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	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[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	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[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	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) Loading sub module "int10"
(II) LoadModule: "int10"

(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 1.5.2, module version = 1.0.0
	ABI class: X.Org Video Driver, version 4.1
(**) MACH64(0): Option "NoINT10" "1"
(WW) MACH64(0): Unable to initialise int10 interface.
(II) MACH64(0): BIOS Data:  BIOSSize=0x0000, ROMTable=0x0000.
(II) MACH64(0): BIOS Data:  ClockTable=0x0000, FrequencyTable=0x0000.
(II) MACH64(0): BIOS Data:  LCDTable=0x0000.
(II) MACH64(0): BIOS Data:  VideoTable=0x0000, HardwareTable=0x0000.
(II) MACH64(0): BIOS Data:  I2CType=0x00, Tuner=0x00, Decoder=0x00, Audio=0x0F.
(--) MACH64(0): ATI 88800GX-F graphics controller detected.
(--) MACH64(0): Chip type 4758 "GX", class 0, revision 0x00.
(--) MACH64(0): SGS bus interface detected;  sparse I/O base is 0x02EC.
(--) MACH64(0): VGA Wonder registers at I/O port 0x01CE.
(--) MACH64(0): ATI Mach64 adapter detected.
(--) MACH64(0): ATI 68860 (Revision C) or similar RAMDAC detected.
(==) MACH64(0): RGB weight 888
(==) MACH64(0): Default visual is TrueColor
(==) MACH64(0): Using gamma correction (1.0, 1.0, 1.0)
(II) MACH64(0): Using Mach64 accelerator CRTC.
(WW) MACH64(0): Logic error setting operating state for VGA I/O.
(WW) MACH64(0): Logic error setting operating state for VGAWonder I/O.
(II) MACH64(0): Storing hardware cursor image at 0xFC3FFC00.
(II) MACH64(0): Using 8 MB linear aperture at 0xFC000000.
(!!) MACH64(0): Virtual resolutions will be limited to 4095 kB
  due to linear aperture size and/or placement of hardware cursor image area.
(II) MACH64(0): Using Block 0 MMIO aperture at 0xFC7FFC00.
(WW) MACH64(0): Logic error setting operating state for VGA memory aperture.
(II) MACH64(0): MMIO write caching enabled.
(--) MACH64(0): 4096 kB of Enhanced VRAM (256Kx16 with short shift register) 
detected (using 4095 kB).
(WW) MACH64(0): Cannot shadow an accelerated frame buffer.
(EE) MACH64(0): Unsupported or non-programmable clock generator.
(II) UnloadModule: "mach64"
(II) UnloadModule: "int10"
(II) Unloading /usr/lib/xorg/modules//libint10.so
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

pretty sure I am bumping into:
https://bugs.freedesktop.org/show_bug.cgi?id=18160#c8
So I am going to give up on multi-head till that gets resolved.

Carl K



More information about the xorg mailing list