From owner-freebsd-mobile@FreeBSD.ORG Fri Dec 30 06:15:30 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63E2716A420 for ; Fri, 30 Dec 2005 06:15:30 +0000 (GMT) (envelope-from mcd_advisory@yahoo.com) Received: from web30909.mail.mud.yahoo.com (web30909.mail.mud.yahoo.com [68.142.200.162]) by mx1.FreeBSD.org (Postfix) with SMTP id DE62F43D48 for ; Fri, 30 Dec 2005 06:15:29 +0000 (GMT) (envelope-from mcd_advisory@yahoo.com) Received: (qmail 80904 invoked by uid 60001); 30 Dec 2005 06:15:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IWtiUL9krWpbEFKI/3h9KK/aNEXnsIhBaPn38eTx9eSXOD1B6DzuqLynzTvTQmZ89g1SFNyISgxjbfpBRyxDveC2hfvhTxXX8ADh1y9IamNcXwa9cQxaPWIFy361iAToAbLXKFBR7cF47bQ94vtfK/ve3CyzzE1+ZIboHQyqSI0= ; Message-ID: <20051230061529.80902.qmail@web30909.mail.mud.yahoo.com> Received: from [206.113.106.52] by web30909.mail.mud.yahoo.com via HTTP; Thu, 29 Dec 2005 22:15:29 PST Date: Thu, 29 Dec 2005 22:15:29 -0800 (PST) From: Mervin McDougall To: Eric Kjeldergaard , freebsd-mobile@freebsd.org In-Reply-To: <200512301453.18314.kjelderg@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Getting High resolution console and Xorg to coexist X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 06:15:30 -0000 --- Eric Kjeldergaard wrote: > On Friday 30 December 2005 08:31, Mervin McDougall > wrote: > > Hi all > > I recently installed freebsd 6.0 on my laptop, a > > compaq presario 2100. Thus far I am satisfied with > > just about everything that I have been able to > > accomplish on freebsd. However, I tried setting > the > > high resolution console using the raster graphics > on > > freebsd and this has had some undesirable results. > > After recompiling my kernel and getting the > > resolution of the console to 1024x768 I tried > playing > > music on my xmms player and switching between xorg > and > > the virtual console and there would be some > > degradation of the sound. I am not sure whether > there > > is an increased load on the kernel whenever > switching > > between the two interfaces but I have notice some > > spiking on xload when switching between the two. > > I took a friends advice and increased the pcm > > buffersize and the irqrate but this has had no > effect > > in improving the sound quality. I have noticed as > well > > that when reading long files, there is also a > > degradation of sound quality. For example while > > reading NOTES in /usr/src/sys/i386/conf the sound > from > > xmms, which was being played on xfce, would slow > down > > as I paged through the document or when scrolled > > through line by line using the arrowpad. > > I am not sure what is causing the problem or > why it > > is behaving in this manner but I would be more > than > > happy to provide any extra information about the > > problem. I had an opportunity to scan through the > > mailing lists for similar problems but did not > find > > one that quite fit this descritption. > > I've noticed the exact same behaviour on any form of > major redraw on > high-resolution consoles. You're dead on, I think, > that it's redraw and the > related processor load that are doing it. What > helped (not perfect, but > better) on my system was increasing my media player > to realtime priority. I > was using mplayer from the commandline so I issued > this: rtprio 0 -`pgrep > mplayer` . It's a less than ideal solution as it > just lets console and > mplayer "fight it out" more evenly for processor > time. I would think that a > more ideal solution would be to find some way to > optimise console redraws, > but I have no idea offhand how to do that. Hope > that helps some, > > Eric > > -- > The signature is a location used to give a > personalised feel to each E-mail > without having to personalise each E-mail. > Eric you are right, that is the same problem I have been experiencing. I have tried downloading different version of linux and I have noticed that linux does not suffer from the same problem. I am not sure how linux gets around the problem however. I am not sure whether it is because of the framebuffer, or how the sound system is integrated into the kernel but it does. I took the opportunity to try out your proposed procedure but I had not change in the performance. I still have the sound degradation. I do appreciate the assistance though. Guess I am going to have to search a bit longer for this one Mervin McDougall __________________________________________ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com