Getting High resolution console and Xorg to coexist

Mervin McDougall mcd_advisory at yahoo.com
Thu Dec 29 22:15:30 PST 2005



--- Eric Kjeldergaard <kjelderg at 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 



More information about the freebsd-mobile mailing list