[ltp] (no subject)

Alex Deucher linux-thinkpad@linux-thinkpad.org
Mon, 25 Oct 2004 17:45:34 -0400


On Mon, 25 Oct 2004 23:21:32 +0200 (MEST), wolfgang pauli <ookami@gmx.de> wrote:
> 
> 
> 
> > On Mon, 25 Oct 2004 14:36:25 +0200 (MEST), ookami@gmx.de <ookami@gmx.de>
> > wrote:
> > > Hi,
> > >
> > > I was just trying to use XFree86 with xinerama on my thinkpad r31. I did
> > it
> > > as I understood from the howto at tldp.org. But it does not work yet.
> > The
> > > question ist whether it can be done with the thinkpad r31 at all. I
> > think it
> > > has only one graphic chip (driver i810).
> > > Here is my lspci output.
> > >
> > > 0000:00:00.0 Host bridge: Intel Corp. 82830 830 Chipset Host Bridge (rev
> > 04)
> > > 0000:00:02.0 VGA compatible controller: Intel Corp. 82830 CGC [Chipset
> > > Graphics Controller] (rev 04)
> > > 0000:00:02.1 Display controller: Intel Corp. 82830 CGC [Chipset Graphics
> > > Controller]
> > > 0000:00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev
> > 02)
> > > 0000:00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev
> > 02)
> > > 0000:00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev
> > 02)
> > > 0000:00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
> > > 0000:00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
> > > 0000:00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
> > > 0000:00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus Controller (rev 02)
> > > 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97
> > > Audio Controller (rev 02)
> > > 0000:00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev
> > 02)
> > > 0000:01:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21
> > > IEEE-1394a-2000 Controller (PHY/Link)
> > > 0000:01:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE
> > > (LOM) Ethernet Controller (rev 42)
> > > 0000:01:09.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
> > > Controller (rev 02)
> > >
> > > Do you think it should work with this? What BusId should I use ?
> > PCI:0:2:0
> > > probably
> > > Should I use this for both cards? (I saw this in the XF86config-4 of
> > another
> > > debian-user with thinkpad X40).
> > >
> >
> > Ignore 02.1.  it's just a place holder for the windows drivers so it
> > will show up as two devices in the device tree.  just use the primary
> > adapter's id for both device sections.   (BTW, the same thing is true
> > for ati cards with two device entries.)  Also, make sure you are using
> > at least xorg 6.8 since dualhead support for i8xx cards was not added
> > until fairly recently.  If you are still having problems post your log
> > and config somewhere.
> >
> > Alex
> >
> 
> Hi compiled xorg from the latest source but it still won't work with. I can
> "clone" the display but not use xinerama. I tried everything I could find in
> config-files in mailing-lists. Don't of anything else. Therefore, here is my
> config-file and the log. Maybe you can help me with that. I guess the main
> Problem is that screen1 can not be found.

Well, for starters, there are a few bugs in your config.

> 
> # ---------------------------
> 
> Section "ServerLayout"
>         Identifier     "X.org Configured"
>         #Screen      0  "Screen0" 0 0
>         Screen  "Screen0"
>         Screen  "Screen0" RightOf "Screen1"

These above two lines should be:
        Screen      0  "Screen0" 0 0
	Screen	    1 "Screen1" RightOf "Screen0"

>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "ServerFlags"
>         Option "AllowMouseOpenFail"  "true"
>         Option "Xinerama" "true"
>         Option  "Clone" "false"

 remove the clone line.

> EndSection
> 
> Section "Files"
>         RgbPath      "/usr/X11R6/lib/X11/rgb"
>         ModulePath   "/usr/X11R6/lib/modules"
>         FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
>         FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
>         FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
>         FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
>         FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
>         FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
> EndSection
> 
> Section "Module"
>         Load  "extmod"
>         Load  "glx"
>         Load  "dri"
>         Load  "dbe"
>         Load  "record"
>         Load  "xtrap"
>         Load  "type1"
>         Load  "freetype"
> EndSection
> 
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
> EndSection
> 
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "auto"
>         Option      "Device" "/dev/mouse"
> EndSection
> 
> Section "InputDevice"
>         Identifier  "Keyboard1"
>         Driver      "keyboard"
>         Option      "XkbRules" "xorg"
>         Option      "XkbModel" "jp106"
>         Option      "XkbLayout" "jp"
> EndSection
> 
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Monitor Vendor"
>         ModelName    "Monitor Model"
>  ### Uncomment if you don't want to default to DDC:
>         HorizSync    31.5 - 64.3
>         VertRefresh  50.0 - 90.0
> EndSection
> 
> Section "Monitor"
>         Identifier   "Monitor1"
>         VendorName   "Monitor Vendor"
>         ModelName    "Monitor Model"
> ### Uncomment if you don't want to default to DDC:
> #       HorizSync    31.5 - 64.3
> #       VertRefresh  50.0 - 90.0
> EndSection
> 
> Section "Device"
>         ### Available Driver options are:-
>         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "NoAccel"                   # [<bool>]
>         Option     "SWcursor"  "true"           # [<bool>]
>         #Option     "ColorKey"                  # <i>
>         #Option     "CacheLines"                # <i>
>         #Option     "Dac6Bit"                   # [<bool>]
>         #Option     "DRI"                       # [<bool>]
>         #Option     "NoDDC"                     # [<bool>]
>         #Option     "ShowCache"                 # [<bool>]
>         #Option     "XvMCSurfaces"              # <i>
>         #Option     "PageFlip"                  # [<bool>]
>         Option  "MonitorLayout" "LFP,CRT"

This option (moniterlayout) is for radeon only. remove it.

>         Option  "Clone" "false"

remove the clone option.

>         Identifier  "Card0"
>         Driver      "i810"
>         VendorName  "Intel Corp."
>         BoardName   "82830 CGC [Chipset Graphics Controller]"
>         BusID       "PCI:0:2:0"
>         Screen  0
> EndSection
> 
> Section "Device"
> 
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
> ### [arg]: arg optional
>         #Option     "NoAccel"                   # [<bool>]
>         Option     "SWcursor"       "true"           # [<bool>]
>         #Option     "ColorKey"                  # <i>
>         #Option     "CacheLines"                # <i>
>         #Option     "Dac6Bit"                   # [<bool>]
>         #Option     "DRI"                       # [<bool>]
>         #Option     "NoDDC"                     # [<bool>]
>         #Option     "ShowCache"                 # [<bool>]
>         #Option     "XvMCSurfaces"              # <i>
>         #Option     "PageFlip"                  # [<bool>]
>         Identifier  "Card1"
>         Driver      "i810"
>         VendorName  "Intel Corp."
>         BoardName   "82830 CGC [Chipset Graphics Controller]"
>         BusID       "PCI:0:2:0"
>         Screen  1
> EndSection
> 
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Card0"
>         Monitor    "Monitor0"
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     1
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     4
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     8
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     15
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     16
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     24
>         EndSubSection
> EndSection
> 
> Section "Screen"
>         Identifier "Screen1"
>         Device     "Card1"
>         Monitor    "Monitor1"
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     1
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     4
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     8
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     15
>         EndSubSection
>         SubSection "Display"
>                 Viewport   0 0
>                 Depth     16
>         EndSubSection
>                 SubSection "Display"
>                 Viewport   0 0
>                 Depth     24
>         EndSubSection
> EndSection

You also may want to add some modes to your screen sections:

Section "Screen"
	Identifier   "Screen0"
        Device       "Card0"
        Monitor      "Monitor0"
	DefaultDepth	16
	Subsection "Display"
        	Depth       16
                Modes       "1024x768" "800x600" "640x480" 
	EndSubsection
	Subsection "Display"
        	Depth       24
                Modes       "1024x768" "800x600" "640x480" 
	EndSubsection
EndSection

Section "Screen"
	Identifier   "Screen1"
        Device       "Card1"
        Monitor      "Monitor1"
	DefaultDepth	16
	Subsection "Display"
        	Depth       16
                Modes       "1024x768" "800x600" "640x480" 
	EndSubsection
	Subsection "Display"
        	Depth       24
                Modes       "1024x768" "800x600" "640x480" 
	EndSubsection
EndSection

you may have to change the modes listed if your laptop runs at
"1400x1050" or some other odd resolution.

Alex

> 
> Section "DRI"
>         Group        0
> EndSection
> 
> --
> Geschenkt: 3 Monate GMX ProMail + 3 Ausgaben der TV Movie mit DVD
> ++++ Jetzt anmelden und testen http://www.gmx.net/de/go/mail ++++
>