[gentoo-user] Choosing a new profile: multilib or not?
It used to be the case that adobe flash and other applications would not work with a no-multilib profile. However, I was surprised to see that a previous no-multilib installation of mine was able to play flash in Firefox. So, I thought of asking here if there is any reason to avoid installing a no-multilib profile these days. What applications binary (e.g. Skype) or source compiled won't work with no- multilib? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Getting rid of gcc-4.7.3...how?
On Sat, Dec 20, 2014 at 9:04 PM, wrote: > Matti Nykyri [14-12-20 19:48]: > > > On Dec 20, 2014, at 17:56, meino.cra...@gmx.de wrote: > > > > > > Dale [14-12-20 02:47]: > > >> meino.cra...@gmx.de wrote: > > >>> Dale [14-12-19 17:08]: > > Mick wrote: > > > Meino, to avoid misunderstandings: 1. Emerge the new gcc package. > 2. > > > Use gcc-config to change to the new gcc version. 3. Run > 'env-update && > > > source /etc/profile'. 4. Run fix_libtool_files.sh, although I would > > > think that this is redundant these days. 5. Unmerge the old gcc > version. > > I don't recall ever running fix_libtool_files.sh after switching gcc > > versions. Usually when I see a gcc upgrade, I emerge it, switch to > it > > and the usual profile thing, run emerge -e world JUST to be safe, > then > > unmerge the old gcc. That's all I usually do here. I have skipped > the > > emerge -e world a time or two. > > > > Am I just lucky, not likely as some may know, or does emerge -e > world > > catch it or what? Now I'm curious. > > > > Dale > > > > :-) :-) > > >>> Hi Dale, > > >>> > > >>> I started compiling the new gcc this morning about ~7:00 AM...just a > > >>> few minutes ago stage3 finishes. Now ... before doing anything > else... > > >>> I am makeing a backup of all that, so...if anything fails...I am able > > >>> to reinstall the status quo. > > >>> > > >>> I will keep you informed, what happens to my little embedded > system... > > >>> > > >>> Best > > >>> Meino > > >> > > >> That's the thing about slow systems, you want to do it right the first > > >> time because it takes to much time to repeat something. Heck, I have > a > > >> 4 core AMD CPU with 16GBs of ram here and I still would rather do it > > >> right the first time. If you have something slow that takes days to > do > > >> something, you really want plan A to work. > > >> > > >> I'm also wondering if there have been changes to emerge that could > make > > >> a difference. I run the latest unstable non * version. I sorta > > >> like having all the new improvements. I'm just not sure if that > affects > > >> the issue here is all. > > >> > > >> Dale > > >> > > >> :-) :-) > > > > > > Hi, > > > > > > after a few more non-booting-systems and backup-reinstalls I think > > > I know whats the reason is...but by I dont know how to get out of it: > > > > > > The system becomes inaccessible if I do an env-update and reboot. > > > > > > Reason for that are binaries, in which the path to the old gcc is > > > hardcoded. With the sdcard mounted I checked that with my PC: > > > I did a > > > > > >grep -r '\/usr\/lib\/gcc\/armv7a-hardfloat-linux-gnueabi\/4.7.3' > > > > > > on ALL files of the sdcard and found "thousands" of hardcoded links > > > to the old gcc inside binaries... > > > > > > The new gcc installed but not doing env-update implies that any > > > further compilation will link to the old gcc. > > > > > > Doing env-update implies a system which will not survive the next > > > reboot. > > > > > > What now? > > > > If i understand your situation correctly, do: > > > > gcc-config "to set the new version" > > env-update > > logout > > login > > emerge --deep --update world > > emerge --depclean > > revdep-rebuild > > > > This will take a long time but will get your system working again. If > you don't wan't to do that you can of course tweak the libraries with > binary tools. That is easy if you know what you are doing. > > > > To prevent this in the future always before world update, update gcc and > glibc first if tere is a new version available. Gcc-config is crusial after > you have installed a bew version of gcc. > > > > -- > > -Matti > > > Hi Matti, > > not exactly... > The sequence you show looks like this in my case: > gcc-config "to set the new version" > env-update > reboot > logina attempt: impossible...system does not respond anymore > > The reason is, that env-update updates to the new compiler, > while some [CENSORED] system tools/application are hardcoded > to use the old compiler libraries... > > If I do a > > env-update --no-ldconfig > > then I am able to reboot successfully...but compilation > will be done against the old compiler a fear... > > I am installing the backup the fourth time today and I am > curious, when the first bad sectors of my sdcard will hit me... > > > > Best regards, > Meino > > > > Im surprised no one has suggested this, but have you tried running: emerge --oneshot libtool after gcc-config and before env-update && source /etc/profile? This is the advice that is given in the wiki [https://wiki.gentoo.org/wiki/Upgrading_GCC] and it has worked for me so far. It also says that running `fix_libtool_files.sh` manually is not necessary as it is run during the emerge automatically.
Re: [gentoo-user] Re: virtual/emacs-24
On 12/18/2014 09:59 PM, Harry Putnam wrote: > >> $ git clone git://git.overlays.gentoo.org/proj/emacs.git >> $ PORTDIR_OVERLAY=$(pwd)/emacs ACCEPT_KEYWORDS="**" \ >> emerge -pv1 emacs-vcs > > What does it require if done thru emerge frequently? > Every once in a while, run the `emerge` command above. You can add the emacs overlay to your make.conf and the keywords to package.accept_keywords; then you need only `emerge emacs-vcs`. The - ebuilds automatically sync git/svn/bzr for you.
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On Mon, Dec 22, 2014 at 7:16 AM, Joseph wrote: > How to configure alsamixer and or XFCE4 to get playback from my > motherboard card and input sound from USB? > > I'm trying to configure skype for input sound from USB cam abut playback > from my sound card on motherboard. > At the moment the only option I have is "pulse audio". > > -- > Joseph > > What's the output of 'equery -q u skype'? Run the alsamiser command line shown below on your card ID, and make sure you don't have anything muted there. alsamixer -c 0 # '-c' sound card ID. You can find the correct IDs by running 'aplay -l', which comes from media-sound/alsa-utils.
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
Oops! I meant to say 's/alsamiser/alsamixer/'. Sorry about that.
Re: [gentoo-user] net-libs/webkit-gtk-2.4.7:3/25 keeps on the list of updates
On Sun, Dec 21 2014, meino cramer wrote: > Hi, > > My PC runs over night to successfully compile/install > net-libs/webkit-gtk-2.4.7:3/25. > > This morning it appears again as item to be updated. > > What did I wrong? How can I fix it? > > Best regards, > Meino Did you check that they are the same version. When I did an update world two different versions of webkit-gtk needed to be updated. allan
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 17:58, Alexander Kapshuk wrote: On Mon, Dec 22, 2014 at 7:16 AM, Joseph <[1]syscon...@gmail.com> wrote: How to configure alsamixer and or XFCE4 to get playback from my motherboard card and input sound from USB? I'm trying to configure skype for input sound from USB cam abut playback from my sound card on motherboard. At the moment the only option I have is "pulse audio". -- Joseph What's the output of 'equery -q u skype'? Run the alsamiser command line shown below on your card ID, and make sure you don't have anything muted there. alsamixer -c 0 # '-c' sound card ID. You can find the correct IDs by running 'aplay -l', which comes from media-sound/alsa-utils. equery -q u skype -apulse -pax_kernel +pulseaudio By default skype is using "pulseaudio" (poor choice) and it will not let you select input device for sound. The solution that works is to emerge "pavucontrol" Pulse Audio Volume Control Under "tab" Input Devices in Pulse Audio Volume Control there should be entry for a web-cam; in my case it is Web-Cam C270 On the right there is a button: "Set as Fallback" it should be enabled. The skype will not show in Control USB audio input option but the call sound with skype will work. Question: How do you set alsamixer default card? By default it goes to pulseaudio whey I type "alsamixer" I want to set it to "0" as default. -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 07:50, meino.cra...@gmx.de wrote: Joseph [14-12-22 07:16]: On 12/22/14 06:21, meino.cra...@gmx.de wrote: >Joseph [14-12-22 06:18]: >>How to configure alsamixer and or XFCE4 to get playback from my >>motherboard card and input sound from USB? >> >>I'm trying to configure skype for input sound from USB cam abut >>playback from my sound card on motherboard. >>At the moment the only option I have is "pulse audio". >> >>-- >>Joseph >> > >Hi Joseph, > >try to include the correct kernel modules ;) > >Best >Meino For which device? I'm using kernel 3.10 My motherboard has a sound chip included so that is what I'm using for playback I would like to use sound input form USB mic. on a camera. It seems to me skype for Linux is not recognizing different inputs for sound; the only option I have is pulse audio. -- Joseph Hi Joseph, ...you have to share more informations about you hardware. No one is able to help you, if the information is only "I have a motherboard with an audio chip and a microphone which I want to use". Best Meino From lspci, it shows me I have audio: Audio device: NVIDIA Corporation GF116 High Definition Audio Controller (rev a1) In kernel I have set: CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_USB_SUPPORT=y CONFIG_MEDIA_PCI_SUPPORT=y CONFIG_MEDIA_SUBDRV_AUTOSELECT=y CONFIG_SND_HDA_CODEC_CMEDIA=y -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On Mon, Dec 22, 2014 at 7:49 PM, Joseph wrote: > On 12/22/14 17:58, Alexander Kapshuk wrote: > >On Mon, Dec 22, 2014 at 7:16 AM, Joseph <[1]syscon...@gmail.com> wrote: >> >> How to configure alsamixer and or XFCE4 to get playback from my >> motherboard card and input sound from USB? >> I'm trying to configure skype for input sound from USB cam abut >> playback from my sound card on motherboard. >> At the moment the only option I have is "pulse audio". >> -- >> Joseph >> >> What's the output of 'equery -q u skype'? >> Run the alsamiser command line shown below on your card ID, and make >> sure you don't have anything muted there. >> alsamixer -c 0 >> # '-c' sound card ID. You can find the correct IDs by running 'aplay >> -l', which comes from media-sound/alsa-utils. >> > > equery -q u skype > -apulse > -pax_kernel > +pulseaudio > > By default skype is using "pulseaudio" (poor choice) and it will not let > you select input device for sound. > The solution that works is to emerge "pavucontrol" Pulse Audio Volume > Control > > Under "tab" Input Devices in Pulse Audio Volume Control there should be > entry for a web-cam; in my case it is Web-Cam C270 > On the right there is a button: "Set as Fallback" it should be enabled. > > The skype will not show in Control USB audio input option but the call > sound with skype will work. > > Question: > How do you set alsamixer default card? > By default it goes to pulseaudio whey I type "alsamixer" I want to set it > to "0" as default. > > > -- > Joseph > > What's the output of 'aplay -l'?
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 19:58, Alexander Kapshuk wrote: equery -q u skype -apulse -pax_kernel +pulseaudio By default skype is using "pulseaudio" (poor choice) and it will not let you select input device for sound. The solution that works is to emerge "pavucontrol" Pulse Audio Volume Control Under "tab" Input Devices in Pulse Audio Volume Control there should be entry for a web-cam; in my case it is Web-Cam C270 On the right there is a button: "Set as Fallback" it should be enabled. The skype will not show in Control USB audio input option but the call sound with skype will work. Question: How do you set alsamixer default card? By default it goes to pulseaudio whey I type "alsamixer" I want to set it to "0" as default. -- Joseph What's the output of 'aplay -l'? Here it is. aplay -l List of PLAYBACK Hardware Devices card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On Mon, Dec 22, 2014 at 8:41 PM, Joseph wrote: > On 12/22/14 19:58, Alexander Kapshuk wrote: > >> equery -q u skype >> -apulse >> -pax_kernel >> +pulseaudio >> By default skype is using "pulseaudio" (poor choice) and it will not >> let you select input device for sound. >> The solution that works is to emerge "pavucontrol" Pulse Audio >> Volume Control >> Under "tab" Input Devices in Pulse Audio Volume Control there should >> be entry for a web-cam; in my case it is Web-Cam C270 >> On the right there is a button: "Set as Fallback" it should be >> enabled. >> The skype will not show in Control USB audio input option but the >> call sound with skype will work. >> Question: >> How do you set alsamixer default card? >> By default it goes to pulseaudio whey I type "alsamixer" I want to >> set it to "0" as default. >> -- >> Joseph >> >> What's the output of 'aplay -l'? >> > > Here it is. > > aplay -l > List of PLAYBACK Hardware Devices > card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > > -- > Joseph > > Good. Now try running 'alsamixer -c0', and toggle muting for different channels and see if that makes a difference. You may want to try doing that for card1 as well, should card0 fail.
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 21:07, Alexander Kapshuk wrote: Here it is. aplay -l List of PLAYBACK Hardware Devices card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC889 Digital [ALC889 Digital]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]  Subdevices: 1/1  Subdevice #0: subdevice #0 -- Joseph Good. Now try running 'alsamixer -c0', and toggle muting for different channels and see if that makes a difference. You may want to try doing that for card1 as well, should card0 fail. Yes, alsamixer -c0 But I want "0" to be default. When I type "alsamixer" it should automatically pop us as default. Which file do I modify? -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On Mon, Dec 22, 2014 at 2:17 PM, Joseph wrote: > Yes, alsamixer -c0 > But I want "0" to be default. When I type "alsamixer" it should > automatically pop us as default. Which file do I modify? > > -- > Joseph > I believe that's a side effect of alsa-lib being set to something other than card 0 as the default device (which pulse likes to do), you can either look for the relevant lines in /etc/asound.conf for the system wide settings, or handle it on the user level in $HOME/.asoundrc ... and the Alsa project themselves have the best docs on those files here: http://www.alsa-project.org/main/index.php/Asoundrc -- Poison [BLX] Joshua M. Murphy
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 14:39, Poison BL. wrote: On Mon, Dec 22, 2014 at 2:17 PM, Joseph wrote: Yes, alsamixer -c0 But I want "0" to be default. When I type "alsamixer" it should automatically pop us as default. Which file do I modify? -- Joseph I believe that's a side effect of alsa-lib being set to something other than card 0 as the default device (which pulse likes to do), you can either look for the relevant lines in /etc/asound.conf for the system wide settings, or handle it on the user level in $HOME/.asoundrc ... and the Alsa project themselves have the best docs on those files here: http://www.alsa-project.org/main/index.php/Asoundrc -- Poison [BLX] Joshua M. Murphy Yes, I was reading about /etc/asound.conf but I don't have that file, should I create one. -- Joseph
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/14 13:12, Joseph wrote: On 12/22/14 14:39, Poison BL. wrote: On Mon, Dec 22, 2014 at 2:17 PM, Joseph wrote: Yes, alsamixer -c0 But I want "0" to be default. When I type "alsamixer" it should automatically pop us as default. Which file do I modify? -- Joseph I believe that's a side effect of alsa-lib being set to something other than card 0 as the default device (which pulse likes to do), you can either look for the relevant lines in /etc/asound.conf for the system wide settings, or handle it on the user level in $HOME/.asoundrc ... and the Alsa project themselves have the best docs on those files here: http://www.alsa-project.org/main/index.php/Asoundrc -- Poison [BLX] Joshua M. Murphy Yes, I was reading about /etc/asound.conf but I don't have that file, should I create one. -- Joseph It seems to me I'm stuck with pulseaudio if I want to use skype. Skype will not work with anything else. I changed the default sound in alsamixer in /etc/asound.conf to my card "0" SB and skype stopped working :-/ -- Joseph
Re: [gentoo-user] Re: virtual/emacs-24
On 12/22/2014 10:56 AM, Michael Orlitzky wrote: > On 12/18/2014 09:59 PM, Harry Putnam wrote: >> >>> $ git clone git://git.overlays.gentoo.org/proj/emacs.git >>> $ PORTDIR_OVERLAY=$(pwd)/emacs ACCEPT_KEYWORDS="**" \ >>> emerge -pv1 emacs-vcs >> >> What does it require if done thru emerge frequently? >> > > Every once in a while, run the `emerge` command above. You can add the > emacs overlay to your make.conf and the keywords to > package.accept_keywords; then you need only `emerge emacs-vcs`. The > - ebuilds automatically sync git/svn/bzr for you. > I'm now realizing that app-editors/emacs-vcs-25.0.-r1 is in the main tree already, so you don't even need to mess with the emacs overlay.
Re: [gentoo-user] Choosing a new profile: multilib or not?
On Mon, 22 Dec 2014 10:53:06 + Mick wrote: > It used to be the case that adobe flash and other applications would not work > with a no-multilib profile. > > However, I was surprised to see that a previous no-multilib installation of > mine was able to play flash in Firefox. So, I thought of asking here if > there > is any reason to avoid installing a no-multilib profile these days. What > applications binary (e.g. Skype) or source compiled won't work with no- > multilib? For skype you have to either build qt, X11 and some other libs with multilib support (abi_x86_32) or use emul-linux-x86-* prebuilt packages. Either way your system will end up with 32-bit libraries installed, but in case of multilib they will be optimized for your hardware and use cases (*FLAGS and USE). Best regards, Andrew Savchenko pgpE9EeFAs2rB.pgp Description: PGP signature
Re: [gentoo-user] XFCE setting sound input from USB, playback from motherboard chip.
On 12/22/2014 09:56 AM, Joseph wrote: > On 12/22/14 07:50, meino.cra...@gmx.de wrote: >> Joseph [14-12-22 07:16]: >>> On 12/22/14 06:21, meino.cra...@gmx.de wrote: >>> >Joseph [14-12-22 06:18]: >>> >>How to configure alsamixer and or XFCE4 to get playback from my >>> >>motherboard card and input sound from USB? >>> >> >>> >>I'm trying to configure skype for input sound from USB cam abut >>> >>playback from my sound card on motherboard. >>> >>At the moment the only option I have is "pulse audio". Well sure, Skype as of v4.3 requires pulseaudio. > > From lspci, it shows me I have audio: > Audio device: NVIDIA Corporation GF116 High Definition Audio Controller > (rev a1) > > In kernel I have set: > > CONFIG_MEDIA_SUPPORT=y > CONFIG_MEDIA_CAMERA_SUPPORT=y > CONFIG_MEDIA_USB_SUPPORT=y > CONFIG_MEDIA_PCI_SUPPORT=y > CONFIG_MEDIA_SUBDRV_AUTOSELECT=y > CONFIG_SND_HDA_CODEC_CMEDIA=y > > > That's for your onboard sound, what about kernel drivers for the USB device? Also, forcing it to use ALSA will definitely not work with Skype as it requires pulseaudio, as you've found out. You have to set up pulseaudio to do all your audio processing or nothing will work. I don't use Skype, but google even shows an entry on the gentoo wiki detailing all these issues: http://wiki.gentoo.org/wiki/Skype It even was a workaround for non-pulseaudio users. Google tells me Skype problems are pretty common, there are problems and solutions on the web already. Dan
[gentoo-user] pavucontrol - Pulseaudio Volume Control, save settings
I'm running pavucontrol - Pulseaudio Volume Control, but I don't know how to save the setting. Every time I reboot. I have to go to Pulseaudio Volume Control - Input Devices and set my Webcam setting and click "Set as fallback" Is there a way to save this setting? Who is pulseaudio started on my system? There is no entry in /etc/inid.d/ for pulseaudio. -- Joseph
Re: [gentoo-user] pavucontrol - Pulseaudio Volume Control, save settings
Pulseaudio is started automatically by either your desktop environment or programs which make use of it. It's running under your user. To solve your problem, I would look at adding `pactl` or `pacmd` line to any startup scripts you might have available. Note I don't actually think you are experiencing pulseaudio "forgetting" your settings - I'm pretty sure the default behavior just prefers external devices to internal ones (so, you're fighting pulseaudio in this case).
Re: [gentoo-user] pavucontrol - Pulseaudio Volume Control, save settings
Sorry, I forgot to add you are probably going to want to set the default source.