From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 16:15:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E933337B401; Tue, 24 Jun 2003 16:15:03 -0700 (PDT) Received: from fasterix.frmug.org (fasterix.frmug.org [137.194.36.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE38D43FAF; Tue, 24 Jun 2003 16:15:02 -0700 (PDT) (envelope-from pb@fasterix.frmug.org) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.12.9/8.12.9) with ESMTP id h5ONEpqD001138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jun 2003 01:14:51 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.12.9/8.12.9/Submit) id h5ONEpgu001137; Wed, 25 Jun 2003 01:14:51 +0200 (CEST) Date: Wed, 25 Jun 2003 01:14:51 +0200 From: Pierre Beyssac To: freebsd-current@freebsd.org Message-ID: <20030624231451.GA988@fasterix.frmug.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-message-flag: Warning! Use of Microsoft Outlook is dangerous and makes your system susceptible to worms and viruses cc: anholt@freebsd.org Subject: broken DRM for ATI Radeon X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 23:15:04 -0000 Since the "new" DRM has been integrated in current by the end of April, I've been unable to use DRI with my ATI card. The X server starts and apparently works, then suddenly (when scrolling an xterm or doing some memory-intensive operation like 3D rendering) enters a busy loop. After an awful lot of searching and attempting to debug the code, I've finally been able to find out that the server loops on an ioctl(DRM_IOCTL_DMA) returning EBUSY, which means that the DRM driver can't get a free buffer from radeon_cp.c:radeon_freelist_get(). My XFree server is the latest version of the package (XFree86-Server-4.3.0_8). Earlier versions exhibited the same behaviour. Does anyone have a clue on where to investigate some more and fix that? -- Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org Free domains: http://www.eu.org/ or mail dns-manager@EU.org