Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2010-01-12 Thread Robert Noland
On Mon, 2010-01-11 at 21:09 -0600, Sam Fourman Jr. wrote:
 On Mon, Jan 11, 2010 at 8:39 PM, Robert Noland rnol...@freebsd.org wrote:
  On Mon, 2010-01-11 at 20:27 +0100, Oliver Lehmann wrote:
  Norikatsu Shigemura wrote:
 
   Hi Radeon HD 2xxx, 3xxx and 4xxx users!
 
  Tried this now too with your mesa3d.tar.bz2 (10/01/09) but why is it so
  slow?
 
   glxgears
  IRQ's not enabled, falling back to busy waits: 2 0
  10241 frames in 5.0 seconds = 2048.125 FPS
  10220 frames in 5.0 seconds = 2043.875 FPS
 
  glxgears is not a very useful benchmark... I primarily only tells how
  fast you can swap buffers.  At any rate, that does seem a tiny bit low,
  I normally turn around 2200 - 2300 on my 4650 w/c2d.  I think if you try
  with some GL games, you will find it quite adequate.
 
 What Should we be using for benchmarks? I have a Few machines I can test.

I find openarena or nexuiz to be fairly good.  Our openarena port needs
updating.

robert.

 Sam Fourman Jr.
 ___
 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
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2010-01-11 Thread Oliver Lehmann
Norikatsu Shigemura wrote:

 Hi Radeon HD 2xxx, 3xxx and 4xxx users!

Tried this now too with your mesa3d.tar.bz2 (10/01/09) but why is it so
slow?

 glxgears 
IRQ's not enabled, falling back to busy waits: 2 0
10241 frames in 5.0 seconds = 2048.125 FPS
10220 frames in 5.0 seconds = 2043.875 FPS

Using a HD4890 on an core i7-920. I would expect the FPS going up to
around 20,000? With Software Rasterizer I'm at around 500 FPS..

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2010-01-11 Thread Robert Noland
On Mon, 2010-01-11 at 20:27 +0100, Oliver Lehmann wrote:
 Norikatsu Shigemura wrote:
 
  Hi Radeon HD 2xxx, 3xxx and 4xxx users!
 
 Tried this now too with your mesa3d.tar.bz2 (10/01/09) but why is it so
 slow?
 
  glxgears 
 IRQ's not enabled, falling back to busy waits: 2 0
 10241 frames in 5.0 seconds = 2048.125 FPS
 10220 frames in 5.0 seconds = 2043.875 FPS

glxgears is not a very useful benchmark... I primarily only tells how
fast you can swap buffers.  At any rate, that does seem a tiny bit low,
I normally turn around 2200 - 2300 on my 4650 w/c2d.  I think if you try
with some GL games, you will find it quite adequate.

robert.

 Using a HD4890 on an core i7-920. I would expect the FPS going up to
 around 20,000? With Software Rasterizer I'm at around 500 FPS..
 
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2010-01-11 Thread Sam Fourman Jr.
On Mon, Jan 11, 2010 at 8:39 PM, Robert Noland rnol...@freebsd.org wrote:
 On Mon, 2010-01-11 at 20:27 +0100, Oliver Lehmann wrote:
 Norikatsu Shigemura wrote:

  Hi Radeon HD 2xxx, 3xxx and 4xxx users!

 Tried this now too with your mesa3d.tar.bz2 (10/01/09) but why is it so
 slow?

  glxgears
 IRQ's not enabled, falling back to busy waits: 2 0
 10241 frames in 5.0 seconds = 2048.125 FPS
 10220 frames in 5.0 seconds = 2043.875 FPS

 glxgears is not a very useful benchmark... I primarily only tells how
 fast you can swap buffers.  At any rate, that does seem a tiny bit low,
 I normally turn around 2200 - 2300 on my 4650 w/c2d.  I think if you try
 with some GL games, you will find it quite adequate.

What Should we be using for benchmarks? I have a Few machines I can test.

Sam Fourman Jr.
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2010-01-09 Thread Norikatsu Shigemura
Hi rnoland.

On Sun, 03 Jan 2010 11:04:52 -0600
Robert Noland rnol...@freebsd.org wrote:
 One additional option that I've been considering, though I haven't tried
 it yet, it to construct a patch for 2.4.17 that essentially rolls
 libdrm_nouveau back to the 2.4.12 API.  If we can pull that off, then
 everything is solved, at least for now.

 What you have outlined seems fairly reasonable, although not a trivial
 amount of work.  If you would like to attempt the reverse patch on the
 nouveau directory in libdrm, that may be far simpler.  I will try and
 put this together in the next few days if not.

I was trying to separate libdrm_nouveau(2.4.12) and libdrm(2.4.17).
In thus environment, xf86-video-nouveau can compile with few
patches.  But xf86-video-nouveau freeze and reset on start X:(.
[SEE ALSO attached archive]

I saw diff nouveau codes from 2.4.12 and 2.4.17, I can't back
port from 2.4.12 to 2.4.17:-).  It quite too hard for me.
Maybe, I think reimplementation of codes related DMA.

So I'll try to work coexistence with Mesa3D(7.4.4)/libdrm(2.4.12)
and Mesa3D(7.6.1)/libdrm(2.4.17).


mesa3d.tar.bz2
Description: Binary data
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2010-01-03 Thread Robert Noland
On Mon, 2010-01-04 at 01:15 +0900, Norikatsu Shigemura wrote:
 Hi rnoland.
 
 On Tue, 22 Dec 2009 11:13:14 -0600
 Robert Noland rnol...@freebsd.org wrote:
  The problem is that updating nouveau will mean that drm support will be
  lost.  The fake buffer object bits were removed only leaving full TTM
  support.  We don't have TTM support in the kernel yet and my kernel
  patch relies on the fake buffer object code to function.
   P.S. libdrm was update to 2.4.17, so I'll update...
  That is the issue, if we update libdrm then we lose drm support for
  nouveau.  The only immediate option that I see is to repo-copy libdrm to
  keep 2.4.12 for nouveau, but that leads to dependency nightmares...
 
   I did combination tests, Mesa3D 7.4.4/libdrm 2.4.12 v.s.
   Mesa3D 7.6.1/libdrm 2.4.17, xf86-video-radeonhd-devel on
   Radeon HD 4860 v.s. xf86-video-nouveau/nvidia-driver195.22 on
   GeForce GT240 v.s. xf86-video-intel on Intel i915.
 
 
   [I] Intel i915 [G] GeForce GT240 [R] Radeon HD 4860
   NG = doesn't compile.
   OK = compile and run some 3D applications OK.
   libdrm
   | 2.4.12| 2.4.17
   Mesa3D  +---+
   7.4.4   |OK [I][G]  | NG
   7.6.1   |NG | OK [I][R]

The key issue is libdrm_nouveau.  It is needed for nouveau to continue
to work for EXA and Xv.  Hardware 3d is not supported / working, so as
long as swrast is ok, then that is the only concern for mesa w/ nouveau.

One additional option that I've been considering, though I haven't tried
it yet, it to construct a patch for 2.4.17 that essentially rolls
libdrm_nouveau back to the 2.4.12 API.  If we can pull that off, then
everything is solved, at least for now.

I have kernel work queued up that is going to break nouveau already.  I
have additional patches that will fix things up again, but it is going
to get a bit more complicated determining which kernel patch to use for
which branch.

What you have outlined seems fairly reasonable, although not a trivial
amount of work.  If you would like to attempt the reverse patch on the
nouveau directory in libdrm, that may be far simpler.  I will try and
put this together in the next few days if not.

robert.

   On Mesa3D 7.6.1/libdrm 2.4.17 and nvidia-driver-195.22, I
   confirmed that 3D applications run OK.
   [SEE ALSO] attached Xorg-radeon-and-geforce.log
 
   So I suggest that:
   1. repocopy libdrm - libdrm2412 and introduce WITH_NOUVEAU
   global macro for depending on libdrm2412. (fixing all
   ports depending on libdrm)
 
   2. libdrm and libdrm2412 are CONFLICTS.
 
   3. bsd.mesalib.mk supports 7.4.4 and 7.6.1, and switches version
  WITH_NOUVEAU.  Of course switch pkg_plist WITH_NOUVEAU.
 
   4. xf86-video-nouveau depends on libdrm2412, explicitly.
 
   5. update libdrm to 2.4.17.
 
   6. on no 'WITH_NOUVEAU' (= default), Mesa3D 7.6.1 and libdrm 2.4.17
  are installing.
 
   Maybe, I should be announce on UPDATING before these update for
   xf86-video-nouveau user, do 'portupgrade -o graphics/libdrm2412
   libdrm-2.4.12'.
 
   How about?  If OK, I'll make patches and write closeup procedure manual.
 
   I have some additional ideas:
   [no repocopy idea]
   libdrm supports 2.4.12 and 2.4.17 switching WITH_NOUVEAU.
 
   [OPTIONS idea]
   I can add OPTIONS=NOUVEAU for all Mesa3D7.4.4 and libdrm 2.4.12
   related ports, if you hate global WITH_NOUVEAU macro.
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-23 Thread Robert Noland
On Wed, 2009-12-23 at 08:15 +0200, Alex Kozlov wrote:
 On Tue, Dec 22, 2009 at 11:38:50PM -0600, Robert Noland wrote:
  On Wed, 2009-12-23 at 07:31 +0200, Alex Kozlov wrote:
   On Wed, Dec 23, 2009 at 02:03:15AM +0900, Norikatsu Shigemura wrote:
On Tue, 22 Dec 2009 00:26:38 -0600 Robert Noland rnol...@freebsd.org 
wrote:
 As much as I don't want to, I need to request a repo copy of libdrm in
 order to keep nouveau working...  The bits needed for r600 were added
 just after 2.4.12 and the bits that broke nouveau were just before
 2.4.13...

Ah, I just see! ABI breakage is building issue, I confirmed:

I think simple-fully xf86-video-nouveau updating at the same
time.  Please see also attached patch.  I confirmed that
compile is OK.  But I don't have any GeForce video cards.
So I don't know any problems of updating it in real.

And do you have any recommendation of GeForce? e.g. 9800GTX,
GT260, ...  I'll get one and test.  I'm interested in Cuda
and nvidia binary driver, too.

P.S. libdrm was update to 2.4.17, so I'll update...
   I just tested libdrm 2.4.17 with --enable-radeon-experimental-api 
   and mesalib git master. It's work quite good. Well, it worked
   quite good before 
  
  I've said it before, but I'll repeat... libdrm_radeon serves no purpose
  on FreeBSD and may cause problems.  It is only used by TTM/KMS enabled
  drivers on linux.  If it ever becomes useful... I'll enable it in the
  port.
 Sorry. I only mean that libradeon is a harmless at the moment.

Yes, the potential issue is that if it exists, the DDX driver or mesa
may detect it and have build issues.

 Could You please let us know rough roadmap for freebsd kernel drm? 

GEM: WIP no ETA
 Still a fair amount of work to do here figuring out how to allocate
and manage the objects using the FreeBSD VM system.  I am still trying
to learn how to manipulate the VM system.  I only know of a couple of
people that truly understand it though.  I think that we can get any
needed functionality that we need added, but if it has to go into their
queue, it may take some time.  I don't know that we need any more new
features to do this yet.  This is primarily only used on Intel hardware,
but radeon and nouveau use a TTM backend while presenting a GEM api to
userland, so this has to be the first task in queue.

TTM: WIP no ETA (less done than GEM)
 I've at least got this stubbed out, but I haven't looked at exactly
what is needed to get this going yet.  Overall, TTM is a bit more
complex than GEM since it manages pools of memory of various types from
both the system and the GPU.  In the end, this may be more suited to our
VM than GEM, but I'm only speculating at this point.  This will be used
by radeon, nouveau and possibly via at some point.

KMS: glimmer in my eye...
 Overall, this may be easier to port, however it relies on GEM/TTM
to handle all of the buffer management.  I'll need to coordinate with
Ed@ when we get ready to do this to integrate it with our console
support.

I mentioned via... I finally have hardware of the appropriate vintage to
finish porting the via drm driver, thanks to Bruno Schwander.  This is
jumbled up with working on the above, but I have most of the code
ported.  I still have one file to go through and fix up, though it is
the most complex bit of functionality.  Once I received the board, I had
to fix via agp, which I committed a couple of nights ago.  I'm not sure
how it has existed and been broken for as long as it had.  This driver
will support Unichrome chips using the openchrome DDX driver.  There is
an alternate via driver which uses TTM, but it doesn't ship in linux
either.

I had previously been sent a via chrome9 part (VX800) which
unfortunately uses a different driver.  I had this mostly completed,
though not actually working.  The primary problem here is that there is
no shipping DDX driver that uses it and no open source 3d for it either.

The *HUGE* issue is that I am one person... Trying to keep up with 20 or
30 developers on linux, many of whom are paid full time to work on
graphics if not drm directly.  Probably more, when you consider that I
have to try and keep mesa and Xorg going as well.  I have upstream
commit rights for all of the above, so I try to make sure that when
folks break things on FreeBSD that fixes get committed upstream.

robert.

 
   Merge branch 'glsl-pp-rework-2' 
   (e195eab9093d2a6cf55a42b2e7789c9a381b778)
   but this is separate matter.
   So may be enabling libdrm_radeon is not such a bad idea.
 
 
 --
 Adios
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-22 Thread Alexey Shuvaev
On Tue, Dec 22, 2009 at 12:26:38AM -0600, Robert Noland wrote:
 On Mon, 2009-12-21 at 04:58 +0900, Norikatsu Shigemura wrote:
  On Mon, 21 Dec 2009 00:34:22 +0900
  Norikatsu Shigemura n...@ninth-nine.com wrote:
I'm ready to update ports related Mesa3D to 7.6 base, 
graphics/dri,
graphics/libGL*, graphics/libglut, graphics/mesa-demos and
graphics/libdrm.  Please see also my attached patch file.  I'll
update these as soon as tomorrow.
 Reworking for 7.6.1-rc4.  Please test attached patch.
 
 I've put a patch of 7.6.1 release at:
 
 http://people.freebsd.org/~rnoland/mesa-7.6.1-release.patch
 
 As much as I don't want to, I need to request a repo copy of libdrm in
 order to keep nouveau working...  The bits needed for r600 were added
 just after 2.4.12 and the bits that broke nouveau were just before
 2.4.13...
 
+1 for keeping nouveau working.

Alexey.
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-22 Thread Norikatsu Shigemura
Hi rnoland.

On Tue, 22 Dec 2009 00:26:38 -0600
Robert Noland rnol...@freebsd.org wrote:
 As much as I don't want to, I need to request a repo copy of libdrm in
 order to keep nouveau working...  The bits needed for r600 were added
 just after 2.4.12 and the bits that broke nouveau were just before
 2.4.13...

Ah, I just see! ABI breakage is building issue, I confirmed:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ cd /usr/ports/x11-drivers/xf86-video-nouveau 
$ make
  :
nv_driver.c: In function 'NVPreInitDRM':
nv_driver.c:676: error: 'struct nouveau_device_priv' has no member named 
'mm_enabled'
nv_driver.c: In function 'NVMapMemSW':
nv_driver.c:1146: warning: implicit declaration of function 'nouveau_bo_fake'
*** Error code 1
2 errors
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I think simple-fully xf86-video-nouveau updating at the same
time.  Please see also attached patch.  I confirmed that
compile is OK.  But I don't have any GeForce video cards.
So I don't know any problems of updating it in real.

And do you have any recommendation of GeForce? e.g. 9800GTX,
GT260, ...  I'll get one and test.  I'm interested in Cuda
and nvidia binary driver, too.

P.S. libdrm was update to 2.4.17, so I'll update...
Index: Makefile
===
RCS file: /home/ncvs/ports/x11-drivers/xf86-video-nouveau/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile1 Aug 2009 17:42:44 -   1.7
+++ Makefile22 Dec 2009 16:36:48 -
@@ -9,7 +9,8 @@
 PORTVERSION=   0.0.10.${SNAPDATE}
 DISTVERSIONSUFFIX=.${SNAPREV}
 CATEGORIES=x11-drivers
-MASTER_SITES=  ftp://ftp.lissyara.su/users/Guest/distfiles/
+MASTER_SITES=  ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=nork
 
 MAINTAINER=x...@freebsd.org
 COMMENT=   Free nouveau display driver for nvidia-based cards
Index: Makefile.rev
===
RCS file: /home/ncvs/ports/x11-drivers/xf86-video-nouveau/Makefile.rev,v
retrieving revision 1.1
diff -u -r1.1 Makefile.rev
--- Makefile.rev1 Aug 2009 17:42:44 -   1.1
+++ Makefile.rev22 Dec 2009 16:35:26 -
@@ -1,2 +1,2 @@
-SNAPDATE=  20090728
-SNAPREV=   e259925
+SNAPDATE=  20091217
+SNAPREV=   bb19478
Index: distinfo
===
RCS file: /home/ncvs/ports/x11-drivers/xf86-video-nouveau/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo1 Aug 2009 17:42:44 -   1.4
+++ distinfo22 Dec 2009 16:35:30 -
@@ -1,3 +1,3 @@
-MD5 (xorg/driver/xf86-video-nouveau-0.0.10.20090728.e259925.tar.bz2) = 
8e0b3246a8b2a49a9609b1bdf6279e64
-SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20090728.e259925.tar.bz2) = 
48e328a04a2dc9ea5dfebd21eae7c23987dcf53dcd3db7bee477d873cbb31906
-SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20090728.e259925.tar.bz2) = 552302
+MD5 (xorg/driver/xf86-video-nouveau-0.0.10.20091217.bb19478.tar.bz2) = 
027d384b213fa61732e0324af39e34e9
+SHA256 (xorg/driver/xf86-video-nouveau-0.0.10.20091217.bb19478.tar.bz2) = 
d481815265c298753228ec86a9ba413827c97c2f3b19d4b37ec7f4979a6c661a
+SIZE (xorg/driver/xf86-video-nouveau-0.0.10.20091217.bb19478.tar.bz2) = 559648
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-22 Thread Robert Noland
On Wed, 2009-12-23 at 02:03 +0900, Norikatsu Shigemura wrote:
 Hi rnoland.
 
 On Tue, 22 Dec 2009 00:26:38 -0600
 Robert Noland rnol...@freebsd.org wrote:
  As much as I don't want to, I need to request a repo copy of libdrm in
  order to keep nouveau working...  The bits needed for r600 were added
  just after 2.4.12 and the bits that broke nouveau were just before
  2.4.13...
 
   Ah, I just see! ABI breakage is building issue, I confirmed:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 $ cd /usr/ports/x11-drivers/xf86-video-nouveau 
 $ make
   :
 nv_driver.c: In function 'NVPreInitDRM':
 nv_driver.c:676: error: 'struct nouveau_device_priv' has no member named 
 'mm_enabled'
 nv_driver.c: In function 'NVMapMemSW':
 nv_driver.c:1146: warning: implicit declaration of function 'nouveau_bo_fake'
 *** Error code 1
 2 errors
 *** Error code 1
 1 error
 *** Error code 2
 1 error
 *** Error code 1
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
   I think simple-fully xf86-video-nouveau updating at the same
   time.  Please see also attached patch.  I confirmed that
   compile is OK.  But I don't have any GeForce video cards.
   So I don't know any problems of updating it in real.
 
   And do you have any recommendation of GeForce? e.g. 9800GTX,
   GT260, ...  I'll get one and test.  I'm interested in Cuda
   and nvidia binary driver, too.

The problem is that updating nouveau will mean that drm support will be
lost.  The fake buffer object bits were removed only leaving full TTM
support.  We don't have TTM support in the kernel yet and my kernel
patch relies on the fake buffer object code to function.

 P.S. libdrm was update to 2.4.17, so I'll update...

That is the issue, if we update libdrm then we lose drm support for
nouveau.  The only immediate option that I see is to repo-copy libdrm to
keep 2.4.12 for nouveau, but that leads to dependency nightmares...

robert.

-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-22 Thread Alex Kozlov
On Wed, Dec 23, 2009 at 02:03:15AM +0900, Norikatsu Shigemura wrote:
 On Tue, 22 Dec 2009 00:26:38 -0600 Robert Noland rnol...@freebsd.org wrote:
  As much as I don't want to, I need to request a repo copy of libdrm in
  order to keep nouveau working...  The bits needed for r600 were added
  just after 2.4.12 and the bits that broke nouveau were just before
  2.4.13...
 
   Ah, I just see! ABI breakage is building issue, I confirmed:
 
   I think simple-fully xf86-video-nouveau updating at the same
   time.  Please see also attached patch.  I confirmed that
   compile is OK.  But I don't have any GeForce video cards.
   So I don't know any problems of updating it in real.
 
   And do you have any recommendation of GeForce? e.g. 9800GTX,
   GT260, ...  I'll get one and test.  I'm interested in Cuda
   and nvidia binary driver, too.
 
 P.S. libdrm was update to 2.4.17, so I'll update...
I just tested libdrm 2.4.17 with --enable-radeon-experimental-api 
and mesalib git master. It's work quite good. Well, it worked
quite good before 
Merge branch 'glsl-pp-rework-2' (e195eab9093d2a6cf55a42b2e7789c9a381b778)
but this is separate matter.

So may be enabling libdrm_radeon is not such a bad idea.


--
Adios
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-22 Thread Robert Noland
On Wed, 2009-12-23 at 07:31 +0200, Alex Kozlov wrote:
 On Wed, Dec 23, 2009 at 02:03:15AM +0900, Norikatsu Shigemura wrote:
  On Tue, 22 Dec 2009 00:26:38 -0600 Robert Noland rnol...@freebsd.org 
  wrote:
   As much as I don't want to, I need to request a repo copy of libdrm in
   order to keep nouveau working...  The bits needed for r600 were added
   just after 2.4.12 and the bits that broke nouveau were just before
   2.4.13...
  
  Ah, I just see! ABI breakage is building issue, I confirmed:
  
  I think simple-fully xf86-video-nouveau updating at the same
  time.  Please see also attached patch.  I confirmed that
  compile is OK.  But I don't have any GeForce video cards.
  So I don't know any problems of updating it in real.
  
  And do you have any recommendation of GeForce? e.g. 9800GTX,
  GT260, ...  I'll get one and test.  I'm interested in Cuda
  and nvidia binary driver, too.
  
  P.S. libdrm was update to 2.4.17, so I'll update...
 I just tested libdrm 2.4.17 with --enable-radeon-experimental-api 
 and mesalib git master. It's work quite good. Well, it worked
 quite good before 

I've said it before, but I'll repeat... libdrm_radeon serves no purpose
on FreeBSD and may cause problems.  It is only used by TTM/KMS enabled
drivers on linux.  If it ever becomes useful... I'll enable it in the
port.

robert.

 Merge branch 'glsl-pp-rework-2' (e195eab9093d2a6cf55a42b2e7789c9a381b778)
 but this is separate matter.
 
 So may be enabling libdrm_radeon is not such a bad idea.
 
 
 --
 Adios
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-22 Thread Alex Kozlov
On Tue, Dec 22, 2009 at 11:38:50PM -0600, Robert Noland wrote:
 On Wed, 2009-12-23 at 07:31 +0200, Alex Kozlov wrote:
  On Wed, Dec 23, 2009 at 02:03:15AM +0900, Norikatsu Shigemura wrote:
   On Tue, 22 Dec 2009 00:26:38 -0600 Robert Noland rnol...@freebsd.org 
   wrote:
As much as I don't want to, I need to request a repo copy of libdrm in
order to keep nouveau working...  The bits needed for r600 were added
just after 2.4.12 and the bits that broke nouveau were just before
2.4.13...
   
 Ah, I just see! ABI breakage is building issue, I confirmed:
   
 I think simple-fully xf86-video-nouveau updating at the same
 time.  Please see also attached patch.  I confirmed that
 compile is OK.  But I don't have any GeForce video cards.
 So I don't know any problems of updating it in real.
   
 And do you have any recommendation of GeForce? e.g. 9800GTX,
 GT260, ...  I'll get one and test.  I'm interested in Cuda
 and nvidia binary driver, too.
   
   P.S. libdrm was update to 2.4.17, so I'll update...
  I just tested libdrm 2.4.17 with --enable-radeon-experimental-api 
  and mesalib git master. It's work quite good. Well, it worked
  quite good before 
 
 I've said it before, but I'll repeat... libdrm_radeon serves no purpose
 on FreeBSD and may cause problems.  It is only used by TTM/KMS enabled
 drivers on linux.  If it ever becomes useful... I'll enable it in the
 port.
Sorry. I only mean that libradeon is a harmless at the moment.

Could You please let us know rough roadmap for freebsd kernel drm? 


  Merge branch 'glsl-pp-rework-2' (e195eab9093d2a6cf55a42b2e7789c9a381b778)
  but this is separate matter.
  So may be enabling libdrm_radeon is not such a bad idea.


--
Adios
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-21 Thread Robert Noland
On Mon, 2009-12-21 at 04:58 +0900, Norikatsu Shigemura wrote:
 On Mon, 21 Dec 2009 00:34:22 +0900
 Norikatsu Shigemura n...@ninth-nine.com wrote:
 I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
 graphics/libGL*, graphics/libglut, graphics/mesa-demos and
 graphics/libdrm.  Please see also my attached patch file.  I'll
 update these as soon as tomorrow.
  Reworking for 7.6.1-rc4.  Please test attached patch.

I've put a patch of 7.6.1 release at:

http://people.freebsd.org/~rnoland/mesa-7.6.1-release.patch

As much as I don't want to, I need to request a repo copy of libdrm in
order to keep nouveau working...  The bits needed for r600 were added
just after 2.4.12 and the bits that broke nouveau were just before
2.4.13...

robert.

   I confirmed that 2 *my* issue was fixed:
 
   1. bluish coloring
  Because of Depth Color = 16, so I change Depth Color to 24.
  Fix this issue.
 
   2. Too heavy FlightGear
  I always enable LIBGL_ALWAYS_INDIRECT environment.  It's
  required by compiz.  But many OpenGL applications are not
  comfortably.  glxgears's frames bump up to 2600FPS from
  1600FPS by disable LIBGL_ALWAYS_INDIRECT.
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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


[HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-20 Thread Norikatsu Shigemura
Hi everyone!

On Sat, 5 Dec 2009 10:42:43 +0900
Norikatsu Shigemura n...@freebsd.org wrote:
   I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
   graphics/libGL*, graphics/libglut, graphics/mesa-demos and
   graphics/libdrm.  Please see also my attached patch file.  I'll
   update these as soon as tomorrow.

Reworking for 7.6.1-rc4.  Please test attached patch.

1st:
portupgrade -f libdrm  after apply this patch.

2nd:
others are portupgrade OK:-).

Changing:
libradeon no longer installed.
WRKSRC, DISTFILES, MESAVERSION are support 'rc', but all 'rc's
are same version:).
Index: dri/distinfo
===
RCS file: /home/ncvs/ports/graphics/dri/distinfo,v
retrieving revision 1.17
diff -u -r1.17 distinfo
--- dri/distinfo24 Jun 2009 01:15:07 -  1.17
+++ dri/distinfo5 Dec 2009 00:59:36 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 
eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
+MD5 (MesaLib-7.6.tar.bz2) = 8c75f90cd0303cfac9e4b6d54f6759ca
+SHA256 (MesaLib-7.6.tar.bz2) = 
782a7b2810b1c466b3a994eba96485b59b47cc1120c0caa24de1aecf1e013830
+SIZE (MesaLib-7.6.tar.bz2) = 4866983
Index: dri/pkg-plist
===
RCS file: /home/ncvs/ports/graphics/dri/pkg-plist,v
retrieving revision 1.11
diff -u -r1.11 pkg-plist
--- dri/pkg-plist   24 Jan 2009 18:13:00 -  1.11
+++ dri/pkg-plist   5 Dec 2009 00:59:36 -
@@ -7,6 +7,7 @@
 lib/dri/r128_dri.so
 lib/dri/r200_dri.so
 lib/dri/r300_dri.so
+lib/dri/r600_dri.so
 lib/dri/radeon_dri.so
 lib/dri/savage_dri.so
 lib/dri/sis_dri.so
Index: dri/files/patch-configure
===
RCS file: dri/files/patch-configure
diff -N dri/files/patch-configure
--- dri/files/patch-configure   10 Apr 2009 18:00:47 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 configure.orig 2009-03-28 00:59:46.0 +
-+++ configure  2009-04-05 11:53:44.0 +
-@@ -5739,7 +5739,7 @@
- ;;
- *freebsd* | dragonfly*)
- case $host_cpu in
--i*86|x86_64) default_driver=dri;;
-+i*86|x86_64|powerpc*|sparc*) default_driver=dri;;
- esac
- ;;
- esac
Index: libGL/bsd.mesalib.mk
===
RCS file: /home/ncvs/ports/graphics/libGL/bsd.mesalib.mk,v
retrieving revision 1.15
diff -u -r1.15 bsd.mesalib.mk
--- libGL/bsd.mesalib.mk22 Aug 2009 00:22:54 -  1.15
+++ libGL/bsd.mesalib.mk5 Dec 2009 00:59:36 -
@@ -17,7 +17,7 @@
 # $FreeBSD: ports/graphics/libGL/bsd.mesalib.mk,v 1.15 2009/08/22 00:22:54 
amdmi3 Exp $
 #
 
-MESAVERSION=   7.4.4
+MESAVERSION=   7.6
 MASTER_SITES?= SF/mesa3d/MesaLib/${PORTVERSION}:mesa \

ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/:mesa,glut,demos
 MASTER_SITE_SUBDIR=mesa3d
@@ -32,6 +32,7 @@
 
 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
+CONFIGURE_ARGS=--disable-gallium
 
 ALL_TARGET=default
 
Index: libGL/distinfo
===
RCS file: /home/ncvs/ports/graphics/libGL/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- libGL/distinfo  24 Jun 2009 01:15:06 -  1.11
+++ libGL/distinfo  5 Dec 2009 00:59:36 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 
eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
+MD5 (MesaLib-7.6.tar.bz2) = 8c75f90cd0303cfac9e4b6d54f6759ca
+SHA256 (MesaLib-7.6.tar.bz2) = 
782a7b2810b1c466b3a994eba96485b59b47cc1120c0caa24de1aecf1e013830
+SIZE (MesaLib-7.6.tar.bz2) = 4866983
Index: libGL/pkg-plist
===
RCS file: /home/ncvs/ports/graphics/libGL/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- libGL/pkg-plist 25 Jan 2009 02:00:47 -  1.3
+++ libGL/pkg-plist 5 Dec 2009 00:59:36 -
@@ -1,17 +1,18 @@
 include/GL/dmesa.h
 include/GL/ggimesa.h
-include/GL/gl_mangle.h
 include/GL/gl.h
+include/GL/gl_mangle.h
 include/GL/glext.h
 include/GL/glfbdev.h
-include/GL/glx_mangle.h
 include/GL/glx.h
+include/GL/glx_mangle.h
 include/GL/glxext.h
 include/GL/mesa_wgl.h
 include/GL/mglmesa.h
 include/GL/osmesa.h
 include/GL/svgamesa.h
 include/GL/vms_x_fix.h
+include/GL/wglext.h
 include/GL/wmesa.h
 lib/libGL.so
 lib/libGL.so.1
Index: libGL/files/patch-configure
===
RCS file: libGL/files/patch-configure
diff -N libGL/files/patch-configure
--- 

Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd!

2009-12-20 Thread Norikatsu Shigemura
On Mon, 21 Dec 2009 00:34:22 +0900
Norikatsu Shigemura n...@ninth-nine.com wrote:
  I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
  graphics/libGL*, graphics/libglut, graphics/mesa-demos and
  graphics/libdrm.  Please see also my attached patch file.  I'll
  update these as soon as tomorrow.
   Reworking for 7.6.1-rc4.  Please test attached patch.

I confirmed that 2 *my* issue was fixed:

1. bluish coloring
   Because of Depth Color = 16, so I change Depth Color to 24.
   Fix this issue.

2. Too heavy FlightGear
   I always enable LIBGL_ALWAYS_INDIRECT environment.  It's
   required by compiz.  But many OpenGL applications are not
   comfortably.  glxgears's frames bump up to 2600FPS from
   1600FPS by disable LIBGL_ALWAYS_INDIRECT.
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-19 Thread Richard Kolkovich
On Sun, Dec 06, 2009 at 01:14:39PM -0500, Robert Huff wrote:
 
 =?ISO-8859-1?Q?Marius_N=FCnnerich?= writes:
 
   One thing I know is interesting for many people is playing World
   of Warcraft under wine. Last time I checked it wasn't even
   possible under linux with catalyst. Do you know anything about
   this or have tried it?
 
   I am not 100% certain - I use neither WoW or Linux - but I
 believe this is incorrect.  I think a friend of a friend has this
 working.

I can confirm that - I used to run WoW in WINE on the fglrx drivers without a 
hitch.  This was about
4 years ago on an All-in-Wonder 9600.  I'd hope they haven't regressed that 
badly. ;)

-- 

Richard Kolkovich
sarum...@sigil.org
PGP Key: 0x9E54EF59 (http://pgp.mit.edu)


pgpnqe9xpRiHe.pgp
Description: PGP signature


Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-13 Thread Juergen Lock
On Sun, Dec 06, 2009 at 03:21:25AM +0900, Norikatsu Shigemura wrote:
 On Sun, 6 Dec 2009 02:52:35 +0900
 Norikatsu Shigemura n...@freebsd.org wrote:
  On Sun, 6 Dec 2009 02:22:00 +0900
  Norikatsu Shigemura n...@freebsd.org wrote:
 Hum.. When 7.6.1 release?  If not yet, I'll back port.
 But, I don't understand fix by 
   https://bugs.freedesktop.org/show_bug.cgi?id=24266
 How should I find git's commit id from 
   http://cgit.freedesktop.org/mesa/mesa/ ?
  I give up.  So I remaked 7.6.1-rc2.  I'll update to 7.6.1-rc2.
 
   Oops, more quick hack for libglut.  I remade patch.

 Index: dri/distinfo
 [...]

Thank you! :)  I can report success on
(--) PCI:*(0...@1:0:0) ATI Technologies Inc RV730 PRO [Radeon HD 4650] 
rev 0, Mem @ 0xd000/268435456, 0xfdae/65536, I/O @ 0xce00/256, BIOS 
@ 0x/65536
- i.e. glxgears, engine (from mesa-demos) and stellarium now seem to
run with hw gl on stable/8 amd64.  The only issues so far were I had to
fetch some distfiles manually baecause the patch tries to fetch files from
ftp://ftp.freedesktop.org/pub/mesa/7.6.1.rc2/
that actually are in
ftp://ftp.freedesktop.org/pub/mesa/7.6.1/
, and glxgears says:
IRQ's not enabled, falling back to busy waits: 2 0
(but still runs, it reports some 2160 fps.)

 Cheers,
Juergen
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-07 Thread Robert Noland
On Sun, 2009-12-06 at 23:46 +0900, Norikatsu Shigemura wrote:
 Hi rnoland.
 
   Thank you.  I'll commit after 7.6.1 release, at least.
 
 On Sun, 06 Dec 2009 07:51:22 -0600
 Robert Noland rnol...@freebsd.org wrote:
  Actually, looking through the patch now... Two things jump out at me...
  We can't currently update libdrm in the ports collection without
  breaking nouveau.  The second is, don't enable libdrm_radeon, even when
  we can.  libdrm_radeon is only needed for TTM/KMS enabled radeon and may
  cause upgrade/build issues if it exists.
 
   OK.  I'll change libdrm_radeon is OPTIONal(default off), and
   r600_dri.so installable by libdrm_radeon exists.

r600_dri.so from mesa does not require libdrm_radeon.  libdrm_radeon is
completely unneeded at this point.

robert.

-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-07 Thread Robert Noland
On Sun, 2009-12-06 at 17:47 +0100, Marius Nünnerich wrote:
 On Sun, Dec 6, 2009 at 15:03, Robert Noland rnol...@freebsd.org wrote:
  On Sat, 2009-12-05 at 10:01 +0200, Alex Kozlov wrote:
  On Sat, Dec 05, 2009 at 10:42:43AM +0900, Norikatsu Shigemura wrote:
   Hi Radeon HD 2xxx, 3xxx and 4xxx users!
  
   I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
   graphics/libGL*, graphics/libglut, graphics/mesa-demos and
   graphics/libdrm.  Please see also my attached patch file.  I'll
   update these as soon as tomorrow.
  
   Mesa3D 7.6 supports experimental r600 driver, as known as AMD
   R6xx/R7xx architecture.  I confirmed that it's good works, but
   buggy on my Radeon HD 4850 environment with 9-current/amd64 and
   xf86-video-radeonhd-devel.  Please see also [I known problem]
   section.
  I use similiar setup(but with mesa git master) for more than a month
  without a problem. HD 3650 AGP. glxgear, other demos and even some old
  games in wine like deusex work fine.
 
  Openarena, UT, vdrift, nexuiz, etc... should all work fairly well also.
  There are still features that are not yet implemented on r600, but I
  tend to run all of the above all video options enabled on highest
  settings.  Really large textures are slow and it seems like I found one
  option that really hurt performance (bloom maybe), but otherwise they
  are all more than playable on my HD4650 core2duo e7400.
 
  Disclaimer: I'm not a gamer... but I do use them for testing.
 
  robert.
 
 One thing I know is interesting for many people is playing World of
 Warcraft under wine. Last time I checked it wasn't even possible under
 linux with catalyst. Do you know anything about this or have tried it?

I've not tried it.  My primary radeon box is amd64 and I haven't tried
the patches to get wine up and running.  I've heard that WoW will run
under wine on linux now though.  I have not had anyone tell me if it
runs under FreeBSD as well though.  However, the features supported by
the driver are pretty much the same, so I would say it is worth a shot.

robert.

-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-07 Thread Vladimir Grebenschikov
Hi 

Updated 9-CURRENT today with recent ports tree, including
xf86-video-radeonhd-1.3.0.

I had X1400 old ATI card on board of notebook.

As result Xorg dumps core on start with SIGSERV, leaving video subsystem
with black screen.

Then, I've upgraded to xf86-video-radeonhd-devel, now it is a bit
better, X server works, but without any acceleration, even 2D (unusable
in real life)

back-trace:
#0  0x488ae467 in RHDDRIScreenInit () from 
/usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
[New Thread 48701140 (LWP 100074)]
(gdb) bt
#0  0x488ae467 in RHDDRIScreenInit () from 
/usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
#1  0x48883a41 in rhdEngineIdle () from 
/usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
#2  0x080a56b8 in AbortDDX ()
#3  0x0812d1ed in AbortServer ()
#4  0x0812d7cf in FatalError ()
#5  0x080bc3c3 in xf86SigHandler ()
#6  signal handler called
#7  0x in ?? ()
#8  0x4889053f in RHDLVTMAInit () from 
/usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
#9  0x488747a1 in rhdBIOSScratchUpdateBIOSScratchForOutput ()
   from /usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
#10 0x488a1a2e in rhdRROutputModeFixup () from 
/usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
#11 0x080e2cad in xf86CrtcSetModeTransform ()
#12 0x080e30df in xf86SetDesiredModes ()
#13 0x488a189f in rhdRROutputModeFixup () from 
/usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
#14 0x48885812 in RHDScreenInit () from 
/usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
#15 0x0806b69b in AddScreen ()
#16 0x080a5f8c in InitOutput ()
#17 0x0806bd6b in main ()
(gdb) 

tail of xord.0.log: 
(II) Module exa: vendor=X.Org Foundation
compiled for 1.6.1, module version = 2.4.0
ABI class: X.Org Video Driver, version 5.0
(II) RADEONHD(0): FB: Allocated Offscreen Buffer at offset 0x00E63000 (size = 
0x00CCA000)
(II) RADEONHD(0): FB: Allocated DRI Back Buffer at offset 0x01B2D000 (size = 
0x00E5B000)
(II) RADEONHD(0): FB: Allocated DRI Depth Buffer at offset 0x02988000 (size = 
0x00E5B000)
(II) RADEONHD(0): FB: Allocated GART table at offset 0x07FF8000 (size = 
0x8000, end of FB)
(II) RADEONHD(0): FB: Allocated DRI Textures at offset 0x037E3000 (size = 
0x0480)
(II) RADEONHD(0): Using 16 MB GART aperture
(II) RADEONHD(0): Using 2 MB for the ring buffer
(II) RADEONHD(0): Using 2 MB for vertex/indirect buffers
(II) RADEONHD(0): Using 12 MB for GART textures
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
[0] -1  0   0x000f - 0x000f (0x1) MX[B]
[1] -1  0   0x000c - 0x000e (0x3) MX[B]
[2] -1  0   0x - 0x0009 (0xa) MX[B]
[3] 0   0   0x000a - 0x000a (0x1) MS[B]
[4] 0   0   0x000b - 0x000b7fff (0x8000) MS[B]
[5] 0   0   0x000b8000 - 0x000b (0x8000) MS[B]
[6] -1  0   0x - 0x (0x1) IX[B]
[7] -1  0   0x - 0x00ff (0x100) IX[B]
[8] 0   0   0x03b0 - 0x03bb (0xc) IS[B]
[9] 0   0   0x03c0 - 0x03df (0x20) IS[B]
(II) RADEONHD(0): Mapped IO @ 0xee10 to 0x488e5000 (size 0x0001)
(II) RADEONHD(0): Mapped FB @ 0xd800 to 0x48c0 (size 0x0800)
(II) RADEONHD(0): Attempting to enable power management
(II) RADEONHD(0): Attempting to enable clock gating
(II) RADEONHD(0): Current Engine Clock: 445500
(II) RADEONHD(0): Current Memory Clock: 351000
(WW) RADEONHD(0): Not supporting SetVoltage V1 yet
(II) RADEONHD(0): Unused attribute: SET_VOLTAGE_GET_MAX_VOLTAGE: type 6 mode 1 
index 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) [drm] DRM interface version 1.2
(II) [drm] DRM open master succeeded.
(II) RADEONHD(0): [drm] Using the DRM lock SAREA also for drawables.
(II) RADEONHD(0): [drm] framebuffer handle = 0xd800
(II) RADEONHD(0): [drm] added 1 reserved context for kernel
(II) RADEONHD(0): X context handle = 0x7
(II) RADEONHD(0): [drm] installed DRM signal handler
(II) RADEONHD(0): [pci] 16384 kB allocated with handle 0xe7b2c000
(II) RADEONHD(0): [pci] ring handle = 0xe7b2c000
(II) RADEONHD(0): [pci] Ring mapped at 0x48922000
(II) RADEONHD(0): [pci] Ring contents 0x
(II) RADEONHD(0): [pci] ring read ptr handle = 0xe7d2d000
(II) RADEONHD(0): [pci] Ring read ptr mapped at 0x486ff000
(II) RADEONHD(0): [pci] Ring read ptr contents 0x
(II) RADEONHD(0): [pci] vertex/indirect buffers handle = 0xe7d2e000
(II) RADEONHD(0): [pci] Vertex/indirect buffers mapped at 0x50c0
(II) RADEONHD(0): [pci] Vertex/indirect buffers contents 0x
(II) RADEONHD(0): 

Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-06 Thread Robert Noland
On Sat, 2009-12-05 at 10:42 +0900, Norikatsu Shigemura wrote:
 Hi Radeon HD 2xxx, 3xxx and 4xxx users!
 
   I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
   graphics/libGL*, graphics/libglut, graphics/mesa-demos and
   graphics/libdrm.  Please see also my attached patch file.  I'll
   update these as soon as tomorrow.
 
   Mesa3D 7.6 supports experimental r600 driver, as known as AMD
   R6xx/R7xx architecture.  I confirmed that it's good works, but
   buggy on my Radeon HD 4850 environment with 9-current/amd64 and
   xf86-video-radeonhd-devel.  Please see also [I known problem]
   section.
 
   [kernel support]
   maybe, 7-stable, 8-release(at least 8-stable) and 9-current are OK.
   http://svn.freebsd.org/changeset/base/196470 (HEAD 2009/08/23)
   http://svn.freebsd.org/changeset/base/198685 (RELENG_8 2009/10/30)
   http://svn.freebsd.org/changeset/base/198686 (RELENG_7 2009/10/30)
 
   [X11 driver support]
   x11-drivers/xf86-video-ati  OK
   x11-drivers/xf86-video-radeonhd I don't know
   x11-drivers/xf86-video-radeonhd-devel   OK
 
   [To enable xorg.conf]
   Section ServerFlags
   Option  AIGLX true
   EndSection
 
   [I know a problem]
   3D accelerated applications like glxgear, compiz display with
   bluish coloring.  I confirmed git master branch Mesa3D codes,
   too.  So I consider that this problem wasn't be fixed.
 
   [Why update to 7.6]
   I confirmed git master and 7.6, I think these are almost same
   quality.  So I choose 7.6.

Actually, looking through the patch now... Two things jump out at me...
We can't currently update libdrm in the ports collection without
breaking nouveau.  The second is, don't enable libdrm_radeon, even when
we can.  libdrm_radeon is only needed for TTM/KMS enabled radeon and may
cause upgrade/build issues if it exists.

robert.

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

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-06 Thread Robert Noland
On Sat, 2009-12-05 at 10:01 +0200, Alex Kozlov wrote:
 On Sat, Dec 05, 2009 at 10:42:43AM +0900, Norikatsu Shigemura wrote:
  Hi Radeon HD 2xxx, 3xxx and 4xxx users!
  
  I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
  graphics/libGL*, graphics/libglut, graphics/mesa-demos and
  graphics/libdrm.  Please see also my attached patch file.  I'll
  update these as soon as tomorrow.
  
  Mesa3D 7.6 supports experimental r600 driver, as known as AMD
  R6xx/R7xx architecture.  I confirmed that it's good works, but
  buggy on my Radeon HD 4850 environment with 9-current/amd64 and
  xf86-video-radeonhd-devel.  Please see also [I known problem]
  section.
 I use similiar setup(but with mesa git master) for more than a month
 without a problem. HD 3650 AGP. glxgear, other demos and even some old
 games in wine like deusex work fine. 

Openarena, UT, vdrift, nexuiz, etc... should all work fairly well also.
There are still features that are not yet implemented on r600, but I
tend to run all of the above all video options enabled on highest
settings.  Really large textures are slow and it seems like I found one
option that really hurt performance (bloom maybe), but otherwise they
are all more than playable on my HD4650 core2duo e7400.

Disclaimer: I'm not a gamer... but I do use them for testing.

robert.

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

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-06 Thread Norikatsu Shigemura
Hi rnoland.

Thank you.  I'll commit after 7.6.1 release, at least.

On Sun, 06 Dec 2009 07:51:22 -0600
Robert Noland rnol...@freebsd.org wrote:
 Actually, looking through the patch now... Two things jump out at me...
 We can't currently update libdrm in the ports collection without
 breaking nouveau.  The second is, don't enable libdrm_radeon, even when
 we can.  libdrm_radeon is only needed for TTM/KMS enabled radeon and may
 cause upgrade/build issues if it exists.

OK.  I'll change libdrm_radeon is OPTIONal(default off), and
r600_dri.so installable by libdrm_radeon exists.
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-06 Thread Marius Nünnerich
On Sun, Dec 6, 2009 at 15:03, Robert Noland rnol...@freebsd.org wrote:
 On Sat, 2009-12-05 at 10:01 +0200, Alex Kozlov wrote:
 On Sat, Dec 05, 2009 at 10:42:43AM +0900, Norikatsu Shigemura wrote:
  Hi Radeon HD 2xxx, 3xxx and 4xxx users!
 
      I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
      graphics/libGL*, graphics/libglut, graphics/mesa-demos and
      graphics/libdrm.  Please see also my attached patch file.  I'll
      update these as soon as tomorrow.
 
      Mesa3D 7.6 supports experimental r600 driver, as known as AMD
      R6xx/R7xx architecture.  I confirmed that it's good works, but
      buggy on my Radeon HD 4850 environment with 9-current/amd64 and
      xf86-video-radeonhd-devel.  Please see also [I known problem]
      section.
 I use similiar setup(but with mesa git master) for more than a month
 without a problem. HD 3650 AGP. glxgear, other demos and even some old
 games in wine like deusex work fine.

 Openarena, UT, vdrift, nexuiz, etc... should all work fairly well also.
 There are still features that are not yet implemented on r600, but I
 tend to run all of the above all video options enabled on highest
 settings.  Really large textures are slow and it seems like I found one
 option that really hurt performance (bloom maybe), but otherwise they
 are all more than playable on my HD4650 core2duo e7400.

 Disclaimer: I'm not a gamer... but I do use them for testing.

 robert.

One thing I know is interesting for many people is playing World of
Warcraft under wine. Last time I checked it wasn't even possible under
linux with catalyst. Do you know anything about this or have tried it?
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-06 Thread Robert Huff

=?ISO-8859-1?Q?Marius_N=FCnnerich?= writes:

  One thing I know is interesting for many people is playing World
  of Warcraft under wine. Last time I checked it wasn't even
  possible under linux with catalyst. Do you know anything about
  this or have tried it?

I am not 100% certain - I use neither WoW or Linux - but I
believe this is incorrect.  I think a friend of a friend has this
working.


Robert Huff


___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Scot Hetzel
You will also need the attached patch for graphics/libglut, since
bsd.mesalib.mk automatically upgrades this port to 7.6 also.

Scot
Index: libglut/distinfo
===
RCS file: /home/ncvs/ports/graphics/libglut/distinfo,v
retrieving revision 1.19
diff -u -r1.19 distinfo
--- libglut/distinfo	24 Jun 2009 01:15:06 -	1.19
+++ libglut/distinfo	5 Dec 2009 07:49:42 -
@@ -1,6 +1,6 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
-MD5 (MesaGLUT-7.4.4.tar.bz2) = e14bbb52517e8121b31f1387515365ab
-SHA256 (MesaGLUT-7.4.4.tar.bz2) = 66c9486d73061ffd8d17a05b6e62851fec575867a99ad8cfc6137c2c16848c2e
-SIZE (MesaGLUT-7.4.4.tar.bz2) = 328900
+MD5 (MesaLib-7.6.tar.bz2) = 8c75f90cd0303cfac9e4b6d54f6759ca
+SHA256 (MesaLib-7.6.tar.bz2) = 782a7b2810b1c466b3a994eba96485b59b47cc1120c0caa24de1aecf1e013830
+SIZE (MesaLib-7.6.tar.bz2) = 4866983
+MD5 (MesaGLUT-7.6.tar.bz2) = b8b59706f827d18d1b784a0ff98b4dc2
+SHA256 (MesaGLUT-7.6.tar.bz2) = d8de6f88bc0261ff7598419c803f203fc4e1283811d94484042d921717365d69
+SIZE (MesaGLUT-7.6.tar.bz2) = 324913
Index: libglut/files/patch-configure
===
RCS file: libglut/files/patch-configure
diff -N libglut/files/patch-configure
--- libglut/files/patch-configure	10 Apr 2009 18:00:48 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 configure.orig	2009-03-28 00:59:46.0 +
-+++ configure	2009-04-05 11:53:44.0 +
-@@ -5739,7 +5739,7 @@
- ;;
- *freebsd* | dragonfly*)
- case $host_cpu in
--i*86|x86_64) default_driver=dri;;
-+i*86|x86_64|powerpc*|sparc*) default_driver=dri;;
- esac
- ;;
- esac
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Alex Kozlov
On Sat, Dec 05, 2009 at 10:42:43AM +0900, Norikatsu Shigemura wrote:
 Hi Radeon HD 2xxx, 3xxx and 4xxx users!
 
   I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
   graphics/libGL*, graphics/libglut, graphics/mesa-demos and
   graphics/libdrm.  Please see also my attached patch file.  I'll
   update these as soon as tomorrow.
 
   Mesa3D 7.6 supports experimental r600 driver, as known as AMD
   R6xx/R7xx architecture.  I confirmed that it's good works, but
   buggy on my Radeon HD 4850 environment with 9-current/amd64 and
   xf86-video-radeonhd-devel.  Please see also [I known problem]
   section.
I use similiar setup(but with mesa git master) for more than a month
without a problem. HD 3650 AGP. glxgear, other demos and even some old
games in wine like deusex work fine. 


--
Adios
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Andriy Gapon
on 05/12/2009 03:42 Norikatsu Shigemura said the following:
 Hi Radeon HD 2xxx, 3xxx and 4xxx users!
 
   I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
   graphics/libGL*, graphics/libglut, graphics/mesa-demos and
   graphics/libdrm.  Please see also my attached patch file.  I'll
   update these as soon as tomorrow.
 
   Mesa3D 7.6 supports experimental r600 driver, as known as AMD
   R6xx/R7xx architecture.  I confirmed that it's good works, but
   buggy on my Radeon HD 4850 environment with 9-current/amd64 and
   xf86-video-radeonhd-devel.  Please see also [I known problem]
   section.

Additionally, as Robert has already mentioned[1], Mesa3D has a bug that leads to
text corruption in compiz/kde4.

[1] See thread with subject kwin composite w/ opengl on r600?

-- 
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Norikatsu Shigemura
On Sat, 5 Dec 2009 02:01:03 -0600
Scot Hetzel swhet...@gmail.com wrote:
 You will also need the attached patch for graphics/libglut, since
 bsd.mesalib.mk automatically upgrades this port to 7.6 also.

Oops, I forgot it.  Yes, I would update it, too.
Thanks for your pointed out.
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Norikatsu Shigemura
On Sat, 5 Dec 2009 01:34:48 -0600
Scot Hetzel swhet...@gmail.com wrote:
 I had to add the following to MASTER_SITES in graphics/libGL/bsd.mesalib.mk:
 ftp://ftp.freedesktop.org/pub/mesa/${MESAVERSION}/:mesa,glut,demos

Thanks for your pointed out.  I updated bsd.mesalib.mk.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- -
Index: bsd.mesalib.mk
===
RCS file: /home/ncvs/ports/graphics/libGL/bsd.mesalib.mk,v
retrieving revision 1.15
diff -u -r1.15 bsd.mesalib.mk
--- bsd.mesalib.mk  22 Aug 2009 00:22:54 -  1.15
+++ bsd.mesalib.mk  5 Dec 2009 14:57:30 -
@@ -12,14 +12,14 @@
 #- graphics/libGL
 #- graphics/libGLU
 #- graphics/libGLw
+#- graphics/libglut
 #- graphics/dri
 #
 # $FreeBSD: ports/graphics/libGL/bsd.mesalib.mk,v 1.15 2009/08/22 00:22:54 
amdmi3 Exp $
 #
 
-MESAVERSION=   7.4.4
-MASTER_SITES?= SF/mesa3d/MesaLib/${PORTVERSION}:mesa \
-   
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/:mesa,glut,demos
+MESAVERSION=   7.6
+MASTER_SITES?= 
ftp://ftp.freedesktop.org/pub/mesa/${MESAVERSION}/:mesa,glut,demos
 MASTER_SITE_SUBDIR=mesa3d
 DISTFILES= MesaLib-${MESAVERSION}${EXTRACT_SUFX}:mesa
 MAINTAINER?=   x...@freebsd.org
@@ -32,6 +32,7 @@
 
 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
+CONFIGURE_ARGS=--disable-gallium
 
 ALL_TARGET=default
 
@@ -60,7 +61,6 @@
 CONFIGURE_ARGS+=   --disable-glut
 . endif
 .else
-MASTER_SITES+= SF/mesa3d/MesaGLUT/${MESAVERSION}:glut
 DISTFILES+=MesaGLUT-${MESAVERSION}${EXTRACT_SUFX}:glut
 .endif
 
@@ -73,7 +73,6 @@
 .if ${COMPONENT:Mdemos} == 
 CONFIGURE_ARGS+=   --with-demos=no
 .else
-MASTER_SITES+= SF/mesa3d/MesaDemos/${MESAVERSION}:demos
 DISTFILES+=MesaDemos-${MESAVERSION}${EXTRACT_SUFX}:demos
 CONFIGURE_ARGS+=   --with-demos=demos,xdemos
 .endif
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- -
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Norikatsu Shigemura
On Sat, 05 Dec 2009 14:22:45 +0200
Andriy Gapon a...@icyb.net.ua wrote:
 Additionally, as Robert has already mentioned[1], Mesa3D has a bug that leads 
 to
 text corruption in compiz/kde4.
 [1] See thread with subject kwin composite w/ opengl on r600?

Oh my god.  jkim@ was already working about Mesa3d ports.  orz

I think that it's swrast (SoftWare RASter) driver's issue.
I was troubled about swrast driver, too.
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Andriy Gapon
on 05/12/2009 18:22 Norikatsu Shigemura said the following:
 On Sat, 05 Dec 2009 14:22:45 +0200
 Andriy Gapon a...@icyb.net.ua wrote:
 Additionally, as Robert has already mentioned[1], Mesa3D has a bug that 
 leads to
 text corruption in compiz/kde4.
 [1] See thread with subject kwin composite w/ opengl on r600?
 
   Oh my god.  jkim@ was already working about Mesa3d ports.  orz
 
   I think that it's swrast (SoftWare RASter) driver's issue.
   I was troubled about swrast driver, too.

I think it was an r600-specific issue.
See here:
https://bugs.freedesktop.org/show_bug.cgi?id=24266

The fix should be in 7.6.1.

-- 
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Norikatsu Shigemura
On Sat, 05 Dec 2009 18:31:49 +0200
Andriy Gapon a...@icyb.net.ua wrote:
  I think that it's swrast (SoftWare RASter) driver's issue.
  I was troubled about swrast driver, too.
 I think it was an r600-specific issue.
 See here:
 https://bugs.freedesktop.org/show_bug.cgi?id=24266
 The fix should be in 7.6.1.

Hum.. When 7.6.1 release?  If not yet, I'll back port.
But, I don't understand fix by 
https://bugs.freedesktop.org/show_bug.cgi?id=24266
How should I find git's commit id from 
http://cgit.freedesktop.org/mesa/mesa/ ?
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Norikatsu Shigemura
On Sun, 6 Dec 2009 02:22:00 +0900
Norikatsu Shigemura n...@freebsd.org wrote:
   Hum.. When 7.6.1 release?  If not yet, I'll back port.
   But, I don't understand fix by 
 https://bugs.freedesktop.org/show_bug.cgi?id=24266
   How should I find git's commit id from 
 http://cgit.freedesktop.org/mesa/mesa/ ?

I give up.  So I remaked 7.6.1-rc2.  I'll update to 7.6.1-rc2.
Index: dri/distinfo
===
RCS file: /home/ncvs/ports/graphics/dri/distinfo,v
retrieving revision 1.17
diff -u -r1.17 distinfo
--- dri/distinfo24 Jun 2009 01:15:07 -  1.17
+++ dri/distinfo5 Dec 2009 17:41:57 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 
eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
+MD5 (MesaLib-7.6.1-rc2.tar.bz2) = 965e157b47e241efaadaf84e3c5bd9e0
+SHA256 (MesaLib-7.6.1-rc2.tar.bz2) = 
695db159bdb521001229e0bbe3e89fe1346b3be018c4c211cc4b6408fe375195
+SIZE (MesaLib-7.6.1-rc2.tar.bz2) = 4897510
Index: dri/pkg-plist
===
RCS file: /home/ncvs/ports/graphics/dri/pkg-plist,v
retrieving revision 1.11
diff -u -r1.11 pkg-plist
--- dri/pkg-plist   24 Jan 2009 18:13:00 -  1.11
+++ dri/pkg-plist   5 Dec 2009 00:59:36 -
@@ -7,6 +7,7 @@
 lib/dri/r128_dri.so
 lib/dri/r200_dri.so
 lib/dri/r300_dri.so
+lib/dri/r600_dri.so
 lib/dri/radeon_dri.so
 lib/dri/savage_dri.so
 lib/dri/sis_dri.so
Index: dri/files/patch-configure
===
RCS file: dri/files/patch-configure
diff -N dri/files/patch-configure
--- dri/files/patch-configure   10 Apr 2009 18:00:47 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 configure.orig 2009-03-28 00:59:46.0 +
-+++ configure  2009-04-05 11:53:44.0 +
-@@ -5739,7 +5739,7 @@
- ;;
- *freebsd* | dragonfly*)
- case $host_cpu in
--i*86|x86_64) default_driver=dri;;
-+i*86|x86_64|powerpc*|sparc*) default_driver=dri;;
- esac
- ;;
- esac
Index: libGL/bsd.mesalib.mk
===
RCS file: /home/ncvs/ports/graphics/libGL/bsd.mesalib.mk,v
retrieving revision 1.15
diff -u -r1.15 bsd.mesalib.mk
--- libGL/bsd.mesalib.mk22 Aug 2009 00:22:54 -  1.15
+++ libGL/bsd.mesalib.mk5 Dec 2009 17:44:36 -
@@ -12,16 +12,16 @@
 #- graphics/libGL
 #- graphics/libGLU
 #- graphics/libGLw
+#- graphics/libglut
 #- graphics/dri
 #
 # $FreeBSD: ports/graphics/libGL/bsd.mesalib.mk,v 1.15 2009/08/22 00:22:54 
amdmi3 Exp $
 #
 
-MESAVERSION=   7.4.4
-MASTER_SITES?= SF/mesa3d/MesaLib/${PORTVERSION}:mesa \
-   
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/:mesa,glut,demos
+MESAVERSION=   7.6.1.rc2
+MASTER_SITES?= 
ftp://ftp.freedesktop.org/pub/mesa/${MESAVERSION}/:mesa,glut,demos
 MASTER_SITE_SUBDIR=mesa3d
-DISTFILES= MesaLib-${MESAVERSION}${EXTRACT_SUFX}:mesa
+DISTFILES= MesaLib-${MESAVERSION:C/\.rc/-rc/}${EXTRACT_SUFX}:mesa
 MAINTAINER?=   x...@freebsd.org
 
 USE_BZIP2= yes
@@ -32,6 +32,7 @@
 
 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
+CONFIGURE_ARGS=--disable-gallium
 
 ALL_TARGET=default
 
@@ -39,7 +40,7 @@
 #CFLAGS+=  -DUSE_XSHM -DHZ=100
 
 #FILESDIR= ${.CURDIR}/../../graphics/libGL/files
-WRKSRC=${WRKDIR}/Mesa-${MESAVERSION}
+WRKSRC=${WRKDIR}/Mesa-${MESAVERSION:C/\.rc.*//}
 
 .if !defined(ARCH)
 ARCH!= uname -p
@@ -60,8 +61,7 @@
 CONFIGURE_ARGS+=   --disable-glut
 . endif
 .else
-MASTER_SITES+= SF/mesa3d/MesaGLUT/${MESAVERSION}:glut
-DISTFILES+=MesaGLUT-${MESAVERSION}${EXTRACT_SUFX}:glut
+DISTFILES+=MesaGLUT-${MESAVERSION:C/\.rc2/-rc1/}${EXTRACT_SUFX}:glut
 .endif
 
 .if ${COMPONENT:Mglw} == 
@@ -73,8 +73,7 @@
 .if ${COMPONENT:Mdemos} == 
 CONFIGURE_ARGS+=   --with-demos=no
 .else
-MASTER_SITES+= SF/mesa3d/MesaDemos/${MESAVERSION}:demos
-DISTFILES+=MesaDemos-${MESAVERSION}${EXTRACT_SUFX}:demos
+DISTFILES+=MesaDemos-${MESAVERSION:C/\.rc/-rc/}${EXTRACT_SUFX}:demos
 CONFIGURE_ARGS+=   --with-demos=demos,xdemos
 .endif
 
Index: libGL/distinfo
===
RCS file: /home/ncvs/ports/graphics/libGL/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- libGL/distinfo  24 Jun 2009 01:15:06 -  1.11
+++ libGL/distinfo  5 Dec 2009 17:41:51 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 
eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
+MD5 (MesaLib-7.6.1-rc2.tar.bz2) = 965e157b47e241efaadaf84e3c5bd9e0
+SHA256 

Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Norikatsu Shigemura
On Sun, 6 Dec 2009 02:52:35 +0900
Norikatsu Shigemura n...@freebsd.org wrote:
 On Sun, 6 Dec 2009 02:22:00 +0900
 Norikatsu Shigemura n...@freebsd.org wrote:
  Hum.. When 7.6.1 release?  If not yet, I'll back port.
  But, I don't understand fix by 
  https://bugs.freedesktop.org/show_bug.cgi?id=24266
  How should I find git's commit id from 
  http://cgit.freedesktop.org/mesa/mesa/ ?
   I give up.  So I remaked 7.6.1-rc2.  I'll update to 7.6.1-rc2.

Oops, more quick hack for libglut.  I remade patch.
Index: dri/distinfo
===
RCS file: /home/ncvs/ports/graphics/dri/distinfo,v
retrieving revision 1.17
diff -u -r1.17 distinfo
--- dri/distinfo24 Jun 2009 01:15:07 -  1.17
+++ dri/distinfo5 Dec 2009 17:41:57 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 
eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
+MD5 (MesaLib-7.6.1-rc2.tar.bz2) = 965e157b47e241efaadaf84e3c5bd9e0
+SHA256 (MesaLib-7.6.1-rc2.tar.bz2) = 
695db159bdb521001229e0bbe3e89fe1346b3be018c4c211cc4b6408fe375195
+SIZE (MesaLib-7.6.1-rc2.tar.bz2) = 4897510
Index: dri/pkg-plist
===
RCS file: /home/ncvs/ports/graphics/dri/pkg-plist,v
retrieving revision 1.11
diff -u -r1.11 pkg-plist
--- dri/pkg-plist   24 Jan 2009 18:13:00 -  1.11
+++ dri/pkg-plist   5 Dec 2009 00:59:36 -
@@ -7,6 +7,7 @@
 lib/dri/r128_dri.so
 lib/dri/r200_dri.so
 lib/dri/r300_dri.so
+lib/dri/r600_dri.so
 lib/dri/radeon_dri.so
 lib/dri/savage_dri.so
 lib/dri/sis_dri.so
Index: dri/files/patch-configure
===
RCS file: dri/files/patch-configure
diff -N dri/files/patch-configure
--- dri/files/patch-configure   10 Apr 2009 18:00:47 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 configure.orig 2009-03-28 00:59:46.0 +
-+++ configure  2009-04-05 11:53:44.0 +
-@@ -5739,7 +5739,7 @@
- ;;
- *freebsd* | dragonfly*)
- case $host_cpu in
--i*86|x86_64) default_driver=dri;;
-+i*86|x86_64|powerpc*|sparc*) default_driver=dri;;
- esac
- ;;
- esac
Index: libGL/bsd.mesalib.mk
===
RCS file: /home/ncvs/ports/graphics/libGL/bsd.mesalib.mk,v
retrieving revision 1.15
diff -u -r1.15 bsd.mesalib.mk
--- libGL/bsd.mesalib.mk22 Aug 2009 00:22:54 -  1.15
+++ libGL/bsd.mesalib.mk5 Dec 2009 18:09:56 -
@@ -12,16 +12,16 @@
 #- graphics/libGL
 #- graphics/libGLU
 #- graphics/libGLw
+#- graphics/libglut
 #- graphics/dri
 #
 # $FreeBSD: ports/graphics/libGL/bsd.mesalib.mk,v 1.15 2009/08/22 00:22:54 
amdmi3 Exp $
 #
 
-MESAVERSION=   7.4.4
-MASTER_SITES?= SF/mesa3d/MesaLib/${PORTVERSION}:mesa \
-   
ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/:mesa,glut,demos
+MESAVERSION=   7.6.1.rc2
+MASTER_SITES?= 
ftp://ftp.freedesktop.org/pub/mesa/${MESAVERSION}/:mesa,glut,demos
 MASTER_SITE_SUBDIR=mesa3d
-DISTFILES= MesaLib-${MESAVERSION}${EXTRACT_SUFX}:mesa
+DISTFILES= MesaLib-${MESAVERSION:C/\.rc/-rc/}${EXTRACT_SUFX}:mesa
 MAINTAINER?=   x...@freebsd.org
 
 USE_BZIP2= yes
@@ -32,6 +32,7 @@
 
 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
+CONFIGURE_ARGS=--disable-gallium
 
 ALL_TARGET=default
 
@@ -39,7 +40,7 @@
 #CFLAGS+=  -DUSE_XSHM -DHZ=100
 
 #FILESDIR= ${.CURDIR}/../../graphics/libGL/files
-WRKSRC=${WRKDIR}/Mesa-${MESAVERSION}
+WRKSRC=${WRKDIR}/Mesa-${MESAVERSION:C/\.rc.*//}
 
 .if !defined(ARCH)
 ARCH!= uname -p
@@ -60,8 +61,9 @@
 CONFIGURE_ARGS+=   --disable-glut
 . endif
 .else
-MASTER_SITES+= SF/mesa3d/MesaGLUT/${MESAVERSION}:glut
-DISTFILES+=MesaGLUT-${MESAVERSION}${EXTRACT_SUFX}:glut
+DISTFILES+=MesaGLUT-${MESAVERSION:C/\.rc2/-rc1/}${EXTRACT_SUFX}:glut
+post-extract:
+   ${CP} -pr ${WRKSRC}-rc1/* ${WRKSRC}
 .endif
 
 .if ${COMPONENT:Mglw} == 
@@ -73,8 +75,7 @@
 .if ${COMPONENT:Mdemos} == 
 CONFIGURE_ARGS+=   --with-demos=no
 .else
-MASTER_SITES+= SF/mesa3d/MesaDemos/${MESAVERSION}:demos
-DISTFILES+=MesaDemos-${MESAVERSION}${EXTRACT_SUFX}:demos
+DISTFILES+=MesaDemos-${MESAVERSION:C/\.rc/-rc/}${EXTRACT_SUFX}:demos
 CONFIGURE_ARGS+=   --with-demos=demos,xdemos
 .endif
 
Index: libGL/distinfo
===
RCS file: /home/ncvs/ports/graphics/libGL/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- libGL/distinfo  24 Jun 2009 01:15:06 -  1.11
+++ libGL/distinfo  5 Dec 2009 17:41:51 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 

Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Diego Depaoli
On Sat, Dec 5, 2009 at 6:52 PM, Norikatsu Shigemura n...@freebsd.org wrote:
 On Sun, 6 Dec 2009 02:22:00 +0900
 Norikatsu Shigemura n...@freebsd.org wrote:
       Hum.. When 7.6.1 release?  If not yet, I'll back port.
       But, I don't understand fix by 
 https://bugs.freedesktop.org/show_bug.cgi?id=24266
       How should I find git's commit id from 
 http://cgit.freedesktop.org/mesa/mesa/ ?

        I give up.  So I remaked 7.6.1-rc2.  I'll update to 7.6.1-rc2.
mmm...
Mesa* are unfetchable with ${MESAVERSION} expanded as 7.6.1-rc2 since
parent directory doesn't have rc2

Regards
-- 
Diego Depaoli
___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Robert Noland
On Sat, 2009-12-05 at 10:42 +0900, Norikatsu Shigemura wrote:
 Hi Radeon HD 2xxx, 3xxx and 4xxx users!
 
   I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
   graphics/libGL*, graphics/libglut, graphics/mesa-demos and
   graphics/libdrm.  Please see also my attached patch file.  I'll
   update these as soon as tomorrow.
 
   Mesa3D 7.6 supports experimental r600 driver, as known as AMD
   R6xx/R7xx architecture.  I confirmed that it's good works, but
   buggy on my Radeon HD 4850 environment with 9-current/amd64 and
   xf86-video-radeonhd-devel.  Please see also [I known problem]
   section.
 
   [kernel support]
   maybe, 7-stable, 8-release(at least 8-stable) and 9-current are OK.
   http://svn.freebsd.org/changeset/base/196470 (HEAD 2009/08/23)
   http://svn.freebsd.org/changeset/base/198685 (RELENG_8 2009/10/30)
   http://svn.freebsd.org/changeset/base/198686 (RELENG_7 2009/10/30)
 
   [X11 driver support]
   x11-drivers/xf86-video-ati  OK
   x11-drivers/xf86-video-radeonhd I don't know
   x11-drivers/xf86-video-radeonhd-devel   OK
 
   [To enable xorg.conf]
   Section ServerFlags
   Option  AIGLX true
   EndSection
 
   [I know a problem]
   3D accelerated applications like glxgear, compiz display with
   bluish coloring.  I confirmed git master branch Mesa3D codes,
   too.  So I consider that this problem wasn't be fixed.
 
   [Why update to 7.6]
   I confirmed git master and 7.6, I think these are almost same
   quality.  So I choose 7.6.

Please don't do this yet.  7.6 does have r600 support, but it still has
some bugs that make it really unusable in compiz or kde4.  The primary
issue in 7.6 is text and menu corruption under compiz/kde4.  Basically,
most anything you type is displayed incorrectly.  7.6.1 is due out any
time, which has those issues resolved.

It's also possible that we might have issues with libdrm, but I don't
know that for sure right now.

robert.

-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Robert Noland
On Sun, 2009-12-06 at 01:22 +0900, Norikatsu Shigemura wrote:
 On Sat, 05 Dec 2009 14:22:45 +0200
 Andriy Gapon a...@icyb.net.ua wrote:
  Additionally, as Robert has already mentioned[1], Mesa3D has a bug that 
  leads to
  text corruption in compiz/kde4.
  [1] See thread with subject kwin composite w/ opengl on r600?
 
   Oh my god.  jkim@ was already working about Mesa3d ports.  orz
 
   I think that it's swrast (SoftWare RASter) driver's issue.
   I was troubled about swrast driver, too.

It was actually an incorrectly calculated size, but all is fixed in the
pending 7.6.1 release.

This has nothing to do with swrast though, that is a software only path.

robert.

-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-05 Thread Robert Noland
On Sun, 2009-12-06 at 02:52 +0900, Norikatsu Shigemura wrote:
 On Sun, 6 Dec 2009 02:22:00 +0900
 Norikatsu Shigemura n...@freebsd.org wrote:
  Hum.. When 7.6.1 release?  If not yet, I'll back port.
  But, I don't understand fix by 
  https://bugs.freedesktop.org/show_bug.cgi?id=24266
  How should I find git's commit id from 
  http://cgit.freedesktop.org/mesa/mesa/ ?
 
   I give up.  So I remaked 7.6.1-rc2.  I'll update to 7.6.1-rc2.

7.6.1 was going to be released a week ago or so, but intel didn't have
their act together, so it ended up delayed a bit.  It should be released
fairly soon, like within a week or two at most I would say.

robert.

-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
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


[HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-04 Thread Norikatsu Shigemura
Hi Radeon HD 2xxx, 3xxx and 4xxx users!

I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
graphics/libGL*, graphics/libglut, graphics/mesa-demos and
graphics/libdrm.  Please see also my attached patch file.  I'll
update these as soon as tomorrow.

Mesa3D 7.6 supports experimental r600 driver, as known as AMD
R6xx/R7xx architecture.  I confirmed that it's good works, but
buggy on my Radeon HD 4850 environment with 9-current/amd64 and
xf86-video-radeonhd-devel.  Please see also [I known problem]
section.

[kernel support]
maybe, 7-stable, 8-release(at least 8-stable) and 9-current are OK.
http://svn.freebsd.org/changeset/base/196470 (HEAD 2009/08/23)
http://svn.freebsd.org/changeset/base/198685 (RELENG_8 2009/10/30)
http://svn.freebsd.org/changeset/base/198686 (RELENG_7 2009/10/30)

[X11 driver support]
x11-drivers/xf86-video-ati  OK
x11-drivers/xf86-video-radeonhd I don't know
x11-drivers/xf86-video-radeonhd-devel   OK

[To enable xorg.conf]
Section ServerFlags
Option  AIGLX true
EndSection

[I know a problem]
3D accelerated applications like glxgear, compiz display with
bluish coloring.  I confirmed git master branch Mesa3D codes,
too.  So I consider that this problem wasn't be fixed.

[Why update to 7.6]
I confirmed git master and 7.6, I think these are almost same
quality.  So I choose 7.6.
Index: dri/distinfo
===
RCS file: /home/ncvs/ports/graphics/dri/distinfo,v
retrieving revision 1.17
diff -u -r1.17 distinfo
--- dri/distinfo24 Jun 2009 01:15:07 -  1.17
+++ dri/distinfo5 Dec 2009 00:59:36 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 
eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
+MD5 (MesaLib-7.6.tar.bz2) = 8c75f90cd0303cfac9e4b6d54f6759ca
+SHA256 (MesaLib-7.6.tar.bz2) = 
782a7b2810b1c466b3a994eba96485b59b47cc1120c0caa24de1aecf1e013830
+SIZE (MesaLib-7.6.tar.bz2) = 4866983
Index: dri/pkg-plist
===
RCS file: /home/ncvs/ports/graphics/dri/pkg-plist,v
retrieving revision 1.11
diff -u -r1.11 pkg-plist
--- dri/pkg-plist   24 Jan 2009 18:13:00 -  1.11
+++ dri/pkg-plist   5 Dec 2009 00:59:36 -
@@ -7,6 +7,7 @@
 lib/dri/r128_dri.so
 lib/dri/r200_dri.so
 lib/dri/r300_dri.so
+lib/dri/r600_dri.so
 lib/dri/radeon_dri.so
 lib/dri/savage_dri.so
 lib/dri/sis_dri.so
Index: dri/files/patch-configure
===
RCS file: dri/files/patch-configure
diff -N dri/files/patch-configure
--- dri/files/patch-configure   10 Apr 2009 18:00:47 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,11 +0,0 @@
 configure.orig 2009-03-28 00:59:46.0 +
-+++ configure  2009-04-05 11:53:44.0 +
-@@ -5739,7 +5739,7 @@
- ;;
- *freebsd* | dragonfly*)
- case $host_cpu in
--i*86|x86_64) default_driver=dri;;
-+i*86|x86_64|powerpc*|sparc*) default_driver=dri;;
- esac
- ;;
- esac
Index: libGL/bsd.mesalib.mk
===
RCS file: /home/ncvs/ports/graphics/libGL/bsd.mesalib.mk,v
retrieving revision 1.15
diff -u -r1.15 bsd.mesalib.mk
--- libGL/bsd.mesalib.mk22 Aug 2009 00:22:54 -  1.15
+++ libGL/bsd.mesalib.mk5 Dec 2009 00:59:36 -
@@ -17,7 +17,7 @@
 # $FreeBSD: ports/graphics/libGL/bsd.mesalib.mk,v 1.15 2009/08/22 00:22:54 
amdmi3 Exp $
 #
 
-MESAVERSION=   7.4.4
+MESAVERSION=   7.6
 MASTER_SITES?= SF/mesa3d/MesaLib/${PORTVERSION}:mesa \

ftp://ftp.fu-berlin.de/pub/unix/X11/graphics/Mesa/:mesa,glut,demos
 MASTER_SITE_SUBDIR=mesa3d
@@ -32,6 +32,7 @@
 
 CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
+CONFIGURE_ARGS=--disable-gallium
 
 ALL_TARGET=default
 
Index: libGL/distinfo
===
RCS file: /home/ncvs/ports/graphics/libGL/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- libGL/distinfo  24 Jun 2009 01:15:06 -  1.11
+++ libGL/distinfo  5 Dec 2009 00:59:36 -
@@ -1,3 +1,3 @@
-MD5 (MesaLib-7.4.4.tar.bz2) = b66528d314c574dccbe0ed963cac5e93
-SHA256 (MesaLib-7.4.4.tar.bz2) = 
eaf73d7a3a2dc959ddc0753abaa18160c64bec00b35bf4a0c96040b2072918ec
-SIZE (MesaLib-7.4.4.tar.bz2) = 3375615
+MD5 (MesaLib-7.6.tar.bz2) = 8c75f90cd0303cfac9e4b6d54f6759ca
+SHA256 (MesaLib-7.6.tar.bz2) = 
782a7b2810b1c466b3a994eba96485b59b47cc1120c0caa24de1aecf1e013830
+SIZE (MesaLib-7.6.tar.bz2) = 4866983
Index: libGL/pkg-plist

Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx.

2009-12-04 Thread Scot Hetzel
On 12/4/09, Norikatsu Shigemura n...@freebsd.org wrote:
 Hi Radeon HD 2xxx, 3xxx and 4xxx users!

 I'm ready to update ports related Mesa3D to 7.6 base, graphics/dri,
 graphics/libGL*, graphics/libglut, graphics/mesa-demos and
 graphics/libdrm.  Please see also my attached patch file.  I'll
 update these as soon as tomorrow.

 Mesa3D 7.6 supports experimental r600 driver, as known as AMD
 R6xx/R7xx architecture.  I confirmed that it's good works, but
 buggy on my Radeon HD 4850 environment with 9-current/amd64 and
 xf86-video-radeonhd-devel.  Please see also [I known problem]
 section.

 [kernel support]
 maybe, 7-stable, 8-release(at least 8-stable) and 9-current are OK.
 http://svn.freebsd.org/changeset/base/196470 (HEAD 2009/08/23)
 http://svn.freebsd.org/changeset/base/198685 (RELENG_8 2009/10/30)
 http://svn.freebsd.org/changeset/base/198686 (RELENG_7 2009/10/30)

 [X11 driver support]
 x11-drivers/xf86-video-ati  OK
 x11-drivers/xf86-video-radeonhd I don't know
 x11-drivers/xf86-video-radeonhd-devel   OK

 [To enable xorg.conf]
 Section ServerFlags
 Option  AIGLX true
 EndSection

 [I know a problem]
 3D accelerated applications like glxgear, compiz display with
 bluish coloring.  I confirmed git master branch Mesa3D codes,
 too.  So I consider that this problem wasn't be fixed.

 [Why update to 7.6]
 I confirmed git master and 7.6, I think these are almost same
 quality.  So I choose 7.6.


I patched my ports tree, but when I ran portmaster to update the
installed ports, it was unable to download the MesaLib file:

= Attempting to fetch from
http://heanet.dl.sourceforge.net/project/mesa3d/MesaLib/7.6/.
fetch: 
http://heanet.dl.sourceforge.net/project/mesa3d/MesaLib/7.6/MesaLib-7.6.tar.bz2:
Moved Temporarily
= Attempting to fetch from
http://sunet.dl.sourceforge.net/project/mesa3d/MesaLib/7.6/.
fetch: 
http://sunet.dl.sourceforge.net/project/mesa3d/MesaLib/7.6/MesaLib-7.6.tar.bz2:
Moved Temporarily

I had to add the following to MASTER_SITES in graphics/libGL/bsd.mesalib.mk:

ftp://ftp.freedesktop.org/pub/mesa/${MESAVERSION}/:mesa,glut,demos

Scot
___
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