Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2012 14:55:35 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Koop Mast <kwm@rainbow-runner.nl>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: GPU_KMS still not working for me since merge
Message-ID:  <CAN6yY1tUTyqXsTyRC7z2jL4ostdBrPi1aZb-5Dao%2B2Bi_rKLEg@mail.gmail.com>
In-Reply-To: <4FE61E39.4040202@rainbow-runner.nl>
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> <CAN6yY1uTG4UJ=uebWPMmwH0kMPem7NfYWVkGj88wNWj494Ro5Q@mail.gmail.com> <4FE61E39.4040202@rainbow-runner.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 23, 2012 at 12:51 PM, Koop Mast <kwm@rainbow-runner.nl> wrote:
> On 23-6-2012 21:15, Kevin Oberman wrote:
>>
>> 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 proble=
m
>>>>>> very clear.. After 'startx', I see i915.ko has been loaded along wit=
h
>>>>>> 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,
>>>>>> there
>>>>>> 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
>>> /usr/ports
>>> RCS file:
>>> /usr/local/arch/ncvs/ports/x11-drivers/xf86-video-intel/Makefile,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=A0l=
ines: +2 -1
>>> Teach the KMS intel driver how the KMS i915 kernel module in head is
>>> named.
>>>
>>> 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!
>
>
> Thats a really old port you had. I will see if I can find some time to ma=
ke
> our mergescript smarter with regards to removed ports and such.

Probably. I can't be sure just when I pulled in 7.5, but I think it
was very shortly after it was put out for testing. That should reduce
the number of people who hit this, and it is only going to bite them
if they run portmaster, so that will peel off a few. So far I have not
seen many complaints about it, but I have not seen too much publicity
that the Intel KMS code is the and the Intel_GPU wiki page probably
scares people away, too.

Maybe, right after the introductory paragraphs ending with "generic
support for the Intel GTT." you could add:
Support is now present in HEAD on or after May, 24, 2012 and 9-STABLE
on or after June 13, 2012. Your x11 ports must be up to date, as well.

To enable Intel_GPU support, add WITH_NEW_XORG=3DYES and WITH_KMS=3DYES to
/etc/make.conf and build and install a new kernel. Reinstall any of
the following ports that you have installed:
x11-drivers/xf86-input-egalax
x11-drivers/xf86-input-elographics
x11-drivers/xf86-input-hyperpen
x11-drivers/xf86-input-joystick
x11-drivers/xf86-input/keyboard
x11-drivers/xf86-input-mutouch
x11-drivers/xf86-input-mouse
x11-drivers/xf86-input-penmount
x11-drivers/xf86-input-synaptics
x11-drivers/xf86-input-void
x11-drivers/xf86-video-ati613
x11-drivers/xf86-video-intel
x11-drivers/xorg-drivers
x11-servers/xorg-nestserver
x11-servers/xorg-server

If you were an early tester of xorg 7.5, you may need to replace the
special intel-kms driver you might have with the standard
xf86-video-intel driver.

The remainder of this page is only relevant to those wanting to run
the latest X code from the Xorg repository.

I'd also love to see a note on the availability of of Intel GPU
support in both /usr/src/UPDATING and /usr/ports/UPDATING so more
people would be aware of this and test it out before we get too close
to 9.1.
--=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?CAN6yY1tUTyqXsTyRC7z2jL4ostdBrPi1aZb-5Dao%2B2Bi_rKLEg>