Intel G33 & FreeBSD 7.x

Oliver Peter lists at peter.de.com
Mon Aug 18 23:48:30 UTC 2008


On Mon, 18 Aug 2008 10:38:11 +0100
Oliver Peter <lists at peter.de.com> wrote:

> On Mon, 18 Aug 2008 10:18:14 +0100
> Tom Evans <tevans.uk at 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 at delorean /usr/src/sys % patch < /home/oliver/freebsd/src/drm-7-stable.20080813.patch
...
root at delorean /usr/src % make -j4 buildkernel KERNCONF=DELOREAN
...
--------------------------------------------------------------
>>> Kernel build for DELOREAN completed on Tue Aug 19 00:12:01 BST 2008
--------------------------------------------------------------
...
root at delorean /usr/src % make installkernel KERNCONF=DELOREAN
...
root at delorean /usr/src % shutdown -r now
...
oliver at 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 at 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 at 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 at 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



More information about the freebsd-stable mailing list