Talk:Installing Fedora Core 5 on a ThinkPad X41 Tablet

From ThinkWiki
Jump to: navigation, search

On-the-fly Rotation in FC5

User:Kanfil wrote:

Using Gnome 2.14 and xorg-x11-drv-i810-1.4.1.3-4.cvs20060322, On-the-fly rotation does work.

I have not been able to duplicate this. I am using the stock Fedora X.org server with the xorg-x11-drv-i810-1.4.1.3-4.cvs20060322 driver mentioned above.

Running $ xdpyinfo returns:

name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    70000000
X.Org version: 7.0.0
[...]
number of extensions:    32
    RANDR
    RENDER
    Composite
    DAMAGE
[...]

Running $ xrandr -o 3 results in:

$ xrandr -o 3
Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  156 (RANDR)
Minor opcode of failed request:  2 (RRSetScreenConfig)
Serial number of failed request:  12
Current serial number in output stream:  12


It should be possible with version 1.6+ of the i810 driver. You can build this from the CVS repository, but it will not build properly on anything less than X11R7.0-RC2. ~Loki


I tried today's CVS/GIT [Xorg + IntelGrapicsDriver, 15.4.2006]. It doesn't work. ~Mcfrost


Try this:

http://rpm.pbone.net/index.php3/stat/4/idpl/2756697/com/xorg-x11-drv-i810-1.6.0-1.i386.rpm.html http://rpm.pbone.net/index.php3/stat/4/idpl/2756771/com/xorg-x11-drv-i810-1.6.0-1.x86_64.rpm.html

You should be able to fix any unresolved dependencies with other rpms on that site, which likely means upgrading your X server package as well. Read the updated man page that comes with the RPM for more info. ~Loki

Confirmed for: xorg-x11-drv-i810-1.6.0-1 and xorg-x11-server-Xorg-1.0.99.901-5. On-the-fly screen rotation works with these two packages. ~Saikat

Screen-on-the-fly works, my info is

Running $ xdpyinfo returns:

name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation 
vendor release number:    70000000
X.Org version: 7.0.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x380001e, revert to Parent
number of extensions:    31
    BIG-REQUESTS
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    GLX
    LBX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-DGA
    XFree86-DRI
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  print screen:    no
  dimensions:    1024x768 pixels (347x260 millimeters)
  resolution:    75x75 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x4c
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xfaa033
   KeyPressMask             KeyReleaseMask           EnterWindowMask          
   LeaveWindowMask          ButtonMotionMask         ExposureMask             
   StructureNotifyMask      SubstructureNotifyMask   SubstructureRedirectMask 
   FocusChangeMask          PropertyChangeMask       ColormapChangeMask       
 number of visuals:    16
 default visual id:  0x23
 visual:
   visual id:    0x23
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x24
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x25
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x26
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x27
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x28
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x29
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2a
   class:    TrueColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2b
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2c
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2d
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2e
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x2f
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x30
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x31
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits
 visual:
   visual id:    0x32
   class:    DirectColor
   depth:    24 planes
   available colormap entries:    256 per subfield
   red, green, blue masks:    0xff0000, 0xff00, 0xff
   significant bits in color specification:    8 bits

xorg.conf /etc/X11/xorg.conf:

# Xorg configuration created by system-config-display
Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "cursor" "SendCoreEvents"
	InputDevice    "stylus" "SendCoreEvents"
EndSection

Section "Files"
 # RgbPath is the location of the RGB database.  Note, this is the name of the 
 # file minus the extension (like ".txt" or ".db").  There is normally
 # no need to change the default.
 # Multiple FontPath entries are allowed (they are concatenated together)
 # By default, Red Hat 6.0 and later now use a font server independent of
 # the X server to render fonts.
 	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "dri"
EndSection
 
Section "ServerFlags"
 	Option	    "AllowMouseOpenFail" "yes"
EndSection

Section "InputDevice"

 # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
 #	Option	"Xleds"		"1 2 3"
 # To disable the XKEYBOARD extension, uncomment XkbDisable.
 #	Option	"XkbDisable"
 # To customise the XKB settings to suit your keyboard, modify the
 # lines below (which are the defaults).  For example, for a non-U.S.
 # keyboard, you will probably want to use:
 #	Option	"XkbModel"	"pc102"
 # If you have a US Microsoft Natural keyboard, you can use:
 #	Option	"XkbModel"	"microsoft"
 #
 # Then to change the language, change the Layout setting.
 # For example, a german layout can be obtained with:
 #	Option	"XkbLayout"	"de"
 # or:
 #	Option	"XkbLayout"	"de"
 #	Option	"XkbVariant"	"nodeadkeys"
 #
 # If you'd like to switch the positions of your capslock and
 # control keys, use:
 #	Option	"XkbOptions"	"ctrl:swapcaps"
 # Or if you just want both to be control, use:
 #	Option	"XkbOptions"	"ctrl:nocaps"
 #
 	Identifier  "Keyboard0"
 	Driver      "kbd"
 	Option	    "XkbModel" "pc105"
 	Option	    "XkbLayout" "us"
EndSection
 
Section "InputDevice"
 	Identifier  "Mouse0"
 	Driver      "mouse"
 	Option	    "Protocol" "IMPS/2"
 	Option	    "Device" "/dev/input/mice"
 	Option	    "ZAxisMapping" "4 5"
 	Option	    "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
 	Identifier  "cursor"
 	Driver      "wacom"
 	Option	    "Device" "/dev/ttyS0"
 	Option	    "Type" "cursor"
 	Option	    "ForceDevice" "ISDV4"
 	Option	    "Mode" "Absolute"
	Option        "TPCButton"     "on"
EndSection

Section "InputDevice"
 	Identifier  "stylus"
 	Driver      "wacom"
 	Option	    "Device" "/dev/ttyS0"
 	Option	    "Type" "stylus"
 	Option	    "ForceDevice" "ISDV4"
EndSection

Section "InputDevice"
	Identifier  "eraser"
	Driver      "wacom"
	Option	    "Device" "/dev/ttyS0"
	Option	    "Type" "eraser"
	Option	    "ForceDevice" "ISDV4"
EndSection

Section "Monitor"
 	Identifier   "Monitor0"
 	VendorName   "Monitor Vendor"
 	ModelName    "LCD Panel 1024x768"
 	HorizSync    31.5 - 48.5
 	VertRefresh  40.0 - 70.0
 	Option	    "dpms"
EndSection

Section "Device"

       Driver      "i810"
	Identifier  "Videocard0"
#	Driver      "vesa"
	VendorName  "Intel"
	BoardName   "Intel 915"
	BusID       "PCI:0:2:0"
	Screen      0
	Option "DisplayInfo" "FALSE"
	Option "MonitorLayout" "CRT,LFP"
	Option "NoAccel" "false"
EndSection


Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection


Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "ServerLayout"
       Identifier     "rotateCW"
       Screen      0  "Screen0CW" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
       InputDevice    "cursorCW" "SendCoreEvents"
       InputDevice    "stylusCW" "SendCoreEvents"
EndSection

Section "Device"
       Identifier  "Videocard0CW"
       Driver      "i810"
       VendorName  "Videocard vendor"
       Option      "NoAccel"       "false"
       Option      "DRI"           "true"
       Option      "Rotate"        "CW"
       BoardName   "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
       Option      "XAANoOffscreenPixmaps"
       Option      "SWCursor"      "On"
EndSection 
 
Section "InputDevice"
     Driver        "wacom"
     Identifier    "cursorCW"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "cursor"
     Option        "ForceDevice"   "ISDV4"
     Option        "Mode"          "Absolute"
     Option        "TPCButton"     "on"
     Option        "TopX"          "500"
     Option        "BottomX"       "18000"
     Option        "TopY"          "-6000"
     Option        "BottomY"       "18500"
EndSection

Section "InputDevice"
     Driver        "wacom"
     Identifier    "stylusCW"
     Option        "Device"        "/dev/ttyS0"
     Option        "Type"          "stylus"
     Option        "ForceDevice"   "ISDV4"
     Option        "Rotate"        "CW"
EndSection 

Section "Screen"
       Identifier "Screen0CW"
       Device     "Videocard0CW"
       Monitor    "Monitor0"
       DefaultDepth     24
       SubSection "Display"
               Viewport   0 0
               Depth     16
               Modes    "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Viewport   0 0
               Depth     24
               Modes    "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Mesa Packages

The mesa packages mentioned in the page are long gone from Fedora Development; in their place are packages that require a newer glibc and can't be installed on FC5. Does anyone still have these packages lying around? Thanks - Syskill