Date: Thu, 29 Dec 2005 22:15:29 -0800 (PST) From: Mervin McDougall <mcd_advisory@yahoo.com> To: Eric Kjeldergaard <kjelderg@gmail.com>, freebsd-mobile@freebsd.org Subject: Re: Getting High resolution console and Xorg to coexist Message-ID: <20051230061529.80902.qmail@web30909.mail.mud.yahoo.com> In-Reply-To: <200512301453.18314.kjelderg@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Eric Kjeldergaard <kjelderg@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051230061529.80902.qmail>