Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2012 09:34:15 +0700
From:      Erich Dollansky <erich@alogreentechnologies.com>
To:        freebsd-x11@freebsd.org
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: GPU_KMS still not working CURRENT X220
Message-ID:  <201206300934.15441.erich@alogreentechnologies.com>
In-Reply-To: <CAN6yY1tiaJTuO6xrMvz=_uzNGhTLm3qzEM9inzks1EJ3g2D9Yg@mail.gmail.com>
References:  <CA%2BK5SrM1-bh3pDjr_wAzJ6DmiZb0n3T_46aK8tP6jp9Qs1O2_w@mail.gmail.com> <CAN6yY1tiaJTuO6xrMvz=_uzNGhTLm3qzEM9inzks1EJ3g2D9Yg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Thursday, June 28, 2012 11:15:54 PM Kevin Oberman wrote:
> On Thu, Jun 28, 2012 at 8:45 AM, Andrey Fesenko <f0andrey@gmail.com> wrote:
> > I have lenovo thinkpad x220
> >
> > # uname -a
> > FreeBSD bsdx220 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r237683: Thu Jun
> > 28 08:41:40 MSK 2012     root@bsdx220:/usr/obj/usr/src/sys/MY_INTEL
> > amd64

it works for me with this:

FreeBSD X220.ovitrap.com 10.0-CURRENT FreeBSD 10.0-CURRENT #7: Thu Jun 28 09:09:16 WIT 2012

> >
> > # pciconf -lvb
> > vgapci0@pci0:0:2:0:     class=0x030000 card=0x21da17aa chip=0x01268086
> > rev=0x09 hdr=0x00
> >    vendor     = 'Intel Corporation'
> >    device     = '2nd Generation Core Processor Family Integrated
> > Graphics Controller'
> >    class      = display
> >    subclass   = VGA
> >    bar   [10] = type Memory, range 64, base 0xf0000000, size 4194304, enabled
> >    bar   [18] = type Prefetchable Memory, range 64, base 0xe0000000,
> > size 268435456, enabled
> >    bar   [20] = type I/O Port, range 32, base 0x6000, size 64, enabled
> >
> > After # kldload i915kms screen is black, if # kldunload i915kms panic
> 
> Don't do this. It has been clearly stated that i915kms my not be
> unloaded and that attempting to unload it WILL panic the system.
> 
> Also, don't load i945kms. This WILL lock up the system with a blank screen.
> 
it works for me. I use this kind of script to start X:

sudo kldload i915kms
sudo kldload acpi_call
sudo chmod 666 /dev/acpi
startx

> The modules required are autoloaded during Xorg initialization. Just
> make absolutely sure that you have the latest version of
> xf-video-intel. (If you installed a rather early version of the KMS
> code, it is possible that you have two xf-video.intel* ports in your
> tree, thought I don't expect this is the case.

This could be the real reason why it fails

But I must say that it hangs on rare occasions. It might has to do with playing with the mouse or the keyboard during the start-up phase of X. At least, I did not notice a freeze when I did not play around with them during the start of X.

Erich



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