Re: [gentoo-user] merging or fitting images together

2012-05-15 Thread Philip Webb
120515 Philip Webb wrote:
> 120515 Urs Schutz wrote:
>> I just tried with fotoxx.
>> This is a semi-manual process, but I liked the resulting image.

I've installed Fotoxx & it does a very good job !

>> The joint is less visible than on brum-2.jpg.

There's no sign of it on my version :
  http://www.chass.utoronto.ca/~purslow/test/brum-3.jpg

>> It was easy to do an "unbend" after merging
>> and therefore the clock and the face on the image borders stay in the image.

They're on my image, but I can't find out how to turn it into a rectangle.
NB there are noticeable curves at the R-hand edge not in the original:
look at the sidewalk curve & at the building pediment.
Any suggestions ? -- otherwise, this looks like the tool to use.

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




Re: [gentoo-user] Grub2, chroot, initramfs

2012-05-15 Thread Paul Hartman
On Tue, May 15, 2012 at 9:53 PM, Hilco Wijbenga
 wrote:
> On 15 May 2012 19:37, Paul Hartman  wrote:
>> Hi,
>>
>> I'm trying out grub2 for the first time on my old laptop. I'm
>> following the guide at: https://wiki.gentoo.org/wiki/GRUB2_Quick_Start
>> which seems easy enough. Basically just emerge it, install and go.
>>
>> However... two different questions:
>>
>> When I did this from a chroot, I just got the GRUB> prompt upon
>> rebooting... no menu or anything. I can manually type "linux
>> /boot/vmlinuz root=/dev/sda3" and then boot into my system. When I run
>> grub2-mkconfig from within the chroot, I don't get any "Found linux
>> image" lines. It does not create /boot/grub2/grub.cfg but rather
>> grub.cfg.new. So I don't know if it's confused about where /boot is or
>> what. Is there a trick to installing/updating grub2 config from within
>> a chroot?
>
> I don't really understand where the chroot comes into this but ... did
> you add the "-o /boot/grub2/grub.cfg" part? I forgot that bit a few
> times and then couldn't figure out why my changes weren't taking
> effect. :-)

Hehe, yeah, I used that command. I'm installing it from chroot for the
first time because gentoo's bootloader was not yet present on the
machine (only Windows7).



Re: [gentoo-user] Grub2, chroot, initramfs

2012-05-15 Thread Hilco Wijbenga
On 15 May 2012 19:37, Paul Hartman  wrote:
> Hi,
>
> I'm trying out grub2 for the first time on my old laptop. I'm
> following the guide at: https://wiki.gentoo.org/wiki/GRUB2_Quick_Start
> which seems easy enough. Basically just emerge it, install and go.
>
> However... two different questions:
>
> When I did this from a chroot, I just got the GRUB> prompt upon
> rebooting... no menu or anything. I can manually type "linux
> /boot/vmlinuz root=/dev/sda3" and then boot into my system. When I run
> grub2-mkconfig from within the chroot, I don't get any "Found linux
> image" lines. It does not create /boot/grub2/grub.cfg but rather
> grub.cfg.new. So I don't know if it's confused about where /boot is or
> what. Is there a trick to installing/updating grub2 config from within
> a chroot?

I don't really understand where the chroot comes into this but ... did
you add the "-o /boot/grub2/grub.cfg" part? I forgot that bit a few
times and then couldn't figure out why my changes weren't taking
effect. :-)

> Second, when running grub2-mkconfig from within my working gentoo
> system, it fails with "error: failed to get canonical path of
> /dev/root." which is apparently because I don't use an initramfs. I
> must manually run "ln -s /dev/sda3 /dev/boot" before it will work. Is
> there any trick to avoid having to do that every time? For now I have
> simply added that to my after-kernel-update script but I'm curious to
> know if grub2 knows how to handle this on its own somehow.
>
> Thanks,
> Paul
>



[gentoo-user] Grub2, chroot, initramfs

2012-05-15 Thread Paul Hartman
Hi,

I'm trying out grub2 for the first time on my old laptop. I'm
following the guide at: https://wiki.gentoo.org/wiki/GRUB2_Quick_Start
which seems easy enough. Basically just emerge it, install and go.

However... two different questions:

When I did this from a chroot, I just got the GRUB> prompt upon
rebooting... no menu or anything. I can manually type "linux
/boot/vmlinuz root=/dev/sda3" and then boot into my system. When I run
grub2-mkconfig from within the chroot, I don't get any "Found linux
image" lines. It does not create /boot/grub2/grub.cfg but rather
grub.cfg.new. So I don't know if it's confused about where /boot is or
what. Is there a trick to installing/updating grub2 config from within
a chroot?

Second, when running grub2-mkconfig from within my working gentoo
system, it fails with "error: failed to get canonical path of
/dev/root." which is apparently because I don't use an initramfs. I
must manually run "ln -s /dev/sda3 /dev/boot" before it will work. Is
there any trick to avoid having to do that every time? For now I have
simply added that to my after-kernel-update script but I'm curious to
know if grub2 knows how to handle this on its own somehow.

Thanks,
Paul



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-15 Thread Pandu Poluan
On May 15, 2012 7:50 AM, "Dale"  wrote:
>
> Maybe like me, you blabber more than you think:
>
> http://archives.gentoo.org/stats/gentoo-user-per-year.xml
>
> I didn't put them in any certain order but you have fallen a bit tho.
> Someone put alum in your water or something?
>

I blabbed that much??

Gee... I purposefully stay away from piping up in threads related to CUPS,
KDE, Gnome, and other desktop-only stuff, and still end up in the top 5??
o_O

Rgds,


Re: [gentoo-user] merging or fitting images together

2012-05-15 Thread Philip Webb
120515 Urs Schutz wrote:
> I just tried with fotoxx.

I hadn't heard of that one : there are so many pkgs in  media/gfx
that it's difficult to be sure I've checked all photo editors.

> This is a semi-manual process, but I liked the resulting image.

It c~b any more manual than Imagemagick (smile).

> The joint is less visible than on brum-2.jpg.

That wb useful : no doubt, I could adjust one of them with Imagemagick,
but eventually there wb  >= 100  similar merges to do,
so some degree of automation wb very helpful.

> It was easy to do an "unbend" after merging
> and therefore the clock and the face on the image borders stay in the image.

Not a problem with Imagemagick.

> This was my first try to do a panorama in fotoxx
> and it took me less than 5 minutes, much faster than with hugin.
> If you like I send you the image to your private mail.

Please do & thanks for this info.

Does anyone else have suggestions re pkgs or methods ?
-- it does look as if this rather simple task is fairly challenging,
so others may benefit if it's on record here.

I have emerged Gimp & will look at what it can do soon :
it has 'layers', which look like what is needed.

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




Re: [gentoo-user] merging or fitting images together

2012-05-15 Thread Urs Schutz
On Mon, 14 May 2012 22:50:33 -0400
Philip Webb  wrote:

> I tried Hugin, but got nowhere.  I set  6  points on each
> picture, which are  2  overlapping parts of a single
> original negative, but all it offered was a black screen;
> I did follow the on-line help.
> 
> Then I tried Imagemagick & got a good result after a bit
> of fussing. The commands I used were
> 
>   convert -size 1000x760 canvas:black brum-canvas.jpg
>   composite -geometry +0+0 brum-3070.jpg brum-canvas.jpg
> brum-1.jpg composite -geometry +220-8 brum-3068.jpg
> brum-1.jpg brum-2.jpg
> 
> You can see the images at
> http://www.chass.utoronto.ca/~purslow/test/ : they are of
> trams in Colmore Row, Birmingham in May 1953 .
> 
> I still need to light/darken  1  image a bit to hide the
> join, but as a proof of concept this shows it's feasible
> with Imagemagick.
> 
> Any further advice re Hugin is welcome: can anyone do it
> with these photos ?
> 

I just tried with fotoxx: This is a semi-manual process, but
I liked the resulting image. The joint is less visible
than on brum-2.jpg. It was easy to do an "unbend" after
merging, and therefore the clock and the face on the image
borders stay in the image. This was my first try to do a
panorama in fotoxx, and it took me less than 5 minutes,
much faster than with hugin. If you like I send you the
image to your private mail.

Urs



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-15 Thread Peter Humphrey
On Tuesday 15 May 2012 18:25:57 john wrote:

> Would like to thank all guys and girls for posting. Even though I
> post very little myself your posts are always excellent and there is
> plenty to learn from just reading them.
> 
> There are things I can do now which I never thought possible. Thanks

Is this one case in which a me-too message is acceptable? Anyway, I 
second John's gratitude to you all.

-- 
Rgds
Peter



Re: [gentoo-user] Socks-ifying an application

2012-05-15 Thread Mick
On Tuesday 15 May 2012 22:08:17 you wrote:
> On Tue, 15 May 2012 16:57:26 +0100
> Mick  wrote:
 
> > I am not sure if the problem is related to the tsocks LD_PRELOAD
> > error.
> 
> It almost certainly is, tsocks uses LD_PRELOAD to mangle it's magic so
> that stuff works. I believe chromium has severe issues with tsocks
> because of how it does it's sandboxing, but I honestly don't know how
> to get around that.
> 
> On a properly setup Gentoo amd64 system, /lib is a link to /lib64, so
> the error you get is not a path error, the chromium binary really
> cannot (or will not) deal with tsocks.so
> 
> I don't see anything wrong with the rest of your config. I honestly
> think you are dealing with a chromium feature not a chromium bug.
> 
> Have you searched chromium-specific sites to see what others have to
> say?

I haven't yet, because it is not just Chromium that's not working as it is 
supposed to (although it is the most vocal app on the terminal when called 
with tsocks).  I haven't yet found an app which will work with tsocks at all.

The fact that proxychains does not work at all (applications completely ignore 
it and run outside the tunnel) made me question the sanity of my set up.  Is 
there anything other than coincidence that would cause both apps to fail?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] HP A8 laptop install

2012-05-15 Thread Alex Schuster
Hinnerk van Bruinehsen writes:

> On 15.05.2012 11:11, Alex Schuster wrote:
>> Stroller writes:
>>
>>> I boot from a SystemRescueCD and follow the Gentoo quick install guide.
>>>
>>> This has never failed me.
>>
>> For me it did, half a year ago, several packages failed to build due to
>> strange libtool errors. It took me some days until I found the solution:
>> unset path.
>>
>> Libtool uses this variable without unsetting it before, and SystemRescueCD
>> defines it as environment variable, which is still available in the
>> chroot. This messed things up a lot.
[...]
> Did you do env-update && . /etc/profile after entering chroot?
> I always thought that setting the right environment variables was the
> purpose of that.

Sure. But this only _sets_ some environment variables - it does not
unset any other variables you already have defined.

The error is in libtool - it uses a variable without unsetting it first.

Wonko



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-15 Thread Alan McKinnon
On Tue, 15 May 2012 10:01:00 -0700
Mark Knecht  wrote:

> > Maybe like me, you blabber more than you think:
> >
> > http://archives.gentoo.org/stats/gentoo-user-per-year.xml
> >
> > I didn't put them in any certain order but you have fallen a bit
> > tho. Someone put alum in your water or something?
> >
> > ROFL
> >
> > Dale
> >  
> 
> Jeez Am I _STILL_ showing up on this list of high posting people?
> I've honestly worked to get below number 10 and I cannot get there
> apparently... (Too many posts like this I suppose!) ;-)

This gentoo stuff is addictive :-)

Must be the personalities around here. I reckon that anyone who sticks
around here and becomes a regular (regardless of their skill level) has
something special going on inside.

Gentoo-ers all have that DIY attitude, as if they would rather not wait
around for someone else to do all their lifting for them.


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




Re: [gentoo-user] Socks-ifying an application

2012-05-15 Thread Alan McKinnon
On Tue, 15 May 2012 16:57:26 +0100
Mick  wrote:

> On 15 May 2012 15:45, Alan McKinnon  wrote:
> > On Tue, 15 May 2012 10:50:43 +0100
> > Mick  wrote:
> 
> >> $ ssh -D localhost:12465 root@10.10.10.12
> >
> > This part is fine.
> >
> > I tried the next part. It didn't work nicely for me.
> 
> Ah, thanks for this!  It's reassuring to know that it's not just my
> system.  :-)
> 
> 
> > So what I do now is:
> >
> > Firefox + FoxyProxy
> 
> Firefox is less of a problem for me because I can set it up to
> socksify everything.  It is Kmail that I am mostly interested in.
> 
> 
> > I see recent KDE now also supports socks. This is a nice new
> > addition so konqueror can also use it.
> 
> Yes, but it does not work with the current stable kmail.  The new
> KDEPIM is such a nightmare I do not plan moving to it anytime soon.
> It screwed up one box that I tried it on and that's enough for me.
> :-(
> 
> Did you have any success with proxychains?
> 
> I am not sure if the problem is related to the tsocks LD_PRELOAD
> error.

It almost certainly is, tsocks uses LD_PRELOAD to mangle it's magic so
that stuff works. I believe chromium has severe issues with tsocks
because of how it does it's sandboxing, but I honestly don't know how
to get around that.

On a properly setup Gentoo amd64 system, /lib is a link to /lib64, so
the error you get is not a path error, the chromium binary really
cannot (or will not) deal with tsocks.so

I don't see anything wrong with the rest of your config. I honestly
think you are dealing with a chromium feature not a chromium bug.

Have you searched chromium-specific sites to see what others have to
say?



> 
> 
> I also noticed that when I try to set up a proxy server in Chromium
> using the 'under the bonnet' tab, I get this:
> 
> "When running Chromium under a supported desktop environment, the
> system proxy settings will be used. However, either your system is not
> supported or there was a problem while launching your system
> configuration.
> 
> But you can still configure via the command line. Please see man
> chromium-browser for more information on flags and environment
> variables."
> 
> Trying the command line did not fix it:
> 
> [4742:4753:1575546819:ERROR:object_proxy.cc(239)] Failed to call
> method: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.NetworkManager was not provided by any .service files
> 
> That's what made me think that something on my system is not set up
> properly.  :-/
> 
> 
> These are the libtsocks.so files in my system:
> 
> # ls -la /lib*/libtsocks.so
> lrwxrwxrwx 1 root root 14 May 13 15:34 /lib/libtsocks.so ->
> libtsocks.so.1 lrwxrwxrwx 1 root root 14 May 13
> 15:34 /lib64/libtsocks.so -> libtsocks.so.1
> 
> # ls -la /lib/libtsocks.so*
> lrwxrwxrwx 1 root root14 May 13 15:34 /lib/libtsocks.so ->
> libtsocks.so.1 lrwxrwxrwx 1 root root16 May 13
> 15:34 /lib/libtsocks.so.1 -> libtsocks.so.1.8
> -rwxr-xr-x 1 root root 42912 May 13 15:34 /lib/libtsocks.so.1.8
> 
> # ls -la /lib64/libtsocks.so*
> lrwxrwxrwx 1 root root14 May 13 15:34 /lib64/libtsocks.so ->
> libtsocks.so.1 lrwxrwxrwx 1 root root16 May 13
> 15:34 /lib64/libtsocks.so.1 -> libtsocks.so.1.8
> -rwxr-xr-x 1 root root 42912 May 13 15:34 /lib64/libtsocks.so.1.8
> 
> I can't see why it would not load it, unless it should be trying to
> load the '/lib64/libtsocks.so' instead of the '/lib/libtsocks.so' on
> an amd64 system?  Shall I file a bug?



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




Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Michael Mol
On Tue, May 15, 2012 at 3:29 PM, Ignas Anikevicius
 wrote:
> On 15/05/12 20:08, Michael Mol wrote:
>> There are going to be multiple sliders which affect your playback
>> volume. Without seeing a list of your sliders, I couldn't really guess
>> which, beyond 'Master', 'PCM' and 'Headphone'. There may be others; my
>> old Sound Blaster Live had a ton of internal signal processing
>> sliders, and anything that involves amplification presents that risk.
>
> [...] (some useful stuff snipped :))
>
> At the moment all the other sliders are at 0. So I do not know, maybe
> some other sliders are doing this...

Not if they're at their minimum settings. :-|

>
> Also, ALSA can show the levels in dBs for my card... but I get sand even
> when I'am at gain of ~ (-11,-14)dB on all three sliders (Master, PCM,
> Headphone).
>
>> You might try using something like PulseAudio, which may be doing
>> internal mixing in the floating point space before it maps back to
>> 16-bit linear PCM. My experiences with PulseAudio have generally been
>> positive in terms of audio quality. The trickiest part is getting
>> applications to pipe their audio through it, followed by getting
>> direct access to the card's mixer settings if I need it. But
>> "pavucontrol" as a mixer control for PulseAudio works reasonably well
>> for the majority of circumstances.
>
> I am using Pulse :)... The problem with I have that it changes my PCM
> and Headphone levels without asking me... Therefore, if I change the
> levels manually on alsamixer and then use Pavucontrol, it just changes
> the PCM and headphone or speaker levels to max, which makes the sound
> crappy. Otherwise I am quite a happy Pulse user. :)

Run alsamixer in a terminal while playing with pavucontrol; you'll see
Alsamixer update live while Pulse tweaks ALSA's mixer settings. It's
useful if you want to get a feel for what exactly Pulse is doing.

On my desktop system, I found that if I had the Pulse master volume
control set to about 70%, Pulse would have my various sliders set to
just about their maximum setting before I started getting clipping
noises.
>
> Is there a way to set the limiting thresholds?

No; the limiting thresholds I was describing are some value that just
happens to be what it is because of the way your sound card mixes
audio together.

> Or maybe I am using two
> things at the same (ALSA and Pulse) and they are clashing and,
> therefore, I can not get good quality sound?

Pulse is usually OK at managing ALSA in the background; you just have
to do all your volume tweaking through pavucontrol if you intend for
things to not change on you.

[snip]

>> (Note: I CC'd this back to the main list, because somehow this one got
>> sent to me directly. Channeling communications through the main list
>> keeps the archives useful.)
>
> I thought, that I have replied to both, list and you.. :) Well, thanks
> for that. :)

Might have been a quirk in my GMail interface, now that I look at it.
Your earlier email looks fine. Something about the list's distribution
pattern changed, so simply clicking "Reply" doesn't work; I now have
to click "Reply All".

Anyway, I'd try taking others' suggestions, too, and possibly poking
whatever PulseAudio support groups exist. They'll be interested in
your circumstance. If it's possible to use Pulse reasonably on your
hardware, they'll want to figure out how to make that less difficult
to do.

Also, Mark noted that there were sliders he hadn't tweaked before when
he was experiencing similar issues, and it's plausible Pulse isn't
poking those at all. Try watching alsamixer to see what Pulse is up
to, and see if Pulse is passing over some of those sliders.

-- 
:wq



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
On 15/05/12 20:08, Michael Mol wrote:
> There are going to be multiple sliders which affect your playback
> volume. Without seeing a list of your sliders, I couldn't really guess
> which, beyond 'Master', 'PCM' and 'Headphone'. There may be others; my
> old Sound Blaster Live had a ton of internal signal processing
> sliders, and anything that involves amplification presents that risk.

[...] (some useful stuff snipped :))

At the moment all the other sliders are at 0. So I do not know, maybe
some other sliders are doing this...

Also, ALSA can show the levels in dBs for my card... but I get sand even
when I'am at gain of ~ (-11,-14)dB on all three sliders (Master, PCM,
Headphone).

> You might try using something like PulseAudio, which may be doing
> internal mixing in the floating point space before it maps back to
> 16-bit linear PCM. My experiences with PulseAudio have generally been
> positive in terms of audio quality. The trickiest part is getting
> applications to pipe their audio through it, followed by getting
> direct access to the card's mixer settings if I need it. But
> "pavucontrol" as a mixer control for PulseAudio works reasonably well
> for the majority of circumstances.

I am using Pulse :)... The problem with I have that it changes my PCM
and Headphone levels without asking me... Therefore, if I change the
levels manually on alsamixer and then use Pavucontrol, it just changes
the PCM and headphone or speaker levels to max, which makes the sound
crappy. Otherwise I am quite a happy Pulse user. :)

Is there a way to set the limiting thresholds? Or maybe I am using two
things at the same (ALSA and Pulse) and they are clashing and,
therefore, I can not get good quality sound?

>> Thanks a lot for help,
> 
> np.
> 
> (Note: I CC'd this back to the main list, because somehow this one got
> sent to me directly. Channeling communications through the main list
> keeps the archives useful.)

I thought, that I have replied to both, list and you.. :) Well, thanks
for that. :)

Cheers,
I.



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Mark Knecht
On Tue, May 15, 2012 at 9:28 AM, Ignas Anikevicius
 wrote:
> Dear all,
>
> It's been quite a while since I noticed this annoying behaviour, but I
> could not find any information what might cause this. So the problem is
> that at lower volumes my HD-Audio with Conexant becomes very noisy and
> this is regardless of the sound system or speakers/headphones I use.
>
> The noise can be described, as high pitched, sandy texture noise
> heard during more expressive parts of the music or speech.
>
> I experience this on two Thinkpads (x200s and x200) and it very evident
> when I connected external speakers, they produced a lot of this noise,
> or maybe I just could hear it better, because of the frequency response
> of the speakers.
>
> Does anybody have some similar issues?
>
> My current audio setup:
>
>    * PulseAudio (but the problem is experienced with ALSA as well)
>    * MPD for music playing
>    * Conexant and other related modules compiled in, power-saving
>      features enabled.
>
> What I have tried to eliminate the noise:
>
>    * Various levels of Master,PCM,Headphone channels via Alsamixer
>    * Increase the sample rate in MPD settings.
>
> The noise can be clearly head when I Have the following setting on my
> Alsamixer:
>
>    * Master ~50
>    * PCM 100
>    * Headphone 100
>
> Does anybody has any thoughts on why am I experiencing this?
>
> Thanks a lot,
> Ignas A.
>

Hi Ignas,
   I've never used pulse-audio so I cannot help with that, but with
plain Alsa I had a similar (but not identical) problem recently. In my
case the distorted sound was primarily from my microphone and not, as
I remember it, from playback. Turned out it was a control I hadn't
looked at before called 'Digital' which apparently mixes audio in the
sound chip and for whatever reason was very dirty sounding on the mic
side.

   Note that my audio is not Conextent but rather something called
SupremeFX X-Fi (Creative Labs maybe?) so your results will almost
certainly vary. A little machine info is below.

Good luck,
Mark

c2stable ~ # lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD
Audio Controller
02:00.1 Audio device: nVidia Corporation GF100 High Definition Audio
Controller (rev a1)
04:00.1 Audio device: nVidia Corporation High Definition Audio
Controller (rev a1)
c2stable ~ #

c2stable ~ # lsmod
Module  Size  Used by
vmnet  32295  15
vmblock 9667  0
vsock  35510  2
vmci   55922  2 vsock
vmmon  56524  5
vboxnetadp  4720  0
vboxnetflt 13187  0
vboxdrv  1760740  3 vboxnetadp,vboxnetflt
nvidia  12297407  104
snd_hda_codec_hdmi 22531  8
snd_hda_codec_analog80332  1
sky2   42693  0
i2c_i8017674  0
snd_hda_intel  21907  17
snd_hda_codec  73637  3
snd_hda_codec_hdmi,snd_hda_codec_analog,snd_hda_intel
snd_hwdep   5508  1 snd_hda_codec
snd_pcm74632  7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer  18381  5 snd_pcm
snd58592  33
snd_hda_codec_hdmi,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore   6750  1 snd
snd_page_alloc  7340  2 snd_hda_intel,snd_pcm
agpgart31204  1 nvidia
c2stable ~ #



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Michael Mol
On Tue, May 15, 2012 at 2:55 PM, Ignas Anikevicius
 wrote:
> On 15/05/12 17:52, Michael Mol wrote:
>> I have a strong expectation that part of what you're hearing is system
>> electrical noise.
>>
>> What happens when you set:
>>
>> * Master -> 100
>> * Headphone -> 100
>> * Everything else -> 0
>
> If I do not play anything while PCM is at 0 and Master and Headphone are
> at 100, then I do not hear anything. But if I start 'playing' something
> while still with PCM at 0 (no sound can be heard), then I start hearing
> irregular clipping sound.
>
> Is that what you expected?
>
> If I decrease the sound to a level where I stop hearing clipping, then I
> can barely hear the music. Although the same headphones play on my
> player fine.
>
> And It's a shame, that I indeed hear clipping. Are there any ways to
> increase the sound volume without increasing the mixer setting in ALSA?

There are going to be multiple sliders which affect your playback
volume. Without seeing a list of your sliders, I couldn't really guess
which, beyond 'Master', 'PCM' and 'Headphone'. There may be others; my
old Sound Blaster Live had a ton of internal signal processing
sliders, and anything that involves amplification presents that risk.

Each one of those will likely have a threshold where you'll risk
clipping if you go above it. I.e. if PCM and Headphone are at 50, but
Master is above $master_threshold, you may hear clipping. Likewise, if
Master and Headphone are at 50, but PCM is above $pcm_threshold, you
may hear clipping. Similarly, 'Headphone'...

There is probably a combination of settings which works best, and
sounds fine. The trouble, of course, is finding the maximum safe
threshold for each.

Me, I'm fortunate; my Intel-HDA-compatible cards all tend to say
things like "-5dB" or "+20dB" when I'm using the console Alsamixer,
and I've established that as long as they say "0dB", I get the best
signal I can get.

> Would a different sound card help?

Sure; you could use a card with more post-mixer amplification. Or a
card with little to no mixing options. Or an external amplifier.

> Is there any way I can solve the
> problem without buying new hardware?

You might try using something like PulseAudio, which may be doing
internal mixing in the floating point space before it maps back to
16-bit linear PCM. My experiences with PulseAudio have generally been
positive in terms of audio quality. The trickiest part is getting
applications to pipe their audio through it, followed by getting
direct access to the card's mixer settings if I need it. But
"pavucontrol" as a mixer control for PulseAudio works reasonably well
for the majority of circumstances.

>
> Thanks a lot for help,

np.

(Note: I CC'd this back to the main list, because somehow this one got
sent to me directly. Channeling communications through the main list
keeps the archives useful.)

-- 
:wq



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
On 15/05/12 17:52, Michael Mol wrote:
> I have a strong expectation that part of what you're hearing is system
> electrical noise.
> 
> What happens when you set:
> 
> * Master -> 100
> * Headphone -> 100
> * Everything else -> 0

If I do not play anything while PCM is at 0 and Master and Headphone are
at 100, then I do not hear anything. But if I start 'playing' something
while still with PCM at 0 (no sound can be heard), then I start hearing
irregular clipping sound.

Is that what you expected?

If I decrease the sound to a level where I stop hearing clipping, then I
can barely hear the music. Although the same headphones play on my
player fine.

And It's a shame, that I indeed hear clipping. Are there any ways to
increase the sound volume without increasing the mixer setting in ALSA?
Would a different sound card help? Is there any way I can solve the
problem without buying new hardware?

Thanks a lot for help,
I.



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-15 Thread Dale
Mark Knecht wrote:
> On Mon, May 14, 2012 at 5:46 PM, Dale  wrote:
>> Alan McKinnon wrote:
>>> On Mon, 14 May 2012 12:13:18 -0500
>>> Dale  wrote:
>>>
 For example:  Alan, Mike, Pandu, Mark, Neil and me are the top posters
 on this list.
>>>
>>> Yo Dale,
>>>
>>> You might want to re-calibrate your stats engine :-)
>>>
>>> I've been quiet for a while (getting old...)[1] and fifty bucks says
>>> Michael, Canek, Pandu and a couple more have all posted more than me
>>> this year
>>>
>>> [1] Well, that's my story and I'm sticking with it
>>>
>>>
>>>
>>
>>
>> Maybe like me, you blabber more than you think:
>>
>> http://archives.gentoo.org/stats/gentoo-user-per-year.xml
>>
>> I didn't put them in any certain order but you have fallen a bit tho.
>> Someone put alum in your water or something?
>>
>> ROFL
>>
>> Dale
>>
> 
> Jeez Am I _STILL_ showing up on this list of high posting people?
> I've honestly worked to get below number 10 and I cannot get there
> apparently... (Too many posts like this I suppose!) ;-)
> 
> - Mark
> 
> 


I'm wondering on this myself.  Should I take more meds or are the meds
causing it?   < scratches head >

o_O

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-15 Thread Mark Knecht
On Mon, May 14, 2012 at 5:46 PM, Dale  wrote:
> Alan McKinnon wrote:
>> On Mon, 14 May 2012 12:13:18 -0500
>> Dale  wrote:
>>
>>> For example:  Alan, Mike, Pandu, Mark, Neil and me are the top posters
>>> on this list.
>>
>> Yo Dale,
>>
>> You might want to re-calibrate your stats engine :-)
>>
>> I've been quiet for a while (getting old...)[1] and fifty bucks says
>> Michael, Canek, Pandu and a couple more have all posted more than me
>> this year
>>
>> [1] Well, that's my story and I'm sticking with it
>>
>>
>>
>
>
> Maybe like me, you blabber more than you think:
>
> http://archives.gentoo.org/stats/gentoo-user-per-year.xml
>
> I didn't put them in any certain order but you have fallen a bit tho.
> Someone put alum in your water or something?
>
> ROFL
>
> Dale
>

Jeez Am I _STILL_ showing up on this list of high posting people?
I've honestly worked to get below number 10 and I cannot get there
apparently... (Too many posts like this I suppose!) ;-)

- Mark



[gentoo-user] OT: Hack your TV

2012-05-15 Thread James
Howdy,

I could not resist this posting.
As many of you know, I've been a 
real pain in the microprocessor lately
Particularly about Arm, A15 and Samsung.

Well in keeping with that tradition, it seems
Samsung TV's are now supporting SSH into them
and directly and hacking the firmware:

http://sourceforge.net/projects/samygo/


Samsung is also very progressive on the A-15
Arm development boards, which are sure to
create quite a stir when they are widely
available (soon I've heard):

http://www.cnx-software.com/2012/03/07/samsung-exynos-5250-dual-core-cortex-a15-and-gaia-smdk-development-board/#ixzz1p5yR3p7B


Samsung Galaxy Nexus cell-phone that runs SEandroid, natively:

http://selinuxproject.org/page/SEAndroid

Samsung is also moving aggresively to support
open source drivers for (ARM) graphics chips:

http://www.h-online.com/open/news/item/Open-source-driver-for-ARM-s-Mali-graphics-appears-1432447.html


ARM is preparing for domination and is looking rather cool these 
days and Samsung is surely one of the most appealing 
(ARM) vendors for the open source community.


enjoy,
James




Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Michael Mol
On Tue, May 15, 2012 at 12:28 PM, Ignas Anikevicius
 wrote:
> Dear all,
>
> It's been quite a while since I noticed this annoying behaviour, but I
> could not find any information what might cause this. So the problem is
> that at lower volumes my HD-Audio with Conexant becomes very noisy and
> this is regardless of the sound system or speakers/headphones I use.
>
> The noise can be described, as high pitched, sandy texture noise
> heard during more expressive parts of the music or speech.
>
> I experience this on two Thinkpads (x200s and x200) and it very evident
> when I connected external speakers, they produced a lot of this noise,
> or maybe I just could hear it better, because of the frequency response
> of the speakers.
>
> Does anybody have some similar issues?
>
> My current audio setup:
>
>    * PulseAudio (but the problem is experienced with ALSA as well)
>    * MPD for music playing
>    * Conexant and other related modules compiled in, power-saving
>      features enabled.
>
> What I have tried to eliminate the noise:
>
>    * Various levels of Master,PCM,Headphone channels via Alsamixer
>    * Increase the sample rate in MPD settings.
>
> The noise can be clearly head when I Have the following setting on my
> Alsamixer:
>
>    * Master ~50
>    * PCM 100
>    * Headphone 100
>
> Does anybody has any thoughts on why am I experiencing this?

I have a strong expectation that part of what you're hearing is system
electrical noise.

What happens when you set:

* Master -> 100
* Headphone -> 100
* Everything else -> 0

...but you're not playing anything? If you hear anything, then what
you're hearing isn't something you can really deal with without using
an external sound card. Any USB sound card would do fine. (A pair of
'gamer' headphones I bought at Best Buy advertised USB support...and
it turns out they were packaged with a tiny USB<->3.5mm sound
adapter.)

If you don't hear the characteristic sound you're describing, then I'd
expect you're encountering clipping. That's when the logical amplitude
of a signal is greater than the medium holding it, and that happens a
*lot* with integer PCM mixing and amplification.

Unfortunately, there's little to no standardization as to what '0' and
'100' mean between audio chipsets, so the best you can really do here
is crank all of your sliders to maximum, and decrease some of them
until you no longer hear the clipping. (And then remember which
positions on the relevant sliders that corresponds to; it usually
means you're getting no amplification, but also no attenuation.)

-- 
:wq



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
On 15/05/12 17:31, Alecks Gates wrote:
> I would check the inputs in alsamixer and play around with them.  I
> had a problem similar to this for many months and it was due to some
> funny input volume I didn't need, so I muted it.

Thanks for replying, I have muted everything, except Headphones, Master,
Speaker and PCM outputs, which *are* necessary to get any sound out of
my machine either with headphones or speakers. Muting speakers when only
headphones were used did not help.

Cheers,
I.



Re: [gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Alecks Gates
On Tue, May 15, 2012 at 11:28 AM, Ignas Anikevicius
 wrote:
> Dear all,
>
> It's been quite a while since I noticed this annoying behaviour, but I
> could not find any information what might cause this. So the problem is
> that at lower volumes my HD-Audio with Conexant becomes very noisy and
> this is regardless of the sound system or speakers/headphones I use.
>
> The noise can be described, as high pitched, sandy texture noise
> heard during more expressive parts of the music or speech.
>
> I experience this on two Thinkpads (x200s and x200) and it very evident
> when I connected external speakers, they produced a lot of this noise,
> or maybe I just could hear it better, because of the frequency response
> of the speakers.
>
> Does anybody have some similar issues?
>
> My current audio setup:
>
>    * PulseAudio (but the problem is experienced with ALSA as well)
>    * MPD for music playing
>    * Conexant and other related modules compiled in, power-saving
>      features enabled.
>
> What I have tried to eliminate the noise:
>
>    * Various levels of Master,PCM,Headphone channels via Alsamixer
>    * Increase the sample rate in MPD settings.
>
> The noise can be clearly head when I Have the following setting on my
> Alsamixer:
>
>    * Master ~50
>    * PCM 100
>    * Headphone 100
>
> Does anybody has any thoughts on why am I experiencing this?
>
> Thanks a lot,
> Ignas A.
>

I would check the inputs in alsamixer and play around with them.  I
had a problem similar to this for many months and it was due to some
funny input volume I didn't need, so I muted it.



[gentoo-user] Advice Needed: Conexant HD-Audio noisy audio

2012-05-15 Thread Ignas Anikevicius
Dear all,

It's been quite a while since I noticed this annoying behaviour, but I
could not find any information what might cause this. So the problem is
that at lower volumes my HD-Audio with Conexant becomes very noisy and
this is regardless of the sound system or speakers/headphones I use.

The noise can be described, as high pitched, sandy texture noise
heard during more expressive parts of the music or speech.

I experience this on two Thinkpads (x200s and x200) and it very evident
when I connected external speakers, they produced a lot of this noise,
or maybe I just could hear it better, because of the frequency response
of the speakers.

Does anybody have some similar issues?

My current audio setup:

* PulseAudio (but the problem is experienced with ALSA as well)
* MPD for music playing
* Conexant and other related modules compiled in, power-saving
  features enabled.

What I have tried to eliminate the noise:

* Various levels of Master,PCM,Headphone channels via Alsamixer
* Increase the sample rate in MPD settings.

The noise can be clearly head when I Have the following setting on my
Alsamixer:

* Master ~50
* PCM 100
* Headphone 100

Does anybody has any thoughts on why am I experiencing this?

Thanks a lot,
Ignas A.



Re: [gentoo-user] Re: make of gentoo-sources-3.2.12 fails

2012-05-15 Thread john
On Mon, 14 May 2012 19:46:39 -0500
Dale  wrote:

> Alan McKinnon wrote:
> > On Mon, 14 May 2012 12:13:18 -0500
> > Dale  wrote:
> > 
> >> For example:  Alan, Mike, Pandu, Mark, Neil and me are the top
> >> posters on this list.
> > 
> > Yo Dale,
> > 
> > You might want to re-calibrate your stats engine :-)
> > 
> > I've been quiet for a while (getting old...)[1] and fifty bucks says
> > Michael, Canek, Pandu and a couple more have all posted more than me
> > this year
> > 
> > [1] Well, that's my story and I'm sticking with it
> > 
> > 
> > 
> 
> 
> Maybe like me, you blabber more than you think:
> 
> http://archives.gentoo.org/stats/gentoo-user-per-year.xml
> 
> I didn't put them in any certain order but you have fallen a bit tho.
> Someone put alum in your water or something?
> 
> ROFL
> 
> Dale
> 
> :-)  :-)
> 

Would like to thank all guys and girls for posting. Even though I post
very little myself your posts are always excellent and there is plenty
to learn from just reading them.

There are things I can do now which I never thought possible. Thanks

-- 
John D Maunder



Re: [gentoo-user] Socks-ifying an application

2012-05-15 Thread Mick
On 15 May 2012 15:45, Alan McKinnon  wrote:
> On Tue, 15 May 2012 10:50:43 +0100
> Mick  wrote:

>> $ ssh -D localhost:12465 root@10.10.10.12
>
> This part is fine.
>
> I tried the next part. It didn't work nicely for me.

Ah, thanks for this!  It's reassuring to know that it's not just my system.  :-)


> So what I do now is:
>
> Firefox + FoxyProxy

Firefox is less of a problem for me because I can set it up to
socksify everything.  It is Kmail that I am mostly interested in.


> I see recent KDE now also supports socks. This is a nice new addition
> so konqueror can also use it.

Yes, but it does not work with the current stable kmail.  The new
KDEPIM is such a nightmare I do not plan moving to it anytime soon.
It screwed up one box that I tried it on and that's enough for me.
:-(

Did you have any success with proxychains?

I am not sure if the problem is related to the tsocks LD_PRELOAD error.


I also noticed that when I try to set up a proxy server in Chromium
using the 'under the bonnet' tab, I get this:

"When running Chromium under a supported desktop environment, the
system proxy settings will be used. However, either your system is not
supported or there was a problem while launching your system
configuration.

But you can still configure via the command line. Please see man
chromium-browser for more information on flags and environment
variables."

Trying the command line did not fix it:

[4742:4753:1575546819:ERROR:object_proxy.cc(239)] Failed to call
method: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.NetworkManager was not provided by any .service files

That's what made me think that something on my system is not set up
properly.  :-/


These are the libtsocks.so files in my system:

# ls -la /lib*/libtsocks.so
lrwxrwxrwx 1 root root 14 May 13 15:34 /lib/libtsocks.so -> libtsocks.so.1
lrwxrwxrwx 1 root root 14 May 13 15:34 /lib64/libtsocks.so -> libtsocks.so.1

# ls -la /lib/libtsocks.so*
lrwxrwxrwx 1 root root14 May 13 15:34 /lib/libtsocks.so -> libtsocks.so.1
lrwxrwxrwx 1 root root16 May 13 15:34 /lib/libtsocks.so.1 ->
libtsocks.so.1.8
-rwxr-xr-x 1 root root 42912 May 13 15:34 /lib/libtsocks.so.1.8

# ls -la /lib64/libtsocks.so*
lrwxrwxrwx 1 root root14 May 13 15:34 /lib64/libtsocks.so -> libtsocks.so.1
lrwxrwxrwx 1 root root16 May 13 15:34 /lib64/libtsocks.so.1 ->
libtsocks.so.1.8
-rwxr-xr-x 1 root root 42912 May 13 15:34 /lib64/libtsocks.so.1.8

I can't see why it would not load it, unless it should be trying to
load the '/lib64/libtsocks.so' instead of the '/lib/libtsocks.so' on
an amd64 system?  Shall I file a bug?
-- 
Regards,
Mick



Re: [gentoo-user] Socks-ifying an application

2012-05-15 Thread Alan McKinnon
On Tue, 15 May 2012 10:50:43 +0100
Mick  wrote:

> I am not sure what I am doing wrong, but I can't seem to be able to
> get tsocks, or proxychains working.
> 
> I set up a socks server virtue of ssh dynamic port forwarding:
> 
> $ ssh -D localhost:12465 root@10.10.10.12
 
This part is fine.

I tried the next part. It didn't work nicely for me. 

So what I do now is:

Firefox + FoxyProxy

and now I can set my proxy individually per site. All the internal work
stuff accessed from home goes through the proxy, except the three sites
only viewable from the outside; and everything else bypasses the proxy.

Much better than trying to deal with a global proxy (although foxyproxy
will do that too if that is what you need.

And dispense with all the tsocks stuff.

I see recent KDE now also supports socks. This is a nice new addition
so konqueror can also use it.




> 
> Then I run:
> 
> $ . tsocks on
> $ tsocks sh
> LD_PRELOAD="/lib/libtsocks.so"
> $ tsocks firefox
> 
> or tsocks kmail, or tsocks .
> 
> The connection is not sent out via the server on 10.10.10.12.  The
> terminal that ran tsocks does not reveal anything in terms of a
> connection taking place, at least not when I run firefox.  With
> Chromium things are more revealing:
> 
> $ . tsocks on
> $ tsocks sh
> LD_PRELOAD="/lib/libtsocks.so"
> $ tsocks chromium
> [4591:4604:405018909:ERROR:object_proxy.cc(239)] Failed to call
> method: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.NetworkManager was not provided by any .service files
> ERROR: ld.so: object '/lib/libtsocks.so' from LD_PRELOAD cannot be
> preloaded: ignored.
> 
> 
> Exporting like this, also fails to load it for chromium:
> 
> $ export LD_PRELOAD=/lib/libtsocks.so
> $ tsocks sh
> LD_PRELOAD="/lib/libtsocks.so"
> $ tsocks chromium
> [5052:5065:973215173:ERROR:object_proxy.cc(239)] Failed to call
> method: org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.NetworkManager was not provided by any .service files
> ERROR: ld.so: object '/lib/libtsocks.so' from LD_PRELOAD cannot be
> preloaded: ignored.
> 
> 
> 
> If I set up socks within the firefox application Advanced/Network
> settings, without using tsocks, the connection succeeds through the
> ssh tunnel.  Therefore I am confident that the tunnel itself is
> working as a socks5 server.
> 
> 
> This is what I have in /etc/socks/tsocks.conf
> 
> server = 127.0.0.1
> server_type = 5
> server_port = 12465
> 
> Similarly, I get no connection if I use proxychains.
> 
> Any idea what I am doing wrong here?
> 



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




Re: [gentoo-user] Encfs suddenly read-only -- DISK FAILURE

2012-05-15 Thread felix
On Mon, May 14, 2012 at 05:33:48AM -0700, fe...@crowfix.com wrote:
> I have been using encfs to store most of my home dir for ages.  I rebooted 
> Sunday morning (it's a ~amd64 system) to change kernel to 3.3.5 from 3.3.4, 
> and sometime overnight, after the nightly backups and mail archives had run, 
> the encfs mounted partition became read-only.  I know the timing only by the 
> cron jobs; the nightly mail backup moves files from the /home partition to 
> the encfs partition, and it had not failed.  I unmounted the encfs partition, 
> remounted, and it was read-only right from the get go.

It's a failing disk drive:

May 15 03:30:26 kernel: [80220.600747] hda: dma_intr: status=0x51 { 
DriveReady SeekComplete Error }
May 15 03:30:26 kernel: [80220.600759] hda: dma_intr: error=0x40 { 
UncorrectableError }, LBAsect=94761183, sector=94761183
May 15 03:30:26 kernel: [80220.600788] hda: possibly failed opcode: 0x25
May 15 03:30:26 kernel: [80220.600794] end_request: I/O error, dev hda, 
sector 94761183
May 15 03:30:26 kernel: [80220.600835] REISERFS error (device hda5): 
vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat 
data of [2511 633054 0x0 SD]
May 15 03:30:26 kernel: [80220.600840] REISERFS (device hda5): Remounting 
filesystem read-only
May 15 03:30:31 kernel: [80224.859713] hda: dma_intr: status=0x51 { 
DriveReady SeekComplete Error }

> There are no errors in /var/log/messages of any sort since the 3.3.5 boot.  
> The mount command showed both the encfs partition and the underlying regular 
> partition as rw, not ro.

I didn't see it the first time because I rebooted twice and only looked since 
the second reboot, after spending a while googling for hints and forgetting 
about the double reboot.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] HP A8 laptop install

2012-05-15 Thread Hinnerk van Bruinehsen
On 15.05.2012 11:11, Alex Schuster wrote:
> Stroller writes:
> 
>> I boot from a SystemRescueCD and follow the Gentoo quick install guide.
>>
>> This has never failed me.
> 
> For me it did, half a year ago, several packages failed to build due to
> strange libtool errors. It took me some days until I found the solution:
> unset path.
> 
> Libtool uses this variable without unsetting it before, and SystemRescueCD
> defines it as environment variable, which is still available in the
> chroot. This messed things up a lot.
> 
> Apart from that, I really like SystemRescueCD.
> 
>   Wonko
> 

Did you do env-update && . /etc/profile after entering chroot?
I always thought that setting the right environment variables was the
purpose of that.

I personally an Ubuntu-Live-Thumbdrive, because some time ago (2 years
or so) it wasn't possible to install gentoo with LUKS on a btrfs volume
from the gentoo minimal cd.

The advantage of a live cd (especially for a beginner) is the
possibility to read the manual and google problems while installing.
Another possibility to do that would be an installation via ssh (works
nice too).





Re: [gentoo-user] I want to play movies without hangs [SOLVED, sort of]

2012-05-15 Thread Alex Schuster
Paul Hartman writes:

> On Fri, May 11, 2012 at 8:40 PM, Alex Schuster 
> wrote:
> > Finally, I found something. It's Dolphin!
[...]
> > Now, would this be an MPlayer problem, or one of Dolphin?
> 
> I wonder if Dolphin is generating thumbnails/preview indexes at the
> same time you're trying to play, causing resource contention. 

Sometimes it does that, but that would happen when I play from the command
line, too. And now it even works from Dolphin, when it is set to open
mplayer in a terminal. So this cannot be the problem. And even if it
were, avoiding thumbnails would be a bad workaround only, such operations
should not affect video playback.

Maybe this is somehow related to the other problem I had with mplayer2
only, using 100% CPU when idle, only when started from a file manager. 

Wonko



[SOLVED] Re: [gentoo-user] Re: solving curl dependency issues

2012-05-15 Thread Space Cake

Thank you. It seems to be ok now

[ebuild   R   ~] net-misc/curl-7.25.0-r1  CURL_SSL="gnutls* -openssl*"
[ebuild   R   ~] net-libs/liboauth-0.9.6  USE="-curl*"

>=net-misc/curl-7.24.0 -curl_ssl_nss -curl_ssl_openssl curl_ssl_gnutls 
ssl -nss ssh



Laszlo


On 2012. máj. 14., hétfő, 17.34.19 CEST, Alan McKinnon wrote:


On Mon, 14 May 2012 16:02:15 +0200
Space Cake wrote:



Removing keywords from curl produces this

brutal keywords # emerge --keep-going -upND world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
"net-misc/curl[ssl,curl_ssl_nss]".
!!! One of the following packages is required to complete your
request:
- net-misc/curl-7.25.0-r1::gentoo (Change USE: +curl_ssl_nss, this
change violates use flag constraints defined by
net-misc/curl-7.25.0-r1: 'threads? ( !ares ) ssl? ( exactly-one-of (
curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_openssl
curl_ssl_nss curl_ssl_polarssl ) )')
(dependency required by
"net-libs/liboauth-0.9.6[curl,nss]" [installed]) (dependency required
by
"gnome-extra/evolution-data-server-3.2.3-r1[gnome-online-accounts]" 
[installed])

(dependency required by
"gnome-extra/gnome-contacts-3.2.2" [installed]) (dependency required
by "@selected" [set]) (dependency required by "@world" [argument])


eix output:[I] net-misc/curl
Available versions: 7.21.4 (~)7.21.6 (~)7.21.7 (~)7.21.7-r2
(~)7.22.0 (~)7.23.1 7.24.0 (~)7.25.0 (~)7.25.0-r1 {ares
curl_ssl_axtls curl_ssl_cyassl curl_ssl_gnutls curl_ssl_nss
+curl_ssl_openssl curl_ssl_polarssl gnutls idn ipv6 kerberos ldap nss
ssh ssl static-libs test threads}
Installed versions: 7.25.0-r1(12.34.47
2012-05-14)(curl_ssl_openssl idn ipv6 ldap ssh ssl threads -ares
-curl_ssl_axtls -curl_ssl_cyassl -curl_ssl_gnutls -curl_ssl_nss
-curl_ssl_polarssl -kerberos -static-libs -test)
Homepage: http://curl.haxx.se/
Description: A Client that groks URLs


So, this is asking for curl_ssl_nss,

But after I set this I'm getting this

brutal ~ # emerge --keep-going -upND world

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for net-misc/curl from @selected
... done!

!!! The ebuild selected to satisfy "net-misc/curl" has unmet
requirements.
- net-misc/curl-7.25.0-r1::gentoo USE="idn ipv6 ldap ssl threads
-ares -kerberos -ssh -static-libs -test" CURL_SSL="nss openssl -axtls
-cyassl -gnutls -polarssl"

The following REQUIRED_USE flag constraints are unsatisfied:
ssl? ( exactly-one-of ( curl_ssl_axtls curl_ssl_cyassl
curl_ssl_gnutls curl_ssl_openssl curl_ssl_nss curl_ssl_polarssl ) )

The above constraints are a subset of the following complete
expression:
threads? ( !ares ) ssl? ( exactly-one-of ( curl_ssl_axtls
curl_ssl_cyassl curl_ssl_gnutls curl_ssl_openssl curl_ssl_nss
curl_ssl_polarssl ) )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])




On 2012. máj. 14., hétfő, 15.08.17 CEST, walt wrote:


On 05/14/2012 03:49 AM, Space Cake wrote:


Hi,

For several weeks I'm trying to solve dependency issues with curl,
but I'm lost.. any idea?



That problem drove me nuts for months. I finally discovered by
desperate trial and error that un-setting the 'curl' useflag fixes
it. Finally!









The requirements are (from the error message):

If USE=ssl then use exactly one of the following:
curl_ssl_axtls
curl_ssl_cyassl
curl_ssl_gnutls
curl_ssl_openssl
curl_ssl_nss
curl_ssl_polarssl

You have the following set for curl (per eix):

curl_ssl_openssl

But the error message also says that this is required:
net-misc/curl[ssl,curl_ssl_nss] by liboauth

You cannot have curl_ssl_nss and curl_ssl_openssl both set for curl as
liboauth complains

So, what you need to do is set

USE="-curl_ssl_openssl curl_ssl_nss" for curl

If you read my post carefully and see how all the bits fit the output
you supplied, it all makes sense. Portage output is not exactly
intuitive but it can be understood.

Or you could unset USE="curl" for liboauth.

I don't know if you'll be willing to switch from curl_ssl just to make
liboauth happy. That's your call.




smime.p7s
Description: S/MIME kriptográfiai aláírás


[gentoo-user] Socks-ifying an application

2012-05-15 Thread Mick
I am not sure what I am doing wrong, but I can't seem to be able to get
tsocks, or proxychains working.

I set up a socks server virtue of ssh dynamic port forwarding:

$ ssh -D localhost:12465 root@10.10.10.12

Then I run:

$ . tsocks on
$ tsocks sh
LD_PRELOAD="/lib/libtsocks.so"
$ tsocks firefox

or tsocks kmail, or tsocks .

The connection is not sent out via the server on 10.10.10.12.  The terminal
that ran tsocks does not reveal anything in terms of a connection taking
place, at least not when I run firefox.  With Chromium things are more
revealing:

$ . tsocks on
$ tsocks sh
LD_PRELOAD="/lib/libtsocks.so"
$ tsocks chromium
[4591:4604:405018909:ERROR:object_proxy.cc(239)] Failed to call
method: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.NetworkManager was not provided by any .service files
ERROR: ld.so: object '/lib/libtsocks.so' from LD_PRELOAD cannot be
preloaded: ignored.


Exporting like this, also fails to load it for chromium:

$ export LD_PRELOAD=/lib/libtsocks.so
$ tsocks sh
LD_PRELOAD="/lib/libtsocks.so"
$ tsocks chromium
[5052:5065:973215173:ERROR:object_proxy.cc(239)] Failed to call
method: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.NetworkManager was not provided by any .service files
ERROR: ld.so: object '/lib/libtsocks.so' from LD_PRELOAD cannot be
preloaded: ignored.



If I set up socks within the firefox application Advanced/Network
settings, without using tsocks, the connection succeeds through the
ssh tunnel.  Therefore I am confident that the tunnel itself is
working as a socks5 server.


This is what I have in /etc/socks/tsocks.conf

server = 127.0.0.1
server_type = 5
server_port = 12465

Similarly, I get no connection if I use proxychains.

Any idea what I am doing wrong here?

-- 
Regards,
Mick



Re: [gentoo-user] Re: mplayer2 idle CPU condumption

2012-05-15 Thread Alex Schuster
Alex Schuster writes:

> I wrote:

> > Thanks. Another thing that happens to me only. I filed a bug about
> > this: https://bugs.gentoo.org/show_bug.cgi?id=415241
> 
> I just found out it only happens when I start the video from within
> Dolphin, and as my user. From the command line, or as another user with
> an unconfigured KDE desktop, it does not happen. Something is very weird
> here. Maybe I should start over with a clean KDE environment, AGAIN. But
> I really really hate to do this every once in a while. Can't these
> things just work?

The bug report got some updates, it's not Dolphin's or KDE's fault, but
mplayer2's, happens whenever it is started from a file manager. Something
with terminal keyboard controls enabled by the file manager, but with
stdin not being connected to anything readable.

It's fixed upstream: http://devel.mplayer2.org/ticket/146
Meanwhile, option -noconsolecontrols also helps.

Wonko



Re: [gentoo-user] HP A8 laptop install

2012-05-15 Thread Alex Schuster
Stroller writes:

> I boot from a SystemRescueCD and follow the Gentoo quick install guide.
> 
> This has never failed me.

For me it did, half a year ago, several packages failed to build due to
strange libtool errors. It took me some days until I found the solution:
unset path.

Libtool uses this variable without unsetting it before, and SystemRescueCD
defines it as environment variable, which is still available in the
chroot. This messed things up a lot.

Apart from that, I really like SystemRescueCD.

Wonko



Re: [gentoo-user] Encfs suddenly read-only

2012-05-15 Thread Pandu Poluan
On May 15, 2012 6:06 AM, "Paul Hartman" 
wrote:
>
> On Mon, May 14, 2012 at 9:47 AM,   wrote:
> >
> > It's a reiserfs, and df -i shows zeroes; I had never given any thought
> > to reiserfs and inodes.  Interesting.
>
> I thought reiserfs allocated new inodes as needed, with no practical
limit.
>

That's why I do my compiles (and put my kernel source tree) on reiserfs. I
no longer have to worry about running out of inodes :-)

Rgds,