Re: Kernel Intel GPU driver and ports

2011-07-27 Thread Sebastian Chmielewski
I've installed this ports tree and basic video is working fine, except 3D -
glxgears window is empty. I'll investigate this problem later.

2011/7/23 Koop Mast k...@freebsd.org

 On Sat, 2011-07-23 at 16:16 +0300, Kostik Belousov wrote:
  Hello,
  after the initial code drop, I have fixed some amount of bugs and got
  several positive reports from users. If KMS worked on your machine, you
  probably can use the driver with 3D acceleration on regular basis.
 
  As I see the state of the effort right now, there are two most
  impeding issues that prevent wider testing of the driver. First is
  the non-working display port code, causing failure in KMS for some
  configurations. This will be eventually fixed.
 
  Second is the very laborous procedure to install the required usermode
  components. The http://wiki.freebsd.org/Intel_GPU lists the
 requirements.
 
  The port provided ddx and mesa cannot be simply updated, because kernel
  driver is not yet in src/ head, not mentioning the stable branches.
  Also, new libdrm and mesa may be non-functional on our old non-intel DRI
  drivers. Additional quirk is that in-tree Xorg server is old, and git
  head for intel ddx cannot be built against old Xorg API.

 We ( freebsd x11@ team) are already working on a update, instructions
 below.

 Keep in mind that this update isn't complete yet. Not all xorg ports are
 updated yet. And there is the issue, that the old intel driver doesn't
 work with the new xorg-server. If you using this driver and don't want
 to update to current for the new intel driver, please don't use this
 repo.

 I'm currently working on a update for the mesa ports (libGL*, dri etc)
 to a version that works with the sandybridge.

 Also note that currently only the xf86-video-intel-kms driver is
 currently tested. (since my ati card seem to have died)

 svn co http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev

 A basic merge script can be found here
 http://people.freebsd.org/~miwi/xorg/xorgmerge

 just run portmaster -a, keep in mind to rebuild your xf86-* ports after
 the server update.

 -Koop

  For wide testing, the easy way to install fresh usermode graphics stack
  is neededi, while still allowing the most installations to use present
  outdated versions.
 
  Could ports/x11 people help me there ? Thanks.


 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-x11
 To unsubscribe, send any mail to freebsd-x11-unsubscr...@freebsd.org

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Kernel Intel GPU driver and ports

2011-07-27 Thread Andriy Gapon
on 23/07/2011 16:51 Koop Mast said the following:
 We ( freebsd x11@ team) are already working on a update, instructions
 below. 
 
 Keep in mind that this update isn't complete yet. Not all xorg ports are
 updated yet. And there is the issue, that the old intel driver doesn't
 work with the new xorg-server. If you using this driver and don't want
 to update to current for the new intel driver, please don't use this
 repo. 
 
 I'm currently working on a update for the mesa ports (libGL*, dri etc)
 to a version that works with the sandybridge.
 
 Also note that currently only the xf86-video-intel-kms driver is
 currently tested. (since my ati card seem to have died)
 
 svn co http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev

Used
svn co https://trillian.chruetertee.ch/svn/ports/branches/xorg-dev
here - thanks to all for the help.
BTW, information on http://trillian.chruetertee.ch/ports/wiki needs to be
updated with the correct URL as well.

 A basic merge script can be found here
 http://people.freebsd.org/~miwi/xorg/xorgmerge
 
 just run portmaster -a, keep in mind to rebuild your xf86-* ports after
 the server update.

Something strange happened for me in x11/libX11 port.
I use amd64 CURRENT, r223759, about ~1 month old.
Here's an output of the second make run:

===  Building for libX11-1.4.3,1
Making all in include
Making all in modules
Making all in im
Making all in ximcp
Making all in lc
Making all in Utf8
Making all in def
Making all in gen
Making all in xlocale
Making all in om
Making all in generic
Making all in src
cd util  make
../src/util/makekeys /usr/local/include/X11/keysymdef.h
/usr/local/include/X11/XF86keysym.h /usr/local/include/X11/Sunkeysym.h
/usr/local/include/X11/DECkeysym.h /usr/local/include/X11/HPkeysym.h  
ks_tables_h
mv ks_tables_h ks_tables.h
make  all-recursive
Making all in util
Making all in xcms
Making all in xlibi18n
Making all in xkb
cd util  make
  CC KeysymStr.lo
  CC StrKeysym.lo
  CCLD   libX11.la
  CCLD   libX11-xcb.la
Making all in nls
make: don't know how to make Compose/index.html. Stop
*** Error code 1

Stop in /usr/obj/usr/ports/x11/libX11/work/libX11-1.4.3.
*** Error code 1

If I add USE_GMAKE to the port's Makefile then everything builds fine.
Not sure if this is a general problem with FreeBSD make, or only on CURRENT or
something local to my environment.
Can you please double-check if this port builds OK for you?

-- 
Andriy Gapon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Kernel Intel GPU driver and ports

2011-07-27 Thread Andriy Gapon
on 27/07/2011 13:23 Andriy Gapon said the following:
[snip]
 Making all in nls
 make: don't know how to make Compose/index.html. Stop
 *** Error code 1
 
 Stop in /usr/obj/usr/ports/x11/libX11/work/libX11-1.4.3.
 *** Error code 1
 
 If I add USE_GMAKE to the port's Makefile then everything builds fine.
 Not sure if this is a general problem with FreeBSD make, or only on CURRENT or
 something local to my environment.
 Can you please double-check if this port builds OK for you?
 

Per our IRC chat, the problem was that configure detected presence of xmlto
program in my environment and enabled additional actions which used syntax
specific to GNU make.
Adding --without-xmlto option to configure args resolved the problem.
Thank you and Eitan for the help!

-- 
Andriy Gapon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Kernel Intel GPU driver and ports

2011-07-25 Thread Andriy Gapon
on 23/07/2011 16:51 Koop Mast said the following:
 svn co http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev

svn: The OPTIONS response did not include the requested activity-collection-set;
this often means that the URL is not WebDAV-enabled

I am not an svn power user - is there anything I am doing wrong?

-- 
Andriy Gapon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Kernel Intel GPU driver and ports

2011-07-25 Thread Brandon Gooch
On Sat, Jul 23, 2011 at 9:45 AM, Andriy Gapon a...@freebsd.org wrote:
 on 23/07/2011 16:51 Koop Mast said the following:
 svn co http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev

 svn: The OPTIONS response did not include the requested 
 activity-collection-set;
 this often means that the URL is not WebDAV-enabled

 I am not an svn power user - is there anything I am doing wrong?

 --
 Andriy Gapon

I think the repository is located here:

svn co https://trillian.chruetertee.ch/svn/ports/branches/xorg-dev

-Brandon
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Kernel Intel GPU driver and ports

2011-07-23 Thread Kostik Belousov
Hello,
after the initial code drop, I have fixed some amount of bugs and got
several positive reports from users. If KMS worked on your machine, you
probably can use the driver with 3D acceleration on regular basis.

As I see the state of the effort right now, there are two most
impeding issues that prevent wider testing of the driver. First is
the non-working display port code, causing failure in KMS for some
configurations. This will be eventually fixed.

Second is the very laborous procedure to install the required usermode
components. The http://wiki.freebsd.org/Intel_GPU lists the requirements.

The port provided ddx and mesa cannot be simply updated, because kernel
driver is not yet in src/ head, not mentioning the stable branches.
Also, new libdrm and mesa may be non-functional on our old non-intel DRI
drivers. Additional quirk is that in-tree Xorg server is old, and git
head for intel ddx cannot be built against old Xorg API.

For wide testing, the easy way to install fresh usermode graphics stack
is neededi, while still allowing the most installations to use present
outdated versions.

Could ports/x11 people help me there ? Thanks.


pgpr2gzlh08dj.pgp
Description: PGP signature


Re: Kernel Intel GPU driver and ports

2011-07-23 Thread Koop Mast
On Sat, 2011-07-23 at 16:16 +0300, Kostik Belousov wrote:
 Hello,
 after the initial code drop, I have fixed some amount of bugs and got
 several positive reports from users. If KMS worked on your machine, you
 probably can use the driver with 3D acceleration on regular basis.
 
 As I see the state of the effort right now, there are two most
 impeding issues that prevent wider testing of the driver. First is
 the non-working display port code, causing failure in KMS for some
 configurations. This will be eventually fixed.
 
 Second is the very laborous procedure to install the required usermode
 components. The http://wiki.freebsd.org/Intel_GPU lists the requirements.
 
 The port provided ddx and mesa cannot be simply updated, because kernel
 driver is not yet in src/ head, not mentioning the stable branches.
 Also, new libdrm and mesa may be non-functional on our old non-intel DRI
 drivers. Additional quirk is that in-tree Xorg server is old, and git
 head for intel ddx cannot be built against old Xorg API.

We ( freebsd x11@ team) are already working on a update, instructions
below. 

Keep in mind that this update isn't complete yet. Not all xorg ports are
updated yet. And there is the issue, that the old intel driver doesn't
work with the new xorg-server. If you using this driver and don't want
to update to current for the new intel driver, please don't use this
repo. 

I'm currently working on a update for the mesa ports (libGL*, dri etc)
to a version that works with the sandybridge.

Also note that currently only the xf86-video-intel-kms driver is
currently tested. (since my ati card seem to have died)

svn co http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev

A basic merge script can be found here
http://people.freebsd.org/~miwi/xorg/xorgmerge

just run portmaster -a, keep in mind to rebuild your xf86-* ports after
the server update.

-Koop

 For wide testing, the easy way to install fresh usermode graphics stack
 is neededi, while still allowing the most installations to use present
 outdated versions.
 
 Could ports/x11 people help me there ? Thanks.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Kernel Intel GPU driver and ports

2011-07-23 Thread Koop Mast
On Sat, 2011-07-23 at 17:04 +0300, Kostik Belousov wrote: 
 On Sat, Jul 23, 2011 at 03:51:54PM +0200, Koop Mast wrote:
  On Sat, 2011-07-23 at 16:16 +0300, Kostik Belousov wrote:
   Hello,
   after the initial code drop, I have fixed some amount of bugs and got
   several positive reports from users. If KMS worked on your machine, you
   probably can use the driver with 3D acceleration on regular basis.
   
   As I see the state of the effort right now, there are two most
   impeding issues that prevent wider testing of the driver. First is
   the non-working display port code, causing failure in KMS for some
   configurations. This will be eventually fixed.
   
   Second is the very laborous procedure to install the required usermode
   components. The http://wiki.freebsd.org/Intel_GPU lists the requirements.
   
   The port provided ddx and mesa cannot be simply updated, because kernel
   driver is not yet in src/ head, not mentioning the stable branches.
   Also, new libdrm and mesa may be non-functional on our old non-intel DRI
   drivers. Additional quirk is that in-tree Xorg server is old, and git
   head for intel ddx cannot be built against old Xorg API.
  
  We ( freebsd x11@ team) are already working on a update, instructions
  below. 
  
  Keep in mind that this update isn't complete yet. Not all xorg ports are
  updated yet. And there is the issue, that the old intel driver doesn't
  work with the new xorg-server. If you using this driver and don't want
  to update to current for the new intel driver, please don't use this
  repo. 
  
  I'm currently working on a update for the mesa ports (libGL*, dri etc)
  to a version that works with the sandybridge.
  
  Also note that currently only the xf86-video-intel-kms driver is
  currently tested. (since my ati card seem to have died)
  
  svn co http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev
 It seems this is an URL for Track installation. What is the repo address ?
Oops that should be:

svn co https://trillian.chruetertee.ch/svn/ports/branches/xorg-dev

  
  A basic merge script can be found here
  http://people.freebsd.org/~miwi/xorg/xorgmerge
  
  just run portmaster -a, keep in mind to rebuild your xf86-* ports after
  the server update.
  
 From what I see using web browser, your plan is to update the stack in
 the ports. I suspect this might cause problems for non-Intel cards or
 for those who use in-tree i915.ko. In particular, new Mesa might not
 work.

That is a good possibility. I only have a sandybridge intel card to
test. The only issue currently know are the nouveau driver (which needs
mesa 7.4.4 and doesn't work with 7.6.x), and the old intel driver.

If it turns out other drivers don't work with the new setup, obviously
we need to make it so that they will work. Although I'm currently got
half a mind to just drop the nouveau driver.

-Koop

  -Koop
  
   For wide testing, the easy way to install fresh usermode graphics stack
   is neededi, while still allowing the most installations to use present
   outdated versions.
   
   Could ports/x11 people help me there ? Thanks.
  



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Kernel Intel GPU driver and ports

2011-07-23 Thread Kostik Belousov
On Sat, Jul 23, 2011 at 05:41:33PM +0200, Koop Mast wrote:
 On Sat, 2011-07-23 at 17:04 +0300, Kostik Belousov wrote: 
  On Sat, Jul 23, 2011 at 03:51:54PM +0200, Koop Mast wrote:
   On Sat, 2011-07-23 at 16:16 +0300, Kostik Belousov wrote:
Hello,
after the initial code drop, I have fixed some amount of bugs and got
several positive reports from users. If KMS worked on your machine, you
probably can use the driver with 3D acceleration on regular basis.

As I see the state of the effort right now, there are two most
impeding issues that prevent wider testing of the driver. First is
the non-working display port code, causing failure in KMS for some
configurations. This will be eventually fixed.

Second is the very laborous procedure to install the required usermode
components. The http://wiki.freebsd.org/Intel_GPU lists the 
requirements.

The port provided ddx and mesa cannot be simply updated, because kernel
driver is not yet in src/ head, not mentioning the stable branches.
Also, new libdrm and mesa may be non-functional on our old non-intel DRI
drivers. Additional quirk is that in-tree Xorg server is old, and git
head for intel ddx cannot be built against old Xorg API.
   
   We ( freebsd x11@ team) are already working on a update, instructions
   below. 
   
   Keep in mind that this update isn't complete yet. Not all xorg ports are
   updated yet. And there is the issue, that the old intel driver doesn't
   work with the new xorg-server. If you using this driver and don't want
   to update to current for the new intel driver, please don't use this
   repo. 
   
   I'm currently working on a update for the mesa ports (libGL*, dri etc)
   to a version that works with the sandybridge.
   
   Also note that currently only the xf86-video-intel-kms driver is
   currently tested. (since my ati card seem to have died)
   
   svn co http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev
  It seems this is an URL for Track installation. What is the repo address ?
 Oops that should be:
 
 svn co https://trillian.chruetertee.ch/svn/ports/branches/xorg-dev
Should multimedia/libva included into the tree ? Or, at least the 965
driver for libva.

 
   
   A basic merge script can be found here
   http://people.freebsd.org/~miwi/xorg/xorgmerge
   
   just run portmaster -a, keep in mind to rebuild your xf86-* ports after
   the server update.
   
  From what I see using web browser, your plan is to update the stack in
  the ports. I suspect this might cause problems for non-Intel cards or
  for those who use in-tree i915.ko. In particular, new Mesa might not
  work.
 
 That is a good possibility. I only have a sandybridge intel card to
 test. The only issue currently know are the nouveau driver (which needs
 mesa 7.4.4 and doesn't work with 7.6.x), and the old intel driver.
 
 If it turns out other drivers don't work with the new setup, obviously
 we need to make it so that they will work. Although I'm currently got
 half a mind to just drop the nouveau driver.
Thank you for your work.

 
 -Koop
 
   -Koop
   
For wide testing, the easy way to install fresh usermode graphics stack
is neededi, while still allowing the most installations to use present
outdated versions.

Could ports/x11 people help me there ? Thanks.
   
 
 


pgpoNoHaLzJ2Y.pgp
Description: PGP signature