Re: [gentoo-user] Extended file attributes: ext4

2012-04-10 Thread Stroller

On 9 April 2012, at 15:09, Michael Mol wrote:
 … 
 So, ext2's extended attribute set listed support for compression
 (among other things), but it wasn't implemented. … 
 
 Digging into the kenrel source for ext4 in linux-3.2.1.-gentoo-r2,
 there are symbols defined for managing compression, but they're not
 used. In short, compression support is specced, but not implemented.

Many thanks. I appreciate your interest.

Stroller.




Re: [gentoo-user] Extended file attributes: ext4

2012-04-10 Thread Stroller

On 9 April 2012, at 13:04, Canek Peláez Valdés wrote:
 … 
 This means ext4 mandatory if you want to use it, and this (usually)
 means GRUB2, which is still considered beta.
 
 … 
 Interesting. Do you have extents enabled in the filesystem? Mine does:
 
 # tune2fs -l /dev/sda4 | grep features
 Filesystem features:  has_journal ext_attr resize_inode dir_index
 filetype needs_recovery extent sparse_super large_file uninit_bg

# df -Th
Filesystem Type  Size  Used Avail Use% Mounted on
rootfs rootfs228G  5.8G  211G   3% /
/dev/root  ext4  228G  5.8G  211G   3% /
devtmpfs   devtmpfs  875M  212K  875M   1% /dev
rc-svcdir  tmpfs 1.0M   60K  964K   6% /lib64/rc/init.d
cgroup_roottmpfs  10M 0   10M   0% /sys/fs/cgroup
shmtmpfs 876M 0  876M   0% /dev/shm
# tune2fs -l /dev/root | grep extent
Filesystem features:  has_journal ext_attr resize_inode dir_index filetype 
needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg 
dir_nlink 

 I was under the impression that GRUB legacy could not read ext4
 filesystems with extents enabled; that was the primary reason I
 migrated to GRUB2. I believe there is a patch for GRUB legacy which
 adds ext4+extents support, but I don't think Gentoo applies it.

No idea where it comes from, but you can see for yourself now you know to look.

Stroller.




Re: [gentoo-user] User can mount/umount but not write to top the new drive

2012-04-10 Thread Stroller

On 9 April 2012, at 20:59, Mark Knecht wrote:
 … 
  In the past I've gotten around this by having root mount the drive
 and then change ownership to mark:users once it's mounted. Linux
 remembers I've done that once and no longer requires me to do anything
 else as root.
 
   Is that truly required or is there a way to give the user access to
 the top of the new mount point without roots' involvement?


I recall having exactly this problem years ago, and having had it explained to 
me here on this list.

I'm sure that if you *once* chmod / chown as root, then the permissions will be 
remembered correctly forever after. If you unmount and remount the drive, 
reboot the computer or whatever, the user will be able to write to the drive.

Do double  triple check this because, although I'm certainly fallible, I feel 
certain of this.

If I'm mistaken I guess you could do something involving udev mounting rules.

Note that if you use the same USB drive on different computers (or dual-boot 
different distros) then you have to be aware of user name vs. user ID number.

Stroller.




[gentoo-user] PCI video cards, hardware accel, upported by open-source drivers?

2012-04-10 Thread Walter Dnes
  With the recent speed bump on my ADSL service from 5 megabps to 6
(don't laugh), I can now download 1080p Youtube Flash videos almost fast
enough to keep up.  E.g. a 20 or 25 second headstart will allow me to
play a 5 minute video before it has to buffer.  On some html5 videos
(Firefox with USE=webm), The download is actually a touch faster than
the playback, and there's no buffering at all.

  Some of you may remember my struggles to get my 4-year-old Dell to
eventually display hockey games on NHL GameCenter even at the lowest
available speed using the onboard Intel GPU.  Well, I can play the HD
Youtube videos with the small player or large player, but fullscreen
is hopeless.  The onboard GPU can't keep up.  So I'm looking at getting
a PCI video card.  Any relatively new PCI video card that is supported
by an open-source driver, including hardware acceleration?  Any
experiences, good/bad/so-so?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] User can mount/umount but not write to top the new drive

2012-04-10 Thread Alan McKinnon
On Tue, 10 Apr 2012 12:18:38 +0100
Stroller strol...@stellar.eclipse.co.uk wrote:

 
 On 9 April 2012, at 20:59, Mark Knecht wrote:
  … 
   In the past I've gotten around this by having root mount the drive
  and then change ownership to mark:users once it's mounted. Linux
  remembers I've done that once and no longer requires me to do
  anything else as root.
  
Is that truly required or is there a way to give the user access
  to the top of the new mount point without roots' involvement?
 
 
 I recall having exactly this problem years ago, and having had it
 explained to me here on this list.
 
 I'm sure that if you *once* chmod / chown as root, then the
 permissions will be remembered correctly forever after. If you
 unmount and remount the drive, reboot the computer or whatever, the
 user will be able to write to the drive.
 
 Do double  triple check this because, although I'm certainly
 fallible, I feel certain of this.
 
 If I'm mistaken I guess you could do something involving udev
 mounting rules.
 
 Note that if you use the same USB drive on different computers (or
 dual-boot different distros) then you have to be aware of user name
 vs. user ID number.
 
 Stroller.
 
 

You are correct. 

chown the mount point and the top-level . directory on the disk and
that is what is used in future.

Fancy software like udev and DEs may undo all of that work, but without
their input the above is what works.




-- 
Alan McKinnnon
alan.mckin...@gmail.com




[gentoo-user] Re: PCI video cards, hardware accel, upported by open-source drivers?

2012-04-10 Thread Nikos Chantziaras

On 10/04/12 14:26, Walter Dnes wrote:

   With the recent speed bump on my ADSL service from 5 megabps to 6
(don't laugh), I can now download 1080p Youtube Flash videos almost fast
enough to keep up.  E.g. a 20 or 25 second headstart will allow me to
play a 5 minute video before it has to buffer.  On some html5 videos
(Firefox with USE=webm), The download is actually a touch faster than
the playback, and there's no buffering at all.

   Some of you may remember my struggles to get my 4-year-old Dell to
eventually display hockey games on NHL GameCenter even at the lowest
available speed using the onboard Intel GPU.  Well, I can play the HD
Youtube videos with the small player or large player, but fullscreen
is hopeless.  The onboard GPU can't keep up.  So I'm looking at getting
a PCI video card.  Any relatively new PCI video card that is supported
by an open-source driver, including hardware acceleration?  Any
experiences, good/bad/so-so?


This is a CPU problem, not GPU.  Try to install 
media-video/smplayer-0.8.0 (older versions don't support YouTube), and 
open the YouTube video link in it.  In the preferences (performance 
section) you can select the quality at which to open the videos.





Re: [gentoo-user] Re: PCI video cards, hardware accel, upported by open-source drivers?

2012-04-10 Thread Michael Mol
On Tue, Apr 10, 2012 at 10:08 AM, Nikos Chantziaras rea...@gmail.com wrote:
 On 10/04/12 14:26, Walter Dnes wrote:

   With the recent speed bump on my ADSL service from 5 megabps to 6
 (don't laugh), I can now download 1080p Youtube Flash videos almost fast
 enough to keep up.  E.g. a 20 or 25 second headstart will allow me to
 play a 5 minute video before it has to buffer.  On some html5 videos
 (Firefox with USE=webm), The download is actually a touch faster than
 the playback, and there's no buffering at all.

   Some of you may remember my struggles to get my 4-year-old Dell to
 eventually display hockey games on NHL GameCenter even at the lowest
 available speed using the onboard Intel GPU.  Well, I can play the HD
 Youtube videos with the small player or large player, but fullscreen
 is hopeless.  The onboard GPU can't keep up.  So I'm looking at getting
 a PCI video card.  Any relatively new PCI video card that is supported
 by an open-source driver, including hardware acceleration?  Any
 experiences, good/bad/so-so?


 This is a CPU problem, not GPU.  Try to install media-video/smplayer-0.8.0
 (older versions don't support YouTube), and open the YouTube video link in
 it.  In the preferences (performance section) you can select the quality
 at which to open the videos.

Yes and no. You can use GPU acceleration for video decoding. I'd
suggest the low-end nVidia GeForce cards, as any nVidia card from the
last couple years will do hardware h264 decode (which even Linux
versions of Flash will take advantage of, now), but I don't think the
novou drivers implement vdpau support yet.

My favorite is the nVidia GeForce 210; cheap and effective. I picked
up a couple of them retail for $50 USD. At the time, I think there
were PCI versions available, but I don't know if that's still true.

-- 
:wq



Re: [gentoo-user] Extended file attributes: ext4

2012-04-10 Thread Canek Peláez Valdés
On Tue, Apr 10, 2012 at 6:00 AM, Stroller
strol...@stellar.eclipse.co.uk wrote:

 On 9 April 2012, at 13:04, Canek Peláez Valdés wrote:
 …
 This means ext4 mandatory if you want to use it, and this (usually)
 means GRUB2, which is still considered beta.

 …
 Interesting. Do you have extents enabled in the filesystem? Mine does:

 # tune2fs -l /dev/sda4 | grep features
 Filesystem features:      has_journal ext_attr resize_inode dir_index
 filetype needs_recovery extent sparse_super large_file uninit_bg

 # df -Th
 Filesystem     Type      Size  Used Avail Use% Mounted on
 rootfs         rootfs    228G  5.8G  211G   3% /
 /dev/root      ext4      228G  5.8G  211G   3% /
 devtmpfs       devtmpfs  875M  212K  875M   1% /dev
 rc-svcdir      tmpfs     1.0M   60K  964K   6% /lib64/rc/init.d
 cgroup_root    tmpfs      10M     0   10M   0% /sys/fs/cgroup
 shm            tmpfs     876M     0  876M   0% /dev/shm
 # tune2fs -l /dev/root | grep extent
 Filesystem features:      has_journal ext_attr resize_inode dir_index 
 filetype needs_recovery extent flex_bg sparse_super large_file huge_file 
 uninit_bg dir_nlink

 I was under the impression that GRUB legacy could not read ext4
 filesystems with extents enabled; that was the primary reason I
 migrated to GRUB2. I believe there is a patch for GRUB legacy which
 adds ext4+extents support, but I don't think Gentoo applies it.

 No idea where it comes from, but you can see for yourself now you know to 
 look.

OK, I went out and did my homework. GRUB legacy upstream doesn't
support ext4 partitions (using extents, of course; without extents,
they can be mounted as ext3), but Gentoo (as almost any other
distribution under the sun) applies a patch to support it. Actually,
it applies 37 patches, contained in grub-0.97-patches-1.12.tar.bz2,
one of them called 850_all_grub-0.97_ext4.patch, which says:

Gentoo bug #250829 - Include support for booting from ext4 partitions.

This is the respun and tested patch adapted from
http://code.google.com/p/grub4ext4/ so that it will apply with the rest of the
Gentoo patches.

Tested with:
/boot on ext2
/boot on ext3
/boot on ext4
/ on ext4 (no seperate /boot)

Patch ported by Diego E. Pettenò (flameeyes)
Testing by Robin H. Johnson (robbat2)

Signed-off-by:  Diego E. 'Flameeyes' Pettenò flamee...@gentoo.org
Signed-off-by: Robin H. Johnson robb...@gentoo.org

So mistery solved: GRUB legacy in Gentoo supports ext4, but it differs
from upstream. When I was doing research for converting my filesystem
to ext4, everywhere I looked it said that GRUB legacy doesn't support
ext4... because it doesn't. Gentoo patches the sources, but upstream
GRUB legacy does not support ext4.

So I can finally stop telling people to migrate to GRUB2 if they want
to use ext4. Thanks Stroller.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] PCI video cards, hardware accel, upported by open-source drivers?

2012-04-10 Thread Stroller

On 10 April 2012, at 12:26, Walter Dnes wrote:
  With the recent speed bump on my ADSL service from 5 megabps to 6
 (don't laugh), I can now download 1080p Youtube Flash videos almost fast
 enough to keep up.  E.g. a 20 or 25 second headstart will allow me to
 play a 5 minute video before it has to buffer.  On some html5 videos
 (Firefox with USE=webm), The download is actually a touch faster than
 the playback, and there's no buffering at all.
 
  Some of you may remember my struggles to get my 4-year-old Dell to
 eventually display hockey games on NHL GameCenter even at the lowest
 available speed using the onboard Intel GPU.  Well, I can play the HD
 Youtube videos with the small player or large player, but fullscreen
 is hopeless.

Have you tried net-misc/youtube-dl ?

This may not be a direct answer to your question, but youtube-dl allows you to 
select the video's encoding and quality (-f and -F options) and just grab the 
video as an MP4 or .flv file.

You may find the video plays more smoothly without the overhead (??) of being 
played in a browser (or by a browser plig-in). When you've downloaded with 
youtube-dl you can then just double-click on it and open in mplayer or vlc - at 
least you get the choice of video players that way, and you may find one of 
them smoother and less sputtery.

I'm sceptical over the benefits of upgrading a 4 year old PC (short of ripping 
most all the guts out and starting again). I know the industry has currently 
settled on PCIe, but haven't bus speeds increased in the last 4 years? Are all 
the latest cards compatible with your Dell? If not, then you'll probably end up 
buying an older model, and then that will be sub-optimal when you want to 
upgrade your motherboard in a year's time.

I'm sorry if this reply is unhelpful, but you give a lot of information, and 
perhaps that means you might be open to considering alternative solutions to 
the core problem.

Stroller.




[gentoo-user] Re: PCI video cards, hardware accel, upported by open-source drivers?

2012-04-10 Thread Nikos Chantziaras

On 10/04/12 17:19, Michael Mol wrote:

On Tue, Apr 10, 2012 at 10:08 AM, Nikos Chantziarasrea...@gmail.com  wrote:

On 10/04/12 14:26, Walter Dnes wrote:


   With the recent speed bump on my ADSL service from 5 megabps to 6
(don't laugh), I can now download 1080p Youtube Flash videos almost fast
enough to keep up.  E.g. a 20 or 25 second headstart will allow me to
play a 5 minute video before it has to buffer.  On some html5 videos
(Firefox with USE=webm), The download is actually a touch faster than
the playback, and there's no buffering at all.

   Some of you may remember my struggles to get my 4-year-old Dell to
eventually display hockey games on NHL GameCenter even at the lowest
available speed using the onboard Intel GPU.  Well, I can play the HD
Youtube videos with the small player or large player, but fullscreen
is hopeless.  The onboard GPU can't keep up.  So I'm looking at getting
a PCI video card.  Any relatively new PCI video card that is supported
by an open-source driver, including hardware acceleration?  Any
experiences, good/bad/so-so?



This is a CPU problem, not GPU.  Try to install media-video/smplayer-0.8.0
(older versions don't support YouTube), and open the YouTube video link in
it.  In the preferences (performance section) you can select the quality
at which to open the videos.


Yes and no. You can use GPU acceleration for video decoding.


Not with Adobe Flash on an Intel GPU.  His problem is that Flash uses 
way too much CPU, and mplayer (which SMPlayer is using) does not.  It's 
really a CPU problem.





Re: [gentoo-user] KDE compose key with Fluxbox

2012-04-10 Thread Philip Webb
120409 Mick wrote:
 On Monday 09 Apr 2012 20:35:33 Philip Webb wrote:
 The gruesome details cb found in KDE bug 294949 .
 I add the second keyboard as Option XkbLayout in my xorg.conf
 and Option XkbOptions grp:alt_shift_toggle,grp_led:scroll
 to be able to use Alt+Shift to activate it.

That's useful if you sometimes use one language  sometimes another,
but I simply want to insert Greek words into an otherwise English text,
which I can do easily with Gvim, but can't get to work in Kwrite/Kate.

I've done some further investigation which is described under the bug above
 it seems clear it really is a bug in KDE, ie for compose-key to work
you have to be running the full KDE desktop, not eg Fluxbox,
which conflicts with KDE's claim to be a software collection.

Any other suggestions wb welcome, but please check the KDE bug first.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Openvz Vserver

2012-04-10 Thread siefke_lis...@web.de
Hello,


i have Vserver from Strato. I want installed Gentoo, because i like Gentoo.
I have found two Howtos, but what i not really understand, what is with the
Kernel and Grub, i can nothing read there. Or understand i something wrong?

Have someone experience with it?


Thanks, Regards
Silvio 




[gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Alex Schuster
Hi there!

Recently, PulseAudio got installed. Seems like gnome-settings-daemon
version 3 no longer has the pulseaudio use flag, so it wants pulseaudio,
which needs alsa-plugins built with the pulseaudio use flag. I wouldn't
mind using PulseAudio, but ist starts automatically when I play movies,
and I get no sound output in mplayer or VLC. And there are weird side
effects, sometimes playback stops, I have to make it run again by
skipping back and forward. Sometimes videos play much faster than normal.

So I would like to get rid of it. Is this possible? I don't really use
Gnome, but I like to have it to see how it develops. And I wouldn't like
to remove it just because of a sound problem.

Maybe the PulseAudio problem is the same as I had with ALSA, I have two
internal cards, and I had to tell ALSA not to prefer the SPDIF one.
Maybe I have to do the same with PulseAudio, but I do not know how. And
the weird playback effects are spooky, I'd prefer to keep things as they
are, at the moment I'm happy with plain ALSA.

And what is starting the pulseaudio process? I can kill it, but it comes
back the next time I run mplayer. Is there a way to just disable it?

Wonko



Re: [gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Canek Peláez Valdés
On Tue, Apr 10, 2012 at 9:28 PM, Alex Schuster wo...@wonkology.org wrote:
 Hi there!

 Recently, PulseAudio got installed. Seems like gnome-settings-daemon
 version 3 no longer has the pulseaudio use flag, so it wants pulseaudio,
 which needs alsa-plugins built with the pulseaudio use flag. I wouldn't
 mind using PulseAudio, but ist starts automatically when I play movies,
 and I get no sound output in mplayer or VLC. And there are weird side
 effects, sometimes playback stops, I have to make it run again by
 skipping back and forward. Sometimes videos play much faster than normal.

Is MPlayer using PulseAudio? Maybe if it did, the problem would go
away; I have this in my ~/.mplayer/config:

ao=pulse

For sure, VLC has an option to use PA by default also.

 So I would like to get rid of it. Is this possible? I don't really use
 Gnome, but I like to have it to see how it develops. And I wouldn't like
 to remove it just because of a sound problem.

GNOME 3 depends (strongly, I think) on PulseAudio; you don't say which
version of GNOME are you using, but in GNOME 2 PA was optional.

 Maybe the PulseAudio problem is the same as I had with ALSA, I have two
 internal cards, and I had to tell ALSA not to prefer the SPDIF one.
 Maybe I have to do the same with PulseAudio, but I do not know how.

Try media-sound/pavucontrol; you can select which card the sounds goes
through, and which output to use (HDMI, for example).

 And
 the weird playback effects are spooky, I'd prefer to keep things as they
 are, at the moment I'm happy with plain ALSA.

I don't think it is possible to uninstall completely PA in GNOME 3; I
remember it was possible in GNOME 2.

 And what is starting the pulseaudio process? I can kill it, but it comes
 back the next time I run mplayer. Is there a way to just disable it?

If I recall correctly, the GNOME session manager will keep starting PA
if the daemon dies.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Alex Schuster
Canek Peláez Valdés writes:

 On Tue, Apr 10, 2012 at 9:28 PM, Alex Schuster wo...@wonkology.org wrote:

 Recently, PulseAudio got installed. Seems like gnome-settings-daemon
 version 3 no longer has the pulseaudio use flag, so it wants pulseaudio,
 which needs alsa-plugins built with the pulseaudio use flag. I wouldn't
 mind using PulseAudio, but ist starts automatically when I play movies,
 and I get no sound output in mplayer or VLC. And there are weird side
 effects, sometimes playback stops, I have to make it run again by
 skipping back and forward. Sometimes videos play much faster than normal.
 
 Is MPlayer using PulseAudio? Maybe if it did, the problem would go
 away; I have this in my ~/.mplayer/config:
 
 ao=pulse
 For sure, VLC has an option to use PA by default also.

Oh, I think it does, but there was no sound output. Sorry for not
mentioning this. I had to switch manually to another sound device, HDA
ATI something, I cannot look now because I am not near my desktop PC.

If it would just work, then I could make my players use it if they don't
already. But what about old applications like Quake3, will they still work?

 So I would like to get rid of it. Is this possible? I don't really use
 Gnome, but I like to have it to see how it develops. And I wouldn't like
 to remove it just because of a sound problem.
 
 GNOME 3 depends (strongly, I think) on PulseAudio; you don't say which
 version of GNOME are you using, but in GNOME 2 PA was optional.

GNOME 3. I don't use it, but I wanted to look a little into its desktop
philosophy.

 Maybe the PulseAudio problem is the same as I had with ALSA, I have two
 internal cards, and I had to tell ALSA not to prefer the SPDIF one.
 Maybe I have to do the same with PulseAudio, but I do not know how.
 
 Try media-sound/pavucontrol; you can select which card the sounds goes
 through, and which output to use (HDMI, for example).

Thanks, I just installed it. It shows the HDMI device on top, and only
this on has the green checkbox enabled. Maybe simply activating the
analog port will make it run. I'll see this in a week days when I'm back
at my PC.

 And
 the weird playback effects are spooky, I'd prefer to keep things as they
 are, at the moment I'm happy with plain ALSA.
 
 I don't think it is possible to uninstall completely PA in GNOME 3; I
 remember it was possible in GNOME 2.

It got installed when I emerged GNOME 3, but until end of march
alsa-plugins was not installed. Then pulseaudio went from 1.1-r1 to
1.99.2, since then it needs the alsa-plugins package, and my trouble
started.

 And what is starting the pulseaudio process? I can kill it, but it comes
 back the next time I run mplayer. Is there a way to just disable it?
 
 If I recall correctly, the GNOME session manager will keep starting PA
 if the daemon dies.

Maybe I had a GNOME session running in parallel? I don't think so, but
I'm not sure.

Thanks for the input on this,

Wonko



[gentoo-user] Heads up, remote root vulnerability discovered in Samba

2012-04-10 Thread Paul Hartman
Samba versions 3.6.3 and all versions previous to this are affected
by a vulnerability that allows remote code execution as the root
user from an anonymous connection.

As this does not require an authenticated connection it is the most
serious vulnerability possible in a program, and users and vendors are
encouraged to patch their Samba installations immediately.

More info at:
https://www.samba.org/samba/security/CVE-2012-1182



Re: [gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Canek Peláez Valdés
On Tue, Apr 10, 2012 at 10:12 PM, Alex Schuster wo...@wonkology.org wrote:
 Canek Peláez Valdés writes:

 On Tue, Apr 10, 2012 at 9:28 PM, Alex Schuster wo...@wonkology.org wrote:

 Recently, PulseAudio got installed. Seems like gnome-settings-daemon
 version 3 no longer has the pulseaudio use flag, so it wants pulseaudio,
 which needs alsa-plugins built with the pulseaudio use flag. I wouldn't
 mind using PulseAudio, but ist starts automatically when I play movies,
 and I get no sound output in mplayer or VLC. And there are weird side
 effects, sometimes playback stops, I have to make it run again by
 skipping back and forward. Sometimes videos play much faster than normal.

 Is MPlayer using PulseAudio? Maybe if it did, the problem would go
 away; I have this in my ~/.mplayer/config:

 ao=pulse
 For sure, VLC has an option to use PA by default also.

 Oh, I think it does, but there was no sound output. Sorry for not
 mentioning this. I had to switch manually to another sound device, HDA
 ATI something, I cannot look now because I am not near my desktop PC.

 If it would just work, then I could make my players use it if they don't
 already. But what about old applications like Quake3, will they still work?

Of course. I have been using PulseAudio since it became stable in
Gentoo (circa October 2010); in my experience, making everything sound
related going through PulseAudio makes everything work. Most modern
applications support directly PulseAudio; for the old ones that don't,
you can make all ALSA sound go through PulseAudio like this:

# cat /etc/asound.conf
pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

(If you want it for all users; for your user only, use $HOME/.asoundrc).


 So I would like to get rid of it. Is this possible? I don't really use
 Gnome, but I like to have it to see how it develops. And I wouldn't like
 to remove it just because of a sound problem.

 GNOME 3 depends (strongly, I think) on PulseAudio; you don't say which
 version of GNOME are you using, but in GNOME 2 PA was optional.

 GNOME 3. I don't use it, but I wanted to look a little into its desktop
 philosophy.

But do you use gnome-session? If you are not using gnome-session, I
don't think you can see that much of its desktop philosophy.

 Maybe the PulseAudio problem is the same as I had with ALSA, I have two
 internal cards, and I had to tell ALSA not to prefer the SPDIF one.
 Maybe I have to do the same with PulseAudio, but I do not know how.

 Try media-sound/pavucontrol; you can select which card the sounds goes
 through, and which output to use (HDMI, for example).

 Thanks, I just installed it. It shows the HDMI device on top, and only
 this on has the green checkbox enabled. Maybe simply activating the
 analog port will make it run. I'll see this in a week days when I'm back
 at my PC.

 And
 the weird playback effects are spooky, I'd prefer to keep things as they
 are, at the moment I'm happy with plain ALSA.

 I don't think it is possible to uninstall completely PA in GNOME 3; I
 remember it was possible in GNOME 2.

 It got installed when I emerged GNOME 3, but until end of march
 alsa-plugins was not installed. Then pulseaudio went from 1.1-r1 to
 1.99.2, since then it needs the alsa-plugins package, and my trouble
 started.

Mmmh? I have the latest GNOME 3.2, and I'm still using
media-sound/pulseaudio-1.1-r1. Perhaps you used autounmask? I would
try to go back to 1.1-r1; it's stable, after all, and GNOME doesn't
need the bleeding edge on PulseAudio.

 And what is starting the pulseaudio process? I can kill it, but it comes
 back the next time I run mplayer. Is there a way to just disable it?

 If I recall correctly, the GNOME session manager will keep starting PA
 if the daemon dies.

 Maybe I had a GNOME session running in parallel? I don't think so, but
 I'm not sure.

If you are trying to use any GNOME core technology (like GNOME Shell),
it will for sure start automatically gnome-session, I think. Some
applications can run without it, but many will try to connect to some
desktop session, and maybe some will actually start it. GNOME session
then will keep starting PulseAudio.

I don't understand how do you not use GNOME 3, but you want to see its
desktop philosophy. Do you run KDE or XFCE, and try to run the shell
on top of that?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Alecks Gates
Alecks Gates, sent from Android on an HTC G2
On Apr 11, 2012 12:04 AM, Canek Peláez Valdés can...@gmail.com wrote:

 On Tue, Apr 10, 2012 at 10:12 PM, Alex Schuster wo...@wonkology.org
wrote:
  Canek Peláez Valdés writes:
 
  On Tue, Apr 10, 2012 at 9:28 PM, Alex Schuster wo...@wonkology.org
wrote:
 
  Recently, PulseAudio got installed. Seems like gnome-settings-daemon
  version 3 no longer has the pulseaudio use flag, so it wants
pulseaudio,
  which needs alsa-plugins built with the pulseaudio use flag. I
wouldn't
  mind using PulseAudio, but ist starts automatically when I play
movies,
  and I get no sound output in mplayer or VLC. And there are weird side
  effects, sometimes playback stops, I have to make it run again by
  skipping back and forward. Sometimes videos play much faster than
normal.
 
  Is MPlayer using PulseAudio? Maybe if it did, the problem would go
  away; I have this in my ~/.mplayer/config:
 
  ao=pulse
  For sure, VLC has an option to use PA by default also.
 
  Oh, I think it does, but there was no sound output. Sorry for not
  mentioning this. I had to switch manually to another sound device, HDA
  ATI something, I cannot look now because I am not near my desktop PC.
 
  If it would just work, then I could make my players use it if they don't
  already. But what about old applications like Quake3, will they still
work?

 Of course. I have been using PulseAudio since it became stable in
 Gentoo (circa October 2010); in my experience, making everything sound
 related going through PulseAudio makes everything work. Most modern
 applications support directly PulseAudio; for the old ones that don't,
 you can make all ALSA sound go through PulseAudio like this:

 # cat /etc/asound.conf
 pcm.!default {
type pulse
 }

 ctl.!default {
type pulse
 }

 (If you want it for all users; for your user only, use $HOME/.asoundrc).

I believe this fix is no longer necessary in the latest version of
alsa-plugins, 1.0.25-r1 (with the pulseaudio USE flag of course).
Definitely don't have this config change on my systems.  I recall a blog
post from a couple months ago explaining this fix.


Re: [gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Canek Peláez Valdés
On Tue, Apr 10, 2012 at 11:13 PM, Alecks Gates aleck...@gmail.com wrote:
 Alecks Gates, sent from Android on an HTC G2


 On Apr 11, 2012 12:04 AM, Canek Peláez Valdés can...@gmail.com wrote:

 On Tue, Apr 10, 2012 at 10:12 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Canek Peláez Valdés writes:
 
  On Tue, Apr 10, 2012 at 9:28 PM, Alex Schuster wo...@wonkology.org
  wrote:
 
  Recently, PulseAudio got installed. Seems like gnome-settings-daemon
  version 3 no longer has the pulseaudio use flag, so it wants
  pulseaudio,
  which needs alsa-plugins built with the pulseaudio use flag. I
  wouldn't
  mind using PulseAudio, but ist starts automatically when I play
  movies,
  and I get no sound output in mplayer or VLC. And there are weird side
  effects, sometimes playback stops, I have to make it run again by
  skipping back and forward. Sometimes videos play much faster than
  normal.
 
  Is MPlayer using PulseAudio? Maybe if it did, the problem would go
  away; I have this in my ~/.mplayer/config:
 
  ao=pulse
  For sure, VLC has an option to use PA by default also.
 
  Oh, I think it does, but there was no sound output. Sorry for not
  mentioning this. I had to switch manually to another sound device, HDA
  ATI something, I cannot look now because I am not near my desktop PC.
 
  If it would just work, then I could make my players use it if they don't
  already. But what about old applications like Quake3, will they still
  work?

 Of course. I have been using PulseAudio since it became stable in
 Gentoo (circa October 2010); in my experience, making everything sound
 related going through PulseAudio makes everything work. Most modern
 applications support directly PulseAudio; for the old ones that don't,
 you can make all ALSA sound go through PulseAudio like this:

 # cat /etc/asound.conf
 pcm.!default {
    type pulse
 }

 ctl.!default {
    type pulse
 }

 (If you want it for all users; for your user only, use $HOME/.asoundrc).

 I believe this fix is no longer necessary in the latest version of
 alsa-plugins, 1.0.25-r1 (with the pulseaudio USE flag of course).
 Definitely don't have this config change on my systems.  I recall a blog
 post from a couple months ago explaining this fix.

I would like a link to that blog post. I haven't read anything about it.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Alecks Gates
On Wed, Apr 11, 2012 at 12:41 AM, Canek Peláez Valdés can...@gmail.com wrote:
 On Tue, Apr 10, 2012 at 11:13 PM, Alecks Gates aleck...@gmail.com wrote:
 Alecks Gates, sent from Android on an HTC G2


 On Apr 11, 2012 12:04 AM, Canek Peláez Valdés can...@gmail.com wrote:

 On Tue, Apr 10, 2012 at 10:12 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Canek Peláez Valdés writes:
 
  On Tue, Apr 10, 2012 at 9:28 PM, Alex Schuster wo...@wonkology.org
  wrote:
 
  Recently, PulseAudio got installed. Seems like gnome-settings-daemon
  version 3 no longer has the pulseaudio use flag, so it wants
  pulseaudio,
  which needs alsa-plugins built with the pulseaudio use flag. I
  wouldn't
  mind using PulseAudio, but ist starts automatically when I play
  movies,
  and I get no sound output in mplayer or VLC. And there are weird side
  effects, sometimes playback stops, I have to make it run again by
  skipping back and forward. Sometimes videos play much faster than
  normal.
 
  Is MPlayer using PulseAudio? Maybe if it did, the problem would go
  away; I have this in my ~/.mplayer/config:
 
  ao=pulse
  For sure, VLC has an option to use PA by default also.
 
  Oh, I think it does, but there was no sound output. Sorry for not
  mentioning this. I had to switch manually to another sound device, HDA
  ATI something, I cannot look now because I am not near my desktop PC.
 
  If it would just work, then I could make my players use it if they don't
  already. But what about old applications like Quake3, will they still
  work?

 Of course. I have been using PulseAudio since it became stable in
 Gentoo (circa October 2010); in my experience, making everything sound
 related going through PulseAudio makes everything work. Most modern
 applications support directly PulseAudio; for the old ones that don't,
 you can make all ALSA sound go through PulseAudio like this:

 # cat /etc/asound.conf
 pcm.!default {
    type pulse
 }

 ctl.!default {
    type pulse
 }

 (If you want it for all users; for your user only, use $HOME/.asoundrc).

 I believe this fix is no longer necessary in the latest version of
 alsa-plugins, 1.0.25-r1 (with the pulseaudio USE flag of course).
 Definitely don't have this config change on my systems.  I recall a blog
 post from a couple months ago explaining this fix.

 I would like a link to that blog post. I haven't read anything about it.

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México


Sure, here you go:

http://arunraghavan.net/2012/02/gentoo-pulseaudio-alsa-update/



Re: [gentoo-user] Openvz Vserver

2012-04-10 Thread Florian Philipp
Am 11.04.2012 01:14, schrieb siefke_lis...@web.de:
 Hello,
 
 
 i have Vserver from Strato. I want installed Gentoo, because i like Gentoo.
 I have found two Howtos, but what i not really understand, what is with the
 Kernel and Grub, i can nothing read there. Or understand i something wrong?
 
 Have someone experience with it?
 
 
 Thanks, Regards
 Silvio 
 
 

It's a Linux-VServer. In this setup, all virtual private servers share
the kernel of the host system (It's like a glorified chroot). You don't
need grub. The host system calls /sbin/init. I've followed this howto
for hosting europe:
http://log.pardus.de/2008/04/gentoo-on-1-vserver.html

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Gnome without PulseAudio?

2012-04-10 Thread Canek Peláez Valdés
On Tue, Apr 10, 2012 at 11:49 PM, Alecks Gates aleck...@gmail.com wrote:
 On Wed, Apr 11, 2012 at 12:41 AM, Canek Peláez Valdés can...@gmail.com 
 wrote:
 On Tue, Apr 10, 2012 at 11:13 PM, Alecks Gates aleck...@gmail.com wrote:
 Alecks Gates, sent from Android on an HTC G2


 On Apr 11, 2012 12:04 AM, Canek Peláez Valdés can...@gmail.com wrote:

 On Tue, Apr 10, 2012 at 10:12 PM, Alex Schuster wo...@wonkology.org
 wrote:
  Canek Peláez Valdés writes:
 
  On Tue, Apr 10, 2012 at 9:28 PM, Alex Schuster wo...@wonkology.org
  wrote:
 
  Recently, PulseAudio got installed. Seems like gnome-settings-daemon
  version 3 no longer has the pulseaudio use flag, so it wants
  pulseaudio,
  which needs alsa-plugins built with the pulseaudio use flag. I
  wouldn't
  mind using PulseAudio, but ist starts automatically when I play
  movies,
  and I get no sound output in mplayer or VLC. And there are weird side
  effects, sometimes playback stops, I have to make it run again by
  skipping back and forward. Sometimes videos play much faster than
  normal.
 
  Is MPlayer using PulseAudio? Maybe if it did, the problem would go
  away; I have this in my ~/.mplayer/config:
 
  ao=pulse
  For sure, VLC has an option to use PA by default also.
 
  Oh, I think it does, but there was no sound output. Sorry for not
  mentioning this. I had to switch manually to another sound device, HDA
  ATI something, I cannot look now because I am not near my desktop PC.
 
  If it would just work, then I could make my players use it if they don't
  already. But what about old applications like Quake3, will they still
  work?

 Of course. I have been using PulseAudio since it became stable in
 Gentoo (circa October 2010); in my experience, making everything sound
 related going through PulseAudio makes everything work. Most modern
 applications support directly PulseAudio; for the old ones that don't,
 you can make all ALSA sound go through PulseAudio like this:

 # cat /etc/asound.conf
 pcm.!default {
    type pulse
 }

 ctl.!default {
    type pulse
 }

 (If you want it for all users; for your user only, use $HOME/.asoundrc).

 I believe this fix is no longer necessary in the latest version of
 alsa-plugins, 1.0.25-r1 (with the pulseaudio USE flag of course).
 Definitely don't have this config change on my systems.  I recall a blog
 post from a couple months ago explaining this fix.

 I would like a link to that blog post. I haven't read anything about it.

 Regards.
 --
 Canek Peláez Valdés
 Posgrado en Ciencia e Ingeniería de la Computación
 Universidad Nacional Autónoma de México


 Sure, here you go:

 http://arunraghavan.net/2012/02/gentoo-pulseaudio-alsa-update/

Damn, I read Gentoo Universe and I totally missed that. Cool, thanks,
I will remove the config file.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México