[gentoo-user] Openshot segfault with new cairo

2011-02-14 Thread Jacques Montier
Hi all,

When i upgrade to cairo-1.10.2-r1, the video editor Openshot compiles,
but crashes with segfault error.
New cairo has qt4 useflag ; so, i have to set -qt4 useflag to cairo to
get Openshot working again.
May i get some trouble by setting this useflag to cairo ?

Thanks you,

cheers,

--
Jacques
 



Re: [gentoo-user] Re: ALSA - Still No Sound

2011-02-14 Thread dhk
On 02/13/2011 09:21 PM, Nikos Chantziaras wrote:
 On 02/14/2011 01:19 AM, dhk wrote:
 I still can't get sound to work.  Can someone tell me what's wrong?  In
 addition to my earlier thread below I have INPUT_DEVICES=evdev and
 ALSA_CARDS=AC97 in my make.conf.
 
 Dumb question, but did you unmute the channels in 'alsamixer'?  I almost
 always had to do that the first time I configured ALSA.  For reason the
 defaults seemed to mute the channels.
 
 
 

Yes, all channels are unmuted.  Thanks.



Re: [gentoo-user] ALSA - Still No Sound

2011-02-14 Thread dhk
On 02/13/2011 09:01 PM, Bill Kenworthy wrote:
 what does lsmod say?
 
 This is on a jetway MB with an onboard nvidia chipset so not quite the
 same as yours (only sound and the nvidia module are modularised) - in
 particular make sure that you are building the Intel HD Audio codecs -
 it isnt immediately obvious that its required.
 
 BillK
 
 
 myth3 linux # lsmod
 Module  Size  Used by
 snd_pcm_oss37091  0 
 snd_mixer_oss  14409  1 snd_pcm_oss
 snd_seq_dummy   1335  0 
 snd_seq_oss26582  0 
 snd_seq_midi_event  5148  1 snd_seq_oss
 snd_seq47261  5
 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 snd_usb_audio  76036  0 
 snd_usb_lib16911  1 snd_usb_audio
 snd_rawmidi17403  1 snd_usb_lib
 snd_seq_device  4917  4
 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
 snd_hda_codec_nvhdmi12443  1 
 snd_hda_codec_realtek   261601  1 
 easycap  1258666  0 
 nvidia  10078248  36 
 snd_hda_intel  20392  4 
 snd_hda_codec  67766  3
 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
 lirc_wb677 22727  1 
 snd_hwdep   5724  2 snd_usb_audio,snd_hda_codec
 lirc_dev   10091  3 lirc_wb677
 snd_pcm68302  5
 snd_pcm_oss,snd_usb_audio,easycap,snd_hda_intel,snd_hda_codec
 snd_timer  17708  2 snd_seq,snd_pcm
 snd49975  23
 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_usb_audio,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_hda_codec_realtek,easycap,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
 soundcore   5135  1 snd
 snd_page_alloc  6641  2 snd_hda_intel,snd_pcm
 myth3 linux #
 
 On Sun, 2011-02-13 at 18:19 -0500, dhk wrote:
 I still can't get sound to work.  Can someone tell me what's wrong?  In
 addition to my earlier thread below I have INPUT_DEVICES=evdev and
 ALSA_CARDS=AC97 in my make.conf.

 The following that someone suggented does nothing.
 modprobe snd-intel8x0; modprobe snd-pcm-oss; modprobe snd-mixer-oss;
 modprobe snd-seq-oss

 I've also tried a second sound card and alternate set of speakers.  Also
 nothing is muted or turned down.

 According to http://kmuto.jp/debian/hcl/ my card works.
 10de00ea Yes nVidia Corporation nForce3 250Gb AC'97 Audio Controller
 snd-intel8x0 v2.6.25-


 On 01/22/2011 08:16 PM, dhk wrote:
 Can someone tell me why I don't have sound?  I've followed the
 instructions at http://www.gentoo.org/doc/en/alsa-guide.xml and
 everything seems to be working, but there's still no sound.  I've also
 swapped out the speakers, made sure they were powered on, and the volume
 turned up.  Also I'm in the audio group and the channels are unmuted
 with the volume at 75%.

 One thing I did notice is that after running alsaconf there aren't any
 modules in /etc/modules.d/, in fact the directory doesn't even exist.
 Now if there aren't any modules to load that's fine, but since I don't
 hear anything I'm not so sure.

 Below is what's on my ~amd64 system.

 Thanks.

 # rc-update show | grep -i alsa
alsasound | boot

 # /etc/init.d/alsasound restart
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
   [ ok ]
  * Loading ALSA modules ...
  *   Loading: snd-card-0 ...
   [ ok ]
  * Restoring Mixer Levels ...
   [ ok ]

 # lspci -v | grep -i audio
 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
 AC'97 Audio Controller (rev a1)

 # cat /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5 | egrep -i
 'sound|ac97|alsa'
 CONFIG_SOUND=m
 CONFIG_SOUND_OSS_CORE=y
 CONFIG_SOUND_OSS_CORE_PRECLAIM=y
 CONFIG_SND_AC97_CODEC=m
 # CONFIG_SND_AC97_POWER_SAVE is not set
 # CONFIG_SOUND_PRIME is not set
 CONFIG_AC97_BUS=m
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 # CONFIG_CRYPTO_SALSA20 is not set
 CONFIG_CRYPTO_SALSA20_X86_64=m

 # cat /proc/asound/cards
  0 [CK8S   ]: NFORCE - NVidia CK8S
   NVidia CK8S with ALC850 at irq 20
  1 [UART   ]: MPU-401 UART - MPU-401 UART
   MPU-401 UART at 0x300, irq 5

 # cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.23.

 # cat /proc/asound/oss/sndstat
 Sound Driver:3.8.1a-980706 (ALSA v1.0.23 emulation code)
 Kernel: Linux jenny 2.6.36-gentoo-r5 #1 SMP Wed Jan 12 16:53:04 EST 2011
 x86_64
 Config options: 0

 Installed drivers:
 Type 10: ALSA emulation

 Card config:
 NVidia CK8S with ALC850 at irq 20
 MPU-401 UART at 0x300, irq 5

 Audio devices:
 0: NVidia CK8S (DUPLEX)

 Synth devices: NOT ENABLED IN CONFIG

 Midi devices:
 1: MPU-401 UART MIDI

 Timers:
 31: system timer

 Mixers:
 0: Realtek ALC850 rev 0
 1: mixer10

 Thanks again,

 dhk

 
 
 
 

Below is the full lsmod.  What are the Intel HD Audio codecs?  I don't
remember doing anything explicitly for them.  How do I check them?  Thanks.

# lsmod
Module  Size  Used by
ipv6  206158  

Re: [gentoo-user] Re: vmplayer not working after xorg upgrade

2011-02-14 Thread Mark Knecht
On Sun, Feb 13, 2011 at 6:46 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 02/14/2011 04:27 AM, Mark Knecht wrote:

 On Sun, Feb 13, 2011 at 6:19 PM, Nikos Chantziarasrea...@arcor.de
  wrote:

 On 02/13/2011 10:24 PM, Mark Knecht wrote:

 On Sun, Feb 13, 2011 at 11:48 AM, Mark Knechtmarkkne...@gmail.com
  wrote:

 This morning I did an xorg-server upgrade which included IIRC 33 files
 total on my system. After the upgrade I am unable to run the vmplayer
 app. The GUI never comes up. If I run it in a terminal it seems to die
 quietly after about 5 seconds. There are no additional messages in
 dmesg.


 OK - there is nothing of interest in the setup log file above, but in
 the same directory there is a player-log which is catching the crash.
 I cannot tell what's kicking it off so I'm considering uninstalling
 all the vmware stuff, looking for stale links, then reinstalling
 vmware.

 Are you using the ebuilds for vmware?  (Latest versions are in the
 vmware
 overlay.)  I run latest X.Org (1.9.4) and both workstation as well as
 player
 have no problems here.

 I switched to those from Pentoo today Nikos and that's when it started
 working. However what I found so far didn't support the bundled
 workstation/tools package, only the workstation so right now I don't
 have the additions stuff installed. I'll be looking into that
 tomorrow.

 It has a USE flags for those (vmware-tools flag) which pulls-in the
 app-emulation/vmware-tools package.  That package itself has USE flags for
 which tools you want (vmware_guest_linux, vmware_guest_windows, etc.)

 The ISO images for the tools can then be found in the
 /opt/vmware/lib/vmware/isoimages directory.


Thanks! I hadn't found the flags for vmware-tools. I'm sure that will help.

The VMs are already running for the day so I'll look at doing the
emerge later this afternoon when work is done.

Again, a big, appreciative thank you for the info.

Cheers,
Mark



[gentoo-user] Re: util-linux failed to patch while emergeing

2011-02-14 Thread walt

On 02/12/2011 09:58 PM, meino.cra...@gmx.de wrote:

Hi,

this morning I got this while emergeing util-linux:

   Emerging (1 of 1) sys-apps/util-linux-2.19
 * util-linux-2.19.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [ 
ok ]
 * util-linux-ng-2.18-20100706.diff.bz2 RMD160 SHA1 SHA256 size ;-) ... [ 
ok ]
 * Package:sys-apps/util-linux-2.19
 * Repository: gentoo
 * Maintainer: base-sys...@gentoo.org
 * USE:  amd64 cramfs crypt elibc_glibc kernel_linux loop-aes multilib nls 
perl userland_GNU
   Unpacking source...
   Unpacking util-linux-2.19.tar.bz2 to 
/var/tmp/portage/sys-apps/util-linux-2.19/work
   Unpacking util-linux-ng-2.18-20100706.diff.bz2 to 
/var/tmp/portage/sys-apps/util-linux-2.19/work
   Source unpacked in /var/tmp/portage/sys-apps/util-linux-2.19/work
   Preparing source in 
/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-2.19 ...
 * Applying util-linux-ng-2.18-20100706.diff ...

 * Failed Patch: util-linux-ng-2.18-20100706.diff !
 *  ( 
/var/tmp/portage/sys-apps/util-linux-2.19/work/util-linux-ng-2.18-20100706.diff 
)
 *
 * Include in your bugreport the contents of:
 *
 *   
/var/tmp/portage/sys-apps/util-linux-2.19/temp/util-linux-ng-2.18-20100706.diff.out


That diff.out file shows that the patch being applied is grossly broken for 
version 2.19.

If you really need the loop-aes useflag, you'll just have to wait for the 
gentoo dev to fix
the ebuild.  Otherwise, just unset the loop-aes flag.  Dunno if there is a bug 
report open
for this, but there should be.





[gentoo-user] Re: ALSA - Still No Sound

2011-02-14 Thread walt

On 02/14/2011 03:43 AM, dhk wrote:
 

What are the Intel HD Audio codecs?  I don't
remember doing anything explicitly for them.  How do I check them?  Thanks.


Under the HD-Intel sound card driver menu there are several codecs for
specific sound chips.  e.g. I use the one for realtek, but yours may be
a different one.  Doesn't hurt to build them all as modules and see which
one(s) your kernel actually uses.




Re: [gentoo-user] Re: For net-print/hplip users

2011-02-14 Thread Daniel Pielmeier
Daniel Pielmeier schrieb am 12.02.2011 20:16:
 walt schrieb am 12.02.2011 19:47:
 On 02/11/2011 06:47 PM, Daniel Pielmeier wrote:

  From the hplip ebuild:

 elog You should run hp-setup as root if you are installing hplip for
 the first time,
 elog and may also need to run it if you are upgrading from an earlier
 version.

 Yes, I saw that, and I *did* re-run hp-setup.  But I didn't delete the
 existing cups printers, thinking it wouldn't be necessary.  But it was :/
 
 Well this is the purpose of hp-setup, adding or deleting printers.
 
 Run hp-setup -r then you can select the printer you want to delete.
 Afterwards run hp-setup without options to add them again.
 
 But you are right the message should be more verbose.
 

I wrote an update to the hplip section of the Gentoo Printing Guide [1],
removed the elog messages from the ebuild and referred to the guide
instead. I hope this helps everyone who is installing/upgrading hplip.

[1] http://www.gentoo.org/doc/en/printing-howto.xml#hplip

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: For net-print/hplip users

2011-02-14 Thread Allan Gottlieb
On Mon, Feb 14 2011, Daniel Pielmeier wrote:

 Daniel Pielmeier schrieb am 12.02.2011 20:16:
 walt schrieb am 12.02.2011 19:47:
 On 02/11/2011 06:47 PM, Daniel Pielmeier wrote:

  From the hplip ebuild:

 elog You should run hp-setup as root if you are installing hplip for
 the first time,
 elog and may also need to run it if you are upgrading from an earlier
 version.

 Yes, I saw that, and I *did* re-run hp-setup.  But I didn't delete the
 existing cups printers, thinking it wouldn't be necessary.  But it was :/
 
 Well this is the purpose of hp-setup, adding or deleting printers.
 
 Run hp-setup -r then you can select the printer you want to delete.
 Afterwards run hp-setup without options to add them again.
 
 But you are right the message should be more verbose.
 

 I wrote an update to the hplip section of the Gentoo Printing Guide [1],
 removed the elog messages from the ebuild and referred to the guide
 instead. I hope this helps everyone who is installing/upgrading hplip.

 [1] http://www.gentoo.org/doc/en/printing-howto.xml#hplip

This is very nice.  I would add that to use the scanner you need the
scanner USE flag (I know that sounds obvious, but I would included it).

allan



[gentoo-user] Prelink on a already fast system

2011-02-14 Thread Dale
I was curious.  I have this new rig and was wondering if prelinking 
would help any.  It's a 4 core AMD 3.2Ghz CPU with 4Gbs, soon to be 
8Gbs, of ram and a SATA 3 hard drive.  On a modern system, would prelink 
make anything that much faster?  Is it worth installing in this system?


Thoughts?  Opinions?  Personal experience?

Thanks.

Dale

:-)  :-)

P. S.  Ram is ordered and should be here in a couple days.  Having 
Newegg about 100 miles away is pretty neat.  :-D




[gentoo-user] Re: Kernel upgrade

2011-02-14 Thread walt

On 02/14/2011 04:03 PM, Fzinc wrote:

Hi.

Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to 
linux-2.6.36-gentoo-r5 just copied the .config from the old one and did a make 
oldconfig as i usually do
but when i tried to compile it got this message:

--

localhost linux # make  make modules_install
scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
/usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc: command 
not found


That's a strange error.  That script is supposed to produce a 4-digit number:

# sh /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh gcc-4.5.2
0405

What do you see if you give it the gcc-4.x.x that you are using?

Did you use gcc-config to change the active version of gcc, maybe?




[gentoo-user] Kernel upgrade

2011-02-14 Thread Fzinc
Hi.

Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to
linux-2.6.36-gentoo-r5 just copied the .config from the old one and did a
make oldconfig as i usually do
but when i tried to compile it got this message:

--

localhost linux # make  make modules_install
scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
/usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc:
command not found
/usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 26: Ygcc:
command not found
/usr/src/linux-2.6.36-gentoo-r5/arch/x86/Makefile:81: stack protector
enabled but no compiler support
make: Ygcc: Command not found
  CHK include/linux/version.h
  UPD include/linux/version.h
  CHK include/generated/utsrelease.h
  UPD include/generated/utsrelease.h
  CC  kernel/bounds.s
/bin/sh: Ygcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2

-

I have no idea what the heck is the Ygcc and why it is looking for it.

Any help?


Re: [gentoo-user] Kernel upgrade

2011-02-14 Thread Dale

Fzinc wrote:

Hi.

Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to 
linux-2.6.36-gentoo-r5 just copied the .config from the old one and 
did a make oldconfig as i usually do

but when i tried to compile it got this message:

--

localhost linux # make  make modules_install
scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
/usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc: 
command not found
/usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 26: Ygcc: 
command not found
/usr/src/linux-2.6.36-gentoo-r5/arch/x86/Makefile:81: stack protector 
enabled but no compiler support

make: Ygcc: Command not found
  CHK include/linux/version.h
  UPD include/linux/version.h
  CHK include/generated/utsrelease.h
  UPD include/generated/utsrelease.h
  CC  kernel/bounds.s
/bin/sh: Ygcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2

-

I have no idea what the heck is the Ygcc and why it is looking for it.

Any help?




Did a bit of googling here.  You may want to try copying the new .config 
to a safe place, /root maybe, then run make distclean, or make mrproper, 
then copying the .config back and trying again.  That is what worked for 
some of the folks that ran into this.


If that don't work, post back.  Hope that fixes it tho.

Dale

:-)  :-)



Re: [gentoo-user] Re: Kernel upgrade

2011-02-14 Thread Mike Edenfield
On 02/14/2011 04:03 PM, Fzinc wrote:
 Hi.

 Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to 
 linux-2.6.36-gentoo-r5 just copied the .config from the old one and did a 
 make oldconfig as i usually do
 but when i tried to compile it got this message:

 --

 localhost linux # make  make modules_install
 scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
 /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc: 
 command not found

My guess: somehow the CROSS_COMPILE configuration option got set to Y.
This is the second option in menuconfig under General Setup.  This value
gets prepended to $CC during a build -- it's meant to hold a cross
prefix, like i686-pc-linux-gnu-, for cases where you're building a
kernel for a different architecture.

You almost certainly don't want this set to anything, since it sounds
like you're building a kernel for the same machine.  Go clear it out and
try again.

--K




Re: [gentoo-user] Prelink on a already fast system

2011-02-14 Thread Petri Rosenström
On Tue, Feb 15, 2011 at 1:45 AM, Dale rdalek1...@gmail.com wrote:
 I was curious.  I have this new rig and was wondering if prelinking would
 help any.  It's a 4 core AMD 3.2Ghz CPU with 4Gbs, soon to be 8Gbs, of ram
 and a SATA 3 hard drive.  On a modern system, would prelink make anything
 that much faster?  Is it worth installing in this system?

 Thoughts?  Opinions?  Personal experience?

 Thanks.

 Dale

 :-)  :-)

 P. S.  Ram is ordered and should be here in a couple days.  Having Newegg
 about 100 miles away is pretty neat.  :-D



Hi,

I have U2300, 3Gb, 120gb SSD and I tried prelinkin on my system. I
didn't notice any improvement.

Best regards
Petri