You are not logged in.

#1 2007-03-07 16:39:50

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

configuring X and i810 for 1280x800[solved]

Hi

I'm having a similar problem  to this one:

http://bbs.archlinux.org/viewtopic.php?id=28420

with the same graphics card, although my monitor has a native resolution of 1280x800.

similarly, 915resolution hasn't helped.

I've been following that thread, and I've gotten to the point where I need to pull xf86-video-i810 from git, but when I run:

git clone git://gitweb.freedesktop.org/?p=users/keithp/xf86-video-intel

I get the output:

Initialized empty Git repository in /usr/src/xf86-video-intel/.git/
fatal: The remote end hung up unexpectedly
fetch-pack from 'git://gitweb.freedesktop.org/?p=users/keithp/xf86-video-intel.git' failed.

Is there anything I can do about this, and if so what?

I would appriciate any help anyone could give me.

Last edited by Zerathidune (2007-03-09 22:20:55)

Offline

#2 2007-03-07 17:38:59

Sekre
Member
From: The Rainy North
Registered: 2006-11-24
Posts: 116

Re: configuring X and i810 for 1280x800[solved]

shouldn't you use this one for git ?

git://people.freedesktop.org/~keithp/xf86-video-intel

Offline

#3 2007-03-07 19:14:48

bneate
Member
Registered: 2005-08-21
Posts: 36

Re: configuring X and i810 for 1280x800[solved]

I had the same problem with the display on my laptop.  In order to get the correct resolution I had to add a mode line to my xorg.conf file.  I'm not at home right now so I'm not sure exactally how I had to do it but I think the infomation is somewhere on the form or wiki on how to generate the correct modeline and add it to your config.  I'll take a look when I get home and post my config.

Offline

#4 2007-03-07 22:43:40

AlmaMater
Member
Registered: 2007-02-28
Posts: 92

Re: configuring X and i810 for 1280x800[solved]

In my case, i have a laptop whit i810 graphic, all i had to do, was to get xf86-video-i810 ,  created the xorg.conf using hwd, and then had the resolution

ection "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "es"
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
#DisplaySize      300   190    # mm
Identifier   "Monitor0"
VendorName   "AUO"
ModelName    "1144"
HorizSync 31.5-64
VertRefresh 40-90
EndSection

# Auto-generated by Archie mkxcfg

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"               # [<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  "Card0"
Driver      "i810"
VendorName  "Intel Corporation"
BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Offline

#5 2007-03-07 23:14:00

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: configuring X and i810 for 1280x800[solved]

xf86-video-intel 1.9.91 is on the xorg FTP, which is a prerelease for the work they have been doing on the so-called "modesetting branch". This means you don't have to fool around with 855/915resolution anymore, as the driver takes care of all things by itselves. Usually it's just a matter of raising pkgver in the PKGBUILD, updating/removing the md5sums, rebuilding the package and see if it works out.

Offline

#6 2007-03-08 01:24:15

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: configuring X and i810 for 1280x800[solved]

Sekre - I used the url the guy in the other thread said worked for him, but I just tried yours and got the same error.

bneate - I've tried adding a ModeLine generated by gtf - no luck.

JGC - I did a search of ftp.x.org, but couldn't find anything called xf86-video-intel.Are you sure the name is right?

Offline

#7 2007-03-08 06:32:20

badger
Member
From: Melb
Registered: 2004-07-21
Posts: 76

Re: configuring X and i810 for 1280x800[solved]

The 2.0 pre-release intel diver is available from http://ftp.x.org/pub/individual/driver/ … 91.tar.bz2
and http://xorg.freedesktop.org/archive/ind … 91.tar.bz2

I don't know if the xorg-server 1.2.99.901 (X server 1.3 RC1 [from http://xorg.freedesktop.org/archive/ind … 01.tar.bz2 ]) is required to build the intel video driver, or if anything else is required to have a setup that supports RandR 1.2 and modesetting for the intel chipsets. If you get it working, please share your success with us.

cheers

Offline

#8 2007-03-08 15:01:36

Sekre
Member
From: The Rainy North
Registered: 2006-11-24
Posts: 116

Re: configuring X and i810 for 1280x800[solved]

Checked this out this morning and fiddled alot with trying to get the git driver working (1.9.91)
But I failed some times and finally had to put it on hold becasue of school, but this is one tricky
bastard to actually compile :S

Is there any more experianced compiler / pkgbuiler that can give us a hand?

Was my first attempt at a pkgbuild and didn't have time to do it nicely so worked more manually
but I just don't like meddling with xorg sources and drivers for that matter. Spat some strange errors
that I partly solved, but nevertheless broke in the end tongue

badger > yep, you need xserver>=1.3 to build it :S

Zerathidune > this is the one I used to grab the sources git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel

Offline

#9 2007-03-08 17:34:04

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: configuring X and i810 for 1280x800[solved]

Sekre - same error *again*. I'm starting to think I have a problem with git, and not the url. I'm not really sure what to try though.

badger - yeah, you need 1.3, and the prospect of compiling an entire x server and its dependencies is overwhelming to say the least - the git option seems a lot more attractive right now since it seems according to the other thread that that might work with the version I have.

EDIT: I just tried it again after reinstalling git, and I got a step further. now when I run ./autogen.sh, I get:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
         LC_COLLATE = "C",
        LANG = "en_US.utf8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

repeatedly, followed by:

src/bios_reader/Makefile.am:8: compiling 'bios_dumper.c' with per-target 
flags requires 'AM_PROG_CC_C_O' in 'configure.ac'
Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1

the guy in the other thread said he had to edit the makefile, but I wouldn't know where to begin. the makefile (Makefile.am) is as follows:

#  Copyright 2005 Adam Jackson.
#
#  Permission is hereby granted, free of charge, to any person obtaining a
#  copy of this software and associated documentation files (the "Software"),
#  to deal in the Software without restriction, including without limitation
#  on the rights to use, copy, modify, merge, publish, distribute, sub
#  license, and/or sell copies of the Software, and to permit persons to whom
#  the Software is furnished to do so, subject to the following conditions:
#
#  The above copyright notice and this permission notice (including the next
#  paragraph) shall be included in all copies or substantial portions of the
#  Software.
#
#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

AUTOMAKE_OPTIONS = foreign
SUBDIRS = src man

if BUILD_LINUXDOC
README: README.sgml
    $(MAKE_TEXT) README.sgml && mv README.txt README
endif

EXTRA_DIST = README.sgml

Last edited by Zerathidune (2007-03-08 18:02:47)

Offline

#10 2007-03-08 18:05:29

bneate
Member
Registered: 2005-08-21
Posts: 36

Re: configuring X and i810 for 1280x800[solved]

Not sure if it's going to help but here is a copy of my xorg.conf file.  The section that I had to add to get my monitor working is in the Modes section.

Section "Module"
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "dbe"      # Double buffer extension
    Load        "type1"
    Load        "freetype"
    Load       "glx"
    Load       "dri"

       Load  "extmod"
       Load  "fbdevhw"
       Load  "record"
       Load  "freetype"
       Load  "type1"
       Load  "GLCore"
EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "Files"

    RgbPath    "/usr/share/X11/rgb"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"

EndSection

Section "InputDevice"

    Identifier    "Keyboard1"
    Driver    "kbd"

    Option "AutoRepeat" "500 30"

    Option "XkbRules"    "xorg"
    Option "XkbModel"    "pc104"
    Option "XkbLayout"    "us"

EndSection

Section "InputDevice"
  Driver      "synaptics"
  Identifier      "Mouse0"
  Option     "Device"      "/dev/psaux"
  Option    "Protocol"    "auto-dev"
  Option    "LeftEdge"      "1700"
  Option    "RightEdge"     "5300"
  Option    "TopEdge"       "1700"
  Option    "BottomEdge"    "4200"
  Option    "FingerLow"    "25"
  Option    "FingerHigh"    "30"
  Option    "MaxTapTime"    "180"
  Option    "MaxTapMove"    "220"
  Option    "VertScrollDelta" "100"
  Option    "MinSpeed"    "0.15"
  Option    "MaxSpeed"    "0.30"
  Option    "AccelFactor" "0.0050"
  Option    "SHMConfig"    "on"
EndSection

Section "InputDevice"
Identifier      "Mouse1"
Driver          "mouse"
    Option          "CorePointer"
    Option          "Device"                "/dev/input/mice"
    Option          "Protocol"              "ImPS/2"
    Option          "ZAxisMapping"          "4 5"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 82.0
    VertRefresh 50-90
    Modeline "1280x768"  102.98  1280 1360 1496 1712  768 769 772 802  -HSync +Vsync
    #Modeline "1280x768_75"  102.98  1280 1360 1496 1712  768 769 772 802  -HSync +Vsync
    Option "DPMS"
    DisplaySize        325 195
EndSection

Section "Modes"
Identifier   "Modes[0]"
Modeline    "1280x768_75.00"  102.98  1280 1360 1496 1712  768 769 772 802  -HSync +Vsync
EndSection

Section "Monitor"
    Identifier    "Out Monitor"
    HorizSync    31-64
    VertRefresh    56-75
    Option    "DPMS"
    DisplaySize        340 272
EndSection    

Section "Device"
    Identifier  "Intel i810"
    Driver      "i810"
    Option    "VBERestore" "yes"
    Option    "DRI" "true"
    Option    "DPMS"
    BusID    "PCI:0:2:0"
    Option    "MonitorLayout" "CRT,LFP"
    Screen 0
    VideoRam    65536
    Option "XAANoOffscreenPixmaps" "true"
    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier  "Intel i810[lcd]"
    Driver      "i810"
    Option    "VBERestore" "yes"
    Option    "DRI" "true"
    Option    "DPMS"
    BusID    "PCI:0:2:0"
    Option    "MonitorLayout" "LFP,CRT"
    Screen 0
    VideoRam    65536
    Option "XAANoOffscreenPixmaps" "true"
    # Insert Clocks lines here if appropriate
EndSection

Section "Device"
    Identifier  "Intel i810[out]"
    Driver      "i810"
    Option    "VBERestore" "no"
    Option    "DPMS"
    BusID    "PCI:0:2:0"
    Option    "MonitorLayout" "CRT,LFP" 
    Option    "DevicePresence" "yes"
    Screen 1
    VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Intel i810"
    Monitor     "My Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x768" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
       Option "AllowGLXWithComposite" "True"
       Option "RenderAccel" "True"
       Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
    Identifier  "Screen 2"
    Device      "Intel i810[out]"
    Monitor     "Out Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
       Option "AllowGLXWithComposite" "True"
       Option "RenderAccel" "True"
       Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
    Identifier  "Screen 3"
    Device      "Intel i810[lcd]"
    Monitor     "Out Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
       Option "AllowGLXWithComposite" "True"
       Option "RenderAccel" "True"
       Option "AddARGBGLXVisuals" "True"
EndSection


Section "ServerLayout"

    Identifier  "One"

    Screen 0 "Screen 1"

    #InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Mouse1" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

    Option "OffTime" "5"
    Option "AIGLX" "true"

EndSection

Section "ServerLayout"

    Identifier  "Both"

    Screen 0 "Screen 1"
    Screen 1 "Screen 2" Rightof "Screen 1"

    InputDevice "Mouse0" "CorePointer"
    InputDevice "Mouse1" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

    Option "OffTime" "5"
    Option "Xinerama" "true"
    Option "AIGLX" "true"

EndSection

Section "ServerLayout"

    Identifier  "ext"

    Screen 0 "Screen 3"

    InputDevice "Mouse0" "CorePointer"
    InputDevice "Mouse1" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"

    Option "OffTime" "5"
    Option "AIGLX" "true"

EndSection

 Section "DRI"
    Mode 0666
 EndSection

Offline

#11 2007-03-08 19:08:48

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: configuring X and i810 for 1280x800[solved]

Apperntly the git version is the same thing - not sure why I thought it was different. Can someone at least point me to list of dependencies for the 1.3 server, and perhaps where to get them? the ftp site is somewhat incomprehensible to me.

Offline

#12 2007-03-08 20:51:11

tm8992
Member
Registered: 2007-01-01
Posts: 36

Re: configuring X and i810 for 1280x800[solved]

You actually don't have to edit the makefile, like I said before! tongue
You do need, however, to get a few packages (these are off the top of my head):

pkgconfig
xorg-config-macros
mesa
libdrm
xf86driproto

(pacman them all)

*and probably some more that I can't remember, but with those it should tell you the other ones you need.*

Good luck with getting it compiled.  I actually recently had to reinstall the drivers, and git failed for me as well.  When compiling, make sure you run this--
./autogen.sh --prefix=/usr
Or otherwise it installs to the wrong directory! tongue  I've learned this all the hard way, believe me.  After that, once you "make" and "make install", edit your xorg.conf file with the modeline, etc. smile

Again, good luck!

(edit:  I reread your post!  No, you don't have to use any xorg server other than the one that comes with arch.  To get the actual source, I had to download each file one-by-one @ http://gitweb.freedesktop.org/?p=users/ … git;a=tree (it takes around 10 minutes; right click "raw" and Save Link as.  In the /src/ directory, it's sil164 (ess eye ell one sixty-four.)  I learned that the hard way too).  If someone has a fix for git that would be a lot easier though!  I don't know if the driver from ftp works or not, but that one (keithp's) does.

(edit 2:  BTW, I forgot to mention, I actually have the compiled drivers uploaded @ http://box.dreamhosters.com/files/drivers.tar.gz  [no guarantee they'll work!].  I put them there for myself so next time I have to reinstall I'll have a chance at not having to go through trouble to getting them to compile again.  If you untar it to /usr/lib/xorg/modules/drivers/, it might just work.  Again, this is probably the wrong thing to do, but it might be worth a try).

Last edited by tm8992 (2007-03-08 21:02:32)

Offline

#13 2007-03-08 22:02:39

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: configuring X and i810 for 1280x800[solved]

when I run ./autogen.sh --prefix=/usr I get:

Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1

I imagine this is what prompted you to try modifying the makefile, but since you're telling me I don't need to, do you have any suggestions as to what to do about this?

Edit: also, pacman is telling me there is no such package "xorg-config-macros"

Last edited by Zerathidune (2007-03-08 22:09:31)

Offline

#14 2007-03-09 01:26:58

tm8992
Member
Registered: 2007-01-01
Posts: 36

Re: configuring X and i810 for 1280x800[solved]

also, pacman is telling me there is no such package "xorg-config-macros"

That would be the problem!  big_smile  Actually, I messed that one up, I looked in pacman, and it's actually:
xorg-util-macros
Try that! big_smile

Offline

#15 2007-03-09 16:21:19

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: configuring X and i810 for 1280x800[solved]

That did it! thanks everyone.

Offline

Board footer

Powered by FluxBB