Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
On 26 May 2009, at 06:10, Volker Armin Hemmann wrote: ... The mplayer ebuild is stated to be intelligent about ignoring these flags if necessary, so I'm not sure that if mplayer works, so will everything else is a safe conclusion. My question was exactly if it was so - are other ebuilds also as intelligent as mplayer? ... I'd disagree. If it were really simple, Portage would take care of it automagically for me. It (apparently?) doesn't. portage does not take care. mplayers build has a cpu feature autodection. Different stuff. Really. Right, that was the question. Thank you for answering it. Sorry if I was unclear. Looks like `echo media-video/mplayer mmx mmxext sse sse2 ssse3 3dnow 3dnowext /etc/portage/package.use` unless someone else is able to be more informative. yeah, except that is bullshit So? It doesn't matter. Uh, I mean - that's what you just told me. no pentium can do 3dnow. I did think that. But with other instructions adopted by the other manufacturer (eg. Intel adopted the amd64 architecture, I think?) it seemed odd that a set of instructions would be ignored so long. Or was there a 3dnow flag in /proc/mtrr? No? Then don't even touch it. Same for ssse3. This has nothing to do with sse3. It is something completly different. And p4 never had this. That's cool. I'll just keep minimal hardware USE flags in make.conf; in /etc/portage/package.use I'll tell mplayer to USE everything (including 3dnow) that it can. Thanks, Stroller.
Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
On Dienstag 26 Mai 2009, Stroller wrote: On 26 May 2009, at 06:10, Volker Armin Hemmann wrote: ... The mplayer ebuild is stated to be intelligent about ignoring these flags if necessary, so I'm not sure that if mplayer works, so will everything else is a safe conclusion. My question was exactly if it was so - are other ebuilds also as intelligent as mplayer? ... I'd disagree. If it were really simple, Portage would take care of it automagically for me. It (apparently?) doesn't. portage does not take care. mplayers build has a cpu feature autodection. Different stuff. Really. Right, that was the question. Thank you for answering it. Sorry if I was unclear. Looks like `echo media-video/mplayer mmx mmxext sse sse2 ssse3 3dnow 3dnowext /etc/portage/package.use` unless someone else is able to be more informative. yeah, except that is bullshit So? It doesn't matter. Uh, I mean - that's what you just told me. see a bit below no pentium can do 3dnow. I did think that. But with other instructions adopted by the other manufacturer (eg. Intel adopted the amd64 architecture, I think?) it seemed odd that a set of instructions would be ignored so long. because 3dnow is/was very unimportant for intel- but Intel couldn't compete without AMD64. So they had to licence it. 3dnow and SSE have a lot of commands in common/similar commands anyway so it doesn't really matter from Intels POV. The thing is - autodetection is a useflag too - and you are trusting a feature that might break any time. Better to know what your cpu can and can't do and set it by yourself. Also there are a lot more packages that do benefit from mmx, 3dnow, sse... Or was there a 3dnow flag in /proc/mtrr? No? Then don't even touch it. Same for ssse3. This has nothing to do with sse3. It is something completly different. And p4 never had this. That's cool. I'll just keep minimal hardware USE flags in make.conf; in /etc/portage/package.use I'll tell mplayer to USE everything (including 3dnow) that it can. sorry that I was harsh. I shouldn't have been awake when I wrote the mail - freaking heat...
[gentoo-user] password rules
Hi all, I would like to set some rules for user passwords like minimum length, password must contain a digit, special character, upper and lower letters, etc. but have not found a way yet how to do it. Do I need some special addon or is this configurable in base system? Thanks, Raul
Re: [gentoo-user] Auto-mounting USB drive?
On Tue, 26 May 2009 05:35:46 +0100, Stroller wrote: Mark: yes, I don't see any reason NOT to address by label (e2label or whatever XFS / Reiser use) these days. The only thing I can think of is that your USB drivers or the kernel module that does USB mass- storage is not loaded in time during boot. Aren't there any messages about failed mounts amongst the kernel messages on the screen? That's most likely the problem, I had a similar situation trying to mount an SD card at boot time. Two solutions are to mount the device later in the boot sequence, from /etc/conf.d/local, or to build the necessary modules into the kernel. Since you're mounting the USB device on boot, there's no point in having separate modules for USB. -- Neil Bothwick This is as bad as it can get; but don't bet on it. signature.asc Description: PGP signature
Re: [gentoo-user] password rules
On Tuesday 26 May 2009 09:22:44 Raul Gonzales wrote: Hi all, I would like to set some rules for user passwords like minimum length, password must contain a digit, special character, upper and lower letters, etc. but have not found a way yet how to do it. Do I need some special addon or is this configurable in base system? Thanks, Raul man pam_cracklib and adjust /etc/pam.d/system-auth to suit -- alan dot mckinnon at gmail dot com
[gentoo-user] Seeing USE flag descriptions for a package
Hi there, When I install a new package I run `emerge -pv foo` to look at the USEs it supports. In the past I have looked these up just by grepping, e.g.: $ grep foo /usr/portage/profiles/use.* /usr/portage/profiles/use.desc:foomaticdb - Adds support for the foomatic printing driver database $ However I have recently learned to use `euse -i foo` instead. This is much more convienient than grepping because one can use the Bash history: up-arrow, ctrl-w to delete the last word type in or paste the name of the next USE to check it. However this is clumsy when you have a package (like mplayer) with many USE flags. What I would like to be able to do is: $ $magicusecommand category/package doc - Install HTML wxWidgets docs and wxpython API reference. examples - Install interactive demo module browser and sample applets. samba - Adds support for SAMBA (Windows File and Printer sharing) $ The command should print out the descriptions for ALL the USE flags supported by the category/package, but only for that category/package. Ideally it should show if they're currently enabled or not. I can't be the only person to desire this feature - surely there must be a package or command do do this. I can't find this in `man portage` as an advanced version of `emerge -pv package`. Can anyone tell me what $magicusecommand is called, please? Thanks in advance, Stroller.
Re: [gentoo-user] Seeing USE flag descriptions for a package
Stroller schrieb: Hi there, When I install a new package I run `emerge -pv foo` to look at the USEs it supports. In the past I have looked these up just by grepping, e.g.: $ grep foo /usr/portage/profiles/use.* /usr/portage/profiles/use.desc:foomaticdb - Adds support for the foomatic printing driver database $ However I have recently learned to use `euse -i foo` instead. This is much more convienient than grepping because one can use the Bash history: up-arrow, ctrl-w to delete the last word type in or paste the name of the next USE to check it. However this is clumsy when you have a package (like mplayer) with many USE flags. What I would like to be able to do is: $ $magicusecommand category/package doc - Install HTML wxWidgets docs and wxpython API reference. examples - Install interactive demo module browser and sample applets. samba - Adds support for SAMBA (Windows File and Printer sharing) $ The command should print out the descriptions for ALL the USE flags supported by the category/package, but only for that category/package. Ideally it should show if they're currently enabled or not. I can't be the only person to desire this feature - surely there must be a package or command do do this. I can't find this in `man portage` as an advanced version of `emerge -pv package`. Can anyone tell me what $magicusecommand is called, please? Thanks in advance, Stroller. use euse, quse or emeta. signature.asc Description: OpenPGP digital signature
[gentoo-user] Synaptics and HAL Device Information Files
Hello All ! I have tried many things to make my touchpad work with the new xorg and HAL but in vain... Fortunatly my video is allright (xorg.conf), my keyboard is also good (/etc/hal/fdi/policy/10-x11-input.fdi and /etc/hal/fdi/policy/10-keymap.fdi) and my usb mouse works but I strictly have no entry for it either in xorg.conf or any fdi files in /etc/hal/fdi/policy/ I only have this Section in my xorg.conf : === Section ServerFlags Option AutoAddDevices true EndSection === First of all where can I find information about the file names of FDI ? NUMBER-NAME-NAME.fdi Where are the specification of the nomenclature ? I have found different names possible : 11-x11-synaptics.fdi 99-x11-synaptics.fdi Why the donkey would it be 99 or 11 ? Thanks for any hints about that.. My Kernel seems well configured for HAL to work properly. (Event Interface Mice PS/2 mouse) The thing is that I don't know how to match my touchpad with the fdi policy or that I have another unknown problem. I have the following devices : = root~$ xinput list --short Virtual core keyboard id=0[XKeyboard] Virtual core pointer id=1[XPointer] Macintosh mouse button emulation id=2[XExtensionPointer] PS/2 Mouseid=3[XExtensionPointer] AT Translated Set 2 keyboard id=4[XExtensionKeyboard] HID 04d9:1133 id=5[XExtensionPointer] = I have tried many different synaptics fdi files and for now I am trying this simplest one : = root~$ cat /etc/hal/fdi/policy/99-x11-synaptics.fdi ?xml version=1.0 encoding=ISO-8859-1? deviceinfo version=0.2 device match key=info.capabilities contains=input.touchpad merge key=input.x11_driver type=stringsynaptics/merge /match /device /deviceinfo = Thanks in advance for your help and pointers, Red. ps : INSTALLED : sys-apps/hal-0.5.11-r8 USE=X crypt dell doc laptop -acpi -apm -debug -disk-partition (-selinux) x11-drivers/xf86-input-evdev-2.1.3 USE=hal -debug x11-drivers/xf86-input-synaptics-1.0.0 USE=hal -debug
[gentoo-user] Re: Seeing USE flag descriptions for a package
Stroller wrote: Hi there, When I install a new package I run `emerge -pv foo` to look at the USEs it supports. In the past I have looked these up just by grepping, e.g.: $ grep foo /usr/portage/profiles/use.* /usr/portage/profiles/use.desc:foomaticdb - Adds support for the foomatic printing driver database $ However I have recently learned to use `euse -i foo` instead. This is much more convienient than grepping because one can use the Bash history: up-arrow, ctrl-w to delete the last word type in or paste the name of the next USE to check it. However this is clumsy when you have a package (like mplayer) with many USE flags. What I would like to be able to do is: $ $magicusecommand category/package doc - Install HTML wxWidgets docs and wxpython API reference. examples - Install interactive demo module browser and sample applets. samba - Adds support for SAMBA (Windows File and Printer sharing) $ The command should print out the descriptions for ALL the USE flags supported by the category/package, but only for that category/package. Ideally it should show if they're currently enabled or not. I can't be the only person to desire this feature - surely there must be a package or command do do this. I can't find this in `man portage` as an advanced version of `emerge -pv package`. Can anyone tell me what $magicusecommand is called, please? equery uses package atom
Re: [gentoo-user] Re: Seeing USE flag descriptions for a package
On 26 May 2009, at 10:57, Nikos Chantziaras wrote: Stroller wrote: Hi there, When I install a new package I run `emerge -pv foo` to look at the USEs it supports. In the past I have looked these up just by grepping, e.g.: $ grep foo /usr/portage/profiles/use.* /usr/portage/profiles/use.desc:foomaticdb - Adds support for the foomatic printing driver database $ However I have recently learned to use `euse -i foo` instead. This is much more convienient than grepping because one can use the Bash history: up-arrow, ctrl-w to delete the last word type in or paste the name of the next USE to check it. However this is clumsy when you have a package (like mplayer) with many USE flags. What I would like to be able to do is: $ $magicusecommand category/package doc - Install HTML wxWidgets docs and wxpython API reference. examples - Install interactive demo module browser and sample applets. samba - Adds support for SAMBA (Windows File and Printer sharing) $ The command should print out the descriptions for ALL the USE flags supported by the category/package, but only for that category/ package. Ideally it should show if they're currently enabled or not. I can't be the only person to desire this feature - surely there must be a package or command do do this. I can't find this in `man portage` as an advanced version of `emerge -pv package`. Can anyone tell me what $magicusecommand is called, please? equery uses package atom Many thanks! I have been for sometime trying to be able to make something useful of Justin's advice. euse quse are incorrect, but emeta looks like it will do the job; emteta is in the genscripts overlay, but layman has been frustrating me. Your suggestion has solved the problem immediately. Many thanks! Stroller.
Re: [gentoo-user] Applying patches without needing overlays and modifying ebuilds
Does anyone think that a mechanism of applying patches to a package without the need to modify the ebuild of that package would be a useful feature? media-video/smplayer j-random-hack.patch i have written script (not at my hand atm) with alike syntax using post_src_unpack pre_src_compile hooks. script needs to push patch inside proper directory /etc/portage/... and remove it after emerge. no editing of files around like the /etc/portage/bashrc trick. i can dig the script out if you are interested. pavel
[gentoo-user] CUPS and Lexmark x7675
I have a Lexmark x7675 printer connected to my network. When trying to add a printer through the cups interface, Lexmark doesn't appear in the list of manufactures. Will this printer work with CUPS/Gentoo (amd64)? How can it be set up? Thanks, dhk
[gentoo-user] Re: USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
Stroller stroller at stellar.eclipse.co.uk writes: I'm always rather reluctant to enable any of these, being unsure whether my ageing PentiumPro or Pentium 4 CPUs support such features as 3DNow! (originally an AMD technology) or the advanced SE3. I run this on dozens of amd64 laptops and 3workstations and servers from make.conf: USE=mmx mmxext sse sse2 sse3 3dnow 3dnowext \ no problems, great performance! Here is something nice from that palladies dude I keep in my .bashrc: # USE flag settings hack by Ciaran McCreesh: explainuseflag(){ sed -ne s,^\([^ ]*:\)\?$1 - ,,p $(portageq portdir)/profiles/use.{,local.}desc; } alias ef=explainuseflag ef sse3 Enable optimisations using the sse3 assmbly code Enable SSE3 support ef ssse3 faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips) My wife just loves Palladis exercise class ;-) hth, James
Re: [gentoo-user] CUPS and Lexmark x7675
dhk wrote: I have a Lexmark x7675 printer connected to my network. When trying to add a printer through the cups interface, Lexmark doesn't appear in the list of manufactures. Will this printer work with CUPS/Gentoo (amd64)? How can it be set up? Thanks, dhk According to the cups site, your printer is not in the list. http://www.cups.org/ppd.php?L From my experience, Lexmark does not support Linux very well. I always stick with HP myself. They seem to have drivers for all but a very new printer. Usually when a printer has been out a few months, there is a driver for it. Plus, HP has better Linux support in other areas as well. Dale :-) :-)
Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
On Tue, 26 May 2009 06:00:10 +0100 Stroller strol...@stellar.eclipse.co.uk wrote: Looks like `echo media-video/mplayer mmx mmxext sse sse2 ssse3 3dnow 3dnowext /etc/portage/package.use` unless someone else is able to be more informative. Stroller. Yes, just add cpudetection to those or put it in in make.conf. If you want to set the proper flags there's no other way but to check what features the particular CPU model supports. The only sure thing is that no Intel CPUs support AMD's 3now and 3dnowext. Everything else depends on the moment the particular model was released, because those features were not initially specified but being added as time passes by. Some random thoughts... The packages that could utilize some of those cpu instruction sets are not so many. Try euse -i sse for example and see which programs would be affected if you change it. Then...trial and error. :) Last but not least. If you have a (supported model of) NVidia video card and don't mind using the closed source driver, you could try VDPAU. It's a technology for Linux for offloading video decoding from CPU to GPU. For a reference mplayer takes about 30% on my CPU to play HD clips normally and about 2% when using VDPAU. HTH -- Best regards, Daniel
Re: [gentoo-user] Synaptics and HAL Device Information Files
On 5/26/2009 5:58 AM, Redouane Boumghar wrote: First of all where can I find information about the file names of FDI ? NUMBER-NAME-NAME.fdi Where are the specification of the nomenclature ? I have found different names possible : 11-x11-synaptics.fdi 99-x11-synaptics.fdi Why the donkey would it be 99 or 11 ? Since (as I see below) you've added hal to your USE flags for the xf86-input-synaptics driver, you should already have the synaptics HAL data installed -- the post-ebuild messages would tell you where those are. Currently, the stock HAL rules are installed into /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi The reason it's number 11 is because the synaptics Xorg driver exposes itself to HAL in a way that also looks like a mouse, so it matches all on the HAL rules for standard pointer device behavior. The synaptics rules need to override the normal rules, which are in the file 10-x11-pointer.fdi, so the synaptics rules go into 11-x11-synaptics.fdi and get loaded second. The file named 99- is most likely a suggestion from someone for a local customization to the policy, since it will be loaded after everything else. Since the synaptics rules are included in the base HAL policy now, there's no need for the 99- file. The thing is that I don't know how to match my touchpad with the fdi policy or that I have another unknown problem. You should not have to do anything to get your touchpad recognized by HAL as a synaptics device, since you already have the HAL policy file locally. You can use lshal(1) to ask HAL what devices it found, for example: lshal | grep -9 input.x11_driver You should see a result which includes: input.x11_driver = 'synaptics' If you back up a few lines you will see the info.capabilities set, which should include items like input, input.mouse, and input.touchpad. The default settings are in the FDI file in /usr/share, which will also show you how to override any of those settings. Basically, anything that used to be an xorg.conf option can be set using an input.x11_options.OPTIONNAME key. For example, to turn on SHMConfig so you can use the synaptics utilities: ?xml version=1.0 encoding=ISO-8859-1? deviceinfo version=0.2 device match key=info.capabilities contains=input.touchpad merge key=input.x11_options.SHMConfig type=stringOn/merge /match /device /deviceinfo Put this in an FDI file inside your /etc/hal/fdi/policy folder, such as /etc/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
Re: [gentoo-user] Unable to install www-misc/rekonq-9999 (kde-testing) because of git error
2009/5/26 Nick Cunningham n...@monkeydust.net: Its been a while since ive used paludis, but do you have the folder permissions set correctly? Normally paludis will (or it used to anyway) complain loudly when the permissions werent set correctly. If they are set correctly what happens when you try to pull the git repo manually? - Nick As I wrote in my original post I receive somehow similar error when I try to install the package using emerge. I am not sure whether it can be some permissions problem, the git-src subdirectory is successfully created in the distfiles directory, but then git clone command fails. When I run the git clone command manually from the command line then it works without problem. The directory permissions are as follows: drwxrwsr-x 4 portage portage 94208 May 26 20:07 distfiles The git-src subdirectory is then automatically created by paludis and its permissions looks like this: drwxr-sr-x 2 portage portage 4096 May 26 20:10 git-src When installing with emerge then the git-src directory is created with little bit differrent permissions: drwxr-sr-x 2 root portage 4096 May 26 20:13 git-src I am not sure if these permission are set correctly but it always worked for me and I have no problems with ebuild that fetch sources from svn repositories. Tomas
[gentoo-user] rb-libtorrent emerge fails
Ahoi, when trying the following: emerge -av qbittorrent These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] net-libs/rb_libtorrent-0.13 USE=-debug 0 kB [ebuild N] net-p2p/qbittorrent-1.0.0 0 kB i always get the following error message when compiling rb_libtorrent: ../include/libtorrent/disk_io_thread.hpp:135: error: 'condition' in namespace 'boost' does not name a type disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::join()': disk_io_thread.cpp:97: error: 'm_signal' was not declared in this scope disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::stop(boost::intrusive_ptrlibtorrent::piece_manager)': disk_io_thread.cpp:124: error: 'm_signal' was not declared in this scope disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::add_job(const libtorrent::disk_io_job, const boost::functionvoid ()(int, const libtorrent::disk_io_job))': disk_io_thread.cpp:209: error: 'm_signal' was not declared in this scope disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::operator()()': disk_io_thread.cpp:243: error: 'm_signal' was not declared in this scope make[1]: *** [disk_io_thread.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/rb_libtorrent-0.13/work/libtorrent-0.13/src' make: *** [all-recursive] Error 1 * * ERROR: net-libs/rb_libtorrent-0.13 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2643: Called die * The specific snippet of code: * emake || die emake failed * The die message: * emake failed i tried to reemerge all dependencies but still no change, i searched the nets for an answer but no real help there either, does anyone know whats wrong? greetings, Johannes
Re: [gentoo-user] rb-libtorrent emerge fails
thanks for the info! will keep that in mind for the future. Justin wrote: Johannes Renoth wrote: Ahoi, when trying the following: emerge -av qbittorrent These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N] net-libs/rb_libtorrent-0.13 USE=-debug 0 kB [ebuild N] net-p2p/qbittorrent-1.0.0 0 kB i always get the following error message when compiling rb_libtorrent: ../include/libtorrent/disk_io_thread.hpp:135: error: 'condition' in namespace 'boost' does not name a type disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::join()': disk_io_thread.cpp:97: error: 'm_signal' was not declared in this scope disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::stop(boost::intrusive_ptrlibtorrent::piece_manager)': disk_io_thread.cpp:124: error: 'm_signal' was not declared in this scope disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::add_job(const libtorrent::disk_io_job, const boost::functionvoid ()(int, const libtorrent::disk_io_job))': disk_io_thread.cpp:209: error: 'm_signal' was not declared in this scope disk_io_thread.cpp: In member function 'void libtorrent::disk_io_thread::operator()()': disk_io_thread.cpp:243: error: 'm_signal' was not declared in this scope make[1]: *** [disk_io_thread.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/rb_libtorrent-0.13/work/libtorrent-0.13/src' make: *** [all-recursive] Error 1 * * ERROR: net-libs/rb_libtorrent-0.13 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2643: Called die * The specific snippet of code: * emake || die emake failed * The die message: * emake failed i tried to reemerge all dependencies but still no change, i searched the nets for an answer but no real help there either, does anyone know whats wrong? greetings, Johannes First address for error on gentoo is bugs.gentoo.org and there you find following bug: http://bugs.gentoo.org/show_bug.cgi?id=270447
Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
Hi, so I temporarily disable all USE flags in my make.conf by adding the # to the line. Some with package.use. The I run : USE=cpudetection emerge -pv mplayer See output below. So what changes for me: oss is added. That's nothing for hardware and I use alsa, so I don't need it, do I? -aalib -cddb -cdparanoia -debug -dirac -dvb (not hardware) -pvr (it's software too, isn't it?) -samba -schroedinger -xinerama (not hardware) Is this a valid way of approache? So My USE flags are set correct (for hardware) aren't they? Some more output can be found below. kh These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-video/mplayer-1.0_rc2_p28450 USE=X a52 aac alsa ass cpudetection* dts dv dvd encode esd gif gtk iconv ipv6 jpeg live mad md5sum mmx mp2 mp3 opengl oss* png quicktime sdl sse sse2 theora truetype unicode vorbis x264 xscreensaver xv xvid -3dnow -3dnowext -aalib* (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb* -cdio -cdparanoia* -custom-cflags -custom-cpuopts -debug* -dga -dirac* -directfb -doc -dvb* (-dvdnav) -dxr3 -enca -fbcon -ftp -ggi -jack -joystick -ladspa -libcaca -lirc -lzo -mmxext -mng -musepack -nas -nemesi -openal -pnm -pulseaudio -pvr* -radio -rar (-real) -rtc -samba* -schroedinger* -speex -ssse3 (-svga) -teletext -tga -v4l -v4l2 (-vidix) (-win32codecs) -xanim -xinerama* -xvmc -zoran VIDEO_CARDS=vesa* -mga -s3virge -tdfx 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB grep flags /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good nopl pni lahf_lm cmp_legacy
Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
KH schrieb: Hi, so I temporarily disable all USE flags in my make.conf by adding the # to the line. Some with package.use. The I run : USE=cpudetection emerge -pv mplayer Is this a valid way of approache? From Stroller: Apparently not! I rebuilt using that flag received this message: * You've enabled the cpudetection flag. This feature is * included mainly for people who want to use the same * binary on another system with a different CPU architecture. * MPlayer will already detect your CPU settings by default at * buildtime; this flag is used for runtime detection. * You won't need this turned on if you are only building * mplayer for this system. Also, if your compile fails, try * disabling this use flag. I think this speaks for itself. Stroller. So to answer my own question: It looks like it isn't the correct approache. kh
Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
On Wednesday 27 May 2009 00:20:50 KH wrote: Hi, so I temporarily disable all USE flags in my make.conf by adding the # to the line. Some with package.use. The I run : USE=cpudetection emerge -pv mplayer See output below. So what changes for me: oss is added. That's nothing for hardware and I use alsa, so I don't need it, do I? -aalib -cddb -cdparanoia -debug -dirac -dvb (not hardware) -pvr (it's software too, isn't it?) -samba -schroedinger -xinerama (not hardware) Is this a valid way of approache? So My USE flags are set correct (for hardware) aren't they? No, you have it wrong. The ebuild does not magically change the USE flags based on what you have. It will build according to what you tell it, no more, no less. USE=cpudetection causes special code to be compiled into mplayer. Think of it this way (a highly simplistic explanation that gets the point across): mplayer is built with routines for every possible optimization. At RUNTIME, when mplayer starts, it figures out what you have and what you can use, and remembers for itself the routines you can't use and does not run them. cpudetection changes runtime behaviour, not compile time behaviour, and does not change your use flags at all. When you hashed out the line in /etc/make.conf, all you proved is that with the exception of oss, your configured USE flags for mplayer are the same as the default for your profile and mplayer. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Auto-mounting USB drive?
On Tue, May 26, 2009 at 12:53 AM, Neil Bothwick n...@digimed.co.uk wrote: On Tue, 26 May 2009 05:35:46 +0100, Stroller wrote: Mark: yes, I don't see any reason NOT to address by label (e2label or whatever XFS / Reiser use) these days. The only thing I can think of is that your USB drivers or the kernel module that does USB mass- storage is not loaded in time during boot. Aren't there any messages about failed mounts amongst the kernel messages on the screen? That's most likely the problem, I had a similar situation trying to mount an SD card at boot time. Two solutions are to mount the device later in the boot sequence, from /etc/conf.d/local, or to build the necessary modules into the kernel. Since you're mounting the USB device on boot, there's no point in having separate modules for USB. -- Neil Bothwick Stroller Neil, Thanks. I don't know why but I hadn't considered the idea that the USB driver would be better built into the kernel for this application. Basically, this is a little PowerPC Mac Mini that I've turned into a new HD Homerun/USB video storage MythTV backend server. I want to be pretty confident that the hard drive is mounted because the machine is headless and sitting in a corner. If someone turns it on after a power failure I don't want to have to mess around to get the external storage mounted. I don't need the drive mounted at boot time, but I certainly want it up and running before the mythbackend script gets started. If I get a power failure and someone restarts everything it could be in the middle of a previous recording and I need the partial recording to end up on USB. I'll look at building in the USB driver into the kernel and using e2label also. I did actually manage to get it working using some udev rules that I found in the forum, but I must say I don't really understand them and never thought they were necessary. I'm glad you guys are thinking the same way. Thanks, Mark
[gentoo-user] Another USE question
Hi, so inspired by [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext I again thougt about my USE flags. Now I want to put them in an order which is better fitting my need than the alphabetical order. I remember I saw something ordering it for hardware and software, but I can't remember the correct way. Was it: USE_HARDWARE USE_SOFTWARE ??? Does anyone now this out of the box? Thak's kh
Re: [gentoo-user] Another USE question
On Wednesday 27 May 2009 00:52:21 KH wrote: Hi, so inspired by [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext I again thougt about my USE flags. Now I want to put them in an order which is better fitting my need than the alphabetical order. I remember I saw something ordering it for hardware and software, but I can't remember the correct way. Was it: USE_HARDWARE USE_SOFTWARE ??? Does anyone now this out of the box? Thak's kh How about you jumble them all up randomly? That would sure appear to match your state of mind on the matter. Who cares what the order is, you certainly shouldn't - I assure you you will forget what the order all means anyway within 48 hours. Try this instead: Study and understand the USE flags and know what they do and mean. Then list them alphabetical - you will know where to find them and when you see them they will make sense. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: Another USE question
KH wrote: Hi, so inspired by [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext I again thougt about my USE flags. Now I want to put them in an order which is better fitting my need than the alphabetical order. I remember I saw something ordering it for hardware and software, but I can't remember the correct way. Was it: USE_HARDWARE USE_SOFTWARE ??? Does anyone now this out of the box? You can do whatever you wish as long as USE contains all you need in the end. Example: USE_FOO=this n that USE_BAR=some more flags BLAH=whatever else there might be USE=${USE_FOO} ${USE_BAR} ${BLAH}
Re: [gentoo-user] Another USE question
Alan McKinnon schrieb: On Wednesday 27 May 2009 00:52:21 KH wrote: Hi, so inspired by [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext I again thougt about my USE flags. Now I want to put them in an order which is better fitting my need than the alphabetical order. I remember I saw something ordering it for hardware and software, but I can't remember the correct way. Was it: USE_HARDWARE USE_SOFTWARE ??? Does anyone now this out of the box? Thak's kh How about you jumble them all up randomly? That would sure appear to match your state of mind on the matter. Who cares what the order is, you certainly shouldn't - I assure you you will forget what the order all means anyway within 48 hours. Try this instead: Study and understand the USE flags and know what they do and mean. Then list them alphabetical - you will know where to find them and when you see them they will make sense. Hi, sure I want to know what they do mean and I hope I already do with those I defined for my make.conf. The point is another. Like I set up another PC with other cpu and gpu I want to be able to just copy and past those use flags not related to hardware very easy. One the other hand hardware use flags shouldn't change for my pc so I do now don't touch this area :-) Doesn't this make sense? kh
Re: [gentoo-user] Re: Another USE question
Nikos Chantziaras schrieb: KH wrote: Hi, so inspired by [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext I again thougt about my USE flags. Now I want to put them in an order which is better fitting my need than the alphabetical order. I remember I saw something ordering it for hardware and software, but I can't remember the correct way. Was it: USE_HARDWARE USE_SOFTWARE ??? Does anyone now this out of the box? You can do whatever you wish as long as USE contains all you need in the end. Example: USE_FOO=this n that USE_BAR=some more flags BLAH=whatever else there might be USE=${USE_FOO} ${USE_BAR} ${BLAH} Thank's. That is exactly what I was looking for. kh
Re: [gentoo-user] Re: Another USE question
On May 26, 2009, at 4:07 PM, KH wrote: You can do whatever you wish as long as USE contains all you need in the end. Example: USE_FOO=this n that USE_BAR=some more flags BLAH=whatever else there might be USE=${USE_FOO} ${USE_BAR} ${BLAH} Thank's. That is exactly what I was looking for. kh But that will likely break, or render useless, the ufed tool. If you don't use that, you probably should.
Re: [gentoo-user] Re: Another USE question
On Wednesday 27 May 2009 00:33:12 Keith Dart wrote: But that will likely break, or render useless, the ufed tool. If you don't use that, you probably should. Why? -- Rgds Peter
Re: [gentoo-user] Re: Another USE question
On May 26, 2009, at 4:52 PM, Peter Humphrey wrote: On Wednesday 27 May 2009 00:33:12 Keith Dart wrote: But that will likely break, or render useless, the ufed tool. If you don't use that, you probably should. Why? Makes it easy to change USE flags. You see the flag name, current setting, and description all in one place. It also show inherited settings. It also rewrites your USE flag.
Re: [gentoo-user] USE=mmx mmxext sse sse2 ssse3 3dnow 3dnowext
On Tue, 26 May 2009 22:07:10 +0100 Stroller strol...@stellar.eclipse.co.uk wrote: On 26 May 2009, at 15:31, Daniel Iliev wrote: Looks like `echo media-video/mplayer mmx mmxext sse sse2 ssse3 3dnow 3dnowext /etc/portage/package.use` unless someone else is able to be more informative. Yes, just add cpudetection to those or put it in in make.conf. Apparently not! I rebuilt using that flag received this message: * You've enabled the cpudetection flag. This feature is * included mainly for people who want to use the same * binary on another system with a different CPU architecture. * MPlayer will already detect your CPU settings by default at * buildtime; this flag is used for runtime detection. * You won't need this turned on if you are only building * mplayer for this system. Also, if your compile fails, try * disabling this use flag. I think this speaks for itself. Stroller. I can't see any problems here? The idea is to enable the cpudetection flag and all USE flags which correspond to one or another extended instruction set (EIS) and build mplayer with support for all EIS plus extra code for *run-time* cpu detection. This way mplayer *could* use all EIS that are implemented in its code, but *will* detect which EIS are supported by your CPU and use only them. In other words the same binary will use different EIS on different CPUs. There could be problems if you had enabled all the EIS flags globally (in make.conf) instead only for mplayer, because other programs don't have the run-time cpu detection feature and will fail in their attempts to use for example 3dnow! on an Intel CPU. I hope I was clear enough, apologies for my Englush. -- Best regards, Daniel
Re: [gentoo-user] Re: Another USE question
Peter Humphrey wrote: On Wednesday 27 May 2009 01:02:17 Keith Dart wrote: On May 26, 2009, at 4:52 PM, Peter Humphrey wrote: On Wednesday 27 May 2009 00:33:12 Keith Dart wrote: But that will likely break, or render useless, the ufed tool. If you don't use that, you probably should. Why? Makes it easy to change USE flags. You see the flag name, current setting, and description all in one place. It also show inherited settings. It also rewrites your USE flag. Changing USE flags is easy enough already, isn't it? I don't think I want any program meddling in my make.conf, thanks. +1 Anybody remember the old mirrorselect? o_O Dale :-) :-)
Re: [gentoo-user] Re: Another USE question
On May 26, 2009, at 6:16 PM, Peter Humphrey wrote: Changing USE flags is easy enough already, isn't it? I don't think I want any program meddling in my make.conf, thanks. No, I have not yet memorized all of them, and they change frequently. But suit yourself, I like ufed.
Re: [gentoo-user] Re: Another USE question
Keith Dart wrote: On May 26, 2009, at 6:16 PM, Peter Humphrey wrote: Changing USE flags is easy enough already, isn't it? I don't think I want any program meddling in my make.conf, thanks. No, I have not yet memorized all of them, and they change frequently. But suit yourself, I like ufed. Memorized all of what? Open a text editor and edit make.conf. What do you need to memorize? If you use KDE, you can edit them with kwrite which is about as easy as it gets. Heck, I been using Gentoo for years and I don't recall ever using ufed. Now to go see what ufed even is. I think I know what it does. Dale :-) :-)
Re: [gentoo-user] Re: Another USE question
On May 26, 2009, at 6:41 PM, Dale wrote: Memorized all of what? Open a text editor and edit make.conf. What do you need to memorize? If you use KDE, you can edit them with kwrite which is about as easy as it gets. Heck, I been using Gentoo for years and I don't recall ever using ufed. Editing make.conf is easy, knowing what to put in it is the hard part. what are all the possible flag names you can enter? There are hundreds. What do they all mean? How does enabling or disabling a particular use flag effect the build of all packages that use it? Which packages share a use flag? Which flags are mutually exclusive? Which ones are enabled by default, that you want disabled? There is much more involved than simply editing a file.
Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict
On Tue, May 26, 2009 at 2:50 AM, Nikos Chantziaras rea...@arcor.de wrote: Kevin O'Gorman wrote: Re: glx, what happens if you run 'eselect opengl list'? there are two listed, ati and xorg-x11. xorg-x11 is selected. That means you have not removed ati-drivers. It might be they interfere with X. First, unload them: modprobe -r fglrx Then uninstall them: eselect opengl set xorg-x11 emerge -C ati-drivers And then remove what's left of them: rm -r /etc/ati rm /lib/modules/YOUR_RUNNING_KERNEL/video/fglrx.ko I hope you have done an emerge -auDN world after you changed the VIDEO_CARDS settings in make.conf? Actually, I unmerged ait-drivers a few days ago. It's not loaded and does not exist. I think xorg-server was recompiled too, but in any event emerge -aDNvu world doesn't want to emerge anything. But still there's this remnant of ati. I was wondering why. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict
On Mon, May 25, 2009 at 9:02 PM, Adam Carter adam.car...@optus.com.au wrote: DRI requires kernel support - Device Drivers - Graphics - Direct Rendering Manager, and you'll want to select the correct ATI support under that. That's always been there, as modules. If I modprobe for r128, it gets loaded along with module drm. It makes no difference to the startx behavior. Do the /usr/lib/xorg/modules/extensions//libglx.so and libdri.so files exist? That directory has: treat extensions # ls -l total 220 -rwxr-xr-x 1 root root 17836 2009-05-25 09:04 libdbe.so lrwxrwxrwx 1 root root 47 2009-05-25 09:15 libdri.so - //usr//lib/opengl/xorg-x11/extensions/libdri.so -rwxr-xr-x 1 root root 125416 2009-05-25 09:04 libextmod.so lrwxrwxrwx 1 root root 47 2009-05-25 09:15 libglx.so - //usr//lib/opengl/xorg-x11/extensions/libglx.so -rwxr-xr-x 1 root root 26024 2009-05-25 09:04 librecord.so -rwxr-xr-x 1 root root 36428 2009-05-25 09:04 libxtrap.so drwxrwxrwt 2 root root 4096 2009-05-25 11:10 tmp drwxr-xr-x 5 root root 4096 2009-05-25 11:10 var but /usr/lib/opengl/xorg-x11/extensions has NOTHING in it. For me, libdri.so is a symlink to /usr/lib64/opengl/ati/extensions/libdri.so libglx.so is a symlink to /usr/lib64/opengl/ati/extensions/libglx.so (since you havent run the eselect to repoint it yet, it will be set to /usr/lib64/opengl/xorg-x11/extensions/libglx.so). Re: glx, what happens if you run 'eselect opengl list'? there are two listed, ati and xorg-x11. xorg-x11 is selected. If you're using flgrx you want 'eselect opengl set ati', but again I thought 2D would work fine without this. Actually, I think fglrx is from ati-driver, which is for a different card. Anyway, I would expect X to start somehow. -- Kevin O'Gorman, PhD
[gentoo-user] Question about xorg and a kill process
I know the subject is a bit lacking but here goes. I'm thinking about trying this xorg-server upgrade again. I been thinking about a way to do this and not have to pull the plug on my rig if it fails, which I bet it does. This is the command I am thinking about trying. /etc/init.d/xdm start sleep 5m /etc/init.d/xdm stop I'm thinking this way. Start X first. If it fails, it will stop in 5 minutes and come back to a console. Think this will work? If xorg works, I can switch back to a console and ctrl C the command and carry on. Thoughts? Better ideas? Dale :-) :-)