Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2012 12:15:45 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: GPU_KMS still not working for me since merge
Message-ID:  <CAN6yY1uTG4UJ=uebWPMmwH0kMPem7NfYWVkGj88wNWj494Ro5Q@mail.gmail.com>
In-Reply-To: <20120623184513.GZ2337@deviant.kiev.zoral.com.ua>
References:  <CAN6yY1vqYyqV9r-nFJFgdsdJ=amGfVniNGCritb3tfp2y81wYg@mail.gmail.com> <20120622213442.GL2337@deviant.kiev.zoral.com.ua> <CAN6yY1v0=OjKPHJtCG7v0rZnN=56bd43AC_AToOZ6kRsyo=DDg@mail.gmail.com> <20120623085812.GN2337@deviant.kiev.zoral.com.ua> <CAN6yY1sJvAcE%2Bjjen52ZRyYz8VzCeS=RpMqVaw7D9sdWyATuhw@mail.gmail.com> <20120623165145.GW2337@deviant.kiev.zoral.com.ua> <CAN6yY1s875XeMU6=XU7-REqM1%2BvWt3fmSBh_7QMTdOwxNvvEVg@mail.gmail.com> <20120623184513.GZ2337@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 23, 2012 at 11:45 AM, Konstantin Belousov
<kostikbel@gmail.com> wrote:
> On Sat, Jun 23, 2012 at 11:39:23AM -0700, Kevin Oberman wrote:
>> On Sat, Jun 23, 2012 at 9:51 AM, Konstantin Belousov
>> <kostikbel@gmail.com> wrote:
>> > On Sat, Jun 23, 2012 at 09:17:01AM -0700, Kevin Oberman wrote:
>> >> On Sat, Jun 23, 2012 at 1:58 AM, Konstantin Belousov
>> >> <kostikbel@gmail.com> wrote:
>> >> > Verify that i915kms is loaded. If it is not, investigate why.
>> >>
>> >> There is nothing of relevance in dmesg. But kldstat makes the problem
>> >> very clear.. After 'startx', I see i915.ko has been loaded along with=
 drm.ko.
>> >> No i915kms.ko nor the i2c stuff that used to be pulled in.
>> >>
>> >> When I was running the pre-merge KMS code from back in late April, th=
ere
>> >> was no i915kms.ko...only i915.ko.
>> >>
>> >> Is there something I need to do to cause the correct module to load?
>> >> I don't have any Xorg.conf file and never have had for this laptop.
>> > Recent ddx Intel driver from ports loads right module automatically.
>>
>> What is "recent ddx Intel driver"? I did re-build the xf86-video-intel
>> driver and, but I don't see any "ddx" reference.
>>
>> In any case, I deleted the i915.ko and linked (hard) i915kms.ko to
>> i915.ko and X now starts correctly. Not really
>> an ideal solution, but it does work for the moment.
>
> pooma% cvs -qR log -r 1.24 x11-drivers/xf86-video-intel/Makefile =C2=A0 =
=C2=A0 /usr/ports
> RCS file: /usr/local/arch/ncvs/ports/x11-drivers/xf86-video-intel/Makefil=
e,v
> Working file: x11-drivers/xf86-video-intel/Makefile
> head: 1.24
> [snip]
> revision 1.24
> date: 2012/06/07 10:27:21; =C2=A0author: kwm; =C2=A0state: Exp; =C2=A0lin=
es: +2 -1
> Teach the KMS intel driver how the KMS i915 kernel module in head is name=
d.
>
> Reviewed by: =C2=A0 =C2=A0miwi@
>

Mystery solved! The old xorg-devel with the kms patches produced
/usr/ports/c11-drivers/xf86-video-intel-kms and 'portmaster
xf86-video-intel was just re-building that driver. It was not building
the current one.

I ran 'portmaster -o 11-drivers/xf86-video-intel
x11-drivers/xf86-video-intel-kms' which replaced the old, development
one with the correct one. I will delete the old one. I suspect others
who integrated xorg-devel and your earlier patches and are using
portmaster are hitting the same issue.

Thanks again!
--=20
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



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