From owner-freebsd-questions@FreeBSD.ORG Sat Aug 6 22:11:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6AB1F16A41F for ; Sat, 6 Aug 2005 22:11:40 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE8AF43D55 for ; Sat, 6 Aug 2005 22:11:38 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so263082wri for ; Sat, 06 Aug 2005 15:11:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QxKrOPED4SqmYhd846FjvLUZ4+Eaep+Ax+QvI2H1ovYdkIeUYsPbFDXb7J84NQubII8X0PC2/JNNLmdF2CFyApvvW2jHhcqOpV5tySUjFEhhhado8uEuluMU4hA1Xj5bu3pcQKvm3rju60Mk+UKPbYbJe7OSnVMNeRZ+K39aSOU= Received: by 10.54.53.62 with SMTP id b62mr3738664wra; Sat, 06 Aug 2005 15:11:37 -0700 (PDT) Received: by 10.54.124.11 with HTTP; Sat, 6 Aug 2005 15:11:37 -0700 (PDT) Message-ID: Date: Sat, 6 Aug 2005 17:11:37 -0500 From: Nikolas Britton To: Mervin McDougall In-Reply-To: <20050806175455.33614.qmail@web30903.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050806175455.33614.qmail@web30903.mail.mud.yahoo.com> X-Mailman-Approved-At: Sun, 07 Aug 2005 14:51:17 +0000 Cc: freebsd-x11@freebsd.org, freebsd-current@freebsd.org, freebsd questions Subject: Re: Conflict between high resolution console and X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nikolas Britton List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 22:11:40 -0000 On 8/6/05, Mervin McDougall wrote: > Hi all > I have been experimenting with FreeBSD 6.0 BETA 2 on > my laptop which uses a ati radeon Mobile Utiliy 1 > (IGP 320M) video vard. I have been able to configure > both high console resolution MODE_279 and X on the > laptop, however I have noticed that this error turns > up whenever I boot the system or restart X : >=20 > drm0: port > 0x9000-0x90ff mem > 0xe8000000-0xefffffff,0xe0100000-0xe010ffff irq 9 at > device 5.0 on pci1 > info: [drm] Initialized radeon 1.16.0 20050311 on > minor 0 > error: [drm:pid2557:radeon_cp_init] *ERROR* > radeon_cp_init called without lock held > error: [drm:pid2557:drm_unlock] *ERROR* Process 2557 > using kernel context 0 >=20 > After much googling and scanning of my system, I > figured a quick way to get rid of the error message, > by disabling dri in the xorg.conf. But that is not the > only problem I discovered. I noticed that when playing > music there is constant annoying repeating of the > sound until the console displays. This only happens > when switching from X to high resolution console. > Switching back does not reproduce the problem. I've always had that problem on my patched freebsd 5 (had it setup for months) system. Scrolling (scroll lock) will do it to... It may help to play with the sysctls for: hw.snd.pcm%d.buffersize: Configure the amount of DMA bufferspace available for a device.... jack this up to like 16384 hw.snd.targetirqrate: Set the default block size such that continuous playback will achieve this IRQ rate. This value can be tuned to improve application performance. =20 Increase this value when the sound lags and decrease it if sound stutters or breaks up..... just this up to You set them with loader.conf, here's what I have in mine: hw.snd.maxautovchans=3D4 hw.snd.targetirqrate=3D36 hint.pcm.0.buffersize=3D"16384" You can check it with: sysctl -a hw.snd=20 >=20 > Incidentally, I deleted my xorg.conf and restarted the > server in error and this cause Xorg to generate X > using its own built in defaults. Consequently this > solved the problem of the choppy repetitive music. >=20 > Similarly, If I have a configured xorg.conf and I > restart X after booting (CTRL+ALT+BACKSPACE) the > problem goes away. > I haven't been able to pin the problem down to > discover how to get rid of the problem and still have > a workable and have an xorg.conf without having to > restart the X server. Can anyone share their thoughts > ? >=20 > Mervin McDougall >=20 >=20 >=20 > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >