Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 23:11:21 +0530
From:      wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
To:        nishita@mri.ernet.in
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X on Intel GM965 chipset
Message-ID:  <87tzgyw3i6.fsf@chateau.d.lf>
References:  <c8170b650805161021y29126f8am1238eda8d266e4d5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

>>>>> Nishita Desai writes:
    Nishita> Hello,

    Nishita> I just installed FreeBSD 7.0 on a Dell Vostro 1200. It has Int=
el's
    Nishita> GM965 chipset and I cannot get X to work at the right resoluti=
on of
    Nishita> 1280x800.

    Nishita> I updated and reinstalled the x11-drivers/x11-video-i810 and
    Nishita> x11-drivers/x11-intel ports. But X still dies whenever I tell =
it to
    Nishita> use "i810" driver. I am using vesa which gives me 1024x786.

Dies with what error ? paste /var/log/Xorg.0.log. BtW, 1280x800 is a
widescreen resolution and to get that you might need to patch your BIOS
at runtime using '915resolution' port.

    Nishita> The following two places suggest that FreeBSD 7.0 supports GM9=
65 chipsets:
    Nishita> [1] http://lists.freebsd.org/pipermail/cvs-src/2007-July/08067=
7.html
    Nishita> [2] http://en.wikipedia.org/wiki/Intel_GMA

    Nishita> What should I do to get the proper drivers and get X working?

Following is my xorg.conf, and I've DRI working on my Intel G965 laptop.

=2D---8<----8<----
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Touchpad0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
        RgbPath      "/usr/local/share/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/local/"
        FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/OTF"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
        Load  "synaptics"
EndSection
Section "ServerFlags"
        Option "AllowEmptyInput"
EndSection
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/psm0"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
        Identifier  "Touchpad0"
        Driver      "synaptics"
        Option "Device" "/dev/psm0"
        Option "Protocol" "alps"
        Option "SHMConfig" "on"
        Option "LeftEdge" "130"
        Option "RightEdge" "840"
        Option "TopEdge" "130"
        Option "BottomEdge" "640"
        Option "FingerLow" "7"
        Option "FingerHigh" "8"
        Option "MaxTapTime" "180"
        Option "MinTapTime" "110"
        Option "ClickTime" "0"
        Option "EmulateMidButtonTime" "75"
        Option "VertScrollDelta" "20"
        Option "HorizScrollDelta" "20"
        Option "MinSpeed" "0.40"
        Option "MaxSpeed" "0.65"
        Option "AccelFactor" "0.030"
        Option "EdgeMotionMinSpeed" "200"
        Option "EdgeMotionMaxSpeed" "200"
        Option "UpDownScrolling" "1"
        Option "CircularScrolling" "1"
        Option "CircScrollDelta" "0.1"
        Option "CircScrollTrigger" "3"
        Option "VertEdgeScroll" "on"=20=20=20=20
        Option "Emulate3Buttons" "on"
EndSection
Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection
Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
        BusID       "PCI:0:2:0"
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
                Virtual 2880 900
        EndSubSection
EndSection
=2D--->8---->8----

In addition to above xorg.conf, I'm also using latest DRM from stuff from C=
VS from
':pserver:anoncvs@anoncvs.fr.freebsd.org:/home/ncvs/src/sys/dev/drm'
plus graphics/dri port.

And this works flawlessly :) .

    Nishita> Thanks,
    Nishita> Nishita

HTH
=2D-=20
Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0=A4=
=95=E0=A5=8D=E0=A4=B2                      http://wahjava.wordpress.com/
=C2=B7-- =C2=B7- =C2=B7=C2=B7=C2=B7=C2=B7 =C2=B7--- =C2=B7- =C2=B7=C2=B7=C2=
=B7- =C2=B7- =C2=B7--=C2=B7-=C2=B7 --=C2=B7 -- =C2=B7- =C2=B7=C2=B7 =C2=B7-=
=C2=B7=C2=B7 =C2=B7-=C2=B7-=C2=B7- -=C2=B7-=C2=B7 --- --

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkgtx0QACgkQHy+EEHYuXnRy0QCg41fH2/zdU+o+Go1PQQMWhZ2l
YD0AoITxehJbRPIJW3hpC814rxw2VKLZ
=ayhU
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87tzgyw3i6.fsf>