Date: Fri, 07 Nov 2008 19:49:45 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Robert Noland <rnoland@2hip.net> Cc: Eric Anholt <anholt@freebsd.org>, freebsd-x11@freebsd.org Subject: Re: Intel G33 and gtt_size Message-ID: <49147FB9.4020306@icyb.net.ua> In-Reply-To: <49147C21.4060100@icyb.net.ua> References: <491429D0.1040401@icyb.net.ua> <1226074436.33599.13.camel@squirrel.corp.cox.com> <49147C21.4060100@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
on 07/11/2008 19:34 Andriy Gapon said the following: > on 07/11/2008 18:13 Robert Noland said the following: >> On Fri, 2008-11-07 at 13:43 +0200, Andriy Gapon wrote: >>> Eric, >>> >>> I found this old message from you: >>> http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/039638.html >>> >>> Looking at the code in sys/pci/agp_i810.c I see that gtt_size is still >>> calculated using CHIP_I965 path. >>> >>> So I would like to inquire if fixing that code is still needed and if >>> simply setting gtt_size to zero for CHIP_G33 case would a sufficient and >>> correct patch. >>> And, if patched this way, will it work with xf86-video-intel driver >>> version 2.4.2 (from ports). >> I think you are probably looking for me instead of anholt@ these days. >> I think if you look at agp_i810.c from -CURRENT your issue is already >> addressed. > > Robert, > > it seems that agp_i810.c in current (head) and in my releng/7 (r184741) > are identical. Oops, not true! I didn't notice that agp files in head live in a new dedicated directory. Please disregard my report. I am fetching and trying the new file now. > I tried using both svn version and my hacked version > where gtt_size is forced to 0, but in both cases result is the same - X > crash. > Xorg.0.log files are the same too, as well as kernel messages. > > Here's from Xorg.0.log: > (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x006ff000 (pgoffset 1791) > (WW) intel(0): xf86BindGARTMemory: binding of gart memory with key 1 > at offset 0x6ff000 failed (Invalid argument) > > Here's from dmesg: > agp0: <Intel G33 SVGA controller> on vgapci0 > agp0: detected 7676k stolen memory > agp0: aperture size is 256M > ... > agp0: trying to bind into stolen memory > > I am attaching full Xorg log, just in case. > > BTW, in BIOS settings for Video there is an option to select either > "DVMT" or "Fixed", by default it has DVMT. Which one would be more > convenient for our driver? > > -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49147FB9.4020306>