Date: Thu, 17 Jan 2002 00:45:15 +0100 From: Cliff Sarginson <cliff@raggedclown.net> To: questions@FreeBSD.ORG Subject: Re: Direct rendering in X V4.1 Message-ID: <20020116234515.GA1153@raggedclown.net> In-Reply-To: <20020113004837.GA2657@gforce.johnson.home> References: <20020112141653.A254@raggedclown.net> <20020113004837.GA2657@gforce.johnson.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 12, 2002 at 06:48:37PM -0600, Glenn Johnson wrote: > On Sat, Jan 12, 2002 at 02:16:53PM +0100, Cliff Sarginson wrote: > > > Hello, Anyone any clues on this. I have just noticed that Direct > > rendering is disabled > > when I start up X > > > > > > (==) MGA(0): Default visual is TrueColor > > (II) MGA(0): [drm] bpp: 16 depth: 16 > > (II) MGA(0): [drm] Sarea 2200+664: 2864 > > (II) MGA(0): [drm] drmOpen failed > > (EE) MGA(0): [drm] DRIScreenInit failed. Disabling DRI. > > > > This is a Matrox G450. > > > > The configuration file I use is the same as I use on Linux, where the > > DRI works (minor change made for the mouse). I think the Xfree86 > > version from the distributions is not the latest one (4.1 instead of > > 4.1.1) ?? But as with a lot of things with X... > > > > Any clues ? > > I will see if I can help. I have a Matrox G400 which I think should > be close enough. First off, make sure you have the agp kernel module > loaded. This kernel module is part of the base FreeBSD system. > Secondly, you will need to have the drm-kmod port installed on your > system. This will provide the mga kernel module and a startup script to > load it at boot time. Assuming your XF86Config file is already set up > then that should do it. > Thanks Glenn for the tip, I have only just found the moment to try it out. Sadly it doesn't seem to work, at least on 4.5-RC, which I am now running. When the mga module loads it complains: link-elf: symbol agp_get_info undefined in the system messages file. Seems to be something to do with "agpgart" from the look of startup messages when the module is loaded. kldstat, shows the module loaded despite the above error. But direct rendering still fails to start. Which version of the O/S are you on btw ? If it is now failing in 4.5 then maybe I should think about a PR. Unless I am missing something else out. Oh and the kernel panics if you reverse the order of loading agp/mga... -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020116234515.GA1153>