[gentoo-user] Re: When is a disk not a disk?

2010-02-07 Thread Nikos Chantziaras

On 02/08/2010 02:27 AM, Peter Humphrey wrote:

Hello again List,

$ sudo  fdisk -l

Unable to seek on /dev/sda


Not sure what's going on, but you might want to post more info so that 
others might have an idea about what's wrong.  First, clean dmesg:


  sudo dmesg -c > /dev/null

Then try fdisk again:

  /sbin/fdisk -l

(No need to be root for fdisk -l.)

Then post the output of:

  dmesg

(If there's any output.)

And finally, post the output of:

  mount
  cat /proc/partitions




[gentoo-user] Re: When is a disk not a disk?

2010-02-07 Thread Nikos Chantziaras

On 02/08/2010 02:27 AM, Peter Humphrey wrote:

Hello again List,

$ sudo  fdisk -l

Unable to seek on /dev/sda


You said that Google didn't help, but still, I've found some info about 
it.  In short, I've found two things:


a) "cfdisk" might work while "fdisk" does not.

b) You have a corrupted partition table that you can try to repair with 
the "testdisk" tool (after you make a full backup of your disk.)


Another thing: are you using busybox here or the normal version of 
fdisk?  (Busybox comes with its own fdisk.)





[gentoo-user] Re: emerge older version

2010-02-09 Thread Nikos Chantziaras

On 02/09/2010 06:45 PM, Laurent Kappler wrote:

Hi,

I'm tryin to emerge ImageMagick version 6.4.7.0 while current in portage
is 6.5.7.

How could I do that??


You can't, since the lowest version in portage is 6.5.2.9:

 $ eix imagemagick
 [I] media-gfx/imagemagick
 Available versions:  6.5.2.9!u (~)6.5.4.10!u 6.5.7.0!u (~)6.5.8.8!u




[gentoo-user] Re: Slow list?

2010-02-09 Thread Nikos Chantziaras

On 02/09/2010 09:32 PM, Alex Schuster wrote:

Wow, seven mostly similar answers. Is the list becoming slow? When I
posted about an hour after the question was posted, there were no answers
yet. Let's see how long this post takes to arrive. Usually it's just a
matter of a few minutes.


I noticed that too; I thought it's GMane's fault (I'm posting through 
their NNTP server.)





[gentoo-user] Re: Ramifications of memtest86. Got it!

2010-02-12 Thread Nikos Chantziaras

On 02/12/2010 09:25 PM, Alan Mackenzie wrote:

Hi, Dale,

On Fri, Feb 12, 2010 at 08:27:01AM -0600, Dale wrote:


Where the error is could depend on a single transistor that is maybe
not as sensitive as the others.  It's sort of like a chain.  It's only
as strong as its weakest link.  It could be that whatever is going
wrong could be right on the edge of others not working either.  The
one that is failing is just the first if it is a power problem.
That's where the power problem thought comes from.  Have you had a
look here for well tested power supplies?



That said, it could be a lot of things.  It could be a bad chip on the
mobo, a piece of dust in the wrong place or any number of other things.
It's finding it that is so much fun.


The shop who sold me the components suggested running memtest86 with
just one RAM stick at a time.


The correct procedure is to test just one stick in at least two 
different slots.  This is to ensure that it's not the mainboard at fault 
(like a faulty RAM slot.)





[gentoo-user] Re: Can't hear anything. :-(

2010-02-17 Thread Nikos Chantziaras

On 02/17/2010 11:15 AM, Alan Mackenzie wrote:

On Tue, Feb 16, 2010 at 04:20:53PM -0800, Mark Knecht wrote:

[...]
1) IMO Alsa has never run so well when drivers are compiled into the
kernel. I do a lot of audio in Linux and have always had the best
results using modules. I would strongly suggest you give it a try...


Oh deity!  I was hoping not to have to do this.  I've never used modules
before, since they are (or were) an unnecessary complication, and might
introduce security risks.  Maybe I'll have to read up on this.


You probably won't need modules.  Module configuration options can 
usually be replaced by kernel options in Grub.





[gentoo-user] Re: weather forecast plasmoid refuses to find Perth in Australia as a location

2010-02-18 Thread Nikos Chantziaras

On 02/18/2010 10:09 AM, Alan McKinnon wrote:

On Thursday 18 February 2010 08:47:47 ubiquitous1980 wrote:

I am having issues using the weather forecast plasmoid in KDE 4.3.  It
will not allow me to show the weather for Perth in Australia using the
BBC or other sources.


As someone else posted yesterday, upgrade to 4.4


If the services supported by KDE don't find your location, you might 
also want to install kde-misc/yawp.  It will install two additional 
weather services, AccuWeather and Google Weather Service, neither of 
which are offered by KDE.  Weather info for my location for example is 
only offered by AccuWeather.





[gentoo-user] Re: Sansa Clip+

2010-02-18 Thread Nikos Chantziaras

On 02/19/2010 01:34 AM, sean wrote:

Hello All,

My son just purchased a Sansa Clip+ and from what I read it is supposed
to be accessible in Linux, it would look like a USB drive for drag and drop.

Anyway, I updated the firmware to the latest, and set the USB mode on
the Clip+ to MSC.

I am wondering if I need to setup support in the kernel, or something else?

Any tips anyone?


I have a Sansa Fuze (in MSC mode) and I can confirm it's working as long 
as I have "USB Mass Storage" support enabled in the kernel and my user 
is in the "usb" and "plugdev" groups.


If that won't work, please do the following

dmesg -c (as root)

Now plug the device in and wait for about 10 seconds.  Then:

dmesg

and post the output.




[gentoo-user] Re: Can't see /dev/hda1,2,3 but I know they exist...

2010-02-19 Thread Nikos Chantziaras

On 02/19/2010 10:07 AM, James Homuth wrote:



*From:* Hung Dang [mailto:hungp...@gmail.com]
*Sent:* February 19, 2010 1:55 AM
*To:* gentoo-user@lists.gentoo.org
*Subject:* Re: [gentoo-user] Can't see /dev/hda1,2,3 but I know they
exist...

On 02/18/10 22:49, James Homuth wrote:

I performed a bit of an update on my laptop a day or two ago, and
after reboot, I lost the ability to do anything with /dev/hda*. I
currently have 0 swap space, and according to stat, ls etc, they don't
exist. But, booting to an install CD I burned for diagnostic purposes,
it sees them just fine. Also, and this is the strange part. It boots
no problem, so the OS is able to mount at least /dev/hda3, even though
from the command line I'm not seeing it. I'm probably missing
something completely dead obvious (it's after midnight here and all),
and Google's turning up nothing, so if someone could kindly slap me in
the face with it, that'd be appreciated. Thanks either way for
whatever help comes my way.

How about /dev/sda1,2,3?
There is no /dev/sda*, either. First thing I checked.


Hello. Please quote correctly when you reply, like everybody else.

You can see the partitions listed in the /proc/partitions file.




[gentoo-user] MySQL 5.1 and Amarok

2010-02-21 Thread Nikos Chantziaras
It's not possible to use Amarok with the "embedded" USE flag with the 
newly released MySQL 5.1.  Why is that?  Can we expect it to work at 
some point?





[gentoo-user] Re: kde4 panelbar recovery

2010-02-22 Thread Nikos Chantziaras

On 02/22/2010 09:03 PM, James wrote:

Stefano Crocco  alice.it>  writes:



Right click on the desktop and choose "add panel". This should give you an
empty panel. To fill it with widgets, click on the plasma symbol at right end
of the panel, choose "add widgets" and insert the widgets you want.



I hope this helps



This does not restore the previous panel. Any ideas on that?

If not possible to restore the previous panel, how to move a new
one to the bottom?


With the mouse.

You might want to delete your ~/.kde4 folder instead to get back at the 
defaults.  Keep the stuff you want though (like settings for other 
programs, like Amarok, Kopete, etc.)





[gentoo-user] Re: Graphical usenet client - alternative to Knode

2010-02-23 Thread Nikos Chantziaras

On 02/23/2010 07:42 AM, Stroller wrote:

Some comments were made recently about KDE4, where it was advised "don't
try using just Kmail under a different window manager - use the whole
KDE environment, but not single apps. Use something else instead of Kmail".

I kept my gob somewhat shut at that time, because I've been using Knode
for a long time on my headless server. I ssh in from my Mac and open
Knode in X11.

I guess Usenet isn't so popular these days, and I have never been able
to find a Mac native client that I'm happy with.

I like Knode's simple 3-pane layout. Knode has improved visually with
the KDE4 release, but the much debated KDE4 dependencies thing.

It has only just occurred to me today to ask if there's an alternative
that looks & acts just the same, but which isn't part of the whole KDE4
environment.

Any suggestions?


I'm on KDE4 but I use Thunderbird for both Usenet (including this 
mailing list through GMane's "mailing-list-to-Usenet" interface) and 
email.  I like the simplicity and using only one app for both.





[gentoo-user] Re: Graphical usenet client - alternative to Knode

2010-02-23 Thread Nikos Chantziaras

On 02/23/2010 12:26 PM, Neil Bothwick wrote:

On Tue, 23 Feb 2010 12:11:40 +0200, Nikos Chantziaras wrote:


I'm on KDE4 but I use Thunderbird for both Usenet (including this
mailing list through GMane's "mailing-list-to-Usenet" interface) and
email.  I like the simplicity and using only one app for both.


Why are you passing the mail through a conversion gateway only to read it
in a mail client? Wouldn't subscribing directly be even more simple?


No, because then I would get all the mail in my inbox and I would be the 
one responsible for filtering it; a total waste on bandwidth and my 
time.  GMane does that for me instead.


I am currently "subscribed" to 31 mailing lists on GMane.  I don't even 
want to imagine what would happen if I would receive email from all of 
them (and 90% of the posts would not interest me anyway, so why recieve 
them in the first place?)  It's just not practical.  A Usenet-like 
front-end is the perfect solution here; a mailing list is very similar 
to a Usenet newsgroup and that's why this approach is the most practical 
one.  And even if I were subscribed to only one list, it would still be 
the best way to access it; even though the traffic is much lower when 
compared to 31 lists, but it's still high enough to get annoying with 
something landing on your inbox every 10 minutes or so, even stuff you 
don't intend to read.  With Usenet, you only get what you're interested 
in, and you get it in a way that is very easy to access and browse though.





[gentoo-user] Re: Graphical usenet client - alternative to Knode

2010-02-23 Thread Nikos Chantziaras

On 02/23/2010 01:39 PM, Nikos Chantziaras wrote:

On 02/23/2010 12:26 PM, Neil Bothwick wrote:

On Tue, 23 Feb 2010 12:11:40 +0200, Nikos Chantziaras wrote:


I'm on KDE4 but I use Thunderbird for both Usenet (including this
mailing list through GMane's "mailing-list-to-Usenet" interface) and
email. I like the simplicity and using only one app for both.


Why are you passing the mail through a conversion gateway only to read it
in a mail client? Wouldn't subscribing directly be even more simple?


No, because then I would get all the mail in my inbox and I would be the
one responsible for filtering it; a total waste on bandwidth and my
time. GMane does that for me instead.


Just to make my point more clear:

  http://i50.tinypic.com/15ow2g8.png

All of these under the "GMane" groups are mailing lists, but they appear 
just like Usenet newsgroups.  I can't imagine any easier way to easily 
deal with 30+ mailing list subscriptions.





[gentoo-user] Re: Graphical usenet client - alternative to Knode

2010-02-23 Thread Nikos Chantziaras

On 02/23/2010 03:08 PM, Neil Bothwick wrote:

On Tue, 23 Feb 2010 13:39:48 +0200, Nikos Chantziaras wrote:

I am currently "subscribed" to 31 mailing lists on GMane.  I don't even
want to imagine what would happen if I would receive email from all of
them (and 90% of the posts would not interest me anyway, so why recieve
them in the first place?)  It's just not practical.  A Usenet-like
front-end is the perfect solution here; a mailing list is very similar
to a Usenet newsgroup and that's why this approach is the most
practical one.  And even if I were subscribed to only one list, it
would still be the best way to access it; even though the traffic is
much lower when compared to 31 lists, but it's still high enough to get
annoying with something landing on your inbox every 10 minutes or so,
even stuff you don't intend to read.  With Usenet, you only get what
you're interested in, and you get it in a way that is very easy to
access and browse though.


With the downside being that the process is slower, as you have to
download each message or thread as you want to read it. Contrast this
with having email delivered whether you are reading it or not and being
filtered at the moment of arrival so it is instantly available, sorted
into folders, when you start up your client. However, this convenience
uses more bandwidth, so if that is worth more to you than your time, using
Usenet for selective reading does make sense.


No, each message gets downloaded in under 1 second; it immediately 
appears when you click on it.  It's blindingly fast.  No surprise 
though, since it's just text.  However, downloading thousands of 
messages per day that I don't intent to read is a waste of bandwidth. 
It's not so much about time, it's about volume.


You and I do the same thing in the end.  The difference is that you 
waste bandwidth, need to set up filters every time you subscribe to a 
new list, need to unsubscribe when you don't want to receive email 
anymore, need hard disk space to store all the downloaded messages, 
don't have access to messages from the time you weren't subscribed yet, 
and probably more I can't think of right now.


So in the end, we end up doing the same thing, by I do it in a saner way 
that was designed to do exactly that. :)  It appears it only has pros 
and no cons, so I don't see a reason to use email instead.





[gentoo-user] Re: Graphical usenet client - alternative to Knode

2010-02-23 Thread Nikos Chantziaras

On 02/23/2010 05:15 PM, Neil Bothwick wrote:

On Tue, 23 Feb 2010 16:59:33 +0200, Nikos Chantziaras wrote:


You and I do the same thing in the end.  The difference is that you
waste bandwidth, need to set up filters every time you subscribe to a
new list


Which takes about ten seconds usually.


10 is more than 0 :D



, need to unsubscribe when you don't want to receive email
anymore,


Which takes about half that time, and both of these are infrequent
occurrences. For lists that I had only a transient interest in, I would
look at usenet versions.


And when later you want to subscribe again...



need hard disk space to store all the downloaded messages,
don't have access to messages from the time you weren't subscribed yet,


No, but I do have access to  Google :)


Yes, but this requires to go to Google.  I have the messages right there 
in front of me.




So in the end, we end up doing the same thing, by I do it in a saner
way that was designed to do exactly that. :)


No, you do it in a different way that suits your needs. That doesn't make
you right and people with other needs wrong. It just illustrates the
benefits of choice. I did not insult your choice, why assume that you
know better than me what I need?


No, that wasn't my intention.  All I'm saying in the end is that people 
stick to the ways they are used to do their tasks.  There might be 
better options out there, but it requires getting used to those new 
options so they usually don't bother.  I just though I'd mention the 
stuff here so people actually know the option exists and has saved me 
from quite some annoyances I had to deal with in the past.




It appears it only has
pros and no cons, so I don't see a reason to use email instead.


How do you read messages without an Internet connection?

Everything has pros and cons.


You got me with that one :)  Just because I don't have this problem 
doesn't mean no else does either.





[gentoo-user] Re: Graphical usenet client - alternative to Knode

2010-02-23 Thread Nikos Chantziaras

On 02/23/2010 07:42 PM, Neil Bothwick wrote:

 [...]
You got me with that one :)  Just because I don't have this problem
doesn't mean no else does either.


You are permanently wired to the Internet? Don't you ever go out? :P


I'm referring to the machine.  It's always connected.  Broadband 
flatrate ftw :P  There's no point in ever disconnecting it.





[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:

I've been using KDE for a long time, for reasons that are no longer
important to me.  I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu.  All I need from
any of them is a panel with some favorites, and a pager for multiple
desktops.
I spend most of my time in vim, in the C program and documentation
toolchains or in a browser.

The reason I bring this up is that my account just froze on me from
running out of disk space.  A little research showed that an
odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in some
dotfiles.  It turns out to be a KDE client - whatever that is.  I've got
a lot of space here and there, but my /home partition was never near
full before.


Put "-semantic-desktop" in your make.conf.  emerge -auDN world.  emerge 
-a --depclean.  That should do it.





[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 03:41 PM, Zeerak Mustafa Waseem wrote:

On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote:

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:

I've been using KDE for a long time, for reasons that are no longer
important to me.  I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu.  All I need from
any of them is a panel with some favorites, and a pager for multiple
desktops.
I spend most of my time in vim, in the C program and documentation
toolchains or in a browser.

The reason I bring this up is that my account just froze on me from
running out of disk space.  A little research showed that an
odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in some
dotfiles.  It turns out to be a KDE client - whatever that is.  I've got
a lot of space here and there, but my /home partition was never near
full before.


Put "-semantic-desktop" in your make.conf.  emerge -auDN world.  emerge
-a --depclean.  That should do it.


Is that even possible? Won't a number of KDE apps demand the semantic-desktop 
use flag set?


Don't know, never happened here.




[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 04:28 PM, Crístian Viana wrote:

there was a recent discussion about this on this mailing list:
http://archives.gentoo.org/gentoo-user/msg_13c6d27e4216e91ed3c4800fe42b8e95.xml

it seems only Kmail needs that USE flag. I also haven't tried this on my
system.


Question is: will enabling that USE flag only for kdelibs result in KDE 
in general using a "semantic desktop?"





[gentoo-user] Re: pdf viewing suggestions?

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 06:01 PM, daid kahl wrote:

Hello all,

Simple question: Can you please explain your pdf viewer of choice (and
any configs or 'hacks' I should do)?  I can't find anything I like.

I've tried xpdf, epdfview, evince, kpdf, and acroread.  As I am trying
to remove kdelibs from my system to reduce overhead, I'm reluctant to go
for okular, and although I had some brief experience with it, I forget
my results (still trying to replace kaffeine..that's another post maybe
for later once I'm done testing).  I had gs programs of sorts for
awhile, and I forget the results, other than to say the pdf parts aren't
on my machine anymore for better or worse.


There's also Foxit Reader.  You can find it in the "rion" overlay.




[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 06:03 PM, Dale wrote:

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Am Mittwoch, 24. Februar 2010 15:12:58 schrieb Nikos Chantziaras:

On 02/24/2010 03:41 PM, Zeerak Mustafa Waseem wrote:

On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote:

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:

I've been using KDE for a long time, for reasons that are no longer
important to me. I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu. All I need
from any of them is a panel with some favorites, and a pager for
multiple desktops.
I spend most of my time in vim, in the C program and documentation
toolchains or in a browser.

The reason I bring this up is that my account just froze on me from
running out of disk space. A little research showed that an
odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in
some
dotfiles. It turns out to be a KDE client - whatever that is. I've
got a lot of space here and there, but my /home partition was never
near full before.

Put "-semantic-desktop" in your make.conf. emerge -auDN world. emerge
-a --depclean. That should do it.

Is that even possible? Won't a number of KDE apps demand the
semantic-desktop use flag set?

Don't know, never happened here.


Just tried it, and the following apps are being recompiled right now:

[ebuild R ] kde-base/pykde4-4.3.5-r1 USE="-semantic-desktop*"
[ebuild R ] kde-base/gwenview-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/akonadi-4.3.5 USE="-semantic-desktop*"
[ebuild R ] net-wireless/kbluetooth-0.4.2 USE="-semantic-desktop*"
[ebuild R ] kde-base/plasma-workspace-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/dolphin-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/kdebase-runtime-meta-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/kmail-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/kdeplasma-addons-4.3.5 USE="-semantic-desktop*"

Let's see if it works.




I seem to recall that I had to enable this for some updates recently.
Something wouldn't compile without the USE flag being set. I don't think
I need the thing either so if this works now, I may change mine and try
it too. Also, I use the kde-meta package which may make a difference.


KMail from KDE 4.4 needs it.  KMail from KDE 4.3 doesn't.




[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 06:47 PM, Dale wrote:

chrome://messenger/locale/messengercompose/composeMsgs.properties:

On 02/24/2010 06:03 PM, Dale wrote:

chrome://messenger/locale/messengercompose/composeMsgs.properties:

Am Mittwoch, 24. Februar 2010 15:12:58 schrieb Nikos Chantziaras:

On 02/24/2010 03:41 PM, Zeerak Mustafa Waseem wrote:

On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote:

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:

I've been using KDE for a long time, for reasons that are no longer
important to me. I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu. All I need
from any of them is a panel with some favorites, and a pager for
multiple desktops.
I spend most of my time in vim, in the C program and documentation
toolchains or in a browser.

The reason I bring this up is that my account just froze on me from
running out of disk space. A little research showed that an
odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in
some
dotfiles. It turns out to be a KDE client - whatever that is. I've
got a lot of space here and there, but my /home partition was never
near full before.

Put "-semantic-desktop" in your make.conf. emerge -auDN world.
emerge
-a --depclean. That should do it.

Is that even possible? Won't a number of KDE apps demand the
semantic-desktop use flag set?

Don't know, never happened here.


Just tried it, and the following apps are being recompiled right now:

[ebuild R ] kde-base/pykde4-4.3.5-r1 USE="-semantic-desktop*"
[ebuild R ] kde-base/gwenview-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/akonadi-4.3.5 USE="-semantic-desktop*"
[ebuild R ] net-wireless/kbluetooth-0.4.2 USE="-semantic-desktop*"
[ebuild R ] kde-base/plasma-workspace-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/dolphin-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/kdebase-runtime-meta-4.3.5
USE="-semantic-desktop*"
[ebuild R ] kde-base/kmail-4.3.5 USE="-semantic-desktop*"
[ebuild R ] kde-base/kdeplasma-addons-4.3.5 USE="-semantic-desktop*"

Let's see if it works.




I seem to recall that I had to enable this for some updates recently.
Something wouldn't compile without the USE flag being set. I don't think
I need the thing either so if this works now, I may change mine and try
it too. Also, I use the kde-meta package which may make a difference.


KMail from KDE 4.4 needs it. KMail from KDE 4.3 doesn't.




Since kde-meta would pull in Kmail, that could be the problem for me. If
you folks are doing yours the manual way, you may can get away with it.


No, no manual way here.  I use meta packages too.  Just not kde-meta; 
that's the 
"includes-all-mega-duper-everything-mother-of-all-meta-packages" package.


Instead I use stuff like kdeartwork-meta, kdebase-meta, 
kdebase-runtime-meta, etc.  Emerging the actual packages all by hand 
would be too tedious.  I still need a few, but really just a few (and 
it's obvious which ones; for example if you have the Kate editor missing 
in KDE, you know you need to emerge kde-base/kate.)





[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 06:43 PM, Mike Edenfield wrote:

On 2/24/2010 8:41 AM, Zeerak Mustafa Waseem wrote:

On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote:

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:

I've been using KDE for a long time, for reasons that are no longer
important to me.  I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu.  All I need from
any of them is a panel with some favorites, and a pager for multiple
desktops.
I spend most of my time in vim, in the C program and documentation
toolchains or in a browser.

The reason I bring this up is that my account just froze on me from
running out of disk space.  A little research showed that an
odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in some
dotfiles.  It turns out to be a KDE client - whatever that is.  I've got
a lot of space here and there, but my /home partition was never near
full before.


Put "-semantic-desktop" in your make.conf.  emerge -auDN world.  emerge
-a --depclean.  That should do it.




Is that even possible? Won't a number of KDE apps demand the semantic-desktop 
use flag set?



For KDE 4.4, +semantic-desktop is mandatory, though you can still turn
off the services after installing them.

Honestly, for what the OP appears to need out of a desktop environment,
he'd be more than happy with Xfce or something and save a ton of disk space.


How do you know what he needs?  He probably wants KDE but without the 
whole "Semantic Desktop" thingy.





[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 07:08 PM, Volker Armin Hemmann wrote:

On Mittwoch 24 Februar 2010, Nikos Chantziaras wrote:

On 02/24/2010 06:43 PM, Mike Edenfield wrote:

On 2/24/2010 8:41 AM, Zeerak Mustafa Waseem wrote:

On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote:

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:

I've been using KDE for a long time, for reasons that are no longer
important to me.  I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu.  All I need
from any of them is a panel with some favorites, and a pager for
multiple desktops.
I spend most of my time in vim, in the C program and documentation
toolchains or in a browser.

The reason I bring this up is that my account just froze on me from
running out of disk space.  A little research showed that an
odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in some
dotfiles.  It turns out to be a KDE client - whatever that is.  I've
got a lot of space here and there, but my /home partition was never
near full before.


Put "-semantic-desktop" in your make.conf.  emerge -auDN world.  emerge
-a --depclean.  That should do it.


Is that even possible? Won't a number of KDE apps demand the
semantic-desktop use flag set?


For KDE 4.4, +semantic-desktop is mandatory, though you can still turn
off the services after installing them.

Honestly, for what the OP appears to need out of a desktop environment,
he'd be more than happy with Xfce or something and save a ton of disk
space.


How do you know what he needs?  He probably wants KDE but without the
whole "Semantic Desktop" thingy.



he wrote:


Thanks.  My having research work with a few hundred thousand small files

and a couple of terrabytes of storage and backups could account for the
size.  Some occasional sluggishness too.  It makes no sense to index any of
this, so ditching it feels good.

and semantic-desktop was developed to help people with such workloads.


I don't understand your reply or what it answers.




[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 07:57 PM, Volker Armin Hemmann wrote:

On Mittwoch 24 Februar 2010, Nikos Chantziaras wrote:

On 02/24/2010 07:08 PM, Volker Armin Hemmann wrote:

On Mittwoch 24 Februar 2010, Nikos Chantziaras wrote:

On 02/24/2010 06:43 PM, Mike Edenfield wrote:

On 2/24/2010 8:41 AM, Zeerak Mustafa Waseem wrote:

On Wed, Feb 24, 2010 at 03:38:09PM +0200, Nikos Chantziaras wrote:

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:

I've been using KDE for a long time, for reasons that are no longer
important to me.  I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu.  All I need
from any of them is a panel with some favorites, and a pager for
multiple desktops.
I spend most of my time in vim, in the C program and documentation
toolchains or in a browser.

The reason I bring this up is that my account just froze on me from
running out of disk space.  A little research showed that an
odd-sounding thing called nepomuk was using 7.2 G (SEVEN GIGS) in
some dotfiles.  It turns out to be a KDE client - whatever that is.
  I've got a lot of space here and there, but my /home partition was
never near full before.


Put "-semantic-desktop" in your make.conf.  emerge -auDN world.
emerge -a --depclean.  That should do it.


Is that even possible? Won't a number of KDE apps demand the
semantic-desktop use flag set?


For KDE 4.4, +semantic-desktop is mandatory, though you can still turn
off the services after installing them.

Honestly, for what the OP appears to need out of a desktop environment,
he'd be more than happy with Xfce or something and save a ton of disk
space.


How do you know what he needs?  He probably wants KDE but without the
whole "Semantic Desktop" thingy.


he wrote:

Thanks.  My having research work with a few hundred thousand small files


and a couple of terrabytes of storage and backups could account for the
size.  Some occasional sluggishness too.  It makes no sense to index any
of this, so ditching it feels good.

and semantic-desktop was developed to help people with such workloads.


I don't understand your reply or what it answers.


because you haven't read the thread before you wrote your email?


Yeah, I'm the one who suggested the OP needs semantic desktop even 
though he clearly stated he doesn't:


"It makes no sense to index any of this, so ditching it feels good."

Perhaps it's a language barrier.  I'll state it in simpler words:  The 
OP does not want to index any of his files.  He wants to disable that 
functionality.  He has not indicated that he wants to switch from KDE to 
something else.


OK, another poster then showed up and suggested that he needs something 
other than KDE.  That didn't make any sense since the OP is using KDE 
and just wants the indexing stuff gone, which is what I pointed out. 
Then you come along with the statement as a reply to it:


"and semantic-desktop was developed to help people with such workloads."

which doesn't make any sense with the flow of the discussion.  Semantic 
desktop was invented for that, but the OP clearly stated he doesn't want it.


I am not the one who doesn't read the thread before writing my email.




[gentoo-user] Re: KDE? Get me out of here!

2010-02-24 Thread Nikos Chantziaras

On 02/24/2010 08:12 PM, Mike Edenfield wrote:

On 2/24/2010 11:59 AM, Nikos Chantziaras wrote:


How do you know what he needs?  He probably wants KDE but without the
whole "Semantic Desktop" thingy.


Well, mostly based on him telling us what he needs, and that he doesn't
really "want" KDE:

On 02/24/2010 04:27 AM, Kevin O'Gorman wrote:


I've been using KDE for a long time, for reasons that are no longer
important to me.  I have remained out of pure inertia.
I use gnome happily at work, both on Fedora and Ubuntu.  All I need from
any of them is a panel with some favorites, and a pager for multiple
desktops.


it appears that all he needs is a panel and a pager, which any decent
window manager will have.  Therefore, if KDE is using up more resources
than he feels warranted, perhaps it's time to switch.


I have semantic desktop disabled and KDE offers a hell of a lot more 
than just a panel and a pager.





[gentoo-user] Re: Graphical usenet client - alternative to Knode

2010-02-25 Thread Nikos Chantziaras

On 02/25/2010 11:45 PM, Frank Steinmetzger wrote:

Am Dienstag 23 Februar 2010 schrieb Nikos Chantziaras:

On 02/23/2010 01:39 PM, Nikos Chantziaras wrote:

On 02/23/2010 12:26 PM, Neil Bothwick wrote:

On Tue, 23 Feb 2010 12:11:40 +0200, Nikos Chantziaras wrote:

I'm on KDE4 but I use Thunderbird for both Usenet (including this
mailing list through GMane's "mailing-list-to-Usenet" interface) and
email. I like the simplicity and using only one app for both.


Why are you passing the mail through a conversion gateway only to read
it in a mail client? Wouldn't subscribing directly be even more simple?


No, because then I would get all the mail in my inbox and I would be the
one responsible for filtering it; a total waste on bandwidth and my
time. GMane does that for me instead.


Just to make my point more clear:

http://i50.tinypic.com/15ow2g8.png


OT: It occured to me that many, including you, have this awfully fuzzy font
rendering. Aren’t you bothered by that? (Assuming you’re on a TFT). When I
look at your image, my view starts floating on a plane in front of the screen.

See http://i47.tinypic.com/1zxsbok.png


No, actually I find it much better then the one in your screenshot. 
Much easier to read for me.  I guess this is due to differences in our 
monitor's DPI.  I can image that lower DPI monitors must show it pretty 
"zoomed-in" and therefore blurry.  The fonts in your screenshot actually 
look like small, thin lines instead of proper fonts here.




As you can see, I’m also using a mail client for those lists. At the
beginning, I used my Uni’s news server, but at some point, I couldn’t post to
this list anymore through NNTP. So I had to switch to mail interface.

But even though local archiving works better with mails (articles are gone
from the news server after a short while), I’d prefer the NNTP way though,
it’s easier to view the list filtered (e.g. no ignored threads).


For what it's worth, GMane's NNTP server never deletes messages.  In the 
case of gentoo-user, everything's still there; the oldest posts date 
back to 2002.





[gentoo-user] Re: libtool 2.x upgrade

2010-02-25 Thread Nikos Chantziaras

On 02/26/2010 03:15 AM, bn wrote:

Hi,

I have a stable x86 system that requires still a bit of updating, among
those libtool and gcc. Since I need the system to be usable *now* for
work reasons, I don't feel like updating gcc and rebuilding it all with
an emerge -e system / emerge -e world, but more and more packages want
to upgrade to libtool 2.x

Is it safe to upgrade libtool without (1)rebuilding gcc too and
(2)rebuilding system/world?


I don't know, but for this type of scenario you are better off building 
binary packages of everything that need to be updated without actually 
installing any of it on the machine.  At the end, when all binaries have 
been created by portage, you can install them in one go at a convenient 
point.


Look up the "--buildpkgonly" option of emerge for this.




[gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around?

2010-02-25 Thread Nikos Chantziaras

On 02/26/2010 06:06 AM, BRM wrote:

I am quite happy with KDE4 - presently using KDE 4.3.5. I still have KDE 3.5.10 
installed, and am wondering how much longer I need to keep it around...I 
probably use all KDE4 apps, though there might be a few here or there that I 
use on a rare occasion that are still KDE3 based...may be...and no, I don't 
plan on using KDE Sunset Overlay[1]

Any how...I'm wondering what the best method to remove KDE3.5 safely is:

1) Just leave it and may be it'll just get removed?

2) Found this entry on removing it
http://linuxized.blogspot.com/2008/10/how-to-unmerge-kde-3-packages-if-their.html

But nothing registers as a 'dup' even though qlist does show a lot of KDE 
3.5.10 packages installed. (Yeah, I'd need to modify the line to ensure it 
doesn't remove KDE 4.3.5).

3) Gentoo KDE4 guide suggests a method, but it seems to be more related to 
removing KDE entirely...
http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml


If you keep your world file (/var/lib/portage/world) tidy, simply 
deleting all lines with KDE3 packages and running emerge -a --depclean 
will take care of it.


You *do* keep your world file tidy, don't you? :P




[gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around?

2010-02-26 Thread Nikos Chantziaras

On 02/26/2010 06:10 PM, BRM wrote:

[...]

From: Alex Schuster

That's the only issue. My only concern is software (e.g. KDevelop) that
may not have been updated to KDE4 yet. (Not a fan of KDevelop3;
waiting to see how KDevelop4 is going to shape up.)

The KDE4 version is in the kde overlay, but I do not know if it is usable
already.


For now, I'll wait. I mostly use vim; and having done a lot of Windows stuff 
for work I am familiar with VS.
While there are a lot of things I don't like about VS, nothing else seems to 
quite compare.
KDevelop3 at least drove me nuts; and Eclipse just doesn't do well when you're 
not programming in Java - I have yet to get CDT to work, though I've mostly 
tried on Windows.
QtCreator seems to be on the right track, though it's still quite early.

I'm interested to see how KDevelop4 is going to turn out, but I'll certainly 
wait for it to reach the mainline tree.


The KDevelop 4 is actually in Portage (dev-util/kdevelop:4), not only in 
the kde overlay.


I have both Kdev4 and Qt Creator installed.  I ended up going with 
Creator, but I'm still keeping an eye on Kdev4.





[gentoo-user] KDE4 applications are spamming stderr to death

2010-02-26 Thread Nikos Chantziaras
Is it normal that every KDE (4.4.0) application is generating an awful 
lot of debug messages on stderr?  When I start one from the terminal (be 
it Dolphin, Konqueror or whatever) the output generated is pretty much 
gigantic.  It's stuff like this:


  QPainter::setPen: Painter not active
  QPainter::font: Painter not active
  QPainter::font: Painter not active
  QPainter::setFont: Painter not active
  QPainter::setPen: Painter not active
  QPainter::font: Painter not active
  konqueror(12426)/kio (Slave) KIO::Slave::createSlave: createSlave
  "file" for KUrl("file:///usr/share/apps/kdeui/about/box-top-
  middle.png")
  konqueror(12426)/kio (KIOConnection)
  KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp
  /ksocket-realnc/konquerorb12426.slave-socket"
  kio_file(12429)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
  kio_file(12431)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
  kio_file(12433)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
  kio_file(12435)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
  konqueror(12426)/kio (Slave) KIO::Slave::createSlave: createSlave
  "file" for KUrl("file:///usr/share/apps/kdeui/about/box-middle-
  left.png")
  kio_file(12443) kdemain: Starting 12443
  [...]
  [etc, etc, ad infinitum]

Currently, after about 2 hours of uptime, my ~/.xsession-errors is about 
12MB big and full with those debug messages.


The "debug" USE flag is globally disabled.  What's going on?  I doubt 
this is intended behavior.





[gentoo-user] Re: KDE4 applications are spamming stderr to death

2010-02-26 Thread Nikos Chantziaras

On 02/26/2010 10:32 PM, Volker Armin Hemmann wrote:

On Freitag 26 Februar 2010, Nikos Chantziaras wrote:

Is it normal that every KDE (4.4.0) application is generating an awful
lot of debug messages on stderr?  When I start one from the terminal (be
it Dolphin, Konqueror or whatever) the output generated is pretty much
gigantic.  It's stuff like this:

QPainter::setPen: Painter not active
QPainter::font: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::font: Painter not active
konqueror(12426)/kio (Slave) KIO::Slave::createSlave: createSlave
"file" for KUrl("file:///usr/share/apps/kdeui/about/box-top-
middle.png")
konqueror(12426)/kio (KIOConnection)
KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp
/ksocket-realnc/konquerorb12426.slave-socket"
kio_file(12429)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(12431)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(12433)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
kio_file(12435)/kio (kioslave) KIO::SlaveBase::mimeType: "image/png"
konqueror(12426)/kio (Slave) KIO::Slave::createSlave: createSlave
"file" for KUrl("file:///usr/share/apps/kdeui/about/box-middle-
left.png")
kio_file(12443) kdemain: Starting 12443
[...]
[etc, etc, ad infinitum]

Currently, after about 2 hours of uptime, my ~/.xsession-errors is about
12MB big and full with those debug messages.

The "debug" USE flag is globally disabled.  What's going on?  I doubt
this is intended behavior.


the debug flag has nothing to do with this.
Why don't you open a nice bug at bugs.kde.org?


I wanted to make sure first that this isn't some sort of configuration 
problem on my end.  Can you confirm that this happens on your system too?





[gentoo-user] Re: KDE4 applications are spamming stderr to death

2010-02-26 Thread Nikos Chantziaras

On 02/26/2010 11:16 PM, Volker Armin Hemmann wrote:

On Freitag 26 Februar 2010, Nikos Chantziaras wrote:

On 02/26/2010 10:32 PM, Volker Armin Hemmann wrote:

On Freitag 26 Februar 2010, Nikos Chantziaras wrote:

Is it normal that every KDE (4.4.0) application is generating an awful
lot of debug messages on stderr?  When I start one from the terminal (be
it Dolphin, Konqueror or whatever) the output generated is pretty much
gigantic.
 [...]
Currently, after about 2 hours of uptime, my ~/.xsession-errors is about
12MB big and full with those debug messages.
 [...]


the debug flag has nothing to do with this.
Why don't you open a nice bug at bugs.kde.org?


I wanted to make sure first that this isn't some sort of configuration
problem on my end.  Can you confirm that this happens on your system too?


oh yes. It does. If you open a bug, post the link please.

ls -lhtr .xsession-errors
-rw--- 1 energyman users 345M 26. Feb 22:15 .xsession-errors


Someone else did file one about this a few days ago:

http://bugs.kde.org/show_bug.cgi?id=227089




[gentoo-user] Re: FreeNX password vs. ssh-key

2010-02-26 Thread Nikos Chantziaras

On 02/27/2010 01:52 AM, Joseph wrote:

I'm installing Freenx and it will not install unless I enable in sshd_conf
UsePAM yes (password authentication)

What is the use use of ssh-key if I have to enable PAM?


FreeNX does not support SSH keys.  It only uses one for its control user.

For an NX-based client/server that supports SSH keys, you might want to 
look at x2go instead.  Furthermore, FreeNX seems to be quite inactive 
upstream (last update in 2008.)  x2go is in the "nx" overlay.





[gentoo-user] Re: FreeNX password vs. ssh-key

2010-02-26 Thread Nikos Chantziaras

On 02/27/2010 03:30 AM, Joseph wrote:

On 02/27/10 03:15, Nikos Chantziaras wrote:

On 02/27/2010 01:52 AM, Joseph wrote:

I'm installing Freenx and it will not install unless I enable in
sshd_conf
UsePAM yes (password authentication)

What is the use use of ssh-key if I have to enable PAM?


FreeNX does not support SSH keys. It only uses one for its control user.

For an NX-based client/server that supports SSH keys, you might want
to look at x2go instead. Furthermore, FreeNX seems to be quite
inactive upstream (last update in 2008.) x2go is in the "nx" overlay.


Do you know if x2go runs XFCE4?

I installed Freenx but I'm not able to log-in :-(
Do I login with user: NX or normal my user name to the server?


You login with the normal user.  It's been a long time since I used 
FreeNX though and don't remember its server configuration details.




If x2go supports XFCE4 I will go with it :->


The drop-down list here on the client shows "Gnome", "KDE", "LXDE", 
"Windows terminal server" (lol), and "Custom".  I suppose you need to 
select "Custom" and provide the command that starts the XFCE desktop.





[gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around?

2010-02-26 Thread Nikos Chantziaras

On 02/27/2010 04:15 AM, BRM wrote:

- Original Message 


From: Neil Bothwick To:
gentoo-user@lists.gentoo.org On Fri, 26 Feb 2010 06:34:18 -0800
(PST), BRM wrote:

Aside from that, I'm not sure I have ever really run "emerge
--depclean", but I also rarely uninstall anything, but don't
install things left or right to try out either, so typically
upgrades are all I need to do.

You should still run --depclean as dependencies change and you
could still have plenty of no longer needed ones installed.


Okay - so I ran "emerge --depclean -a" and got the below. I tried
running "emerge world -vuDNa" as specified, but that didn't resolve
it either.

I tried looking in the world file (/var/lib/portage/world) but didn't
find any entries that felt safe to remove.


"Safe" as to what?  If something is in the world file that you didn't 
explicitly request, then it doesn't belong there.  For example, if you 
have "x11-libs/qt-gui" in world, you should delete it.  The world file 
should not contain dependencies, it should only contain the stuff you 
emerged directly.


To give an example, if you emerge "media-video/smplayer", then that one 
will end up in the world file.  But smplayer will also pull-in qt and 
mplayer.  Those do not go in the world file.  When you unmerge smplayer 
again, qt and mplayer will not be unmerged unless you run "emerge 
--depclean".  However, if qt and mplayer end up being in the world file 
anyway, it means you made a mistake at some point; like emerging 
something that is a dependency but forgot to specify the "-1" (or 
"--oneshot") option to emerge.


So if you see something in the world file that you know don't need 
directly (and I doubt you need qt directly; KDE for example needs it, 
you, as a person, don't) it's safe to remove.


Of course always make a backup first :P




[gentoo-user] Re: Removing KDE 3.5? Or reason to keep it around?

2010-02-26 Thread Nikos Chantziaras

On 02/27/2010 07:21 AM, BRM wrote:

- Original Message 


From: Dale

On 02/27/2010 04:15 AM, BRM wrote:

From: Neil BothwickTo:
(PST), BRM wrote:

Aside from that, I'm not sure I have ever really run "emerge
--depclean", but I also rarely uninstall anything, but don't
install things left or right to try out either, so typically
upgrades are all I need to do.

You should still run --depclean as dependencies change and you
could still have plenty of no longer needed ones installed.

Okay - so I ran "emerge --depclean -a" and got the below. I tried
running "emerge world -vuDNa" as specified, but that didn't resolve
it either.
I tried looking in the world file (/var/lib/portage/world) but didn't
find any entries that felt safe to remove.

"Safe" as to what?  If something is in the world file that you didn't

explicitly request, then it doesn't belong there.  For example, if you have
"x11-libs/qt-gui" in world, you should delete it.  The world file should not
contain dependencies, it should only contain the stuff you emerged directly.


Okay...that kind of makes more sense now.
 From what I've read in the past, modifying 'world' would be a big no-no, and 
very risky - so I never touched it - also why I never really ran 'emerge 
--depclean', which is reporting some 400 packages to remove now that I've got 
that cleaned up.


emerge -C does the same.  It's just that I find it easier to edit the 
world file directly (it's just a text file, after all, no magic in 
there) if I want to clean up stuff.  If you don't want to delete 
something from world by hand, simply copy&pasting the line you want 
removed to "emerge -C " will have the same result.


Of course there might be special cases I simply don't know about; so 
simply emerge -C instead of removing lines from world if you want to 
play it safe.





[gentoo-user] Re: Kernel 2.6.33 and Nouveau

2010-02-27 Thread Nikos Chantziaras

On 02/27/2010 11:29 PM, Zeerak Mustafa Waseem wrote:


On Sat, Feb 27, 2010 at 10:39:19AM -0800, walt wrote:

On 02/27/2010 09:22 AM, Zeerak Mustafa Waseem wrote:

Hey guys

Got then latest gentoo-sources last night, and thought I'd try with the nouveau

  >  drivers. And it went pretty well (until) I had to start X.


I've attatched my xorg log. I have next to no idea what to do with the error.


Cool.  I didn't know about nouveau.

Seems to be DRM that's lacking:
(EE) [drm] failed to open device
(EE) No devices detected.

I'm wondering if you built the kernel modules listed here:
http://nouveau.freedesktop.org/wiki/InstallDRM




Yeah I have all the kernel modules. The only thing I'm unsure about is, that it 
refers some firmware that needs to be downloaded. This can be downloaded from 
fedora, or (I think) from portage. If the firmware from portage is the same as 
from the fedora site. Then I should have all necessary bits. But I'll try 
building it as a module, and follow the directions about that. (I'm just glad 
that the only gui applications I use are pdfÃ-readers and Ãin browsing :-))


You don't need to build it as a module.  Simply download the firmware, 
put it in /lib/firmware/nvidia/, and then configure the kernel like this:


In "Device Drivers->Generic Driver Options", in "Firmware blobs root 
directory" enter:


  /lib/firmware

In "External firmware blobs to build into the kernel binary", enter:

  nvidia/NAME_OF_FIRMWARE_FILE

Rebuild and install the kernel.  That should do it.




[gentoo-user] Re: Manual pages (man pages) have ESC all through them when having used sudo.

2010-02-27 Thread Nikos Chantziaras

On 02/28/2010 05:57 AM, ubiquitous1980 wrote:

If I have logged in through sudo such as $ sudo su, when I then use man
pages, they are covered in "ESC".  This does not occur when using normal
user accounts or the root account through su.  Wondering what is going
on.  Thanks.


Some ENV variables are unset by sudo.

But anyway, "sudo su" makes zero sense :P




[gentoo-user] vmware-workstation from vmware overlay broken digest

2010-03-01 Thread Nikos Chantziaras

If any dev from the vmware overlay reads this, please fix this one:

Calculating dependencies / * Digest verification failed:
 * 
/var/lib/layman/vmware/app-emulation/vmware-workstation/vmware-workstation-7.0.1.227600.ebuild

 * Reason: Failed on RMD160 verification
 * Got: 3619a7454b53411695537b5eb73d9213422b4097
 * Expected: 9ba2a1698c4618d95bed0ca6e42cb4aaf38c8762

I don't know where to report bugs for ebuilds that are in overlays.




[gentoo-user] Re: Pending layman directory "relocation"

2010-03-01 Thread Nikos Chantziaras

On 03/01/2010 08:08 PM, 7v5w7go9ub0o wrote:

(this is a rather obvious fix...)

eselect news has a new notice, advising of the pending change of the
presumed location of the layman directory from /usr/local/portage/layman
to /var/lib/layman. It offers three ways to deal with this location
change. I chose alternative A. (actually moving the directory and
updating make.conf and layman make.conf) and wanted to do it before I
forgot about it.

However, until layman is actually upgraded to version 1.3x, the
script/executable will reference /usr/local/portage/layman and fail. So
layman users choosing alternative A. now may want to add a step; after
moving the directory, put a soft link in the /usr/local/portage pointing
to the new location; i.e.

cd /usr/local/portage; ln -s /var/lib/layman layman


Or you can edit /var/lib/layman/make.conf and change the locations there.




[gentoo-user] Re: Advice for 64-bit n00b?

2010-03-03 Thread Nikos Chantziaras

On 03/04/2010 08:44 AM, Graham Murray wrote:

Volker Armin Hemmann  writes:


no, it is not safe to have a 64bit only system. Just choose the multilib
profile and start installing. If something needs the 32bit emul libs, it will
pull the stuff in. There is nothing you need to care about.


What is unsafe about a 64bit only system? Surely if it were unsafe then
Gentoo would not offer no-multilib profiles? I have recently built 2
systems using a no-multilib profile and have not found any problems, and
expect to start building a third one today.


You didn't understand the question Volker was replying to.  The question 
was not about "safe" as in "security", but rather "safe" as in "I can 
rest assured that a no-multilib system can run every software I could 
install", which is clearly not the case since some applications need 
32-bit support.





[gentoo-user] Re: mysql is being pulled in again!

2010-03-04 Thread Nikos Chantziaras

On 03/04/2010 05:37 PM, Mick wrote:

I am trying to understand what is pulling in mysql again.  This
morning a load of qt packages were being updated and I noticed a bunch
of perl and virtual packages in there too.  Rest assured dev-db/mysql
was in there, again.  This is despite the fact that the mysql use flag
seem to be not active as far as portage is concerned:


That doesn't matter.  USE flags is for optional stuff, not required 
stuff.  It's like having the kde USE flag disabled and wondering why 
emerging a KDE application wants to pull-in kdelibs...





[gentoo-user] Re: mysql is being pulled in again!

2010-03-04 Thread Nikos Chantziaras

On 03/04/2010 07:07 PM, Mick wrote:

On 4 March 2010 15:57, Alan McKinnon  wrote:

There will be a reason why mysql is being pulled in, most likely a package
that must have it.


If a package must have it, wouldn't the USE flag mysql switch to + ?


No.  The USE flag is only for packages where MySQL is optional.  If a 
package can't be used without MySQL, there's no "mysql" USE flag for it.




I am thinking that x11-libs/qt-sql-4.6.2 may be what started this
emerge of mysql.


No, that one has MySQL as an optional dep and therefore it obeys the 
"mysql" USE flag.  To see which installed packages pull-in mysql, use:


  equery depends mysql

If the output starts with "(mysql?" then that package only pulls mysql 
if the USE flag is set.  If it shows a package pulling mysql without the 
"(mysql?" part, then you've found the culprit.





[gentoo-user] Re: /etc/portage/bin/post_sync - not found by `equery b`

2010-03-05 Thread Nikos Chantziaras

On 03/05/2010 04:06 PM, Frank Steinmetzger wrote:

Am Freitag 05 März 2010 schrieb Neil Bothwick:

On Fri, 5 Mar 2010 12:13:54 +0100, Frank Steinmetzger wrote:

% qfile post_sync
app-portage/portage-utils (/etc/portage/bin/post_sync)


My qfile doesn’t find it, neither with nor without full path. And yes,
I have that bin file.


Is /etc/portage/postsync.d/q-reinitialize executable?


nope


It should be.




[gentoo-user] Re: Multiple versions of automake?

2010-03-10 Thread Nikos Chantziaras

On 03/10/2010 06:17 PM, walt wrote:

On 03/10/2010 05:50 AM, Tanstaafl wrote:

Hello,

I currently have 3 versions of automake installed (1.7.9-r1, 1.9.6-r3,
and 1.10.2).

emerge -pvuDN world shows an update available for each one, but, my
question is, do I need all 3 versions?

'equery depends automake' shows 44 packages, all depending on 1.10* or
higher.

So, can I safely emerge -C the other 2 versions? Should I (does it even
matter)?


Probably won't matter. A few packages actually specify an exact version
of the autotools, but most just want a certain minimum version.


Portage doesn't allow ebuilds to specify minimum versions or ranges for 
automake, only exact versions.


Specifying a mininum only works when putting automake as a dep in 
DEPEND.  However, Gentoo devs are required to use WANT_AUTOMAKE, not 
DEPEND and WANT_AUTOMAKE only allows specific versions, not minimum ones.


And this means multiple automake versions on the system are perfectly 
normal.





[gentoo-user] Re: Multiple versions of automake?

2010-03-10 Thread Nikos Chantziaras

On 03/10/2010 10:16 PM, Tanstaafl wrote:

On 2010-03-10 12:05 PM, Neil Bothwick wrote:

equery can be unreliable. If emerge --depclean -a wants to remove one
of both of them, let it, otherwise leave well alone.


Understood, thanks...

Just to be sure... the -a in the 'emerge --depclean -a' above will 'ask'
me if I want to continue and remove the packages it finds, correct?
Meaning, it won't just blindly go ahead and start ripping stuff out...

How does that differ from 'emerge -p --depclean'?


"emerge -p" will only print what it would merge/unmerge and then quits 
without asking.  You can run this as normal user, no need to be root.


"emerge -a" will print what it would merge/unmerge and then ask if you 
want to proceed.  You have to be root to use this command.


If you are not root and use "emerge -a", portage will turn it into an 
"emerge -p" and tell you that it did so because you are not root.





[gentoo-user] Re: Installing adobe flash on 64bit arch

2010-03-10 Thread Nikos Chantziaras

On 03/11/2010 01:13 AM, Mick wrote:

I see in the amd64 FAQs this:
==
Can I get Adobe Flash working?
  Yes. Just emerge adobe-flash. Adobe has provided a 64-bit Flash
plugin starting with version 10.0.22.87. If you don't need the 32-bit
plugin, then run echo "www-plugins/adobe-flash -32bit">>
/etc/portage/package.use. This will install only the 64-bit Flash
plugin.
==

So that I am clear, why would I want to install flash with both the
32bit and 64bit USE flags?


If you have both 32-bit as well as 64-bit browsers installed.



If there is no reason for both flags, then
should I be disabling the 32bit globally or are there other
circumstances that mean I should only set it so for this package?


The 32bit flag is not global.  It's only defined and used by the flash 
ebuild.





[gentoo-user] Re: New openssh install message?

2010-03-12 Thread Nikos Chantziaras

On 03/12/2010 09:07 PM, Mark Knecht wrote:

Hi,
I don't remember seeing this message on previous openssh updates:


Installing (1 of 1) net-misc/openssh-5.3_p1-r1

  *>>>  SetUID: [chmod go-r] /usr/lib64/misc/ssh-keysign ...
   [ ok ]
  * Remember to merge your config files in /etc/ssh/ and then
  * reload sshd: '/etc/init.d/sshd reload'.

Is this a new message or have I just missed in the past? I don't
know anywhere else for ssh configuration files to exist except
/etc/ssh and I normally just do

/etc/init.d/sshd restart

anytime it gets updated.

Has anything changed about this? I'm updating a remote machine and
don't want to lose connectivity.


Probably what the writer of that message meant is to update the config 
files with dispatch-conf and the like.  I don't know to what else 
"merge" could refer.





[gentoo-user] Re: Compiz effects vs kwin

2010-03-13 Thread Nikos Chantziaras

On 03/14/2010 02:53 AM, ubiquitous1980 wrote:

The effects in kwin (such as window wobble) are vastly less smooth than
that in compiz.  I have noticed that compiz is faster in both kde4 and
in gnome (with slight preference to gnome in speed) and wondering if
this is normal, or something to do with my kwin setup.  Running on GM 965


kwin got crappy animation speed in KDE 4.4.  It was as smooth as compiz 
in 4.3.  I asked about it in the KDE mailing list, but there was zero 
interest in this regression.  So you either have to live with it, or 
switch to compiz.





[gentoo-user] Re: Compiz effects vs kwin

2010-03-13 Thread Nikos Chantziaras

On 03/14/2010 04:57 AM, ubiquitous1980 wrote:

Nikos Chantziaras wrote:

On 03/14/2010 02:53 AM, ubiquitous1980 wrote:

The effects in kwin (such as window wobble) are vastly less smooth than
that in compiz.  I have noticed that compiz is faster in both kde4 and
in gnome (with slight preference to gnome in speed) and wondering if
this is normal, or something to do with my kwin setup.  Running on GM
965


kwin got crappy animation speed in KDE 4.4.  It was as smooth as
compiz in 4.3.  I asked about it in the KDE mailing list, but there
was zero interest in this regression.  So you either have to live with
it, or switch to compiz.



Thanks for your reply.  I am currently using kde 4.3 because I try only
to update to downstream-stable.  Is there another explanation?


Too old drivers and X maybe.  Since you're using downstream-stable, but 
the cool DRM/GL/KMS stuff is only in the latest upstream versions, this 
might be the problem.





[gentoo-user] Re: wine cannot compile with jpeg flag

2010-03-15 Thread Nikos Chantziaras

On 03/15/2010 05:06 PM, Xi Shen wrote:

hi,

i have enabled 'jpeg' flag in my /etc/make.conf, but i still cannot
compile wine with jpeg support, and i really need this feature.

the output of emerge -pv wine shows '(-jpeg)'. i think it is masked by
profile. i then created '/etc/portage/profile/package.use.force', and
putted 'app-emulation/wine jpeg' in it, but i still cannot compile
wine with jpeg support.

please help.


USE flags are unmasked in /etc/portage/profile/package.use.mask.  Put 
this in it:


  app-emulation/wine -jpeg




[gentoo-user] Re: help

2010-03-20 Thread Nikos Chantziaras

On 03/20/2010 06:03 PM, Dainius Matusevičius wrote:

help


Is this the mailing-list equivalent of a message in a bottle?  :P




[gentoo-user] Re: help

2010-03-20 Thread Nikos Chantziaras

On 03/20/2010 10:46 PM, Dale wrote:

Michael Sullivan wrote:

On Sat, 2010-03-20 at 14:55 -0300, Crístian Viana wrote:

or maybe he's using Seamonkey, like Dale :-) :-).


Hey! What's wrong with seamonkey?



I upgraded from Seamonkey 1 to Seamonkey 2. I let it copy the settings,
email and other "stuff" to the new profile. Well, it copied it fine but
new messages were sent blank. Replies were fine but new messages were
blank.

So, I had to create a new profile, copy the good stuff over to fix the
issue with Seamonkey. Now I can send a new message and it not be blank.
I think it annoyed the list but it really got on my nerves. After all,
who wants to spend 20 or 30 minutes typing in a message to have it
disappear and have to do it all over again.


And people still claim it's Microsoft products that are bugged... :P




[gentoo-user] Re: help

2010-03-22 Thread Nikos Chantziaras

On 03/22/2010 06:54 PM, Paul Hartman wrote:

On Sat, Mar 20, 2010 at 7:46 PM, Stroller
  wrote:


I was very impressed by Windows 7 recently. I installed it for a customer
and it seems wonderful. I even considered trying it myself, but I realised
that the inability to copy settings from one profile or machine to another
is a *complete* deal-breaker to me.


[OT]

In Windows XP it was called "Files and Settings Transfer Wizard". It
could be run from the Windows install CD or maybe it was installed as
well. You ran it on the source machine, then on the target machine and
it did its magic. It even carried over individual apps settings for
supported products (microsoft, adobe, etc). Did they get rid of that
tool in later versions of Windows?


No, it's still there (and improved).  No idea why Stroller couldn't find it.




[gentoo-user] Re: help

2010-03-22 Thread Nikos Chantziaras

On 03/22/2010 10:33 PM, Mike Edenfield wrote:

On 3/22/2010 3:40 PM, Mick wrote:

On Monday 22 March 2010 19:21:26 KH wrote:

Am 22.03.2010 20:17, schrieb Mick:

TBH, I wouldn't pay money for it but as many OEM impose a MSWindows tax
on all of us I had no other option if I wanted to buy this particular
laptop.


You can refuse the license agreement and give windows back. If you are
lucky, the vendor will give you some money back.


Getting money back from Dell?!!  It'll be like squeezing blood out of a
stone.  ;-)

Seriously though, I've asked them to take it off for me and they said that
this is "not an option"!


Particularly annoying is the fact that Dell claims to be "Linux
friendly".  Which is apparently shorthand for:

"Sure, we'll happily sell you one of three crappy laptop models with
Ubuntu pre-installed, at a slight discount, while bombarding you with
'Dell Recommends Windows' ads while you shop.  What's that?  You want a
desktop machine with Linux?  Are you insane?"


Dell mainly sells "Windows Computers", not "Computers".  If someone 
doesn't like that, why buy one?  There's a gazillion of e-shops selling 
custom machines.





[gentoo-user] Re: Problems with thunderbird

2010-03-23 Thread Nikos Chantziaras

On 03/23/2010 01:43 PM, KH wrote:

Hi,

I just updated thunderbird. Now I have two problems:

The rss feed only shows the title. It used to show the whole everything.
How can I change that? I want to read the complete rss article.


Not sure.  Here they show OK.  I'm using the "show article summary 
instead of loading the web page" setting.




Then I tried to set firefox as default for opening
http://www.stuff.whatever . This does not work. Where in about:config
can I change that, again?


You don't need to mess with about:config.  The setting is in the 
"Attachments" section of the configuration dialog.  Simply select "Use 
firefox" as handler for the ftp, http and https types.





[gentoo-user] Re: valgrind showing glibc warnings

2010-03-25 Thread Nikos Chantziaras

On 03/25/2010 04:09 PM, Crístian Viana wrote:

hi,

when I use valgrind, it shows hundreds of warnings related to glibc.


Rebuild valgrind.  This usually fixes this.




[gentoo-user] Re: valgrind showing glibc warnings

2010-03-25 Thread Nikos Chantziaras

On 03/25/2010 08:31 PM, Crístian Viana wrote:

I think --gen-suppressions may be a too "complicated" solution. valgrind
shouldn't find *any* warnings from the libraries of my system at all.
either valgrind is doing something wrong or there's really some errors
on glibc. in every other system I try, valgrind runs fine.

I rebuilt valgrind, but it didn't help.

I'm running amd64, by the way.


On AMD64 you *must* build glibc with splitdebug in FEATURES.  And I 
think the very latest glibc versions also require splitdebug on x86 too. 
 And after that you must probably rebuild valgrind again :P


After you've built glibc with splitdebug, there should be no more 
warnings in valgrind.





[gentoo-user] Re: valgrind showing glibc warnings

2010-03-25 Thread Nikos Chantziaras

On 03/25/2010 05:36 PM, Jacob Todd wrote:

On Thu, Mar 25, 2010 at 03:31:19PM -0300, Crístian Viana wrote:

either valgrind is doing something wrong or there's really some errors on
glibc.


I wouldn't doubt it.


There are always errors everywhere :P  The problem is you shouldn't see 
them since you're only interested in those in your own application.


Anyway, in this case, the "error" lies in that glibc recently started 
using sse instructions to speed up some string operations on 
intel-compatible CPUs, and Valgrind barks at those unless it has access 
to the debugging symbols.  On other distros this is no issue since they 
make sure not to strip the libraries in question, or provide installable 
*-debug packages.  Gentoo doesn't provide this fine-grained debugging 
support, and you have to build using splitdebug in FEATURES.





[gentoo-user] Re: unknown media type error when updating

2010-03-27 Thread Nikos Chantziaras

On 03/27/2010 02:14 PM, Xi Shen wrote:

hi,

i noticed the following error messages when i was updating my system.

* Updating shared mime info database ...
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'


how to fix this?


You can't.  It's perfectly normal.  It's not even an error.




[gentoo-user] Re: ffmpeg "threads" parameter

2010-03-27 Thread Nikos Chantziaras

On 03/28/2010 02:40 AM, 7v5w7go9ub0o wrote:

Some ffmpeg-using applications (e.g. mplayer) allow you to pass numbers
of threads (e.g. I use 6 on my Core-I7) to ffmpeg; others (e.g.
chromium) do not.


First, mplayer uses its own bundled ffmpeg.  It doesn't use 
media-video/ffmpeg at all.


Furthermore, this is not what the "threads" USE flag does for ffmpeg. 
Those applications that allow you to specify an amount of threads assume 
you're using ffmpeg-mt instead of normal ffmpeg.  ffmpeg-mt is a fork of 
ffmpeg and is not in Portage because it's still considered non-stable 
upstream.


There's an ebuild in Gentoo Bugzilla for ffmpeg-mt and an mplayer that 
uses ffmpeg-mt as its bundled ffmpeg version.  The mt mplayer ebuild can 
also be found in the wirelay overlay (it's in layman.)





[gentoo-user] Re: unknown media type error when updating

2010-03-27 Thread Nikos Chantziaras

On 03/28/2010 06:36 AM, Xi Shen wrote:

so...there are expected to be unknown? haha...that is interesting.

anyway, thanks. :)


I guess they're not really expected to be unknown, but they're harmless 
as long as you don't get disappearing icons.  If you do, then this is 
for you:


http://bugs.gentoo.org/show_bug.cgi?id=288312

This came up quite a while back on the mailing list, and IIRC, the 
"solution" was that there is no solution :P





[gentoo-user] Re: Checking sanity of system...

2010-04-03 Thread Nikos Chantziaras

On 04/04/2010 08:18 AM, meino.cra...@gmx.de wrote:


Hi,

this is no security issue in sense of attacks...it is related
to the consistency of the system.

Simple question (and may be complicate to answer... ;) )

How can I check, that my Gentoo system is uptodate


emerge --sync && emerge -uDN world



consistent and sane?


Define "consistent" and "sane".  Those words don't say anything, really.




[gentoo-user] Re: Checking sanity of system...

2010-04-04 Thread Nikos Chantziaras

On 04/04/2010 10:07 AM, meino.cra...@gmx.de wrote:

Nikos Chantziaras  [10-04-04 08:28]:

On 04/04/2010 08:18 AM, meino.cra...@gmx.de wrote:


Hi,

this is no security issue in sense of attacks...it is related
to the consistency of the system.

Simple question (and may be complicate to answer... ;) )

How can I check, that my Gentoo system is uptodate


emerge --sync&&  emerge -uDN world



consistent and sane?


Define "consistent" and "sane".  Those words don't say anything,
really.



Ok...

Consistency: Following each logical branch of each logical tree of control 
relationship,
which is for example but not only the tree of dependancies, will end in a
leave. These are the control paths.

Sane: Following each logical branch of each logical tree of data
relationships. which is for example but not only the interaction of scripts 
under
/etc, will end in a leave. These are the data paths.


These are very abstract things you speak of.  But I guess it boils down 
to "are there bugs in my system."


Yes, there are.  All software has bugs.  There is a tool to check 
whether there are bugs: you.  You use the software and check whether it 
works correctly or not.


For anything more specific, you also need to be more specific with your 
questions. :)





[gentoo-user] Re: VirtualBox bridge mode eth0

2010-04-08 Thread Nikos Chantziaras

On 04/08/2010 07:11 AM, Joseph wrote:

I've activated Network adapter in VirtualBox (running Windows XP) but I
it is not working. It works only in NAT mode not in Bridge mode.
The worst part is when I enable bridge mode on second adapter the
keyboard lock up, so I need to reboot the box :-/

I've copied the VM into my other box and VirtualBox Network part is
working in both Bridge and NAT mode.
So I can not seem to understand why it is working on one box but not the
other.

Does it have something to do with Promiscuous Mode?


Promiscuous Mode is needed for bridging to work.  This is why NAT mode 
is preferable, btw, unless you have a good reason to use bridging.





[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-18 Thread Nikos Chantziaras

On 04/19/2010 12:07 AM, Harry Putnam wrote:

I've seen on this group some time back a few ways, or at least more
than 1 as I recall to retain the ability to leave X with
Ctrl+Alt_+BKSPC.

I'm not finding it now readily.

Can someone tell me where that setting may be made.

If it has something to do with new way of starting X where we don't
need an xorg.conf file... I should say that I still use
/etc/X11/xorg.conf (In case that makes a difference)

I find trying to leave X with the `logout' menu item provided on the
Xfce4 destop, that if X has been running a while is seems to take a
very long time to get out of X that way, and possibly not only long
but even ever, short of:

  kill -TERM `ps wwaux|awk '/X.*\-nolisten tc[p]/{print $2}'`

Or killing the pid some other way.

The Ctrl+alt+bkspc was a much nicer fallback.


The only way I could find that works was an option for it in KDE4's 
keyboard layout settings.  KDE was nice enough to explain what it is 
doing under the hood though, which is adding:


  -option terminate:ctrl_alt_bksp

to the "setxkbmap" command it uses to apply the keyboard settings.




[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-18 Thread Nikos Chantziaras

On 04/19/2010 12:47 AM, Mick wrote:

On Sunday 18 April 2010 22:15:34 Nikos Chantziaras wrote:

On 04/19/2010 12:07 AM, Harry Putnam wrote:

I've seen on this group some time back a few ways, or at least more
than 1 as I recall to retain the ability to leave X with
Ctrl+Alt_+BKSPC.

I'm not finding it now readily.

Can someone tell me where that setting may be made.

If it has something to do with new way of starting X where we don't
need an xorg.conf file... I should say that I still use
/etc/X11/xorg.conf (In case that makes a difference)

I find trying to leave X with the `logout' menu item provided on the
Xfce4 destop, that if X has been running a while is seems to take a
very long time to get out of X that way, and possibly not only long
but even ever, short of:

   kill -TERM `ps wwaux|awk '/X.*\-nolisten tc[p]/{print $2}'`

Or killing the pid some other way.

The Ctrl+alt+bkspc was a much nicer fallback.


The only way I could find that works was an option for it in KDE4's
keyboard layout settings.  KDE was nice enough to explain what it is
doing under the hood though, which is adding:

-option terminate:ctrl_alt_bksp

to the "setxkbmap" command it uses to apply the keyboard settings.


In your xorg.conf you need:

Section "InputDevice"
   [snip ...]
   Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

The 'new' way of setting it up without a xorg.conf file is to set it up in
your /etc/hal/fdi/policy/10-keymap.fdi like so:

  terminate:ctrl_alt_bksp

Read more details here:

http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml


HAL is deprecated and will not be supported in X anymore,  so it's not 
the "new" way ;)





[gentoo-user] Re: sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Nikos Chantziaras

On 04/20/2010 05:41 PM, Helmut Jarausch wrote:

On 20 Apr, Volker Armin Hemmann wrote:

On Dienstag 20 April 2010, Helmut Jarausch wrote:

Hi,

has anybody experience with these new sys-kernel/ck-sources?
I could only see they have additional patches (in addition to those
of gentoo-sources).
But I didn't find which patches and why these have only been applied to
ck-sources?

Thanks for your opinion,
Helmut.


if you have more than 2 cores, you shouldn't use them ;)


Why, it's said to scale well up to 16 cores (at least)?


It's practically *made* for 2 and 4 cores.  Single core enhancements 
were added later.


Volker's recommendations is based on his own tests with the patches. 
I'm on a dual core Intel E6600 and the patches help a big deal to keep 
the GUI responsive and fluid.


Also note that there's much hate and fanboy-ism around this issue. 
Expect people telling you how this is crap, or how the default Linux 
scheduler is crap, etc, without them really having a clue what they're 
talking about.  (I am *not* referring to Volker here, mind you.)





[gentoo-user] Re: sys-kernel/ck-sources - why should I use them?

2010-04-21 Thread Nikos Chantziaras

On 04/21/2010 12:59 PM, Alan McKinnon wrote:

On Tuesday 20 April 2010 16:41:03 Helmut Jarausch wrote:

On 20 Apr, Volker Armin Hemmann wrote:

On Dienstag 20 April 2010, Helmut Jarausch wrote:

Hi,

has anybody experience with these new sys-kernel/ck-sources?
I could only see they have additional patches (in addition to those
of gentoo-sources).
But I didn't find which patches and why these have only been applied to
ck-sources?

Thanks for your opinion,
Helmut.


if you have more than 2 cores, you shouldn't use them ;)


Why, it's said to scale well up to 16 cores (at least)?



Does ck-sources apply the bfs patches?


Yes.  Though it applies everything, not just BFS, and I'm not sure if 
this a good idea or not.





[gentoo-user] Re: sys-kernel/ck-sources - why should I use them?

2010-04-21 Thread Nikos Chantziaras

On 04/21/2010 01:26 PM, Alan McKinnon wrote:

On Wednesday 21 April 2010 12:08:47 Nikos Chantziaras wrote:

On 04/21/2010 12:59 PM, Alan McKinnon wrote:

On Tuesday 20 April 2010 16:41:03 Helmut Jarausch wrote:

On 20 Apr, Volker Armin Hemmann wrote:

On Dienstag 20 April 2010, Helmut Jarausch wrote:

Hi,

has anybody experience with these new sys-kernel/ck-sources?
I could only see they have additional patches (in addition to those
of gentoo-sources).
But I didn't find which patches and why these have only been applied
to ck-sources?

Thanks for your opinion,
Helmut.


if you have more than 2 cores, you shouldn't use them ;)


Why, it's said to scale well up to 16 cores (at least)?


Does ck-sources apply the bfs patches?


Yes.  Though it applies everything, not just BFS, and I'm not sure if
this a good idea or not.


How is ck-sources different from zen-sources?


ck-sources only applies CK's patches.




[gentoo-user] Re: No longer getting elog messages

2010-04-23 Thread Nikos Chantziaras

On 04/24/2010 05:40 AM, billyd wrote:

Thanks for the reply, Alan.

My hard drive space is adequate with at least 50% space available on the
partition where /var lives.


Can you post the output of "df -i"?  Free space is only one 
consideration.  The other is free inodes.





[gentoo-user] Re: two version of the same lib at the same time...possible?

2010-04-27 Thread Nikos Chantziaras

On 04/28/2010 04:35 AM, meino.cra...@gmx.de wrote:


Hi,

for haveing both useable I need to have two different versions
of x264 on my system.

Is this possible in any way?


Not with Portage (it allow you to customize --prefix).  You can have an 
infinite number of them though if you install manually with a different 
./configure --prefix each time.





[gentoo-user] Re: Compiling 32 bit library on x86_64

2010-04-30 Thread Nikos Chantziaras

On 04/30/2010 03:09 PM, David W Noon wrote:

On Fri, 30 Apr 2010 12:10:02 +0200, Roger Mason wrote about
[gentoo-user] Compiling 32 bit library on x86_64:


Hello,

I need to compile a 32 bit version of libtermcap on an x86_64
(multilib) system.  Can someone tell me how to set up CFLAGS?  This is
what I have at the moment:

CFLAGS="-O2 -m32 -march=native -msse3 -pipe"
CXXFLAGS="-O2 -m32 -march=native -msse3 -pipe"


The -march=native will shoot you in the foot. Pick a 32-bit
architecture and use that instead; e.g. -march=i686

Then, -msse3 could also be problematic, unless the target is a very late
model Pentium 4.  I would ditch that too.


None of those options are problematic.  -march=native has nothing to do 
with 32/64 bit.  Every 64-bit CPU is 32-bit compatible and has zero 
consequence.


I think you fell into the logical trap that 32-bit CPUs are not 64-bit 
compatible but it's OK vice versa :)  Meaning you can't use "-m64 
-march=i686".  But you *can* and *should* use "-m32 -march=core2".





[gentoo-user] Re: Compiling 32 bit library on x86_64

2010-05-01 Thread Nikos Chantziaras

On 04/30/2010 07:29 PM, David W Noon wrote:

On Fri, 30 Apr 2010 15:20:02 +0200, Nikos Chantziaras wrote about
[gentoo-user] Re: Compiling 32 bit library on x86_64:


On 04/30/2010 03:09 PM, David W Noon wrote:

On Fri, 30 Apr 2010 12:10:02 +0200, Roger Mason wrote about
[gentoo-user] Compiling 32 bit library on x86_64:


Hello,

I need to compile a 32 bit version of libtermcap on an x86_64
(multilib) system.  Can someone tell me how to set up CFLAGS?  This
is what I have at the moment:

CFLAGS="-O2 -m32 -march=native -msse3 -pipe"
CXXFLAGS="-O2 -m32 -march=native -msse3 -pipe"


The -march=native will shoot you in the foot. Pick a 32-bit
architecture and use that instead; e.g. -march=i686

Then, -msse3 could also be problematic, unless the target is a very
late model Pentium 4.  I would ditch that too.


None of those options are problematic.  -march=native has nothing to
do with 32/64 bit.  Every 64-bit CPU is 32-bit compatible and has zero
consequence.

I think you fell into the logical trap that 32-bit CPUs are not 64-bit
compatible but it's OK vice versa :)  Meaning you can't use "-m64
-march=i686".  But you *can* and *should* use "-m32 -march=core2".


No, I stand by what I wrote.


You are wrong.



The -march=native option tells the compiler to issue the CPUID
instruction to determine the architecture.  This means that on an amd64
box it will return data for either an AMD K8 or an Intel Pentium D
architecture.  This, in turn, allows the compiler to generate K8
instructions that are not valid on IA32 processors.  It even allows
the compiler to use 64-bit registers, including the additional
registers that were not in an IA32 processor.


The OP was not interested whether the code runs on all IA32 processors. 
 Just on his.  Yes, if you compile with "-m32 -march=native" the code 
will not run everywhere else.  But I fail to see what this has to do 
with 32-bit vs 64-bit; it also happens if you omit "-m32".




The -m32 option instructs the compiler to generate code with 32-bit
pointers and relocation dictionary. It does not constrain the compiler
to generate code that will definitely run on an IA32 processor, but it
does ensure that the code can be linked with 32-bit libraries.

So, if one is compiling on, say, a Core2 Duo and one uses -march=native
and -m32, the compiler can use all kinds of instructions valid on the
Core2 Duo, but limits addressing to 32-bit.


Yes, which is what we want.  Again, the OP was not interested whether 
the code runs on other machines.  If that was the case, he would not 
have used -march=native in the first place.


And I have proof too.  Compile whatever you want with -m32 
-march=native.  It will work just fine.





[gentoo-user] Re: Loosing key presses since upgrade to xorg-server-1.7.6

2010-05-06 Thread Nikos Chantziaras

On 05/07/2010 02:09 AM, Remy Blank wrote:

I upgraded xorg-server to 1.7.6 (and the few associated packages) a few
days ago, and since then I seem to spuriously loose some key presses
when typing fast. This only happens in X, not on the console. The box is
a Dell Latitude E6500 laptop.

I have already re-emerged all necessary drivers (xf86-input-keyboard in
particular, I'm not using evdev), and there were no other upgrades
during that time. But no success.

I'm using xf86-video-intel-2.11.0. I have tried downgrading to
2.10.0-r1, which I was using with xorg-server-1.6.5. Still no success.

This is extremely annoying. Am I the only one seeing this? Any ideas how
I could solve the issue, short of downgrading xorg-server, which I would
like to avoid?


evdev?




[gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Nikos Chantziaras

On 05/08/2010 09:21 PM, Crístian Viana wrote:

hi everyone,

something weird is happening on my system. I can't create new files, it
says "No space left on device", but the disk has several gigabytes of
free space!


The filesystem probably ran out of inodes.  "df -i /home" will show 
inode usage.  This can happen when you have many small files; they eat 
inodes but not storage space.





[gentoo-user] Re: can't create file but disk isn't full

2010-05-08 Thread Nikos Chantziaras

On 05/09/2010 01:46 AM, Crístian Viana wrote:

it doesn't seem so :-(

FilesystemInodes   IUsed   IFree IUse% Mounted on
/dev/sda620856832  108698 207481341% /home

I didn't know that the filesystem could run out of inodes before the
disk space itself! thanks for the information :-)


Long shot, but check if root can write files.  If yes, it probably means 
your reserved block count is a bit high (default is 5% I believe).  The 
reserved block count is a mechanism that disallows further writes to the 
filesystem if it gets too full, and only root can keep writing.


If that's your problem, the reserved block count can be changed with the 
tune2fs tool.  To set it to, say 2%, you would run:


  tune2fs -m 2 /dev/sda6

I don't know if it's safe to do this while the filesystem is mounted. 
To play it safe, go to single user mode, umount /home, and only then run 
the above command.





[gentoo-user] Re: I've been hacked.

2010-05-11 Thread Nikos Chantziaras

On 05/11/2010 10:28 PM, Grant wrote:

I nmap'ed one of my remote Gentoo servers today and besides the
expected open ports were these:

1080/tcp open  socks
3128/tcp open  squid-http
8080/tcp open  http-proxy

I'm not running any sort of proxy software that I know of and I should
be the only person whatsoever with access to the machine.  'netstat
-l' doesn't show any info on those ports at all so I suppose it's been
hacked as well?  I installed and ran 'rkhunter --check' (what happened
to the chrootkit ebuild?) but it doesn't seem to be much use since I
hadn't established a "file of stored file properties".

What do you guys think is going on?  What should I do from here?



What does lsof (I'd reinstall it afresh) show with regards to strange
users?
What users the above services run under.  If indeed they are not
legitimate
and you confirm that they are not being run as packages that you
installed,
then I'm afraid the only sane option is to reinstall.



Wow.  I'm actually seeing the same thing from other domains I nmap.
Could my ISP have some kind of a weird environment set up that makes
it look like there are ports such as these open on remote systems?
Right now I'm on some kind of a shared connection where everyone has
their own modem or router or whatever it is, but I think everyone's IP
is the same.

- Grant




Hello,

looks like, your ISP has a Transparent Proxy Setup running.


Should I be worried about that?


"Your ISP" in this case means the ISP of your home, not the server's. 
That means you will see these ports apparently open for every 
IP/hostname you try.





[gentoo-user] Re: can't create file but disk isn't full

2010-05-12 Thread Nikos Chantziaras

On 05/13/2010 01:56 AM, Willie Wong wrote:

On Thu, May 13, 2010 at 12:25:08AM +0200, Alex Schuster wrote:

The 5% is historical from days when disks are much smaller. If you
have a sensible partition scheme you only really need to reserve the
blocks on the $ROOT filesystem. If the partition in question (IIRC) is
only for /home, then you can just turn off the reserved blocks all
together.


Isn't another purpose of those 5% the reduction of fragmentation that
occurs more when there is few free space left? Although I also reduce ift
on very large partitions. But I never set it to exactly zero.


Perhaps? I don't know. My ext3 partitions with 0% are all for large
files (videos and music) that are more or less static, so I can't say
anything about fragmentation on them. My other partitions are all
reiser, so can't say anything about fragmentation on them either :)


The tune2fs man page mentions that fragmentation is also a reason:

 -m reserved-blocks-percentage
Set the percentage of the filesystem which may only be allocated
by privileged processes. Reserving some number of filesystem
blocks for use by privileged processes is done to avoid
filesystem fragmentation, and to allow system daemons, such as
syslogd(8), to continue to function correctly after non-
privileged processes are prevented from writing to the
filesystem. Normally, the default percentage of reserved blocks
is 5%.




[gentoo-user] Re: glx & dri fail to load for nv

2010-05-14 Thread Nikos Chantziaras

On 05/15/2010 06:31 AM, Grant wrote:

I'm seeing tearing from the nv xorg driver.  I think it's because the
glx and dri modules are failing to load, and I think that's because
I'm missing a kernel option or two.  Can anyone tell me what I might
be missing in the kernel for an Nvidia card?

BTW, the proprietary nvidia driver works great but I'd like to get nv
working too.


A bit off-topic, but nv is dead upstream (NVidia dropped it).  You might 
want to look into the Nouveau open source driver if you have hardware 
supported by it (it even supports 3D):


  http://nouveau.freedesktop.org

It's better than the crappy "nv" driver by orders of magnitude.




[gentoo-user] xorg-server 1.8.1 random segfaults

2010-05-16 Thread Nikos Chantziaras

Does anyone else get random segfaults all the time with xorg-server-1.8.1?

  Backtrace:
  0: /usr/bin/X (xorg_backtrace+0x28) [0x45cc28]
  1: /usr/bin/X (0x40+0x59899) [0x459899]
  2: /lib/libpthread.so.0 (0x300100+0xf0d0) [0x300100f0d0]
  3: /usr/bin/X (dixLookupPrivate+0xa) [0x42c5aa]
  4: /usr/lib64/xorg/modules/extensions/libglx.so
 (0x7f39c8fb3000+0x3f18a) [0x7f39c8ff218a]
  5: /usr/lib64/xorg/modules/extensions/libglx.so
 (0x7f39c8fb3000+0x3656f) [0x7f39c8fe956f]
  6: /usr/bin/X (FreeResource+0x13f) [0x42a38f]
  7: /usr/lib64/xorg/modules/extensions/libglx.so
 (0x7f39c8fb3000+0x336c9) [0x7f39c8fe66c9]
  8: /usr/lib64/xorg/modules/extensions/libglx.so
 (0x7f39c8fb3000+0x363ae) [0x7f39c8fe93ae]
  9: /usr/bin/X (0x40+0x44f1c) [0x444f1c]
  10: /usr/bin/X (0x40+0x217e5) [0x4217e5]
  11: /lib/libc.so.6 (__libc_start_main+0xfd) [0x300041ebbd]
  12: /usr/bin/X (0x40+0x21399) [0x421399]
  Segmentation fault at address 0x290

  Fatal server error:
  Caught signal 11 (Segmentation fault). Server aborting

xorg-server-1.8.0 is working just fine.  I'm on ~amd64 with 
x11-drivers/xf86-video-ati-6.13.0 (also tried live ebuild from x11 overlay.)





[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 11:15 AM, Alan McKinnon wrote:

On Wednesday 19 May 2010 23:56:39 walt wrote:

On 05/19/2010 12:59 PM, Fabian Köster wrote:

Hi *,

I am currently trying to use Phonon and PulseAudio and have the following
problem:

When I play some Video with a Non-KDE application like VLC everything is
perfectly directed to the local PulseAudio running on my machine and i
have the expected sound-output.

But when I use a KDE-Application like Kaffeine or Amarok there is no
sound output although the stream is listed by pavucontrol...


Well, since I'm first to answer I get to inject my prejudices first :)

I think pulse is a very long answer to a very short question and so I did
away with it months ago.  And I haven't regretted it.

Truly, I think very few people need pulse outside of professionals who work
in film or music.  The main reason others have disagreed with my opinion is
because your silly desktop sounds like beeps and boings and toilets
flushing interrupt the CD you're listening to.  Uh, well, yeah, one sound
generally interrupts another, true.  So what?

I'll bet your audio would do what you expect it to do if you just removed
every trace of pulse from your machine and run revdep-rebuild with the
pulse, arts, and esd useflags disabled (if those flags still exist).

Contrary opinions will follow shortly ;)


No, I don't think they will :-)


Well, here is one :P

"Uh, well, yeah, one sound generally interrupts another, true."

That is not true.  ALSA (most people use that one) has dmix, which mixes 
all sounds from all applications together.  You don't need PulseAudio 
for that.





[gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 07:56 PM, Grant wrote:

I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
compilation fails:


I don't think you should be using nouveau-drm in the first place.  This 
driver is now in the kernel itself.  nouveau-drm was used before that 
driver moved into the Linux kernel together with the other DRM drivers.


Also, as a consequence, trying to use nouveau-drm means you're getting 
an outdated driver, since AFAIK the updates happen in-kernel now.





[gentoo-user] Re: nouveau-drm compile failure

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 08:32 PM, Nikos Chantziaras wrote:

On 05/20/2010 07:56 PM, Grant wrote:

I'm trying to compile nouveau-drm for my Nvidia 8400GS video card, but
compilation fails:


I don't think you should be using nouveau-drm in the first place. This
driver is now in the kernel itself. nouveau-drm was used before that
driver moved into the Linux kernel together with the other DRM drivers.

Also, as a consequence, trying to use nouveau-drm means you're getting
an outdated driver, since AFAIK the updates happen in-kernel now.


I forgot to mention *where* in the kernel configuration you can enable 
nouveau.  It's in Device Drivers->Staging drivers





[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 08:30 PM, Canek Peláez Valdés wrote:

 Don't
even mention OSS4; the sound architecture goes in user space, not the
kernel.


I don't care where they go (why the hell should I?), for as long as they 
work.





[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 09:44 PM, Canek Peláez Valdés wrote:

On Thu, May 20, 2010 at 12:57 PM, Nikos Chantziaras  wrote:

On 05/20/2010 08:30 PM, Canek Peláez Valdés wrote:


  Don't
even mention OSS4; the sound architecture goes in user space, not the
kernel.


I don't care where they go (why the hell should I?), for as long as they
work.


You should care, because if it breaks inside the kernel, it probably
takes away the whole operating system. And then you lose work and
you're sad.


Well, it doesn't break here.  It's been rock-solid through the years. 
It's too bad it's going to die though; it was the only way to get solid 
sound for me.  ALSA with its out-of-kernel dmix sucked, like, forever.


What doesn't work is PulseAudio, actually.  Too many problems with it. 
Pulse is simply broken by design; it's too far from the kernel to be any 
good.




But don't take my word for it; Intel+Nokia are using PulseAudio in
MeeGo, and Google it's doing the same with Android. They are making an
opinion with their wallets.

(And doesn't really matters, but I haven't heard that it's possible to
switch audio from internal speakers to bluetooth headset with OSS4, so
as far as I'm concerned, it doesn't work.)


ALSA can't switch to Bluetooth either.  You could use PulseAudio with 
OSS4 instead of with ALSA though, but this is not officially supported.





[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-20 Thread Nikos Chantziaras

On 05/20/2010 10:25 PM, Canek Peláez Valdés wrote:

On Thu, May 20, 2010 at 2:04 PM, Nikos Chantziaras  wrote:
[snip]

What doesn't work is PulseAudio, actually.  Too many problems with it. Pulse
is simply broken by design; it's too far from the kernel to be any good.


If I may use (most of) your words: "Well, it works here.  It's been
rock-solid through months." And with various use-cases, if I may add.

Can you elaborate why the audio architecture has to be close to the
kernel? The part that talks to the hardware obviously has to, but why
the part that handles the features, the mixes, the virtual devices?


Because as soon as you disable ALSA dmix and/or Pulse, suddenly you get 
acceptable sound latency.


With OSS4, which has in-kernel mixing, it doesn't matter if you enable 
the mixer or disable it; sound always has acceptable latency.


Thus, I can only conclude that mixing has to happen in-kernel.  But I 
base this only on the ALSA/Pulse vs OSS4 comparison.  It could also be 
that the user-space implementation of ALSA just sucks.  But that's hard 
to believe, since if that were the case they would have fixed it several 
years ago already.




I'm under the impression (correct me if I'm wrong) that it was one of
the major reasons to leave OSS4 outside the upstream kernel; too many
stuff in there that belongs in user space. It sounds reasonable to me.


It sounds reasonable from a designer's point of view.  But a system is 
useless if it's only designed good but doesn't actually work in a 
satisfactory manner.




Specially when PulseAudio just works, for me and many more.


Sorry, that just pretentious of you here.  PulseAudio is the most flamed 
at, hated, sound-related software around.  And this is because it does 
*not* work for many, many users, and the first thing they try to do is 
find out how to disable the thing.




ALSA can't switch to Bluetooth either.  You could use PulseAudio with OSS4
instead of with ALSA though, but this is not officially supported.


Indeed it's not supported, because it's (using your words again)
"broken by design" by trying to do too many things inside the kernel
that belong in user space. That's my understanding at least; please
correct me if you believe I'm mistaken.


You're mistaken in that a mixer should be in the same boat as network 
streaming, bluetooth, etc, etc.  I believe the *mixer* should be 
in-kernel.  Everything else doesn't need to be.  PulseAudio's extreme 
latency problems (which even upstream admits can't be fixed easily) stem 
from that.





[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-21 Thread Nikos Chantziaras

On 05/21/2010 02:03 AM, Canek Peláez Valdés wrote:

On Thu, May 20, 2010 at 5:08 PM, Nikos Chantziaras  wrote:

Because as soon as you disable ALSA dmix and/or Pulse, suddenly you get
acceptable sound latency.

With OSS4, which has in-kernel mixing, it doesn't matter if you enable the
mixer or disable it; sound always has acceptable latency.


By that reasoning, the GUI should be in-kernel too. It would be then
really responsive al the time. I don't buy the argument.


Then why does dmix lag?



Thus, I can only conclude that mixing has to happen in-kernel.  But I base
this only on the ALSA/Pulse vs OSS4 comparison.  It could also be that the
user-space implementation of ALSA just sucks.  But that's hard to believe,
since if that were the case they would have fixed it several years ago
already.


No, it doesn't has to happen in-kernel; all the linux based phones
(which deal primarily with, you know, audio, including heavy use of
multimedia) use PulseAudio. And these are not very powerful machines;
so if the mixing in user space works in low powered devices, it must
work everywhere. I don't buy this argument either.


Then why does dmix lag?



It sounds reasonable from a designer's point of view.  But a system is
useless if it's only designed good but doesn't actually work in a
satisfactory manner.


It works for me, I repeat, and for a lot of other folks too. It's not
only a design decision made because it's "elegant"; it's made because
it works "in a satisfactory manner" (ex. me, others, Linux phones),
and because it's more flexible: put it in the kernel, and you loose
the capacity to do important changes and extensions (specially with
the way the Linux kernel development works).


Why on earth would you want to put it in the kernel in the first place? 
 That has nothing to do with the low level mixer.




In short, because it works "in a satisfactory manner" (to me and many
others, including all the N900 and Android users out there), I also
don't buy this argument.


Sorry, that just pretentious of you here.  PulseAudio is the most flamed at,
hated, sound-related software around.  And this is because it does *not*
work for many, many users, and the first thing they try to do is find out
how to disable the thing.


Sorry, but I believe the you are the one being pretentious; how long
has been since you tried PulseAudio? It has come a lng way, and I
haven't seen any real flames against PulseAudio in many months (and
it's enabled in all major distributions). And that is because it's
working (I repeat my words) "for me and many more".


I've tried it 6 days ago.  Ubuntu 10.04.  It's still a laggy, buggy, 
pile of .  First thing I did was to disable it.




You're mistaken in that a mixer should be in the same boat as network
streaming, bluetooth, etc, etc.  I believe the *mixer* should be in-kernel.
  Everything else doesn't need to be.  PulseAudio's extreme latency problems
(which even upstream admits can't be fixed easily) stem from that.


I respectfully disagree; the kernel should pass along data and
messages to the sound hardware, and everything else (*including
mixing*) should be in user space. Not only in theory from an academic
and aesthetic point of view; *it also works*, to me, to many users who
doesn't complain (despite PulseAudio being used by default in ALL
major distributions), and to ALL the users of Android and MeeGo.


Yes, you and many people also find it acceptable to run their games with 
10FPS, or to take their systems 1 minute to boot, etc.


I am not one of those people.  I don't like it when the sound lags.  You 
may claim that it doesn't bother you.  But you can't claim that it 
doesn't happen.




And to finish, I don't know how much you know about technical
decisions and design, but I know that Linus refused to accept OSS4 in
the kernel, I know that all major distributions decided to go with
PulseAudio, and I know that Intel, Nokia and Google are betting for
it.


That doesn't mean ALSA is better.



So, no offense, but I trust more in those guys and the arguments I
have heard from them. And the consensus with them is to use
PulseAudio, and leave the mixing in user space.


Then why don't they fix it?  It's still crap after all this time.




[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-21 Thread Nikos Chantziaras

On 05/21/2010 09:26 PM, Canek Peláez Valdés wrote:

On Fri, May 21, 2010 at 2:02 AM, Nikos Chantziaras  wrote:

Then why does dmix lag?
Then why does dmix lag?


I don't know; I don't care. I don't use dmix, I use PulseAudio, and it
takes care of everything in user space and I don't have to worry about
anything.


I've tried it 6 days ago.  Ubuntu 10.04.  It's still a laggy, buggy, pile of
.  First thing I did was to disable it.


It doesn't lag here. It's rock solid stable. In all my computers, each
one with completely different sound hardware. And I'm just using the
ebuilds from Gentoo; I didn't configure *anything*. I didn't have to.

Maybe Ubuntu has something wrong: Lennart complained that they "didn't get it":

http://0pointer.de/blog/projects/pa-in-ubuntu.html


Yes, you and many people also find it acceptable to run their games with
10FPS, or to take their systems 1 minute to boot, etc.


My games doesn't run at 10FPS, my laptop boot in seconds (and usually
it's always suspended), my desktop and media center (specially the
latter) boot very quickly also. Please don't speak about something you
don't know anything about.


I am not one of those people.  I don't like it when the sound lags.  You may
claim that it doesn't bother you.  But you can't claim that it doesn't
happen.


I can claim it: it doesn't happen *to me*. It works beautifully. I'm
using Gentoo, with the following versions:

media-sound/pulseaudio-0.9.21.1
sys-kernel/vanilla-sources-2.6.32.9

My sound card is :

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 03)

(I'm on my laptop; don't have the specs of my desktop or media center,
but the versions at least should be the same).

I simply don't have any sound lags.


That doesn't mean ALSA is better.


Again, I trust more the technical judgement from the kernel
developers. No offense.


Then why don't they fix it?  It's still crap after all this time.


It's not in my case. Not at all. But (as I said in my last mail), this
is Open Source; if you think it's crap, you can try to fix it.

All I'm saying is that PulseAudio is a great sound architecture for
Linux. It works great for me, in several hardware configurations; and
in particular in my Media Center, which is my principal medium to
listen to music. And I trust the judgement of the ones that decided to
use ALSA+PulseAudio.

Regards.


All of this boils down to what you should have said in the beginning:

It works for *you*.

You don't mind the lag (there is lag, no way around it, you just don't 
mind because you're not using software that needs good latency, like 
software synthesizers) but I do.  So stop trying to convince me that it 
works for me too.  To use your own words, please don't speak about 
something you don't know anything about.  As I see it, if I have to use 
ALSA's OSS-compatibility to get acceptable results, why not use the real 
thing instead?





[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-21 Thread Nikos Chantziaras

On 05/21/2010 10:38 PM, Volker Armin Hemmann wrote:

On Freitag 21 Mai 2010, Nikos Chantziaras wrote:


You don't mind the lag (there is lag, no way around it, you just don't
mind because you're not using software that needs good latency, like
software synthesizers) but I do.  So stop trying to convince me that it
works for me too.  To use your own words, please don't speak about
something you don't know anything about.  As I see it, if I have to use
ALSA's OSS-compatibility to get acceptable results, why not use the real
thing instead?


h,mm, lets see - because oss4 is broken by design?


No it's not broken.  It's awesome:

http://insanecoding.blogspot.com/2009/06/state-of-sound-in-linux-not-so-sorry.html



Also, what 'latency' are you talking about?


Latency is the delay between giving the order to play a sound and the 
sound actually being played.  It's usually around 30ms here with 
ALSA/dmix, and around 10ms with OSS/vmix.  It's not funny trying to play 
something in a software synth with a keyboard when having a 30ms latency.





[gentoo-user] Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras
I decided to test PulseAudio on Gentoo since someone claimed the reason 
PulseAudio has a "it blows chunks" reputation because of Ubuntu shipping 
it with a broken configuration.


So, I did:

  USE="alsa pulseaudio -oss" emerge -auDNl --with-bdeps=y world

This installed PulseAudio and rebuilt all applications to drop OSS 
support and use ALSA or Pulse instead.


I also took a look at this:

  http://en.gentoo-wiki.com/wiki/PulseAudio

and did the "usermod -a -G plugdev pulse" thing.

I rebooted with an ALSA-enabled kernel and with OSSv4 completely 
removed.  But it doesn't work; everything can use ALSA OK, but not PA. 
For example, "mplayer -ao pulse video.mkv" says:


  socket(): Address family not supported by protocol

What now?




[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:


This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.



sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.html

PA does not work without ConsoleKit, yet the ebuild did not pull CK as a 
dep :-/  Will file a bug about it.


As for the results, it's pretty much as I expected: latency cannot 
compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix 
though, which is surprising.


Another problem: Amarok 2 stopped working.  That is, it loads OK, but 
there's no sound at all when playing something with the Xine backend. 
The Gstreamer backend works, but (as always) sound quality sucks (pops 
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to 
set "audio.driver:alsa" in ~/.xine/config, but to no avail; still no sound.





[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.


sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.html

PA does not work without ConsoleKit, yet the ebuild did not pull CK as a
dep :-/  Will file a bug about it.

As for the results, it's pretty much as I expected: latency cannot
compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix
though, which is surprising.

Another problem: Amarok 2 stopped working.  That is, it loads OK, but
there's no sound at all when playing something with the Xine backend.
The Gstreamer backend works, but (as always) sound quality sucks (pops
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to
set "audio.driver:alsa" in ~/.xine/config, but to no avail; still no sound.


yeah, with that set it tries to use alsa, not PA.


"audio.driver:pulse" also doesn't work :-/



Why again are you wasting your time with PA?


Because people claim ALSA+Pulse is better than OSS4.  So I ought to 
actually try it "with a correct setup, unlike the broken Ubuntu setup", 
or else everyone will keep saying I don't know what I'm talking about.





[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 02:37 PM, David W Noon wrote:

On Sat, 22 May 2010 12:10:02 +0200, Nikos Chantziaras wrote about
[gentoo-user] Can't get PulseAudio to work:

[snip]

I rebooted with an ALSA-enabled kernel and with OSSv4 completely
removed.  But it doesn't work; everything can use ALSA OK, but not PA.
For example, "mplayer -ao pulse video.mkv" says:

   socket(): Address family not supported by protocol

What now?


Have you started the PulseAudio daemon?


There is none:

  ls /etc/init.d/*pulse*
  ls: cannot access /etc/init.d/*pulse*: No such file or directory

but it seems to start on its own, and in any case I solved that issue as 
I wrote in my other post.





[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.


sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.htm
l

PA does not work without ConsoleKit, yet the ebuild did not pull CK as a
dep :-/  Will file a bug about it.

As for the results, it's pretty much as I expected: latency cannot
compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix
though, which is surprising.

Another problem: Amarok 2 stopped working.  That is, it loads OK, but
there's no sound at all when playing something with the Xine backend.
The Gstreamer backend works, but (as always) sound quality sucks (pops
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to
set "audio.driver:alsa" in ~/.xine/config, but to no avail; still no
sound.


yeah, with that set it tries to use alsa, not PA.


"audio.driver:pulse" also doesn't work :-/


Why again are you wasting your time with PA?


Because people claim ALSA+Pulse is better than OSS4.  So I ought to
actually try it "with a correct setup, unlike the broken Ubuntu setup",
or else everyone will keep saying I don't know what I'm talking about.


really? There are people claiming that? ok, everything is better than OSS4 -
but PA? That crap is almost as bad as ESD.


Well if I'm going to use ALSA I need something that gives me 
per-application volume control since ALSA is too broken to even provide 
that while the rest of the world moved on.





[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 04:03 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.


sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.h
tm l

PA does not work without ConsoleKit, yet the ebuild did not pull CK as
a dep :-/  Will file a bug about it.

As for the results, it's pretty much as I expected: latency cannot
compete with OSS4's vmix.  But it isn't worse than stand-alone
ALSA+dmix though, which is surprising.

Another problem: Amarok 2 stopped working.  That is, it loads OK, but
there's no sound at all when playing something with the Xine backend.
The Gstreamer backend works, but (as always) sound quality sucks (pops
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried
to set "audio.driver:alsa" in ~/.xine/config, but to no avail; still
no sound.


yeah, with that set it tries to use alsa, not PA.


"audio.driver:pulse" also doesn't work :-/


Why again are you wasting your time with PA?


Because people claim ALSA+Pulse is better than OSS4.  So I ought to
actually try it "with a correct setup, unlike the broken Ubuntu setup",
or else everyone will keep saying I don't know what I'm talking about.


really? There are people claiming that? ok, everything is better than
OSS4 - but PA? That crap is almost as bad as ESD.


Well if I'm going to use ALSA I need something that gives me
per-application volume control since ALSA is too broken to even provide
that while the rest of the world moved on.


oh yeah, one other thing:
http://alsa.opensrc.org/index.php/Softvol

ALSA CAN control the volume of every single app. You just choose to ignore it.
Or you chose not to look for it. Either way, it is there.

Without the inherent brokenness of OSS4


You live in your own little world, Armin.  That has nothing to do with 
per-app volume.  You're as ignorant as ever and I must ask myself why I 
choose to waste time talking with you, over and over again.


This discussion is over.  Welcome to my killfile.

*plonk*




[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 07:59 PM, Canek Peláez Valdés wrote:

On Sat, May 22, 2010 at 1:21 AM, Nikos Chantziaras  wrote:

Latency is the delay between giving the order to play a sound and the sound
actually being played.  It's usually around 30ms here with ALSA/dmix, and
around 10ms with OSS/vmix.  It's not funny trying to play something in a
software synth with a keyboard when having a 30ms latency.


As I said, you're doing it wrong. No "normal" (average desktop, media
center, laptop, linux-phone) user needs 10ms of latency in audio.
That's overkill. Yours is a special case, and you need special
software. Try Jack.


I don't do professional audio.  I have a normal PC.  And just like I 
sometimes use a synth in Windows (I'm just a hobbyist), I'd like to do 
the same in Linux.


Windows: I don't need Jack there.  Audio latency is low even with 
non-ASIO drivers.


Linux: I suddenly need "Jack" and specialty hacks and must do without a 
mixer!  No thanks.  OSSv4 allows me to use my machine in the same manner 
as Windows: It just works and does the right thing regardless of the 
application I'm running.


ALSA/Pulse needing third-party stuff just to get basics right 
(acceptable latency; not *ultra* low latency, just acceptable one) is a 
sign that they're not designed right.


And OSS4 dying because of kernel-mixing is a bit far-stretched.  "No FP 
mixing in kernel" is Linux-specific.  Other kernels don't have a problem 
with that.


And in the end, you know what?  Even if OSS4 had a broken design, it's 
still better, because it works better.  At least it gets the basics 
right.  Other operating systems are much more advanced in that manner. 
It's ALSA that holds Linux audio back.





[gentoo-user] Re: change memory speed?

2010-06-03 Thread Nikos Chantziaras

On 06/03/2010 10:20 AM, Grant wrote:

I have my DDR800 RAM specifically set to DDR800 in the BIOS, but I get:

# lshw -short -C memory
H/W path  Device   Class  Description
=
/0/0   memory 64KiB BIOS
/0/3/5 memory 256KiB L1 cache
/0/3/6 memory 1MiB L2 cache
/0/24  memory 4GiB System Memory
/0/24/0memory 2GiB DIMM DDR2 Synchronous 400 MHz (2.5 ns)
/0/24/1memory 2GiB DIMM DDR2 Synchronous 400 MHz (2.5 ns)
/0/24/2memory DIMM [empty]
/0/24/3memory DIMM [empty]
/0/4   memory RAM memory
/0/1.2 memory RAM memory
/0/1.4 memory RAM memory

Does anyone know how to set the memory speed to 800 Mhz?


DDR800 runs at 400Mhz, so everything is fine.

For more details:

  http://en.wikipedia.org/wiki/DDR2_SDRAM#Chips_and_modules




  1   2   3   4   5   6   7   8   9   10   >