Re: [gentoo-user] systemd very slow to compile?
On Fri, Sep 11, 2015 at 6:08 PM, walt wrote: > My very old and slow ~amd64 machine took 3 hours and 45-minutes to > compile systemd-226 today. I was curious to know why it was taking so > long to finish, so I used 'top' to see what was happening. > > Turns out that two instances of 'sh' were each using 15-30% of CPU for > a total of 30-60% (the machine has two CPUs). cc1 never even showed up > in 'top' although the compiler was obviously compiling code because the > build did eventually finish. > > I tried the same on a faster 4-core machine and I could see much the > same thing happening during the systemd build. > > Can anyone else reproduce what I'm seeing? Is this 'normal'? I have noticed that systemd takes quite a long time to build, but I have never spent any effort looking into exactly why. If you figure anything out, please file a bug with your findings.
[gentoo-user] cdda2wav slightly missing start/end of tracks on 1 CD set
I think I had a (self-inflicted) problem sending this message the first time. Here's hoping it works this time. Apologies for the dupe. This is a problem on only one 2-CD set (I hope). It's probably screwed up metadata... * track audio_01.wav has a song that ends, a bit of silence, and I can hear the first couple of bars of the song from audio_2.wav * track audio_02.wav is missing the first couple of bars. The song ends, followed by a bit of silence and the first couple of bars of the song from audio_3.wav * track audio_03.wav is missing the first couple of bars. RINSE/LATHER/REPEAT Question... is there a way to manually override the start-end times of the tracks within cdda2wav or any other ripping app? -- Walter Dnes I don't run "desktop environments"; I run useful applications
[gentoo-user] cdda2wav slightly missing start/end of tracks on 1 CD set This is a problem on only one 2-CD set (I hope). It's probably
screwed up metadata... * track audio_01.wav has a song that ends, a bit of silence, and I can hear the first couple of bars of the song from audio_2.wav * track audio_02.wav is missing the first couple of bars. The song ends, followed by a bit of silence and the first couple of bars of the song from audio_3.wav * track audio_03.wav is missing the first couple of bars. RINSE/LATHER/REPEAT Question... is there a way to manually override the start-end times of the tracks within cdda2wav or any other ripping app? -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] How to play audio CD with mplayer?
Walter Dnes wrote: > I don't know why this is so difficult, because mplayer can handle just > about anything. Google searches turned up 2 commandline approaches, > neither of which work on my system. I want to play track 12 on an audio > CD, but for now I'll settle for anything. Here's option 1... > > ## > > [d531][waltdnes][~] mplayer cdda://12 > MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team > > Playing cdda://12. > No stream found to handle url cdda://12 > > ## > > That didn't work. Option 2 finds the CD, but merely spits out a > listing of the tracks, and exits... > > ## > > [d531][waltdnes][~] mplayer vcd://12 > MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team > > Playing vcd://12. > track 01: adr=1 ctrl=0 format=2 00:02:00 mode: 0 > track 02: adr=1 ctrl=0 format=2 02:15:07 mode: 0 > track 03: adr=1 ctrl=0 format=2 04:43:35 mode: 0 > track 04: adr=1 ctrl=0 format=2 06:58:50 mode: 0 > track 05: adr=1 ctrl=0 format=2 08:52:48 mode: 0 > track 06: adr=1 ctrl=0 format=2 11:02:00 mode: 0 > track 07: adr=1 ctrl=0 format=2 13:33:00 mode: 0 > track 08: adr=1 ctrl=0 format=2 15:50:00 mode: 0 > track 09: adr=1 ctrl=0 format=2 17:53:55 mode: 0 > track 10: adr=1 ctrl=0 format=2 20:07:30 mode: 0 > track 11: adr=1 ctrl=0 format=2 22:00:17 mode: 0 > track 12: adr=1 ctrl=0 format=2 24:30:15 mode: 0 > track 13: adr=1 ctrl=0 format=2 26:55:43 mode: 0 > track 14: adr=1 ctrl=0 format=2 29:13:68 mode: 0 > track 15: adr=1 ctrl=0 format=2 31:28:66 mode: 0 > track 16: adr=1 ctrl=0 format=2 33:20:11 mode: 0 > track 17: adr=1 ctrl=0 format=2 35:26:31 mode: 0 > track 18: adr=1 ctrl=0 format=2 37:32:69 mode: 0 > track 19: adr=1 ctrl=0 format=2 40:02:31 mode: 0 > track 20: adr=1 ctrl=0 format=2 42:05:71 mode: 0 > > ## > > Is it possible that I'm missing a necessary USE option for mplayer? > > [d531][waltdnes][~] emerge -pv mplayer > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R] media-video/mplayer-1.2_pre20150214-r1::gentoo USE="X > alsa cdio dvd dvdnav enca encode iconv jpeg libass network osdmenu png > shm truetype x264 xscreensaver xv -a52 -aalib (-altivec) (-aqua) -bidi > -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -dga -directfb > -doc -dts -dv -dvb -faac -faad -fbcon -ftp -ggi -gif -gsm -ipv6 -jack > -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad > -md5sum -mng -mp3 -nas -nut -openal -opengl -oss -pnm -pulseaudio -pvr > -radio -rar -rtc -rtmp -samba -sdl (-selinux) -speex -tga -theora > -toolame -tremor -twolame -unicode -v4l -vdpau (-vidix) -vorbis -xanim > -xinerama -xvid -xvmc -zoran" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3 > -3dnow -3dnowext" VIDEO_CARDS="-mga -s3virge -tdfx" 0 KiB > Here is some info from mine playing a regular CD, audio store bought type. Emerge info for USE flags: root@fireball / # emerge -vp mplayer smplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] media-video/mplayer-1.2_pre20150730::gentoo USE="X a52 alsa bidi cddb cdio dvd dvdnav enca encode faac gif iconv ipv6 jpeg jpeg2k libass mad mng mp3 network opengl osdmenu png sdl shm truetype unicode vorbis x264 xinerama xscreensaver xv xvid -aalib (-altivec) (-aqua) -bl -bluray -bs2b -cdparanoia -cpudetection -debug -dga -directfb -doc -dts -dv -dvb -faad -fbcon -ftp -ggi -gsm -jack -joystick -ladspa -libcaca -libmpeg2 -lirc -live -lzo -md5sum -nas -nut -openal -oss -pnm -pulseaudio -pvr -radio -rar -rtc -rtmp -samba (-selinux) -speex -tga -theora -toolame -tremor -twolame -v4l -vdpau (-vidix) -xanim -xvmc -zoran" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 -ssse3" VIDEO_CARDS="-mga -s3virge -tdfx" 0 KiB [ebuild R] media-video/smplayer-14.9.0-r1::gentoo USE="bidi -autoshutdown -debug" LINGUAS="en_US -ar_SY -bg -ca -cs -da -de -el_GR -es -et -eu -fi -fr -gl -he_IL -hr -hu -it -ja -ka -ko -ku -lt -mk -ms_MY -nl -pl -pt -pt_BR -ro_RO -ru_RU -sk -sl_SI -sr -sv -th -tr -uk_UA -vi_VN -zh_CN -zh_TW" 0 KiB Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB root@fireball / # I included smplayer since I use it as a front end and it may prove useful. This is the command smplayer uses to play a track. You may have to adjust for a vcd if that is what you are using but maybe this will shine a little light IF a option is missing or some thing. /usr/bin/mplayer -noquiet -nofs -nomouseinput -lavdopts threads=2 -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -nokeepaspect -autosync 100 -mc 10 -dr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 18874461 -monit
Re: [gentoo-user] How to play audio CD with mplayer?
Am 12.09.2015 um 18:43 schrieb Walter Dnes: > I don't know why this is so difficult, because mplayer can handle just > about anything. Google searches turned up 2 commandline approaches, > neither of which work on my system. I want to play track 12 on an audio > CD, but for now I'll settle for anything. Here's option 1... > > ## > > [d531][waltdnes][~] mplayer cdda://12 > MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team > > Playing cdda://12. > No stream found to handle url cdda://12 > > ## > > That didn't work. Option 2 finds the CD, but merely spits out a > listing of the tracks, and exits... > > ## > > [d531][waltdnes][~] mplayer vcd://12 > MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team > > Playing vcd://12. > track 01: adr=1 ctrl=0 format=2 00:02:00 mode: 0 > track 02: adr=1 ctrl=0 format=2 02:15:07 mode: 0 > track 03: adr=1 ctrl=0 format=2 04:43:35 mode: 0 > track 04: adr=1 ctrl=0 format=2 06:58:50 mode: 0 > track 05: adr=1 ctrl=0 format=2 08:52:48 mode: 0 > track 06: adr=1 ctrl=0 format=2 11:02:00 mode: 0 > track 07: adr=1 ctrl=0 format=2 13:33:00 mode: 0 > track 08: adr=1 ctrl=0 format=2 15:50:00 mode: 0 > track 09: adr=1 ctrl=0 format=2 17:53:55 mode: 0 > track 10: adr=1 ctrl=0 format=2 20:07:30 mode: 0 > track 11: adr=1 ctrl=0 format=2 22:00:17 mode: 0 > track 12: adr=1 ctrl=0 format=2 24:30:15 mode: 0 > track 13: adr=1 ctrl=0 format=2 26:55:43 mode: 0 > track 14: adr=1 ctrl=0 format=2 29:13:68 mode: 0 > track 15: adr=1 ctrl=0 format=2 31:28:66 mode: 0 > track 16: adr=1 ctrl=0 format=2 33:20:11 mode: 0 > track 17: adr=1 ctrl=0 format=2 35:26:31 mode: 0 > track 18: adr=1 ctrl=0 format=2 37:32:69 mode: 0 > track 19: adr=1 ctrl=0 format=2 40:02:31 mode: 0 > track 20: adr=1 ctrl=0 format=2 42:05:71 mode: 0 > > ## > > Is it possible that I'm missing a necessary USE option for mplayer? > > [d531][waltdnes][~] emerge -pv mplayer > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R] media-video/mplayer-1.2_pre20150214-r1::gentoo USE="X > alsa cdio dvd dvdnav enca encode iconv jpeg libass network osdmenu png > shm truetype x264 xscreensaver xv -a52 -aalib (-altivec) (-aqua) -bidi > -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -dga -directfb > -doc -dts -dv -dvb -faac -faad -fbcon -ftp -ggi -gif -gsm -ipv6 -jack > -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad > -md5sum -mng -mp3 -nas -nut -openal -opengl -oss -pnm -pulseaudio -pvr > -radio -rar -rtc -rtmp -samba -sdl (-selinux) -speex -tga -theora > -toolame -tremor -twolame -unicode -v4l -vdpau (-vidix) -vorbis -xanim > -xinerama -xvid -xvmc -zoran" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3 > -3dnow -3dnowext" VIDEO_CARDS="-mga -s3virge -tdfx" 0 KiB First of all, vcd is not a cd, it's a video cd. It's a very old format (predecessor of the dvd with a much lower resolution as far as I know). I have never seen one. Regarding the CDs, try to build mplayer with USE="cdparanoia". If you have a Blu-ray drive you probably want to build it with USE="bluray", too. And for some convenience you also may want to add USE="cddb".
[gentoo-user] How to play audio CD with mplayer?
I don't know why this is so difficult, because mplayer can handle just about anything. Google searches turned up 2 commandline approaches, neither of which work on my system. I want to play track 12 on an audio CD, but for now I'll settle for anything. Here's option 1... ## [d531][waltdnes][~] mplayer cdda://12 MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team Playing cdda://12. No stream found to handle url cdda://12 ## That didn't work. Option 2 finds the CD, but merely spits out a listing of the tracks, and exits... ## [d531][waltdnes][~] mplayer vcd://12 MPlayer SVN-r37373 (Gentoo)-4.8.5 (C) 2000-2015 MPlayer Team Playing vcd://12. track 01: adr=1 ctrl=0 format=2 00:02:00 mode: 0 track 02: adr=1 ctrl=0 format=2 02:15:07 mode: 0 track 03: adr=1 ctrl=0 format=2 04:43:35 mode: 0 track 04: adr=1 ctrl=0 format=2 06:58:50 mode: 0 track 05: adr=1 ctrl=0 format=2 08:52:48 mode: 0 track 06: adr=1 ctrl=0 format=2 11:02:00 mode: 0 track 07: adr=1 ctrl=0 format=2 13:33:00 mode: 0 track 08: adr=1 ctrl=0 format=2 15:50:00 mode: 0 track 09: adr=1 ctrl=0 format=2 17:53:55 mode: 0 track 10: adr=1 ctrl=0 format=2 20:07:30 mode: 0 track 11: adr=1 ctrl=0 format=2 22:00:17 mode: 0 track 12: adr=1 ctrl=0 format=2 24:30:15 mode: 0 track 13: adr=1 ctrl=0 format=2 26:55:43 mode: 0 track 14: adr=1 ctrl=0 format=2 29:13:68 mode: 0 track 15: adr=1 ctrl=0 format=2 31:28:66 mode: 0 track 16: adr=1 ctrl=0 format=2 33:20:11 mode: 0 track 17: adr=1 ctrl=0 format=2 35:26:31 mode: 0 track 18: adr=1 ctrl=0 format=2 37:32:69 mode: 0 track 19: adr=1 ctrl=0 format=2 40:02:31 mode: 0 track 20: adr=1 ctrl=0 format=2 42:05:71 mode: 0 ## Is it possible that I'm missing a necessary USE option for mplayer? [d531][waltdnes][~] emerge -pv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] media-video/mplayer-1.2_pre20150214-r1::gentoo USE="X alsa cdio dvd dvdnav enca encode iconv jpeg libass network osdmenu png shm truetype x264 xscreensaver xv -a52 -aalib (-altivec) (-aqua) -bidi -bl -bluray -bs2b -cddb -cdparanoia -cpudetection -debug -dga -directfb -doc -dts -dv -dvb -faac -faad -fbcon -ftp -ggi -gif -gsm -ipv6 -jack -joystick -jpeg2k -ladspa -libcaca -libmpeg2 -lirc -live -lzo -mad -md5sum -mng -mp3 -nas -nut -openal -opengl -oss -pnm -pulseaudio -pvr -radio -rar -rtc -rtmp -samba -sdl (-selinux) -speex -tga -theora -toolame -tremor -twolame -unicode -v4l -vdpau (-vidix) -vorbis -xanim -xinerama -xvid -xvmc -zoran" CPU_FLAGS_X86="mmx mmxext sse sse2 ssse3 -3dnow -3dnowext" VIDEO_CARDS="-mga -s3virge -tdfx" 0 KiB -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Can't update to go-1.4.2
On 10/09/15 05:49, Alan McKinnon wrote: On 09/09/2015 21:37, Ajai Khattri wrote: On Fri, 4 Sep 2015, Fernando Rodriguez wrote: Post your emerge --info. Why do you have i686-pc-linux-gnu-gcc on a 64-bit machine? FYI, this is 32bit Gentoo running on a 64bit virtual machine (so it has a 64bit kernel) because awhile ago I upgraded from a 32bit setup. Was hoping I wouldn't have to reinstall the whole OS... You have a 64 bit kernel, this is true, but a 32 bit userland. I don't know how Go does these things but apps don't usually talk to the kernel directly, they talk to libc. Which in your case is ... 32 bit Reinstall. Not necessary. It builds successfully with the command: linux32 emerge go Without the linux32 pre-command, the go build system detects the system as "linux/amd64". However, when adding it the system is identified as "linux/386". (But beware that it will probably cause issues when you update in future) I've been running a system with 64 bit kernel and 32 bit userspace for quite a few years and its only the 4th issue I've hit, so while its generally not supported, it still works mostly. For reference, the other issues I've hit are: - kernel ABI incompatibility with autofs (fixed in a later kernel) - virtualbox kernel modules needed to be built 64 bit - steam has issues detecting system & tries to launch 64 bit binaries (I'll try the linux32 trick with that later too) I'd never had more than passing interest in go, but tonight I've started working through the tutorial & I think I'll keep playing with it for a bit. Cheers Bruce -- :b
Re: [gentoo-user] MX Master mouse on bluetooth
On Fri, 2015-09-04 at 13:42 -0400, Ian Savoy wrote: > Hey all, > > I splurged on a new mx master mouse a few weeks ago, and it's been > working > fine using the unified receiver that is included with the mouse. > However, > it's not the only bluetooth device i have, and it would be nice not > to have > two easy-to-lose dongles stuck in my laptop at all times (not to > mention > 2/4 USB ports occupied). > > The problem I have is that I can pair the mouse with my bluetooth > adapter > just fine (BCM20702A0-19ff-0239), however, I don't get any output > when i > click and/or wiggle the mouse. > > I've seen in other forums, people getting this mouse to work with > bluetooth > on ubuntu and fedora. Claims that it works out of the box over > bluetooth. > > I'm curious if any gentoo users have been able to successfully use > this > device over a bluetooth adapter, and if so, what bluetooth adapter > you're > using, what kernel you're running, what modules are loaded, and if > there > were any tweaks you had to make after pairing your mouse to get it to > work > properly. > > -everything- works when i use the unified reciever, even the weird > thumb > button and horizontal scrolling. Nothing works, other than pairing > and > connecting/disconnecting, over bluetooth. > > Thanks in advance! > > -- > Ian Savoy > LoTeK Systems Hi Ian, I have the MX Anywhere 2 mouse working over bluetooth flawlessly. I believe they use the exact same Bluetooth hardware. However, it took me quite a lot of time to get it to work. What follows may not be a complete list of things to check :) The mouse doesn't work with >bluez-5.25 and
[gentoo-user] Re: OT: GCC 5 Offloading
On Thursday, September 10, 2015 12:20:39 PM james wrote: > You are taking a very conservative view of things. Codes being worked > out now for clusters, will find their way to expand the use of the > video card resources, for general purpose things. Most of this will > occur as compiler enhancements, not rewriting by hand or modifying > algorithmic designs of existing codes. Granted they are going to > mostly apply to multi-threaded application codes. Your being over-optimistic. It seems to me all they're hoping for is to define a standardized and portable high-level interface for programming accelerators. The ones that will benefit the most is the same applications that can benefit from lower level technologies like CUDA. Scientific/number crunching applications, some kinds of clustering, etc. With no synchronization most existing multithreaded designs cannot benefit from it. And obviously code running on the accelerator cannot branch into the CPU, so no system or library calls. That leaves only purely number crunching loops. There's little of that on desktop and few of them can be fully optimized for parallelization. And to be worth the overhead of offloading the CPU needs to be maxed out. That leaves only the few applications I mentioned before. I'm looking at Intel MICs[1] and those look a lot more promising though still of limited use for desktops. It uses OpenMP so it has a lot less restrictions than OpenACC (a few ebuilds in the tree can already benefit from it with minor patches) and you can even offload whole proccesses. You can even ssh to the MIC since it runs Linux. It's not for the average desktop but they're not too expensive either. It may be worth it for high-end gentoo workstation (you can offload compile jobs with distcc) and I got a project on the backburner that can benefit from it. Do you know of any plans to enable offloading on the gentoo toolchain? I was able to build the offloading compiler using crossdev with a few hacks and wrote an ebuild for Intel's simulator[2]. I will work on enabling the host compiler tomorrow and may open a feature request and post patches once I get it working. The changes needed to enable it on the host are pretty trivial. [1] https://software.intel.com/en-us/articles/intel-xeon-phi-coprocessor-codename-knights-corner -- Fernando Rodriguez