Re: [gentoo-user] cmake-2.8.1 build problems

2010-07-07 Thread Dale

Mark Knecht wrote:

Hi,
I was trying to slog through all the libpng problems on one of my
machines last night but ran into a different issue late in the evening
where cmake wouldn't build. I haven't been reading this list all that
carefully and didn't find anything obvious with a quick Google search.
(Other than some stuff in bugzilla which may or may not relate.)

Have there been any threads lately where this might have come up?

There weren't any obvious message on the screen. X isn't working
due to gdm not starting because of libpng and I didn't have a spare
machine to ssh from at the time to really study the build log files.

I wanted to get back to this problem tonight so I'm just taking a
quick reading on whether there might be some related info out there.

Thanks,
Mark
   


My archives go back a year or so.  The only problem I could find was 
when I had trouble with KDE compiling.  It wasn't cmake itself that was 
failing tho, it was kdelibs.


I also checked my emerge.log and I have updated emerge with no failures 
so far.  You may have to post the error and see if someone can help.  
Maybe a missing/bad USE flag or something.


Dale

:-)  :-)



Re: [gentoo-user] Beautifying goot and halt process

2010-07-07 Thread meino . cramer
Walter Dnes  [10-07-08 05:20]:
> On Thu, Jul 08, 2010 at 04:33:20AM +0200, meino.cra...@gmx.de wrote
> 
> > I think, switching to the console as such isnt the problem here as
> > it works.  The problem is the switching process itsself. "To switch"
> > generates that flickering colors.  May be turning off brightness,
> > switching and turning on brightness /may/ help...but how?
> 
>   The command for that *IN X WINDOWS* is...
> 
> xset dpms force off
> 
>   If you want to do it manually from the keyboard, I suggest typing...
> 
> sleep 3 ; xset dpms force off
> 
>   This will wait 3 seconds before switching the screen off.  Any mouse
> or keyboard action should wake up the screen.  The 3 second delay is so
> that the keyboard bouncing back from you hitting {ENTER} doesn't wake up
> the screen.
> 
> -- 
> Walter Dnes 
> 

Ok, I will experiment with this. Thanks a lot, Walter ! :)

Best regards,
mcc




Re: [gentoo-user] Beautifying goot and halt process

2010-07-07 Thread Walter Dnes
On Thu, Jul 08, 2010 at 04:33:20AM +0200, meino.cra...@gmx.de wrote

> I think, switching to the console as such isnt the problem here as
> it works.  The problem is the switching process itsself. "To switch"
> generates that flickering colors.  May be turning off brightness,
> switching and turning on brightness /may/ help...but how?

  The command for that *IN X WINDOWS* is...

xset dpms force off

  If you want to do it manually from the keyboard, I suggest typing...

sleep 3 ; xset dpms force off

  This will wait 3 seconds before switching the screen off.  Any mouse
or keyboard action should wake up the screen.  The 3 second delay is so
that the keyboard bouncing back from you hitting {ENTER} doesn't wake up
the screen.

-- 
Walter Dnes 



[gentoo-user] Re: Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Nikos Chantziaras

On 07/08/2010 04:30 AM, Grant wrote:

Regarding mplayer: There is another ebuild in the multimedia-overlay
that I prefer now to mplayer(-mt) and that also uses ffmpeg-mt :
media-video/mplayer-uau.

It fetches the mplayer-version from one of the mplayer-devs and creates
a binary called "mplayer-uau" which can be installed at the same time as
the official mplayer package.


I gave that a try and it smoothed everything right out, so I guess it
was a CPU issue after all.  Thank you for your help.  How is
mplayer-uau different from mplayer-mt?  Maybe mplayer-mt can't be


mplayer from multimedia overlay is a replacement for the regular, official
mplayer with the only change being ffmpeg-mt.  It can't be installed
alongside regular mplayer because it's a replacement and multithreading can
be enabled/disabled at runtime.

mplayer-uau is a fork of MPlayer, previously known as "mplayer-git", before
the developer was kicked from the mplayer project for unknown reasons.
  While mplayer from multimedia only adds the ffmpeg-mt patch, mplayer-uau
adds more patches.


Does mplayer from multimedia overlay include mplayer-mt and ffmpeg-mt
patches, or just ffmpeg-mt?


"mplayer-mt" is mplayer with ffmpeg-mt.



Do you know what other significant
patches mplayer-uau adds?


http://forums.gentoo.org/viewtopic-t-814504.html




Re: [gentoo-user] Beautifying goot and halt process

2010-07-07 Thread meino . cramer
Walter Dnes  [10-07-08 04:24]:
> On Thu, Jul 08, 2010 at 03:04:53AM +0200, meino.cra...@gmx.de wrote
> 
> > Is there any way to switch a flatscreen to console
> > without this "color explosions" ?
> 
> > Thanks a lot in advance for any help!
> 
>   The command you want is "chvt".  E.g...
> 
> chvt 1
> 
> ...will change you over to text console 1, just like the {CTRL-ALT-F1}
> key combo.  You may want to try "chvt 12" (equivalant to {CTRL-ALT-F12}
> if you want to see logging while the shutdown is in progress.  I don't
> know what desktop or window manager you use, but if it has a shutdown
> script you can include "chvt 12" (without the quotes) in it.  Another
> option is to put it in /etc/conf.d/local.stop but be careful when doing
> etc-update that it doesn't get overwritten by the default empty file.
> 
> -- 
> Walter Dnes 

Hi Walter,

thanks a lot for your reply :)

I tried chvt 1 by hand and it generates the same "color flash" as
the automatic switch to the console while shutting down my box.

I think, switching to the console as such isnt the problem here as it works.
The problem is the switching process itsself. "To switch" generates
that flickering colors. 
May be turning off brightness, switching and turning on brightness
/may/ help...but how?

Best regards,
mcc




Re: [gentoo-user] Beautifying goot and halt process

2010-07-07 Thread Walter Dnes
On Thu, Jul 08, 2010 at 03:04:53AM +0200, meino.cra...@gmx.de wrote

> Is there any way to switch a flatscreen to console
> without this "color explosions" ?

> Thanks a lot in advance for any help!

  The command you want is "chvt".  E.g...

chvt 1

...will change you over to text console 1, just like the {CTRL-ALT-F1}
key combo.  You may want to try "chvt 12" (equivalant to {CTRL-ALT-F12}
if you want to see logging while the shutdown is in progress.  I don't
know what desktop or window manager you use, but if it has a shutdown
script you can include "chvt 12" (without the quotes) in it.  Another
option is to put it in /etc/conf.d/local.stop but be careful when doing
etc-update that it doesn't get overwritten by the default empty file.

-- 
Walter Dnes 



Re: [gentoo-user] Re: Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Grant
>>> Regarding mplayer: There is another ebuild in the multimedia-overlay
>>> that I prefer now to mplayer(-mt) and that also uses ffmpeg-mt :
>>> media-video/mplayer-uau.
>>>
>>> It fetches the mplayer-version from one of the mplayer-devs and creates
>>> a binary called "mplayer-uau" which can be installed at the same time as
>>> the official mplayer package.
>>
>> I gave that a try and it smoothed everything right out, so I guess it
>> was a CPU issue after all.  Thank you for your help.  How is
>> mplayer-uau different from mplayer-mt?  Maybe mplayer-mt can't be
>
> mplayer from multimedia overlay is a replacement for the regular, official
> mplayer with the only change being ffmpeg-mt.  It can't be installed
> alongside regular mplayer because it's a replacement and multithreading can
> be enabled/disabled at runtime.
>
> mplayer-uau is a fork of MPlayer, previously known as "mplayer-git", before
> the developer was kicked from the mplayer project for unknown reasons.
>  While mplayer from multimedia only adds the ffmpeg-mt patch, mplayer-uau
> adds more patches.

Does mplayer from multimedia overlay include mplayer-mt and ffmpeg-mt
patches, or just ffmpeg-mt?  Do you know what other significant
patches mplayer-uau adds?

- Grant



[gentoo-user] Beautifying goot and halt process

2010-07-07 Thread meino . cramer
Hi,

with my Linux I use a HP LW2475w lfatscreen monitor. 
When I halt the computer there is a point in the shutdown
process when Linux shutoff X11 and switch to console. 
When this happens, a not-so-nice "colored flash" 
is seen most of the thime at the lower part of
the screen. This looks like that there is something
wrong, technically incorrect (I know it is not) and
its look inperfect and odd.

Is there any way to switch a flatscreen to console
without this "color explosions" ?

Thanks a lot in advance for any help!
Best regards,
mcc




Re: [gentoo-user] kdm & french keyboard

2010-07-07 Thread Neil Bothwick
On Wed, 7 Jul 2010 19:19:14 +0200, Stéphane Guedon wrote:

> > Until your version of Xorg stops supporting HAL, when you will need an
> > xorg.conf.  
> 
> You can also pass through udev !

How? I know how to use udev for device recognition, but how do you tell
it to use a particular keyboard layout?


-- 
Neil Bothwick

Pedestrians come in two types: Quick or Dead.


signature.asc
Description: PGP signature


Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread James Ausmus
On Wed, Jul 7, 2010 at 10:37 AM, Jarry  wrote:
> Hi,
>
> I would like to see in console current network transfer rate
> for given interface, similar as I can see cpu-loading in [%]
> with "top" command.
>
> Just single overall value in [bytes/second] or similar unit
> would be enough for me, averaged over certain short time
> interval (let's say 1 or 5 seconds). How could I do that?


I've used nettop successfully in the past...

-James



Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Neil Bothwick
On Wed, 07 Jul 2010 19:37:37 +0200, Jarry wrote:

> I would like to see in console current network transfer rate
> for given interface, similar as I can see cpu-loading in [%]
> with "top" command.

There's also nethogs.


-- 
Neil Bothwick

Assassins do it from behind.


signature.asc
Description: PGP signature


[gentoo-user] [bugzilla-dae...@gentoo.org: [Bug 322157] [mail-filter/procmail] new ebuild + autocreate maildirs]

2010-07-07 Thread Enrico Weigelt

Hi folks,


YFYI: yet another of my ebuilds kicked-down.

It's an improved version of procmail, which automatically creates
missing maildir directories.


cu

- Forwarded message from bugzilla-dae...@gentoo.org -

From: bugzilla-dae...@gentoo.org
Subject: [Bug 322157] [mail-filter/procmail] new ebuild + autocreate maildirs
To: weig...@metux.de
Reply-To: DO NOT REPLY 
Date: Wed,  7 Jul 2010 20:06:53 + (UTC)

DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the person
whose email is mentioned below. To comment on this bug, please visit:

Clear-Text: http://bugs.gentoo.org/show_bug.cgi?id=322157
Secure: https://bugs.gentoo.org/show_bug.cgi?id=322157


ssuomi...@gentoo.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Comment #2 from ssuomi...@gentoo.org  2010-07-07 20:06  ---
The SRC_URI is pointing to something unofficial, so this is a WONTFIX.

-- 
Configure bugmail: https://bugs.gentoo.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.

- End forwarded message -

-- 
--
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427 skype: nekrad666
--
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
--



Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Kyle Bader
Misfire. Aside from trafshow and iftop you might look at iptraf

On 7/7/10, Kyle Bader  wrote:
> Iotop is for io and the kernel support is through netlink.  Aside
>
> On 7/7/10, James  wrote:
>> Jarry  gmail.com> writes:
>>
>>
>>> I would like to see in console current network transfer rate
>>> for given interface, similar as I can see cpu-loading in [%]
>>> with "top" command.
>>
>> iotop is very cool, but requires some accounting support
>> to be set in the kernel...
>>
>> hth,
>> James
>>
>>
>>
>>
>>
>
> --
> Sent from my mobile device
>
>
> Kyle
>

-- 
Sent from my mobile device


Kyle



Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Kyle Bader
Iotop is for io and the kernel support is through netlink.  Aside

On 7/7/10, James  wrote:
> Jarry  gmail.com> writes:
>
>
>> I would like to see in console current network transfer rate
>> for given interface, similar as I can see cpu-loading in [%]
>> with "top" command.
>
> iotop is very cool, but requires some accounting support
> to be set in the kernel...
>
> hth,
> James
>
>
>
>
>

-- 
Sent from my mobile device


Kyle



[gentoo-user] cmake-2.8.1 build problems

2010-07-07 Thread Mark Knecht
Hi,
   I was trying to slog through all the libpng problems on one of my
machines last night but ran into a different issue late in the evening
where cmake wouldn't build. I haven't been reading this list all that
carefully and didn't find anything obvious with a quick Google search.
(Other than some stuff in bugzilla which may or may not relate.)

   Have there been any threads lately where this might have come up?

   There weren't any obvious message on the screen. X isn't working
due to gdm not starting because of libpng and I didn't have a spare
machine to ssh from at the time to really study the build log files.

   I wanted to get back to this problem tonight so I'm just taking a
quick reading on whether there might be some related info out there.

Thanks,
Mark



[gentoo-user] Re: current network traffic rate, in real time (in console)?

2010-07-07 Thread James
Jarry  gmail.com> writes:


> I would like to see in console current network transfer rate
> for given interface, similar as I can see cpu-loading in [%]
> with "top" command.

iotop is very cool, but requires some accounting support
to be set in the kernel...

hth,
James






Re: [gentoo-user] Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Daniel Troeder
On 07/07/2010 03:01 PM, Mick wrote:
> On 7 July 2010 12:27, Daniel Troeder  wrote:
> 
>> Use "htop" to see threads. As far as I know "top" won't show those. So
>> you can't check if your multi-threaded mplayer is really using more than
>> 1 thread/process.
> 
> What do you get when you press upper case 'H' in top?
Oh - I wasn't aware of that key - nice :)

With htop I do see 4 mplayer processes with both mplayer and
mplayer-uau... (can't sort properly with top) but only 1 process really
uses any cpu time... I wonder if mplayer-uau is really using ffmpeg-mt
(I did set the use flag)...

Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Jake Moe
On 07/07/10 23:19, Andy Wilkinson wrote:
> On 07/05/10 15:46, Jake Moe wrote:
>   
>> I've recently installed a new system, and can't seem to get UVESAFB
>> working properly.  I've set up everything in the kernel, and modified
>> GRUB's menu.lst to use the framebuffer.  However, even though there
>> doesn't seem to be any errors, I can't seem to get anything other than
>> "default" resolution with far too large fonts.
>>
>> I've compared dmesg info, GRUB configs and kernel configs between this
>> laptop, and another laptop that has UVESAFB running fine, and am at a
>> loss to find what's wrong.
>>
>> The laptop in question is a HP EliteBook 8440p with an nVidia graphics chip.
>>
>> Relevant info that I can think of:
>>
>>
>> -* lspci *-
>> 
>>
>>
>> -* dmesg | grep uvesafb *-
>> Kernel command line: root=/dev/sda4 video=uvesafb:mtrr:3,ywrap,1600x900
>> uvesafb: NVIDIA Corporation, NVIDIA Quadro NVS 170M
>> uvesafb: protected mode interface info at c000:c2d0
>> uvesafb: pmi: set display start = c00cc333, set palette = c00cc38e
>> uvesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc
>> 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
>> uvesafb: VBIOS/hardware doesn't support DDC transfers
>> uvesafb: no monitor limits have been set, default refresh rate will be used
>> uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=7200
>> uvesafb: framebuffer at 0xd100, mapped to 0xf808, using 11250k,
>> total 14336k
>>
>>
>> -* /sys/devices/platform/uvesafb.0/graphics/fb0/modes *-
>> U:1600x900p-59
>> 
>> U:1600x900p-59
>> 
>>
>> I've also attached my kernel .config file for reference.  If you need
>> anything further, please let me know.  I'm sure I've overlooked
>> something obvious here; usually getting the framebuffer set up isn't
>> this hard; but for some reason, I can't figure this one out.  While this
>> isn't a big deal, since usually the first thing I do after login is
>> "startx", it's an annoyance that I'd like cleared up; it *should* work,
>> dammit!  :-P
>>
>> Jake Moe
>>   
>> 
> This may be a bit of a long shot, but: according to the modes file you
> included, your monitor only actually supports 1600x900 at 59 Hz.  Since
> you aren't specifying a refresh, uvesafb says in dmesg that it is using
> a default refresh.  My guess is that means "60", rather than some smart
> value.  Does anything different happen if you specify the full mode,
> e.g. 1600x900...@59?
>
> I'm afraid if that doesn't help I'm not likely to be much good myself. 
> But I thought seeing that 59 there was odd, and figure it might be worth
> a look.
>
> -Andy
>   
Thanks for the thought.  I had tried it before, but seeing how you
specified it, I think I had done it wrong (1600x900-59; I was leaving
the computer to try and figure out the colour depth it liked).  I tried
it your way as well (1600x900...@59), but that didn't work either.  And
just to be thorough, I tried 1600x...@59, but still no go.  :-(

Jake Moe



Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Jake Moe
On 07/07/10 22:20, Mick wrote:
> On 7 July 2010 12:50, Jake Moe  wrote:
>   
>> On 07/07/10 15:50, Mick wrote:
>> 
>>> On Monday 05 July 2010 23:46:54 Jake Moe wrote:
>>>
>>>   
 I've recently installed a new system, and can't seem to get UVESAFB
 working properly.  I've set up everything in the kernel, and modified
 GRUB's menu.lst to use the framebuffer.  However, even though there
 doesn't seem to be any errors, I can't seem to get anything other than
 "default" resolution with far too large fonts.

 I've compared dmesg info, GRUB configs and kernel configs between this
 laptop, and another laptop that has UVESAFB running fine, and am at a
 loss to find what's wrong.

 
>>> Stating the obvious, have you emerged fbcondecor, ran /etc/init.d/fbcondecor
>>> start and then added it to your boot runlevel?
>>>
>>>   
>> Thanks for the reply.  But...
>>
>> j...@aus10373 ~ $ eix fbcondecor
>> No matches found.
>> j...@aus10373 ~ $ eix fb -a con
>> No matches found.
>> j...@aus10373 ~ $ eix fb -a decor
>> No matches found.
>>
>> Erm, wossat then?  Are you thinking of bootsplash?  Besides, this is
>> something that happens long before the initscripts run; the screen
>> should go from GRUB to "standard" console for a moment, then it should
>> change to the framebuffer console.
>> 
> I'm sorry, I meant v86d (looked at an old machine of mine which also
> has a framebuffer splash for more eyecandy in an initird).
>   
Ah, that makes more sense.  :-)  Yeah, got it:

j...@aus10373 ~ $ eix v86d
[I] sys-apps/v86d
 Available versions:  0.1.3-r1 0.1.9 {debug x86emu}
 Installed versions:  0.1.9(07:07:03 24/06/10)(-debug -x86emu)
 Homepage:http://dev.gentoo.org/~spock/projects/uvesafb/
 Description: A daemon to run x86 code in an emulated
environment.

j...@aus10373 ~ $ grep INITRAMFS /usr/src/linux/.config
CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs"
CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0
CONFIG_INITRAMFS_COMPRESSION_NONE=y
# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set
# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set


Jake Moe



Re: [gentoo-user] Two openvpn tunnels... and /etc/init.d et al.

2010-07-07 Thread Steve

On 06/07/10 06:25, Eray Aslan wrote:

i.e. make a soft link to openvpn init script and make a seperate conf
file with the same name as the new init script in your config
directory (usually /etc/openvpn). Init script starts openvpn with the
correct config file.


Many thanks, works perfectly...

All I need to work out now is how to get my iproute2 config for my new 
tunnel to come up automatically... it works from the command line.


Are there any documents about migrating explicit iproute2 routing done 
at the command line (i,e, calling ip  ... several times after 
logging in as root) to scripts that are run at boot time (after my 
tunnels are up)?





Re: [gentoo-user] Two openvpn tunnels... and /etc/init.d et al.

2010-07-07 Thread Steve

On 06/07/10 06:25, Eray Aslan wrote:

i.e. make a soft link to openvpn init script and make a seperate conf
file with the same name as the new init script in your config
directory (usually /etc/openvpn). Init script starts openvpn with the
correct config file.


Many thanks, works perfectly...

All I need to work out now is how to get my iproute2 config for my new 
tunnel to come up automatically... it works from the command line.


Are there any documents about migrating explicit iproute2 routing done 
at the command line (i,e, calling ip  ... several times after 
logging in as root) to scripts that are run at boot time (after my 
tunnels are up)?





[gentoo-user] Re: Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Nikos Chantziaras

On 07/07/2010 08:46 PM, Grant wrote:

Regarding mplayer: There is another ebuild in the multimedia-overlay
that I prefer now to mplayer(-mt) and that also uses ffmpeg-mt :
media-video/mplayer-uau.

It fetches the mplayer-version from one of the mplayer-devs and creates
a binary called "mplayer-uau" which can be installed at the same time as
the official mplayer package.


I gave that a try and it smoothed everything right out, so I guess it
was a CPU issue after all.  Thank you for your help.  How is
mplayer-uau different from mplayer-mt?  Maybe mplayer-mt can't be


mplayer from multimedia overlay is a replacement for the regular, 
official mplayer with the only change being ffmpeg-mt.  It can't be 
installed alongside regular mplayer because it's a replacement and 
multithreading can be enabled/disabled at runtime.


mplayer-uau is a fork of MPlayer, previously known as "mplayer-git", 
before the developer was kicked from the mplayer project for unknown 
reasons.  While mplayer from multimedia only adds the ffmpeg-mt patch, 
mplayer-uau adds more patches.





Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Bill Longman
On 07/07/2010 10:37 AM, Jarry wrote:
> Hi,
> 
> I would like to see in console current network transfer rate
> for given interface, similar as I can see cpu-loading in [%]
> with "top" command.
> 
> Just single overall value in [bytes/second] or similar unit
> would be enough for me, averaged over certain short time
> interval (let's say 1 or 5 seconds). How could I do that?

Do this first:

eix --stable -cC net-analyzer

Pick one that you think fits.

The one I picked was trafshow.



Re: [gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Etaoin Shrdlu
On Wed, 07 Jul 2010 19:37:37 +0200
Jarry  wrote:

> Hi,
> 
> I would like to see in console current network transfer rate
> for given interface, similar as I can see cpu-loading in [%]
> with "top" command.
> 
> Just single overall value in [bytes/second] or similar unit
> would be enough for me, averaged over certain short time
> interval (let's say 1 or 5 seconds). How could I do that?

Emerge net-analyzer/iftop



Re: [gentoo-user] Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Grant
> You have dual core so 60% means:
> 50% (full one core) is for decoding,
> and the rest 10% is for audio, resizing etc.
> You can't play the video correctly because your "decoder" is not
> multithreaded and uses just the one CPU at its fullest.
> Try using multithreaded version of mplayer "mplayer-mt" (in some overlay
> probably) with "lavdopts=threads=2" in mplayer config.

Does anyone know if mplayer-uau uses "-lavdopts threads=2" by default?
 I tried with and without and there might have been a performance
increase with, but I'm not sure.

- Grant


>> I've been using VDPAU acceleration to play back Blu-Ray rips for a
>> while, but the extra layer is getting to be quite a hassle so I'm
>> trying to get decent performance via software decoding.  It has
>> actually come a long way since the last time I tried and playing
>> Blu-Ray rips via mplayer is nearly watchable.  I'm using a dual-core
>> 3.1Ghz CPU and one of the cores is only taxed up to 60% during
>> playback, but frames are still being dropped constantly.  Does anyone
>> know where the bottleneck might be?
>>
>> - Grant



Re: [gentoo-user] Re: Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Grant
> Regarding mplayer: There is another ebuild in the multimedia-overlay
> that I prefer now to mplayer(-mt) and that also uses ffmpeg-mt :
> media-video/mplayer-uau.
>
> It fetches the mplayer-version from one of the mplayer-devs and creates
> a binary called "mplayer-uau" which can be installed at the same time as
> the official mplayer package.

I gave that a try and it smoothed everything right out, so I guess it
was a CPU issue after all.  Thank you for your help.  How is
mplayer-uau different from mplayer-mt?  Maybe mplayer-mt can't be
installed alongside mplayer?

> Regarding your frame drops: it is highly likely that sound is the
> problem. Please try playing the video with "-ao null" to see if that's
> the case. I assume you use pulseaudio? Check if it has real time
> capabilities (kill it, start it with verbose/debug in foreground, read
> log). Also try "-ao alsa" and "-ao oss".

No change with "-ao null".  I actually don't use pulseaudio.

> Your data-source (gard disk, network?) is fast enough? Copy 1GB into RAM
> to be sure by ether using RAM-disk or cache-settings.

It's running from an internal HD.

> Try nvidia-binary. You'll get VDPAU in that case, which will result in
> about 5% CPU usage when decoding h264!

I'm trying to move away from VDPAU.  It fixes the performance issue
but the extra layer creates a new set of problems.

- Grant



[gentoo-user] current network traffic rate, in real time (in console)?

2010-07-07 Thread Jarry

Hi,

I would like to see in console current network transfer rate
for given interface, similar as I can see cpu-loading in [%]
with "top" command.

Just single overall value in [bytes/second] or similar unit
would be enough for me, averaged over certain short time
interval (let's say 1 or 5 seconds). How could I do that?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] kdm & french keyboard

2010-07-07 Thread Stéphane Guedon
Le mercredi 07 juillet 2010 17:58:15, Neil Bothwick a écrit :
> On Wed, 07 Jul 2010 17:23:13 +0200, alain.didierj...@free.fr wrote:
> > > Set in in xorg.conf. there's a thread on the forums that deals with
> > > this using HAL fdi files, but those are not deprecated for Xorg.
> 
> Whoops, don't know how that "not" crept in, HAL is deprecated for Xorg.
> 
> > > http://forums.gentoo.org/viewtopic-t-808934-start-0.html
> > 
> > Fast & reliable as ever. Thanks. Followed the link and fixed
> > 10-x11-input.fdi as iI don't have a xorg.conf anymore.A matter of
> > seconds... Thanks,
> 
> Until your version of Xorg stops supporting HAL, when you will need an
> xorg.conf.

You can also pass through udev !

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] libvirt needs VirtualBox XPCOMC

2010-07-07 Thread App Deb
Do you want to use libvirt with virtualbox? If not (say you want to use it
with kvm or something else) try emerging libvirt without the virtualbox flag
using package.use .

Else try emerging virtualbox-ose or virtualbox-bin befire libvirt.

But this is probably a bug? libvirt should have virtualbox as a dependency
if the use flag is enabled, I think.

On Wed, Jul 7, 2010 at 2:32 AM, Crístian Viana wrote:

> hi,
>
> when I was trying to emerge the newest libvirt ebuild, the following error
> appeared on configure:
>
> checking for VirtualBox XPCOMC location... not found
> configure: error: VirtualBox XPCOMC is required for the VirtualBox driver
>
> what do I need to install to make it work? I'm emerging with the USE flags:
>
> [ebuild U ] app-emulation/libvirt-0.8.2 [0.8.1-r1] USE="libvirtd lxc
> network nls python qemu virtualbox -avahi -caps -iscsi -lvm -macvtap% -nfs
> -numa -openvz -parted -pcap% -phyp -policykit -sasl (-selinux) -udev -uml
> -xen"
>


Re: [gentoo-user] kdm & french keyboard

2010-07-07 Thread Neil Bothwick
On Wed, 07 Jul 2010 17:23:13 +0200, alain.didierj...@free.fr wrote:

> > Set in in xorg.conf. there's a thread on the forums that deals with
> > this using HAL fdi files, but those are not deprecated for Xorg.

Whoops, don't know how that "not" crept in, HAL is deprecated for Xorg.

> > http://forums.gentoo.org/viewtopic-t-808934-start-0.html  
> 
> Fast & reliable as ever. Thanks. Followed the link and fixed
> 10-x11-input.fdi as iI don't have a xorg.conf anymore.A matter of
> seconds... Thanks,

Until your version of Xorg stops supporting HAL, when you will need an
xorg.conf.


-- 
Neil Bothwick

I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last
week. Time to die.


signature.asc
Description: PGP signature


Re: [gentoo-user] (gnome) default pdf viewer

2010-07-07 Thread App Deb
This is installed from wine applications, and yes unfortunately they can
create a mess (like making the wine "notepad" the default text editor).

You need to delete those mime applications that wine creates under your home
folder.

Try something like:
rm -rf $HOME/.local/share/applications/wine

or search and delete the file that you told me (wine-extension-pdf).

The previous gnome instructions I told you should have worked though.

On Wed, Jul 7, 2010 at 4:25 PM, Helmut Jarausch <
jarau...@igpm.rwth-aachen.de> wrote:

> On 07/07/10 12:45:05, App Deb wrote:
> > Right click on a pdf file, select properties -> open with -> and
> > select
> > evince instead of acroread.
> >
> > That it the way to easily change default applications for gnome.
>
> Unfortunately, not for me (Gnome 2.30)
> Before and after the above procedure I have
>
> gnomevfs-info MyFile.pdf
> still shows
> MIME type : application/pdf
> Default app   : wine-extension-pdf.desktop
>
> I wonder where this 'wine-extension-pdf.desktop' is coming from.
>
> And Balsa tries to use this when viewing a pdf attachment.
> I'm lost,
> Helmut.
>
>
>
> > On Mon, Jul 5, 2010 at 11:53 AM, Helmut Jarausch <
> > jarau...@igpm.rwth-aachen.de> wrote:
> >
> > > Hi,
> > >
> > > I've discovered balsa , a great mail client, btw.
> > > How can I configure the application which is called for a pdf
> > > attachment.
> > >
> > > I cannot see any configuration item for balsa itself, so I suppose
> > > it must be a Gnome setting.
> > >
> > > Currently it's set to acroread, but I'd like to set it evince.
> > > I've checked ~/.mime.types and several files in /usr/share/mime*
> > >
> > > The only file I've found is
> > > /usr/share/mime-info/gnome-vfs.keys
> > >
> > > Is that the right place? How should I edit it (with a standard text
> > > editor?)
> > >
> > > Many thanks for your help,
> > > Helmut.
> > >
> > >
> > >
> >
>
>
>
>
>


Re: [gentoo-user] kdm & french keyboard

2010-07-07 Thread alain . didierjean
Selon Neil Bothwick :

> On Wed, 07 Jul 2010 16:56:17 +0200, alain.didierj...@free.fr wrote:
>
> > I log in thru kdm. As I'm french, I have an azerty keyboard. By
> > default, kdm use a qwerty keymap. That's a problem when it comes to
> > entering passwords. How do I get kdm launched with an azerty keymap ?
> > (nothing relevant found in kdmrc).
>
> Set in in xorg.conf. there's a thread on the forums that deals with this
> using HAL fdi files, but those are not deprecated for Xorg.
>
> http://forums.gentoo.org/viewtopic-t-808934-start-0.html

Fast & reliable as ever. Thanks. Followed the link and fixed 10-x11-input.fdi as
iI don't have a xorg.conf anymore.A matter of seconds... Thanks,

--
~adj~






Re: [gentoo-user] kdm & french keyboard

2010-07-07 Thread Neil Bothwick
On Wed, 07 Jul 2010 16:56:17 +0200, alain.didierj...@free.fr wrote:

> I log in thru kdm. As I'm french, I have an azerty keyboard. By
> default, kdm use a qwerty keymap. That's a problem when it comes to
> entering passwords. How do I get kdm launched with an azerty keymap ?
> (nothing relevant found in kdmrc).

Set in in xorg.conf. there's a thread on the forums that deals with this
using HAL fdi files, but those are not deprecated for Xorg.

http://forums.gentoo.org/viewtopic-t-808934-start-0.html


-- 
Neil Bothwick

WinErr 010: Reserved for future mistakes by our developers


signature.asc
Description: PGP signature


[gentoo-user] kdm & french keyboard

2010-07-07 Thread alain . didierjean

I log in thru kdm. As I'm french, I have an azerty keyboard. By default, kdm use
a qwerty keymap. That's a problem when it comes to entering passwords. How do I
get kdm launched with an azerty keymap ? (nothing relevant found in kdmrc).



Re: [gentoo-user] installing app-emulation/wine-1.1.44

2010-07-07 Thread Rod Hurford
Petri,
a nudge in the right direction, many thanks.

My thoughts had drifted towards the emul-linux-x86-* libraries being
out of date and some of the discussion comments in the bug report you
linked confirmed that it was most likely them. (I hadn't considerd
them until now because I had thought I had kept my system up to date,
but obviously I hadn't :( )

I have manually updated the emul-linux-x86-* libraries and upgraded to
wine-1.1.44 without a problem.

Thanks for your help,
Rod

On 7 July 2010 01:55, Petri Rosenström  wrote:
> Hi
>
> this bug report seems to be same as your problem
> http://bugs.gentoo.org/show_bug.cgi?id=283860 . In the comments
> suggestions are to not to use USE flag mp3 or to manually install
> app-emulation/emul-linux-x86-soundlibs. Last comments say (2010-01-05)
> that it will still fail. dunno.
>
> Petri Rosenström
>
>
>
> On Tue, Jul 6, 2010 at 5:03 PM, Rod Hurford  wrote:
>> Hello all,
>>
>> I have wine-1.1.43 installed and I've recently had trouble installing
>> wine-1.1.14 on my system using the command
>>
>> emerge app-emulation/wine
>>
>> The result (after a few minutes of compiling) is:
>> <>
>  '/var/tmp/portage/app-emulation/wine-1.1.44/temp/build.log'
>>
>>  * Messages for package app-emulation/wine-1.1.44:
>>
>>  * ERROR: app-emulation/wine-1.1.44 failed:
>>  *   all
>>  *
>>  * Call stack:
>>  *     ebuild.sh, line  54:  Called src_compile
>>  *   environment, line 3354:  Called die
>>  * The specific snippet of code:
>>  *       emake all || die "all"
>>  *
>>  * If you need support, post the output of 'emerge --info
>> =app-emulation/wine-1.1.44',
>>  * the complete build log and the output of 'emerge -pqv
>> =app-emulation/wine-1.1.44'.
>>  * The complete build log is located at
>> '/var/tmp/portage/app-emulation/wine-1.1.44/temp/build.log'.
>>  * The ebuild environment file is located at
>> '/var/tmp/portage/app-emulation/wine-1.1.44/temp/environment'.
>>  * S: '/var/tmp/portage/app-emulation/wine-1.1.44/work/wine-1.1.44'
>> <--->
>>
>> The outputs suggested above are pasted below and the build.log file is 
>> attached.
>>
>> I have googled and there does not seem to be a problem with the ebuild
>> AND I get the same output with wine-1.1.43 (which is currenlty
>> installed) so the obvious conclusion is that I am doing something
>> 'wrong'. Does anybody have any ideas or could point me in the right
>> direction?
>>
>> Thanks in advance
>> Rod
>>
>>
>>
>>
>>
>> emerge --info =app-emulation/wine-1.1.44
>> Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0,
>> 2.6.31-gentoo-r10 x86_64)
>> =
>>                        System Settings
>> =
>> System uname: 
>> Linux-2.6.31-gentoo-r10-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-1.12.13
>> Timestamp of tree: Tue, 06 Jul 2010 12:15:01 +
>> app-shells/bash:     4.0_p37
>> dev-java/java-config: 2.1.10
>> dev-lang/python:     2.6.4-r1
>> dev-util/cmake:      2.6.4-r3
>> sys-apps/baselayout: 1.12.13
>> sys-apps/sandbox:    1.6-r2
>> sys-devel/autoconf:  2.13, 2.65
>> sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
>> sys-devel/binutils:  2.20.1-r1
>> sys-devel/gcc:       4.3.4, 4.4.3-r2
>> sys-devel/gcc-config: 1.4.1
>> sys-devel/libtool:   2.2.6b
>> virtual/os-headers:  2.6.30-r1
>> ACCEPT_KEYWORDS="amd64"
>> ACCEPT_LICENSE="* -...@eula"
>> CBUILD="x86_64-pc-linux-gnu"
>> CFLAGS="-O2 -pipe"
>> CHOST="x86_64-pc-linux-gnu"
>> CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config
>> /var/lib/hsqldb"
>> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
>> /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
>> /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
>> /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
>> CXXFLAGS="-O2 -pipe"
>> DISTDIR="/usr/portage/distfiles"
>> FEATURES="assume-digests distlocks fixpackages news parallel-fetch
>> protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans
>> userfetch"
>> GENTOO_MIRRORS="ftp://ftp.ds.karen.hj.se/gentoo/
>> http://ftp.ds.karen.hj.se/gentoo/
>> http://mirror.switch.ch/ftp/mirror/gentoo/
>> ftp://mirror.switch.ch/mirror/gentoo/";
>> LDFLAGS="-Wl,-O1"
>> MAKEOPTS="-j2"
>> PKGDIR="/usr/portage/packages"
>> PORTAGE_CONFIGROOT="/"
>> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
>> --compress --force --whole-file --delete --stats --timeout=180
>> --exclude=/distfiles --exclude=/local --exclude=/packages"
>> PORTAGE_TMPDIR="/var/tmp"
>> PORTDIR="/usr/portage"
>> SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
>> USE="X X509 a52 aac acl acpi aften aio akonadi alsa amd64 amr api
>> archive asf aspell ass async audacious audio audiofile automount
>> bash-completion berkdb binary-drivers bittorrent bzip2 cdda cddax cddb
>> cdparanoi

Re: [gentoo-user] (gnome) default pdf viewer

2010-07-07 Thread Helmut Jarausch
On 07/07/10 12:45:05, App Deb wrote:
> Right click on a pdf file, select properties -> open with -> and
> select
> evince instead of acroread.
> 
> That it the way to easily change default applications for gnome.

Unfortunately, not for me (Gnome 2.30)
Before and after the above procedure I have

gnomevfs-info MyFile.pdf
still shows
MIME type : application/pdf
Default app   : wine-extension-pdf.desktop

I wonder where this 'wine-extension-pdf.desktop' is coming from.

And Balsa tries to use this when viewing a pdf attachment.
I'm lost,
Helmut.



> On Mon, Jul 5, 2010 at 11:53 AM, Helmut Jarausch <
> jarau...@igpm.rwth-aachen.de> wrote:
> 
> > Hi,
> >
> > I've discovered balsa , a great mail client, btw.
> > How can I configure the application which is called for a pdf
> > attachment.
> >
> > I cannot see any configuration item for balsa itself, so I suppose
> > it must be a Gnome setting.
> >
> > Currently it's set to acroread, but I'd like to set it evince.
> > I've checked ~/.mime.types and several files in /usr/share/mime*
> >
> > The only file I've found is
> > /usr/share/mime-info/gnome-vfs.keys
> >
> > Is that the right place? How should I edit it (with a standard text
> > editor?)
> >
> > Many thanks for your help,
> > Helmut.
> >
> >
> >
> 






Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Andy Wilkinson
On 07/05/10 15:46, Jake Moe wrote:
> I've recently installed a new system, and can't seem to get UVESAFB
> working properly.  I've set up everything in the kernel, and modified
> GRUB's menu.lst to use the framebuffer.  However, even though there
> doesn't seem to be any errors, I can't seem to get anything other than
> "default" resolution with far too large fonts.
>
> I've compared dmesg info, GRUB configs and kernel configs between this
> laptop, and another laptop that has UVESAFB running fine, and am at a
> loss to find what's wrong.
>
> The laptop in question is a HP EliteBook 8440p with an nVidia graphics chip.
>
> Relevant info that I can think of:
>
>
> -* lspci *-
> 
>
>
> -* dmesg | grep uvesafb *-
> Kernel command line: root=/dev/sda4 video=uvesafb:mtrr:3,ywrap,1600x900
> uvesafb: NVIDIA Corporation, NVIDIA Quadro NVS 170M
> uvesafb: protected mode interface info at c000:c2d0
> uvesafb: pmi: set display start = c00cc333, set palette = c00cc38e
> uvesafb: pmi: ports = 3b4 3b5 3ba 3c0 3c1 3c4 3c5 3c6 3c7 3c8 3c9 3cc
> 3ce 3cf 3d0 3d1 3d2 3d3 3d4 3d5 3da
> uvesafb: VBIOS/hardware doesn't support DDC transfers
> uvesafb: no monitor limits have been set, default refresh rate will be used
> uvesafb: scrolling: ywrap using protected mode interface, yres_virtual=7200
> uvesafb: framebuffer at 0xd100, mapped to 0xf808, using 11250k,
> total 14336k
>
>
> -* /sys/devices/platform/uvesafb.0/graphics/fb0/modes *-
> U:1600x900p-59
> 
> U:1600x900p-59
> 
>
> I've also attached my kernel .config file for reference.  If you need
> anything further, please let me know.  I'm sure I've overlooked
> something obvious here; usually getting the framebuffer set up isn't
> this hard; but for some reason, I can't figure this one out.  While this
> isn't a big deal, since usually the first thing I do after login is
> "startx", it's an annoyance that I'd like cleared up; it *should* work,
> dammit!  :-P
>
> Jake Moe
>   
This may be a bit of a long shot, but: according to the modes file you
included, your monitor only actually supports 1600x900 at 59 Hz.  Since
you aren't specifying a refresh, uvesafb says in dmesg that it is using
a default refresh.  My guess is that means "60", rather than some smart
value.  Does anything different happen if you specify the full mode,
e.g. 1600x900...@59?

I'm afraid if that doesn't help I'm not likely to be much good myself. 
But I thought seeing that 59 there was odd, and figure it might be worth
a look.

-Andy



Re: [gentoo-user] Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Mick
On 7 July 2010 12:27, Daniel Troeder  wrote:

> Use "htop" to see threads. As far as I know "top" won't show those. So
> you can't check if your multi-threaded mplayer is really using more than
> 1 thread/process.

What do you get when you press upper case 'H' in top?
-- 
Regards,
Mick



Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Mick
On 7 July 2010 12:50, Jake Moe  wrote:
> On 07/07/10 15:50, Mick wrote:
>> On Monday 05 July 2010 23:46:54 Jake Moe wrote:
>>
>>> I've recently installed a new system, and can't seem to get UVESAFB
>>> working properly.  I've set up everything in the kernel, and modified
>>> GRUB's menu.lst to use the framebuffer.  However, even though there
>>> doesn't seem to be any errors, I can't seem to get anything other than
>>> "default" resolution with far too large fonts.
>>>
>>> I've compared dmesg info, GRUB configs and kernel configs between this
>>> laptop, and another laptop that has UVESAFB running fine, and am at a
>>> loss to find what's wrong.
>>>
>> Stating the obvious, have you emerged fbcondecor, ran /etc/init.d/fbcondecor
>> start and then added it to your boot runlevel?
>>
> Thanks for the reply.  But...
>
> j...@aus10373 ~ $ eix fbcondecor
> No matches found.
> j...@aus10373 ~ $ eix fb -a con
> No matches found.
> j...@aus10373 ~ $ eix fb -a decor
> No matches found.
>
> Erm, wossat then?  Are you thinking of bootsplash?  Besides, this is
> something that happens long before the initscripts run; the screen
> should go from GRUB to "standard" console for a moment, then it should
> change to the framebuffer console.

I'm sorry, I meant v86d (looked at an old machine of mine which also
has a framebuffer splash for more eyecandy in an initird).
-- 
Regards,
Mick



Re: [gentoo-user] OT - UVESAFB setup not working

2010-07-07 Thread Jake Moe
On 07/07/10 15:50, Mick wrote:
> On Monday 05 July 2010 23:46:54 Jake Moe wrote:
>   
>> I've recently installed a new system, and can't seem to get UVESAFB
>> working properly.  I've set up everything in the kernel, and modified
>> GRUB's menu.lst to use the framebuffer.  However, even though there
>> doesn't seem to be any errors, I can't seem to get anything other than
>> "default" resolution with far too large fonts.
>>
>> I've compared dmesg info, GRUB configs and kernel configs between this
>> laptop, and another laptop that has UVESAFB running fine, and am at a
>> loss to find what's wrong.
>> 
> Stating the obvious, have you emerged fbcondecor, ran /etc/init.d/fbcondecor 
> start and then added it to your boot runlevel?
>   
Thanks for the reply.  But...

j...@aus10373 ~ $ eix fbcondecor
No matches found.
j...@aus10373 ~ $ eix fb -a con
No matches found.
j...@aus10373 ~ $ eix fb -a decor
No matches found.

Erm, wossat then?  Are you thinking of bootsplash?  Besides, this is
something that happens long before the initscripts run; the screen
should go from GRUB to "standard" console for a moment, then it should
change to the framebuffer console.

Jake Moe



Re: [gentoo-user] Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Daniel Troeder
On 07/07/2010 12:35 PM, App Deb wrote:
> You have dual core so 60% means:
> 
> 50% (full one core) is for decoding, 
> 
> and the rest 10% is for audio, resizing etc.
Oh - didn't think about this - yes... you could be seeing the wrong
thing in "top". If you have more than 1 CPU/Core you should push "1" in
"top" to get separate statistics per CPU/Core. Push "W" to save your
settings. (Use "s" to change statistics collection time, "1" sec. is good.)

Use "htop" to see threads. As far as I know "top" won't show those. So
you can't check if your multi-threaded mplayer is really using more than
1 thread/process.

BTW: On my core2duo 2,4 GHz I have no problems watching H.264 encoded
1080p videos with AAC sound. All decoding is done in software. When I
use original mplayer 720p is possible without problem, 1080p only with
low bitrate. For high bitrate 1080p I need the mt-version.

Daniel


> 
> You can't play the video correctly because your "decoder" is not
> multithreaded and uses just the one CPU at its fullest.
> 
> Try using multithreaded version of mplayer "mplayer-mt" (in some overlay
> probably) with "lavdopts=threads=2" in mplayer config.
> 
> On Wed, Jul 7, 2010 at 5:17 AM, Grant  > wrote:
> 
> I've been using VDPAU acceleration to play back Blu-Ray rips for a
> while, but the extra layer is getting to be quite a hassle so I'm
> trying to get decent performance via software decoding.  It has
> actually come a long way since the last time I tried and playing
> Blu-Ray rips via mplayer is nearly watchable.  I'm using a dual-core
> 3.1Ghz CPU and one of the cores is only taxed up to 60% during
> playback, but frames are still being dropped constantly.  Does anyone
> know where the bottleneck might be?
> 
> - Grant
> 
> 




Re: [gentoo-user] (gnome) default pdf viewer

2010-07-07 Thread App Deb
Right click on a pdf file, select properties -> open with -> and select
evince instead of acroread.

That it the way to easily change default applications for gnome.

On Mon, Jul 5, 2010 at 11:53 AM, Helmut Jarausch <
jarau...@igpm.rwth-aachen.de> wrote:

> Hi,
>
> I've discovered balsa , a great mail client, btw.
> How can I configure the application which is called for a pdf
> attachment.
>
> I cannot see any configuration item for balsa itself, so I suppose
> it must be a Gnome setting.
>
> Currently it's set to acroread, but I'd like to set it evince.
> I've checked ~/.mime.types and several files in /usr/share/mime*
>
> The only file I've found is
> /usr/share/mime-info/gnome-vfs.keys
>
> Is that the right place? How should I edit it (with a standard text
> editor?)
>
> Many thanks for your help,
> Helmut.
>
>
>


Re: [gentoo-user] Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread App Deb
You have dual core so 60% means:

50% (full one core) is for decoding,

and the rest 10% is for audio, resizing etc.

You can't play the video correctly because your "decoder" is not
multithreaded and uses just the one CPU at its fullest.

Try using multithreaded version of mplayer "mplayer-mt" (in some overlay
probably) with "lavdopts=threads=2" in mplayer config.

On Wed, Jul 7, 2010 at 5:17 AM, Grant  wrote:

> I've been using VDPAU acceleration to play back Blu-Ray rips for a
> while, but the extra layer is getting to be quite a hassle so I'm
> trying to get decent performance via software decoding.  It has
> actually come a long way since the last time I tried and playing
> Blu-Ray rips via mplayer is nearly watchable.  I'm using a dual-core
> 3.1Ghz CPU and one of the cores is only taxed up to 60% during
> playback, but frames are still being dropped constantly.  Does anyone
> know where the bottleneck might be?
>
> - Grant
>
>


Re: [gentoo-user] Re: Why does high-res video drop frames at 60% CPU?

2010-07-07 Thread Daniel Troeder
On 07/07/2010 05:33 AM, Grant wrote:
>>> I've been using VDPAU acceleration to play back Blu-Ray rips for a
>>> while, but the extra layer is getting to be quite a hassle so I'm
>>> trying to get decent performance via software decoding.  It has
>>> actually come a long way since the last time I tried and playing
>>> Blu-Ray rips via mplayer is nearly watchable.  I'm using a dual-core
>>> 3.1Ghz CPU and one of the cores is only taxed up to 60% during
>>> playback, but frames are still being dropped constantly.  Does anyone
>>> know where the bottleneck might be?
>>
>> Not sure.  Could be wrong CPU load display; which tool do you use to get the
>> CPU load?
> 
> I use top.  On the mplayer list, people were saying they too get 60%
> CPU load but no playback problems.
> 
>> Anyway, if you're not already doing so, you might want to try the
>> multithreaded version of mplayer so both CPU cores can do decoding. It's in
>> the "multimedia" overlay.  More details here:
>>
>>  http://forums.gentoo.org/viewtopic-t-789673.html
> 
> I really don't think it's a CPU issue.  What other factors could be at
> play?  Could it be my nouveau video drivers?
> 
> - Grant
> 
Regarding mplayer: There is another ebuild in the multimedia-overlay
that I prefer now to mplayer(-mt) and that also uses ffmpeg-mt :
media-video/mplayer-uau.

It fetches the mplayer-version from one of the mplayer-devs and creates
a binary called "mplayer-uau" which can be installed at the same time as
the official mplayer package.

Regarding your frame drops: it is highly likely that sound is the
problem. Please try playing the video with "-ao null" to see if that's
the case. I assume you use pulseaudio? Check if it has real time
capabilities (kill it, start it with verbose/debug in foreground, read
log). Also try "-ao alsa" and "-ao oss".

Your data-source (gard disk, network?) is fast enough? Copy 1GB into RAM
to be sure by ether using RAM-disk or cache-settings.

Try nvidia-binary. You'll get VDPAU in that case, which will result in
about 5% CPU usage when decoding h264!

Hope some of this helps...
Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887



signature.asc
Description: OpenPGP digital signature