Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 00:48:22 +0100
From:      Oliver Peter <lists@peter.de.com>
To:        freebsd-stable@freebsd.org
Cc:        Tom Evans <tevans.uk@googlemail.com>
Subject:   Re: Intel G33 & FreeBSD 7.x
Message-ID:  <20080819004822.5ab4ae05@delorean.geonosis.homeunix.org>
In-Reply-To: <20080818103811.3add121e@dilbert.office.centralnic.com>
References:  <200808181716.36906.doconnor@gsoft.com.au> <20080818090646.421f7ecd@dilbert.office.centralnic.com> <1219051094.70002.52.camel@localhost> <20080818103811.3add121e@dilbert.office.centralnic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Aug 2008 10:38:11 +0100
Oliver Peter <lists@peter.de.com> wrote:

> On Mon, 18 Aug 2008 10:18:14 +0100
> Tom Evans <tevans.uk@googlemail.com> wrote:
> 
> > On Mon, 2008-08-18 at 09:06 +0100, Oliver Peter wrote:
> >  [...]  
> > 
> > Robert Noland posted last Wednesday on x11@ [1] that he had prepared
> > an update to FreeBSD's drm kernel modules, which includes support
> > for the G33 [2].
> > 
> > Cheers
> > 
> > Tom
> > 
> > [1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=36408+0
> > +archive/2008/freebsd-x11/20080817.freebsd-x11
> > [2] http://people.freebsd.org/~rnoland  
> 
> Excellent!  I'll give it a try this evening and post some debug
> information here.

Here we go:

root@delorean /usr/src/sys % patch < /home/oliver/freebsd/src/drm-7-stable.20080813.patch
...
root@delorean /usr/src % make -j4 buildkernel KERNCONF=DELOREAN
...
--------------------------------------------------------------
>>> Kernel build for DELOREAN completed on Tue Aug 19 00:12:01 BST 2008
--------------------------------------------------------------
...
root@delorean /usr/src % make installkernel KERNCONF=DELOREAN
...
root@delorean /usr/src % shutdown -r now
...
oliver@delorean ~ % dmesg | grep drm
drm0: <Intel Q35> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.6.0 20080312
drm0: [ITHREAD]
drm0: <Intel Q35> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd0000000 256MB
info: [drm] Initialized i915 1.6.0 20080312
drm0: [ITHREAD]
drm0: [ITHREAD]
...
oliver@delorean ~ % glxinfo | head
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, 
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer

Unfortunately, the machine completely freezes up when
trying a "X -config ..." and the throughput is not very
satisfying as well...

Example:

oliver@delorean ~ % glxgears
727 frames in 5.0 seconds = 145.369 FPS
727 frames in 5.0 seconds = 145.272 FPS
720 frames in 5.0 seconds = 143.927 FPS
...

I'll move that topic to freebsd-x11 tomorrow.  :)

--
Oliver PETER, email: oliver@peter.de.com, ICQ# 113969174
"I like to con people. And I like to insult people.
 If you combine con & insult, you get consult!"  -- Dogbert




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