Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 17:55:24 -0400
From:      Paul Murphy <pnmurphy@cogeco.ca>
To:        Eric Anholt <eanholt@gladstone.uoregon.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: drm-kmod + XFree86
Message-ID:  <20020409175524.30362815.pnmurphy@cogeco.ca>
In-Reply-To: <1018383557.339.41.camel@anholt.dyndns.org>
References:  <20020408200532.18e2f2aa.pnmurphy@cogeco.ca> <1018383557.339.41.camel@anholt.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.5Q6EPf,Nzx1zBI
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On 09 Apr 2002 14:19:17 -0600
Eric Anholt <eanholt@gladstone.uoregon.edu> wrote:

> You sent me a very similar message on april 6th and I wrote back the
> same day.  Did you miss it? 
> 

 I guess I must have (on a whim I reinstalled ALL my ports, must have screwed fetchmail temporarily)

> On Mon, 2002-04-08 at 18:05, Paul Murphy wrote: 
> > The problem:
> > 
> >  1) Apr  6 14:33:44 earth /kernel: error: [drm:r128_cce_indirect] *ERROR* 
> > process 215 using buffer owned by 0
> This is not actually a problem.  It occurs in linux and freebsd, and
> basically means that the X server is using a buffer than the kernel
> thought was unused.  It doesn't cause any problems besides some log
> messages. 
> 

 Ok (it just seem too much of a coincidence that both these 'problems' showed up at the same time)

> 
> >  2) When I exit from a KDE session, the login widget is all screwed up. 
> > I get a green bar across the top, no background (just black) and the borders 
> > of the login dialogue are black (non existent?, only the input areas show). 
> > Restarting the XServer makes it good (until the next logout).
> > 
> >   At first I installed drm-kmod before XFree, but I have since reinstall 
> XFree and drm-kmod from ports. The problem persists.
> The order in which you install doesn't matter.  They are two separate
> pieces of software which work together at runtime. 
> 

 I was _hoping_ that I had missed a library or some such from the XFree port that the kmod port needed for compilation (and therefor an easy fix).

> > 
> >   If I start XFree without loading the kernel module I get none of the 
> > above problems (of course Direct Rendering is then disabled).
> So if you have load "dri" in your XF86Config you get corruption but

 No, XF86Config stays the same but I execute (or not) /usr/local/etc/rc.d/drm.sh

> without it you don't?  That wasn't what I understood from your last
> message to me.  If so, then that is an issue, and it's one I hadn't seen
> yet.  However, something seems strange because you had a previous
> message to me about the drm causing Netscape to crash, which is

 Y.A.C. (yet another coincidence), never really used Netscape that much to follow up on it, and have since switched to Mozilla (with no problems).

> something that again I hadn't seen or heard from anyone else about.  Is
> there anything special about your system, any extra CFLAGS, any modified
> things in XFree86/drm-kmod makefiles, etc?
> 

 drm-kmod Makefile is virgin. I _did_ apply the patch at PR ports/36121 (which didn't go smoothly and required some hand editing ['BuildXF86DRM=NO \' did not get added, it seems the context has changed])

make.conf is:

CPUTYPE=k7
#CPUTYPE=i586 # ignore - for remote buildworlds
CFLAGS= -O -pipe
#CXXFLAGS= -fmemoize-lookups -fsave-memoized
COPTFLAGS= -O -pipe
XFREE86_VERSION= 4
WITHOUT_GNOME=yes

# -- use.perl generated deltas -- #
# Created: Sun Apr  7 13:45:59 2002
# Setting to use base perl from ports:
PERL_VER=5.6.1
PERL_VERSION=5.6.1
PERL_ARCH=mach
NOPERL=yo

> Also, _please_ wrap your messages at 72-80 chars.  And the mailing lists

 Doh!

> really don't want all those attachments.
> 

 Doh! (Every time I see questions regarding XFree the reply is 'let's see your XFree86.0.log output')

 Should I reinstall XFree with an unadulterated Makefile? Should I let it compile it's own DRM modules? If so would reinstalling XFree86-4-Server and XFree86-4-libraries be sufficient?

-- 
Cogeco ergo sum
--=.5Q6EPf,Nzx1zBI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE8s2NTumQc9BC5jBMRAhgkAJ91H/rsvFkyF8UjxwbK0c6RnH06JwCghcNx
AntybXM+ML76vp3lh+YjYS8=
=qWS9
-----END PGP SIGNATURE-----

--=.5Q6EPf,Nzx1zBI--


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?20020409175524.30362815.pnmurphy>