Re: [gentoo-ppc-user] ibook g3 wpa woes
* stuart [EMAIL PROTECTED] [08/01/27 11:28 -0500]: Is this because the airport card I have just doesn't support WPA? That's the reason. This old card supports only WEP128. Regards, Lars -- Lars Weiler [EMAIL PROTECTED] +49-171-1963258 Gentoo Linux PowerPC : Developer Instant Messaging : [EMAIL PROTECTED] -- gentoo-ppc-user@lists.gentoo.org mailing list
[gentoo-user] Speed up with pbzip2 or not!?
Hey guys! Yesterday I found this article http://gentoo-wiki.com/HOWTO_Speed_up_decompression_with_pbzip2 and was very happy, because I'm an owner of an Q6600. So I tried to reproduce the benchmark from the wiki article but got that bad results: test # time *bzip2* -d -kf linux-2.6.23.tar.bz2 real0m11.672s user0m11.306s sys 0m0.367s test # time *pbzip2* -d -p4 -kf linux-2.6.23.tar.bz2 real0m25.554s user0m24.862s sys 0m0.683s So the parallel version took more than the double time! To test whether this is a problem of my Pc I tested this on an Dual Core with the same result. An test with 7z was much better: test # time *7za* x -y linux-2.6.23.tar.bz2 real0m4.642s user0m8.379s sys 0m0.327s All tests where done in a tmpfs off 1GB on 2GB RAM. So my questions is what did I do wrong? I also tested it with different CFLAGS, but my CFLAGS are basically very conservative. (-O2 -march=prescott -pipe -fomit-frame-pointer)
Re: [gentoo-user] Speed up with pbzip2 or not!?
Am Sonntag, 27. Januar 2008 schrieb Justin: Yesterday I found this article http://gentoo-wiki.com/HOWTO_Speed_up_decompression_with_pbzip2 and was very happy, because I'm an owner of an Q6600. So I tried to reproduce the benchmark from the wiki article but got that bad results: So my questions is what did I do wrong? Your kernel is compiled with SMP support, isn't it? Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Speed up with pbzip2 or not!?
On Sun, 2008-01-27 at 10:58 +0100, Justin wrote: Hey guys! Yesterday I found this article http://gentoo-wiki.com/HOWTO_Speed_up_decompression_with_pbzip2 and was very happy, because I'm an owner of an Q6600. So I tried to reproduce the benchmark from the wiki article but got that bad results: test # time bzip2 -d -kf linux-2.6.23.tar.bz2 real0m11.672s user0m11.306s sys 0m0.367s test # time pbzip2 -d -p4 -kf linux-2.6.23.tar.bz2 real0m25.554s user0m24.862s sys 0m0.683s So the parallel version took more than the double time! To test whether this is a problem of my Pc I tested this on an Dual Core with the same result. An test with 7z was much better: test # time 7za x -y linux-2.6.23.tar.bz2 real0m4.642s user0m8.379s sys 0m0.327s So my questions is what did I do wrong? Did you compress it with pbzip2 in the first place? Pbzip2 can only speed up decompression of files created by pbzip2, as well. Read the docs, dude ... p7zip has got its own implementation of bzip2, which might be faster. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Speed up with pbzip2 or not!?
Yes it is! But a question at this point: Where can I find the Enhanced Real Time Clock Support or is it gone in the 2.6.23? Dirk Heinrichs schrieb: Am Sonntag, 27. Januar 2008 schrieb Justin: Yesterday I found this article http://gentoo-wiki.com/HOWTO_Speed_up_decompression_with_pbzip2 and was very happy, because I'm an owner of an Q6600. So I tried to reproduce the benchmark from the wiki article but got that bad results: So my questions is what did I do wrong? Your kernel is compiled with SMP support, isn't it? Bye... Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
Am Sonntag, 27. Januar 2008 schrieb Justin: But a question at this point: Where can I find the Enhanced Real Time Clock Support or is it gone in the 2.6.23? Run make menuconfig and use the search function (/). HTH... Dirk signature.asc Description: This is a digitally signed message part.
[gentoo-user] What's the position on Chrony?
I want to run chrony on my servers for their smooth correction of system time. I have a few questions, however. 1. Is chrony accurate on P4 and AMD chips? Is it really a useful improvement on ntpd? I remember from a few years ago that its developer used to have to change his code every time a new CPU chip appeared. 2. Chrony doesn't like other programs interfering with its own control of the clock, so I want to remove both ntpd and clock from the startup process. This seems to cause a problem: 3. How do I substitute chrony for ntp in gentoo's startup scripts? I can remove ntpd easily enough, but if I rc-update del clock it gets put back into the boot run-level on shutting down. If I then move /etc/init.d/clock out of the way and just touch a blank file in its place, I get this: $ sudo /etc/init.d/chronyd restart * Caching service dependencies ... * Can't find service 'clock' needed by 'syslog-ng'; continuing... [ ok ] * Stopping chronyd ... [ ok ] * Starting chronyd ... [ ok ] It looks as though the baselayout team are assuming too much; or should I just give in and revert to clock and ntpd? Perhaps it just isn't suitable for Gentoo - it wouldn't be the first time that an ebuild had appeared for a new package before it was ready. -- Rgds Peter -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
I did but without success. Thats why im asking!! Dirk Heinrichs schrieb: Am Sonntag, 27. Januar 2008 schrieb Justin: But a question at this point: Where can I find the Enhanced Real Time Clock Support or is it gone in the 2.6.23? Run make menuconfig and use the search function (/). HTH... Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
Is there a way to use 7zip for decompression with emerge? Justin schrieb: Hey guys! Yesterday I found this article http://gentoo-wiki.com/HOWTO_Speed_up_decompression_with_pbzip2 and was very happy, because I'm an owner of an Q6600. So I tried to reproduce the benchmark from the wiki article but got that bad results: test # time *bzip2* -d -kf linux-2.6.23.tar.bz2 real0m11.672s user0m11.306s sys 0m0.367s test # time *pbzip2* -d -p4 -kf linux-2.6.23.tar.bz2 real0m25.554s user0m24.862s sys 0m0.683s So the parallel version took more than the double time! To test whether this is a problem of my Pc I tested this on an Dual Core with the same result. An test with 7z was much better: test # time *7za* x -y linux-2.6.23.tar.bz2 real0m4.642s user0m8.379s sys 0m0.327s All tests where done in a tmpfs off 1GB on 2GB RAM. So my questions is what did I do wrong? I also tested it with different CFLAGS, but my CFLAGS are basically very conservative. (-O2 -march=prescott -pipe -fomit-frame-pointer) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
Google is my friend: Device Drivers --- Character devices --- M Enhanced Real Time Clock Support Justin schrieb: I did but without success. Thats why im asking!! Dirk Heinrichs schrieb: Am Sonntag, 27. Januar 2008 schrieb Justin: But a question at this point: Where can I find the Enhanced Real Time Clock Support or is it gone in the 2.6.23? Run make menuconfig and use the search function (/). HTH... Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
Justin wrote: Is there a way to use 7zip for decompression with emerge? Can this top-posting stop, please? Interleave, and snip. http://en.wikipedia.org/wiki/Top-posting Benno -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
On Sun, 2008-01-27 at 11:40 +0100, Justin wrote: Is there a way to use 7zip for decompression with emerge? I fear, no easy one. Of course, since emerge is just a python script, you could rewrite it but 7z-syntax isn't compatible with bzip2 or gnu-tar so it will be some work. I also tried to use star as a drop-in replacement for gnu-tar, once. Didn't work well although their syntax is nearly identical, but just nearly... By the way: Please don't top-post (e.g. write your answers to a mail below the quote. It makes reading long threads with many quotes easier.) signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Choppy video playback
Hi Walter, On Jan 27, 2008 3:55 PM, Walter Dnes [EMAIL PROTECTED] wrote: On Sat, Jan 26, 2008 at 07:39:47PM +0900, Mike Mazur wrote CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer The -march option may or may not invoke mmx, sse, sse2, etc in the CFLAGS line but it definitely does *NOT* invoke them in the USE variable. USE=gtk gtk2 gnome -apm -eds -emboss -gstreamer -qt -qt3 -qt4 -kde -ldap -arts -esd -oss -xv X a52 aac acpi alsa avahi bash-completion bluetooth cdr cjk crypt dbus dvd dvdr exif firefox gphoto hal ipod jpeg mbox mp3 nptl nptlonly ogg opengl png pulseaudio spell ssl startup-notification svg theora tiff vorbis wifi xinerama I have mmx, sse, sse2, and a few AMD-specific options in my USE variable. Can you show us the output of the command... grep flags /proc/cpuinfo The output of `grep flags /proc/cpuinfo` is: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm Then we can see what to add. If you are *NOT* taking advantage of the available extensions, you won't get the available oomph out of your cpu. It's not so much a matter of raw speed as ability to do complex calculations in the chipset microcode, rather than painfully emulating it in software. One of the features of Gentoo is customizing your build to get the most out of your cpu. Use it... within reason. This enters a realm I haven't visited before... Makes lots of sense. I guess I'll need to recompile everything if I want any changes to come into effect? mplayer also takes a few custom flags. In /etc/portage/package.use I have the entry media-video/mplayer custom-cflags i8x0 real 3dnowext mmxext With an Intel cpu, you obviously don't want 3dnowext, but there may be other stuff worth using. To find out what's available, use... grep mplayer /usr/portage/profiles/use.local.desc | less Looks like I have lots of reading ahead of me :) Need to figure out what those CPU extensions mean or do and how not to abuse that power! Thanks a lot, Mike -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] (no subject)
unsubscribe -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Choppy video playback
On Sun, 27 Jan 2008 01:55:59 -0500 Walter Dnes [EMAIL PROTECTED] wrote: On Sat, Jan 26, 2008 at 07:39:47PM +0900, Mike Mazur wrote CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer The -march option may or may not invoke mmx, sse, sse2, etc in the CFLAGS line but it definitely does *NOT* invoke them in the USE variable. USE=gtk gtk2 gnome -apm -eds -emboss -gstreamer -qt -qt3 -qt4 -kde -ldap -arts -esd -oss -xv X a52 aac acpi alsa avahi bash-completion bluetooth cdr cjk crypt dbus dvd dvdr exif firefox gphoto hal ipod jpeg mbox mp3 nptl nptlonly ogg opengl png pulseaudio spell ssl startup-notification svg theora tiff vorbis wifi xinerama I have mmx, sse, sse2, and a few AMD-specific options in my USE variable. Can you show us the output of the command... grep flags /proc/cpuinfo Then we can see what to add. If you are *NOT* taking advantage of the available extensions, you won't get the available oomph out of your cpu. It's not so much a matter of raw speed as ability to do complex calculations in the chipset microcode, rather than painfully emulating it in software. One of the features of Gentoo is customizing your build to get the most out of your cpu. Use it... within reason. mplayer also takes a few custom flags. In /etc/portage/package.use I have the entry media-video/mplayer custom-cflags i8x0 real 3dnowext mmxext With an Intel cpu, you obviously don't want 3dnowext, but there may be other stuff worth using. To find out what's available, use... grep mplayer /usr/portage/profiles/use.local.desc | less True as that is, is think it's kind a of the point. I have been using mplayer to see movies since k7-2(I think it as a k7-2 don't remember for sure). I've seldom got the error about CPU being to slow and always it was another reason for mplayer not being able to play it. I would rather say you should look in mplayer -vo help and try different drivers until you get the one it suites you. If you have a 3d card choose gl or gl2, if not xv. Also please check that you have setup preperly the graphics card. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] diff command for images
I need to find the difference between images (like the text-file diff command, but for RGBA images). I tried compare A.png A.png difference.png. This should obviously produce some kind of blank image because A.png and A.png are the same file, but for some weird reason the produced difference.png has recognizable content! Is there a fix for that bug or any other image diff program that is sane? -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] glxgears segfaults as user, works as root
Hi all, on with my ati-drivers 8.452.1 woes! This time, glxgears fgl_glxgears will segfault as root. FPS is bad for GL stuff. When I run glxgears in sudo, it works! I've checked groups and permissions on /dev/dri/card0 and whatever I can think of, but nothing jumps out at me. Google is not much help either. any hints? thanks! -- Iain Buchanan iain at pcorp dot com dot au The buffalo isn't as dangerous as everyone makes him out to be. Statistics prove that in the United States more Americans are killed in automobile accidents than are killed by buffalo. -- Art Buchwald -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] What's the position on Chrony?
On Jan 27, 2008 5:53 AM, Peter Humphrey [EMAIL PROTECTED] wrote: I want to run chrony on my servers for their smooth correction of system time. I have a few questions, however. 1. Is chrony accurate on P4 and AMD chips? Is it really a useful improvement on ntpd? I remember from a few years ago that its developer used to have to change his code every time a new CPU chip appeared. 2. Chrony doesn't like other programs interfering with its own control of the clock, so I want to remove both ntpd and clock from the startup process. This seems to cause a problem: 3. How do I substitute chrony for ntp in gentoo's startup scripts? I can remove ntpd easily enough, but if I rc-update del clock it gets put back into the boot run-level on shutting down. If I then move /etc/init.d/clock out of the way and just touch a blank file in its place, I get this: $ sudo /etc/init.d/chronyd restart * Caching service dependencies ... * Can't find service 'clock' needed by 'syslog-ng'; continuing... [ ok ] * Stopping chronyd ... [ ok ] * Starting chronyd ... [ ok ] It looks as though the baselayout team are assuming too much; or should I just give in and revert to clock and ntpd? Perhaps it just isn't suitable for Gentoo - it wouldn't be the first time that an ebuild had appeared for a new package before it was ready. -- Rgds Peter -- gentoo-user@lists.gentoo.org mailing list If you truly don't need clock, you can try modifying the syslog-ng init file to not require it. grep -i clock /etc/init.d/syslog-ng --context 2 -n 16- # kludge for baselayout-1 compatibility 17- [ -z ${svclib} ] config /etc/syslog-ng/syslog-ng.conf 18: need clock hostname localmount 19- provide logger 20-} Remove the 'clock' word and it should let syslog-ng start. -- - Mark Shields
Re: [gentoo-user] (no subject)
Read the website where you subscribed and read the header of all gentoo-user mailing list mails, and you will find this tidbit: List-Unsubscribe: mailto:[EMAIL PROTECTED] Send a mail to that to unsubscribe. On Jan 27, 2008 7:06 AM, Christel Dahlskjaer [EMAIL PROTECTED] wrote: unsubscribe -- gentoo-user@lists.gentoo.org mailing list -- - Mark Shields
Re: [gentoo-user] diff command for images
Am Sonntag, 27. Januar 2008 14:54:15 schrieb Erik: I need to find the difference between images (like the text-file diff command, but for RGBA images). I tried compare A.png A.png difference.png. This should obviously produce some kind of blank image because A.png and A.png are the same file, but for some weird reason the produced difference.png has recognizable content! Is there a fix for that bug or any other image diff program that is sane? The easiest way for doing this, is using GIMP. - Use one layer for each image - Use the 'Subtract' mode for displaying the second layer Regards, Elias P. -- A really nice number: 09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0 signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] diff command for images
Elias Probst skrev: Am Sonntag, 27. Januar 2008 14:54:15 schrieb Erik: I need to find the difference between images (like the text-file diff command, but for RGBA images). I tried compare A.png A.png difference.png. This should obviously produce some kind of blank image because A.png and A.png are the same file, but for some weird reason the produced difference.png has recognizable content! Is there a fix for that bug or any other image diff program that is sane? The easiest way for doing this, is using GIMP. - Use one layer for each image - Use the 'Subtract' mode for displaying the second layer Not sure how to do this. I am not a graphic artist. But I just open it with gimp a.png b.png and press Ctrl-C in one image, switch to the other and press Ctrl-V. That seems to create a second layer. Then I have no idea what to do. A simple command would be useful. I might have to regression-test 1000 images in a svn commit because some of them seem to have been modified by optipng. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] (no subject)
On Sunday 27 January 2008 07:06:59 am Christel Dahlskjaer wrote: unsubscribe NO! -- From the Desk of: Jerome D. McBride -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
On Sonntag, 27. Januar 2008, Justin wrote: Thats a good point. Now it worked really fast. But then the questions is why should I use pbzip2 for decompression with portage? I think most tarballs are packed only with the normal compression algorithm! The WIKI articel pretends a gain of speed which wont be! and that is why you should never trust wiki-articles. Everybody can write them and say whatever they want. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Gentoo didn't work with ati sapphire 2400
There is no way to start the live cd.. i also write in a lot of forum, and so on, but nothing seems to work.. what should i do? thanks Fabio -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gentoo didn't work with ati sapphire 2400
Fabio schrieb: There is no way to start the live cd.. i also write in a lot of forum, and so on, but nothing seems to work.. what should i do? thanks Fabio Thats a problem of the live CD on several video cards! But you can still do the gentoo way of installing the OS and start with an minimal CD! -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] audio gone!
On Sat, Jan 26, 2008 at 11:06:50PM -0800, Penguin Lover maxim wexler squawked: ... [blocks B ] =app-admin/eselect-1.0.3 (is blocking app-admin/eselect-opengl-1.0.3) emerge --unmerge eselect-opengl eselect emerge --oneshot eselect eselect-opengl -- Yan Can Cook and George Lucas have a new joint-venture web site, titled eWok. Sortir en Pantoufles: up 415 days, 15:05 -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Trying to automate HTML --- pdf
I am trying to automate converting a URL into a pdf file. These web pages include javascript and fancy formatting, so the simple minded converters just don't cut the ice. My next plan was to hack up a real browser so it would take two command line args, the URL and the print file, render the page, print it to the pdf file, and exit. From what I know of some of them, they would have to be configured in advance, and invocation would have to be strictly controlled so only one instance runs at a time, at least per user. I could probably create several firefox user sessions and have each of them running simultaneously, but multiple real users works for me too. Firefox doesn't print to pdf, however. But konqueror does. By using the DCOP interface, I can even pass it commands to load a URL and print the page, altho I have to settle for the configured print file name. But since I have to run individual sessions anyway, that's no big deal. The commands look like this: dcop konqueror-6352 'konqueror-mainwindow#1' openURL 'http://slashdot.org' dcop konqueror-6352 html-widget2 print true There's a bit more than that, since widget names change, but a simple perl program handles it easily (so far!). However, there's a problem. The openURL command returns without waiting for the web page to finish loading, and the print command does not wait for it to finish loading. The print command does wait for printing to finish before returning, which is nice. This means I have to put in some arbitrary sleep 30 or so between openURL and print to have a good chance of a complete printed page, and even then, there is no guarantee it actually will be complete. We have to send these pdf files to a bank, and it would not be good to send them incomplete pages, even if only one out of 100 or even 1000. There will be at least hundreds of these every day. I started to look at sources but there is no konqueror-3.5.8.tar.gz or anything similar. No doubt most of the code is handled by Qt widgets and KDE libs. Here are my quests: 0. Is there a better place to ask this? I tried a KDE mailing list and got no responses; there weren't even many views. 1. Is there either a DCOP command to wait for a URL to be loaded or a DCOP command like openURL which waits? 2. Is there a source file for konqueror which I could hack to take command line parameters without changing libraries or other code which would affect the rest of KDE? I don't have any problem with a hacked and renamed konqueror command. 3. Is there some other way of converting complicated web pages into pdf? If they don't understand javascript and style sheets and everything else that a real browser does, they are useless to me. 4. Are there other ways to do this that I haven't thought of? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] diff command for images
Am Sonntag, 27. Januar 2008 schrieb Erik: I tried compare A.png A.png difference.png. This should obviously produce some kind of blank image because A.png and A.png are the same file, but for some weird reason the produced difference.png has recognizable content! Try compare -metric AE A.png A.png difference.png This gives you the absolute number of diffrent pixels. http://www.imagemagick.org/script/command-line-options.php#metric Regards Jens -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Trying to automate HTML --- pdf
On Sun, 27 Jan 2008 09:06:15 -0800, [EMAIL PROTECTED] wrote: 1. Is there either a DCOP command to wait for a URL to be loaded or a DCOP command like openURL which waits? I can't see one, but it sounds like it would be useful enough to file a bug report requesting one. A DCOP command to tell whether the page has finished lading would be suitable. 2. Is there a source file for konqueror which I could hack to take command line parameters without changing libraries or other code which would affect the rest of KDE? I don't have any problem with a hacked and renamed konqueror command. Konqueror is part of kdebase, so you'll find the source somewhere in there. -- Neil Bothwick Where the system is concerned, you're not allowed to ask `Why?' signature.asc Description: PGP signature
Re: [gentoo-user] Trying to automate HTML --- pdf
On Sunday 27 January 2008, [EMAIL PROTECTED] wrote: dcop konqueror-6352 'konqueror-mainwindow#1' openURL 'http://slashdot.org' dcop konqueror-6352 html-widget2 print true There's a bit more than that, since widget names change, but a simple perl program handles it easily (so far!). However, there's a problem. The openURL command returns without waiting for the web page to finish loading, and the print command does not wait for it to finish loading. The print command does wait for printing to finish before returning, which is nice. [cut] 1. Is there either a DCOP command to wait for a URL to be loaded or a DCOP command like openURL which waits? I know of no direct method, and I can't answer your other questions either. However, the following (admittedly *really* kludgy and quick-and-dirty) method *seems* to work: dcop konqueror-6352 'konqueror-mainwindow#1' openURL 'http://my.url' while true; do # check if the stop button is clickable stat=`dcop konqueror-6352 konqueror-mainwindow#1 actionIsEnabled stop` if [ $stat == true ]; then # stop button is active, so page is still loading sleep 5 else # stop button is not active, page has loaded break fi done # do what you want here As I said above, I did some tests and this seems to work. However, I'm not claiming that it's the solution to your problem, nor that it will always work as expected. Therefore, I strongly suggest you test it thoroughly before using it. Hope that helped. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
On Sunday 27 January 2008 18:29:56 Enrico Weigelt wrote: Why not an universal wrapper script ? maybe something like: magic-uncompress [-t format] [-c] [-o output] input This script could try to find out the input format automatically (the optional -t parameter allows to explicitly specifiy the format) Once we have this script, ebuilds could be rewritten step by step and no one (else than magic-uncompress) has to care about the actual commands behind. Some could be done w/ tar and zip, etc. You've just reinvented unpack(). It's been a part of portage for ages and is used in just about every ebuild in the tree... -- Bo Andresen signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Gentoo didn't work with ati sapphire 2400
Justin wrote: Fabio schrieb: There is no way to start the live cd.. i also write in a lot of forum, and so on, but nothing seems to work.. what should i do? thanks Fabio Thats a problem of the live CD on several video cards! But you can still do the gentoo way of installing the OS and start with an minimal CD! Or use some other bootable CD like Knoppix. The best way to install Gentoo is the old way. You will learn a lot about Linux that way too. If you just have to, you can install some binary based OS like Mandriva on a separate drive and use it to install from then erase Mandriva after you get everything sorted out. The plus to that is you can use Mandriva to search the forums when a problem arises. It does have web browsers too. Just a few thoughts there. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Trying to automate HTML --- pdf
On Sun, Jan 27, 2008 at 06:56:59PM +0100, Etaoin Shrdlu wrote: However, the following (admittedly *really* kludgy and quick-and-dirty) method *seems* to work: Oh geez, I LOVE it! I will play with it, it just might do the trick. It's sure not what I had been expecting, but if it works reliably, it is just the ticket. Sheesh. A bloomin' genius is what you are :-) -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] diff command for images
On Sun, Jan 27, 2008 at 02:54:15PM +0100, Penguin Lover Erik squawked: I need to find the difference between images (like the text-file diff command, but for RGBA images). I tried compare A.png A.png difference.png. This should obviously produce some kind of blank image because A.png and A.png are the same file, but for some weird reason the produced difference.png has recognizable content! Is there a fix for that bug or any other image diff program that is sane? It seems that you do not understand how the compare function works http://www.imagemagick.org/script/compare.php The output image is the second image overlaid with a red mask. The pixels that are tinted red in the output shows the pixels that differ from the original one. The ones that are not tinted red are unchanged. So if you compare A to A, you will get something that looks like A tinted by white. What you want is something like composite A.jpg -compose minus A.jpg Out.jpg Look at http://www.imagemagick.org/script/command-line-options.php#compose to see what composite operators you can use for doing the comparison. W -- Heineken (/hnkt/)... since the second millennium B.C., middle kingdom. ' ' Sortir en Pantoufles: up 415 days, 16:27 -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] glxgears segfaults as user, works as root
hi, what groups of /dev/dri*/* ??? Is your user in video group ? Did you add dri section in Xorg.conf ? with mod 666 ? It's the lastest version ? Try update with portage.keyword ... perhaps this version sucks ? See ya 2008/1/27, Iain Buchanan [EMAIL PROTECTED]: Hi all, on with my ati-drivers 8.452.1 woes! This time, glxgears fgl_glxgears will segfault as root. FPS is bad for GL stuff. When I run glxgears in sudo, it works! I've checked groups and permissions on /dev/dri/card0 and whatever I can think of, but nothing jumps out at me. Google is not much help either. any hints? thanks! -- Iain Buchanan iain at pcorp dot com dot au The buffalo isn't as dangerous as everyone makes him out to be. Statistics prove that in the United States more Americans are killed in automobile accidents than are killed by buffalo. -- Art Buchwald -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
* Florian Philipp [EMAIL PROTECTED] wrote: Hi folks, On Sun, 2008-01-27 at 11:40 +0100, Justin wrote: Is there a way to use 7zip for decompression with emerge? I fear, no easy one. Of course, since emerge is just a python script, you could rewrite it but 7z-syntax isn't compatible with bzip2 or gnu-tar so it will be some work. I also tried to use star as a drop-in replacement for gnu-tar, once. Didn't work well although their syntax is nearly identical, but just nearly... Why not an universal wrapper script ? maybe something like: magic-uncompress [-t format] [-c] [-o output] input This script could try to find out the input format automatically (the optional -t parameter allows to explicitly specifiy the format) Once we have this script, ebuilds could be rewritten step by step and no one (else than magic-uncompress) has to care about the actual commands behind. Some could be done w/ tar and zip, etc. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Gentoo didn't work with ati sapphire 2400
Dale wrote: Or use some other bootable CD like Knoppix. The best way to install Gentoo is the old way. You will learn a lot about Linux that way too. If you just have to, you can install some binary based OS like Mandriva on a separate drive and use it to install from then erase Mandriva after you get everything sorted out. The plus to that is you can use Mandriva to search the forums when a problem arises. It does have web browsers too. Just a few thoughts there. Dale :-) :-) thanks Dale! I currently use ubuntu and Debian now. I try to install the gentoo system via chroot from Ubuntu but was a real suicide for me..at the end..I don't know why it does not work. so do you think this is the best way? thanks! Fabio -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
Enrico Weigelt schrieb: * Florian Philipp [EMAIL PROTECTED] wrote: Hi folks, On Sun, 2008-01-27 at 11:40 +0100, Justin wrote: Is there a way to use 7zip for decompression with emerge? I fear, no easy one. Of course, since emerge is just a python script, you could rewrite it but 7z-syntax isn't compatible with bzip2 or gnu-tar so it will be some work. I also tried to use star as a drop-in replacement for gnu-tar, once. Didn't work well although their syntax is nearly identical, but just nearly... Why not an universal wrapper script ? maybe something like: magic-uncompress [-t format] [-c] [-o output] input This script could try to find out the input format automatically (the optional -t parameter allows to explicitly specifiy the format) Once we have this script, ebuilds could be rewritten step by step and no one (else than magic-uncompress) has to care about the actual commands behind. Some could be done w/ tar and zip, etc. cu But than there is still the incompability problem with pbzip2 with bzip2 compressed files. The best solution at this point would be to compress all official tarballs with pbzip2, because now and especially in future parallel processing is the solution and second there is no problem decompressing parallel compressed tarballs in single mode. For an temporary work around I figured out this hack: in /usr/lib/portage/bin/ebuild.sh there is a function defined for each type of compression algorithm. I changed following lines --- ebuild.sh.orig 2008-01-27 19:16:22.0 +0100 +++ ebuild.sh 2008-01-27 19:15:36.0 +0100 @@ -479,7 +479,7 @@ ;; bz2|bz) if [ ${y} == tar ]; then - 7za x -so ${srcdir}${x} | tar xof - ${tar_opts} + bzip2 -dc ${srcdir}${x} | tar xof - ${tar_opts} assert $myfail else bzip2 -dc ${srcdir}${x} ${x%.*} || die $myfail ebuild.sh.orig: real0m16.962s user0m16.289s sys 0m2.780s ebuild.sh: real0m12.805s user0m13.209s sys 0m2.666s With this trick you can change every kind of decompression command. In this example you can save 25% of the time. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] diff command for images
You could also try the pamarith comand of the netpbm package. It has both -subtract and -difference ralf -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] gentoo rebuild, cups won't work
I'm rebuilding a broken gentoo, taken down by hard drive failure. Most things are working well, but printing just won't go. Attpempts to print are accepted, but not printed. lpstat -t shows the attached printer is disabled. Re-enabling only works until the next job is submitted. It has reported a variety of reasons, such as Page not Found (whatever that means). Or some thing about back end failure. Or no reason stated at all. I've got my old config files, so I was prepared for things to Just Work. They don't. I do not have my old world file, so I may be missing a piece. I've installed cups and hplip. I cannot follow the Gentoo printing guide, because that worthy document requires me to add hplip to the default runlevel, but hplip does not put anything in /etc/init.d. My printer is an old HP Laserjet 4M, which I usually run as a Postscrpt printer. What have I missed? -- Kevin O'Gorman, PhD
Re: [gentoo-user] Gentoo didn't work with ati sapphire 2400
Fabio wrote: Dale wrote: Or use some other bootable CD like Knoppix. The best way to install Gentoo is the old way. You will learn a lot about Linux that way too. If you just have to, you can install some binary based OS like Mandriva on a separate drive and use it to install from then erase Mandriva after you get everything sorted out. The plus to that is you can use Mandriva to search the forums when a problem arises. It does have web browsers too. Just a few thoughts there. Dale :-) :-) thanks Dale! I currently use ubuntu and Debian now. I try to install the gentoo system via chroot from Ubuntu but was a real suicide for me..at the end..I don't know why it does not work. so do you think this is the best way? thanks! Fabio I did my install from Mandrake once. It worked fine for me. I did most of it from Konsole. I had Mandriva on one drive and installed Gentoo on the second drive. There is not really much difference between doing it booted from the install CD or another OS. You create your partitions, put your file system on those, create your mount points if needed and mount the partitions. Untar the stage tarball, chroot in and go after it. Once you get to the chroot part, it should be just like the handbook. If your mount points are different, substitute the correct paths for your situation. You can just do a mkdir /mnt/gentoo on your current OS then go from there. That way it will be just like the handbook. I will say this, it took me four tries to get a successful install. That would be booting from the hard drive. Took a couple more times to get the kernel perfected. If you run into a problem, don't start over. Just about anything can be fixed. Just search the forums, come here and ask if needed. You should be able to install from the OS you have tho. I have never used Debian or Ubuntu but it should work. After you do this a few times, you'll be like that is so easy. I have never used the installer to install Gentoo with. That help? Dale :-) :-) :-) -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Solid with Networkmanager Support
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i'm trying to get Networkmanager support in KDE, but i cannot compile kde-base/solid with networkmanager use flag. It seems like portage just filters the flag, as it is in braces... emerge output shows USE=bluetooth (-networkmanager) -test Can anyone confirm this or has a solution ? Tom -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHnNWErpEWPKIUt7MRAuykAJ0d/7jwQlkaHG/BfvLpdp4qzMeAiACgsNba ehvWwqhk/UIYk7vXuA/kV2s= =28+C -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Speed up with pbzip2 or not!?
On Sun, 2008-01-27 at 13:54 +0100, Hemmann, Volker Armin wrote: On Sonntag, 27. Januar 2008, Justin wrote: Thats a good point. Now it worked really fast. But then the questions is why should I use pbzip2 for decompression with portage? I think most tarballs are packed only with the normal compression algorithm! The WIKI articel pretends a gain of speed which wont be! and that is why you should never trust wiki-articles. Everybody can write them and say whatever they want. Well, many eyes see much. It's all a matter of checking, just as with open source software... To the topic: I've unmerged pbzip2 after reading its docs. ... seemed too much trouble. I'll try it again when it is suitable as a drop-in replacement or when portage can make use of it. In the mean time, if I need good compression with more than one thread, I use p7zip's lzma implementation. By the way, as soon as I come into contact with some decent scripting languages (and no longer this closed source LabVIEW I currently have to work with), I'll try to build a wrapper around p7zip to create a drop-in replacement for gzip, bzip2 and zip. signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] (no subject)
On Sun, 27 Jan 2008 11:03:53 -0500 Jerry McBride [EMAIL PROTECTED] wrote: On Sunday 27 January 2008 07:06:59 am Christel Dahlskjaer wrote: unsubscribe NO! PLEASE can I build the unsubscription krotofotoplucker kit this time? -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] revdep-rebuild
I recently removed compiz-fusion after playing with it for a while. I thought I had removed all bits but revdep-rebuild wants to emerge emerald again. How can I best trace what package is trying to pull emerald again? Thanks Sean -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild
Add -pv --tree to the emerge command and look at the hierarchy. Probably can do it through equery but I'd have to look up the command myself so I'll leave that to you. Hope this helps, Mark On Jan 27, 2008 12:04 PM, sean [EMAIL PROTECTED] wrote: I recently removed compiz-fusion after playing with it for a while. I thought I had removed all bits but revdep-rebuild wants to emerge emerald again. How can I best trace what package is trying to pull emerald again? Thanks Sean -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild
On Sun, 27 Jan 2008 15:04:42 -0500 sean [EMAIL PROTECTED] wrote: I recently removed compiz-fusion after playing with it for a while. I thought I had removed all bits but revdep-rebuild wants to emerge emerald again. How can I best trace what package is trying to pull emerald again? Thanks Sean emerge -avuDt world (basically the -t flag). It will show what packages are pulling in what. -- Ken69267 Gentoo AMD64 AT signature.asc Description: PGP signature
Re: [gentoo-user] revdep-rebuild
sean schrieb: I recently removed compiz-fusion after playing with it for a while. I thought I had removed all bits but revdep-rebuild wants to emerge emerald again. How can I best trace what package is trying to pull emerald again? Thanks Sean use equery from gentoolkit equery depends emerald -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] revdep-rebuild
Mark Knecht wrote: Add -pv --tree to the emerge command and look at the hierarchy. Probably can do it through equery but I'd have to look up the command myself so I'll leave that to you. Hope this helps, Mark On Jan 27, 2008 12:04 PM, sean [EMAIL PROTECTED] wrote: I recently removed compiz-fusion after playing with it for a while. I thought I had removed all bits but revdep-rebuild wants to emerge emerald again. How can I best trace what package is trying to pull emerald again? Thanks Sean -- gentoo-user@lists.gentoo.org mailing list equery depends emerald Hope that helps. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Solid with Networkmanager Support
On Sunday 27 January 2008 20:03:32 Thomas Kahle wrote: i'm trying to get Networkmanager support in KDE, but i cannot compile kde-base/solid with networkmanager use flag. It seems like portage just filters the flag, as it is in braces... emerge output shows USE=bluetooth (-networkmanager) -test Can anyone confirm this or has a solution ? It means the flag is masked on your profile (currently it is on most profiles). Probably it's broken. If you really want to try to enable it `man portage` tells you how. -- Bo Andresen signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: Trying to automate HTML --- pdf
On 2008-01-27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firefox doesn't print to pdf, however. It'll print to postscript, and ps2pdf has always worked well for me. -- Grant Edwards grante Yow! I represent a at sardine!! visi.com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Depgraph failure WAS audio gone!
--- Willie Wong [EMAIL PROTECTED] wrote: On Sat, Jan 26, 2008 at 11:06:50PM -0800, Penguin Lover maxim wexler squawked: ... [blocks B ] =app-admin/eselect-1.0.3 (is blocking app-admin/eselect-opengl-1.0.3) emerge --unmerge eselect-opengl eselect emerge --oneshot eselect eselect-opengl -- Uh-oh, localhost heathen # emerge -auvD world These are the packages that would be merged, in order: Calculating world dependencies \ !!! Multiple versions within a single package slot have been !!! pulled into the dependency graph: ('installed', '/', 'net-print/foomatic-filters-3.0.2', 'nomerge') pulled in by ('installed', '/', 'net-print/foomatic-3.0.2', 'nomerge') ('ebuild', '/', 'net-print/foomatic-filters-3.0.20060720', 'merge') pulled in by ('installed', '/', 'net-print/foomatic-db-engine-3.0.2', 'nomerge') ('ebuild', '/', 'net-print/foomatic-filters-ppds-20070501', 'merge') It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Depgraph creation failed. localhost heathen # Yan Can Cook and George Lucas have a new joint-venture web site, titled eWok. Sortir en Pantoufles: up 415 days, 15:05 -- gentoo-user@lists.gentoo.org mailing list Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Re: Trying to automate HTML --- pdf
On Sun, Jan 27, 2008 at 09:26:33PM +, Grant Edwards wrote: On 2008-01-27, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Firefox doesn't print to pdf, however. It'll print to postscript, and ps2pdf has always worked well for me. I had some problems with some of the more complex web sites, so I didn't explore this much. One thing I had tried was taking snapshots to jpeg pictures, but I had no way of telling when the page had finished loading. Now that I have a working DCOP method of telling this, I will have to try the jpeg business again. One problem with it is setting up a phony X enviornment that persists. This is sure an odd project. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Time format in log files
Hi All, I am sure that someone has asked this before, but a cursory look doesn't bring anything up. I am going through some logs and I cannot understand what the time was when certain events took place: [1200806556] SERVICE ALERT: router.xxx [1200806576] SERVICE ALERT: router.xxx [1200806891] HOST ALERT: router.xx [1200806891] Could you please tell me how to interpret/parse these so that they show time in hrs:min so that I can understand it? (anything I could feed to less would be grand). -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Time format in log files
Hi, Those dates are in a format called unix timestamps, which represent the number of seconds since the unix epoch (Jaunuary 1st, 1970). You can get the current unix timestamp via the date command (date +%s). As far as any command-line utility to convert them,I leave that to Google. However, most programming languages provide functions to convert between timestamp formats. -- Greg On Jan 27, 2008 4:54 PM, Mick [EMAIL PROTECTED] wrote: Hi All, I am sure that someone has asked this before, but a cursory look doesn't bring anything up. I am going through some logs and I cannot understand what the time was when certain events took place: [1200806556] SERVICE ALERT: router.xxx [1200806576] SERVICE ALERT: router.xxx [1200806891] HOST ALERT: router.xx [1200806891] Could you please tell me how to interpret/parse these so that they show time in hrs:min so that I can understand it? (anything I could feed to less would be grand). -- Regards, Mick -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Choppy video playback
Hi, On Jan 27, 2008 9:55 PM, ionut cucu [EMAIL PROTECTED] wrote: True as that is, is think it's kind a of the point. I have been using mplayer to see movies since k7-2(I think it as a k7-2 don't remember for sure). I've seldom got the error about CPU being to slow and always it was another reason for mplayer not being able to play it. I would rather say you should look in mplayer -vo help and try different drivers until you get the one it suites you. If you have a 3d card choose gl or gl2, if not xv. Also please check that you have setup preperly the graphics card. Ah yes you reminded me that I wanted to include my mplayer settings in my original email. My /etc/mplayer/mplayer.conf contains: vo=gl2 monitoraspect=16:10 mixer = hw:0 fontconfig=1 subfont-osd-scale=4 subfont-text-scale=3 I have an nVidia graphics card in my laptop: # lspci | grep -i nvidia 01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7700 (rev a1) I set it up by basically installing x11-drivers/nvidia-drivers, currently I'm at version 100.14.19. Some sections from /etc/X11/xorg.conf (if you would like more, let me know): Section Module Load record Load xtrap Load glx Load extmod Load dbe Load freetype Load type1 EndSection Section Device Identifier GeForce 7700 Go Driver nvidia VendorName nVidia Corporation BoardName GeForce 7700 Go BusID PCI:1:0:0 Option NoLogo true Option BackingStore true Option AddARGBGLXVisuals true Option TwinView Option HorizSync LCD: 31.5-79; Ext: 31.5-80; TV: 47.7 Option VertRefresh LCD: 60-60; Ext: 70-75; TV: 60 Option MetaModes Ext: 1280x1024 +1440+0, LCD: 1440x900 @1440x1024 +0+0; LCD: 1440x900, Ext: NULL Option TwinViewXineramaInfoOrder LCD Option RenderAccel true EndSection Currently I'm not using twin displays, just my laptop. As I'm typing this email in Firefox, I notice every second or so a pause. My cursor freezes, even though I continue to type, and only after hanging for a split-second, the display catches up with what I have been typing. This is after Firefox has been used yesterday and sat idle overnight and doesn't involve mplayer at all. Thanks for the help so far guys :) Mike -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Cleaning up after overdue -uD world
Hi group, Well I went ahead and applied Willie's suggestion for eselect to foomatic, which I don't use anyway and this time emerge -uD world looks like a go. There's one 'Fetch Restriction' but a little wiki tell's me this will be taken care of in due course. Thank's to Iain suggestion to fetch in one terminal and compile in another I'm well on my way with 74/350 downloaded. So now, I'll bow out while the intertubes do their thing. Just wondering, if this all goes as planned, and I don't have to start answering my own e-mails again, I would like to clean up and dispose of about 2yrs of garbage on my HD.(The original install was via the 2006.0 min-install CD) Can somebody suggest methods, tools to best accomplish this task? mw Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Time format in log files
On Sunday 27 January 2008, Greg Bowser wrote: Hi, Those dates are in a format called unix timestamps, which represent the number of seconds since the unix epoch (Jaunuary 1st, 1970). You can get the current unix timestamp via the date command (date +%s). As far as any command-line utility to convert them,I leave that to Google. However, most programming languages provide functions to convert between timestamp formats. Thanks Greg, It's amazing what one can dig out from Google: perl -pe 's/(\d+)/localtime($1)/e' /var/log/logfile_name -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Choppy video playback
On Mon, 28 Jan 2008 07:28:35 +0900 Mike Mazur [EMAIL PROTECTED] wrote: Hi, On Jan 27, 2008 9:55 PM, ionut cucu [EMAIL PROTECTED] wrote: True as that is, is think it's kind a of the point. I have been using mplayer to see movies since k7-2(I think it as a k7-2 don't remember for sure). I've seldom got the error about CPU being to slow and always it was another reason for mplayer not being able to play it. I would rather say you should look in mplayer -vo help and try different drivers until you get the one it suites you. If you have a 3d card choose gl or gl2, if not xv. Also please check that you have setup preperly the graphics card. Ah yes you reminded me that I wanted to include my mplayer settings in my original email. My /etc/mplayer/mplayer.conf contains: vo=gl2 monitoraspect=16:10 mixer = hw:0 fontconfig=1 subfont-osd-scale=4 subfont-text-scale=3 I have an nVidia graphics card in my laptop: # lspci | grep -i nvidia 01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7700 (rev a1) I set it up by basically installing x11-drivers/nvidia-drivers, currently I'm at version 100.14.19. snip I to am using the same version of it and using vo=gl2 on mplayer gets me a choppy playback. But vo=gl or xv works fine for me. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Depgraph failure WAS audio gone!
maxim wexler wrote: --- Willie Wong [EMAIL PROTECTED] wrote: On Sat, Jan 26, 2008 at 11:06:50PM -0800, Penguin Lover maxim wexler squawked: ... [blocks B ] =app-admin/eselect-1.0.3 (is blocking app-admin/eselect-opengl-1.0.3) emerge --unmerge eselect-opengl eselect emerge --oneshot eselect eselect-opengl -- Uh-oh, localhost heathen # emerge -auvD world These are the packages that would be merged, in order: Calculating world dependencies \ !!! Multiple versions within a single package slot have been !!! pulled into the dependency graph: ('installed', '/', 'net-print/foomatic-filters-3.0.2', 'nomerge') pulled in by ('installed', '/', 'net-print/foomatic-3.0.2', 'nomerge') ('ebuild', '/', 'net-print/foomatic-filters-3.0.20060720', 'merge') pulled in by ('installed', '/', 'net-print/foomatic-db-engine-3.0.2', 'nomerge') ('ebuild', '/', 'net-print/foomatic-filters-ppds-20070501', 'merge') It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Depgraph creation failed. localhost heathen # If it helps any: [EMAIL PROTECTED] / # equery list foomatic [ Searching for package 'foomatic' in all categories among: ] * installed packages [I--] [ ] net-print/foomatic-filters-3.0.20060720 (0) [EMAIL PROTECTED] / # It may be that some of those merged into that one package. May to to unmerge the other foomatic packages. Hope that helps. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Cleaning up after overdue -uD world
maxim wexler wrote: Hi group, Well I went ahead and applied Willie's suggestion for eselect to foomatic, which I don't use anyway and this time emerge -uD world looks like a go. There's one 'Fetch Restriction' but a little wiki tell's me this will be taken care of in due course. Thank's to Iain suggestion to fetch in one terminal and compile in another I'm well on my way with 74/350 downloaded. So now, I'll bow out while the intertubes do their thing. Just wondering, if this all goes as planned, and I don't have to start answering my own e-mails again, I would like to clean up and dispose of about 2yrs of garbage on my HD.(The original install was via the 2006.0 min-install CD) Can somebody suggest methods, tools to best accomplish this task? mw Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping eclean should help. eclean-dist will clean out any unneeded distfiles. If you save packages then eclean-pkg will help with that. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] change raid device for existing array
I have an existing software raid1 array of two disks, /dev/sda2 and /dev/sdb2, which has always been /dev/md0 until now. In the same way there is another device (/dev/md1) also raid1 for /dev/sda6 and /dev/sdb6. I want to repartition the disks, without booting from livecd, so I will do it a disk at a time. I just used mdadm to set /dev/sdb2 as faulty (and the same for /dev/sdb6), so as to free the whole /dev/sdb disk, and repartitioned it. Rebooted for the kernel to see the new partitions on /dev/sdb, and now I want to assign a new /dev/md0 using a new partition on the /dev/sdb drive. But /dev/md0 is already taken from the still active (old) system. I know I could use another md device like /dev/md3, but at the end, I would like to have the md devices start from md0 as before. So the Q is: How should I proceed to switch /dev/md0 to a new set of devices ? (hope I made myself clear ;-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Choppy video playback
Hi, On Jan 28, 2008 7:55 AM, ionut cucu [EMAIL PROTECTED] wrote: On Mon, 28 Jan 2008 07:28:35 +0900 Mike Mazur [EMAIL PROTECTED] wrote: Hi, On Jan 27, 2008 9:55 PM, ionut cucu [EMAIL PROTECTED] wrote: True as that is, is think it's kind a of the point. I have been using mplayer to see movies since k7-2(I think it as a k7-2 don't remember for sure). I've seldom got the error about CPU being to slow and always it was another reason for mplayer not being able to play it. I would rather say you should look in mplayer -vo help and try different drivers until you get the one it suites you. If you have a 3d card choose gl or gl2, if not xv. Also please check that you have setup preperly the graphics card. Ah yes you reminded me that I wanted to include my mplayer settings in my original email. My /etc/mplayer/mplayer.conf contains: vo=gl2 monitoraspect=16:10 mixer = hw:0 fontconfig=1 subfont-osd-scale=4 subfont-text-scale=3 I have an nVidia graphics card in my laptop: # lspci | grep -i nvidia 01:00.0 VGA compatible controller: nVidia Corporation GeForce Go 7700 (rev a1) I set it up by basically installing x11-drivers/nvidia-drivers, currently I'm at version 100.14.19. snip I to am using the same version of it and using vo=gl2 on mplayer gets me a choppy playback. But vo=gl or xv works fine for me. In my case, vo=gl2, vo=gl and vo=x11 all behave the same, with regular pauses. xv is not listed when I type `mplayer -vo help`. So doesn't this indicate that it's perhaps not mplayer itself causing trouble, but rather something system-wide instead? Especially since this regular pause also occurs while I type in text fields in Firefox. Thanks, Mike -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Choppy video playback
On Sun, Jan 27, 2008 at 09:18:26PM +0900, Mike Mazur wrote The output of `grep flags /proc/cpuinfo` is: flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm The mmx, sse, sse2, and sse3 items look relevant. Change your CFLAGS line (watch the linewrap)... CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse The -mmmx -msse -msse2 -msse3 flags may be redundant if prescott implies them, but they won't hurt. The -mfpmath=sse may or may not be redundant. In a worst case, it won't hurt. It greatly speeds up floating-point calculations on X86-type systems (including AMD). In another message in this thread, you said... xv is not listed when I type `mplayer -vo help`. This is to be expected. Since you have -xv in USE, xv support is blocked. Did you have any problems with xv that caused you to block it? If not, change -xv to xv in USE in /etc/make.conf. And while you're at it, add... mmx sse sse2 to your USE parameters. In /etc/portage/package.use, add the line... media-video/mplayer ssse3 I guess I'll need to recompile everything if I want any changes to come into effect? Hopefully, not everything. *AFTER MAKING ALL THE ABOVE CHANGES* try... emerge --ask --deep --newuse --update --world The --newuse forces a recompile of every item directly affected by any changes in CFLAGS or USE. The --deep forces a recompile of indirectly affected items. If there don't seem to be any problems, let it rebuild the listed items. -- Walter Dnes [EMAIL PROTECTED] I'm not repeating myself I'm an X Window user... I'm an ex-Windows-user -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] simple web server with content negotiation feature
On Sat, 26 Jan 2008 16:20:10 +0100 Mick [EMAIL PROTECTED] wrote: On Saturday 26 January 2008, Zhang Weiwu wrote: Hello all. I am looking for a web server for my static website in-developing projects. I just want the basic features and easy-to-configure. However what I mean basic looks a bit different than other people's. I wish it to be able to do content negotiation (a.k.a. a browser asks for my_mom and gets my_mom.html.zh or my_mom.html.en depending on preferred language of the browser). I also wish it can handle HTTP 1.1. I could not find one. eix -S negotiation didn't get me any result. (on the other hand aptitude search ~dnegotiation did suggested me fnord can do content negotiation, although it's only partially implemented.) My question is: 1. Can you please suggest some web server that can do content negotiation, besides apache? negotiation is not a recognised USE flag: # euse -i negotiation global use flags (searching: negotiation) no matching entries found local use flags (searching: negotiation) no matching entries found therefore I am not sure that any packages in portage use it. Dear Mick I looked up eix manual and found '-S' asks eix to search within description of the software. I noticed the description in portage is usually much shorter (1 line) than in Ubuntu, which means if the software has this feature, it's probably no space to write down all features list in description. Perhaps there is a 'long description' which I didn't discover yet. By 'eix -S negotiation I am trying to search all package description containing the word 'negotiation' uses the module mod_negotiation which is compiled in by default). Have you looked at www-servers/lighttpd, or www-servers/thttpd? Thanks for the suggestions. I just had a look on their websites and didn't see they support content negotiation. I think I will just use apache which is big but I knew it already. 2. Can you please tell me how do you usually find out if some of the packages in portage can do content negotiation? Sorry, can't help with this. Perhaps others more knowledgeable in the features of different http servers can advise here. I would think that it is a matter of searching in their respective project websites and then reading their documentation for each package under /usr/portage/www-servers/. Alternative, emerge, try it out, unmerge and so on. Thanks for your time on explaining this in detail:) BTW, I am not sure if some PHP scripting would offer this facility to simpler http servers, which do not support it natively like apache. You are right PHP can do it. I wished to avoid the overhead of having apache or php, but now I think I just take it. -- Real Softservice Huateng Tower, Unit 1788 Jia 302 3rd area of Jinsong, Chao Yang Tel: +86 (10) 8773 0650 ext 603 Mobile: 135 9950 2413 http://www.realss.com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] kompozer and arphicfonts
On Sat, 26 Jan 2008 19:30:23 +0100 Zhang Le [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zhang Weiwu wrote: | | Now I just switch back to Gentoo and discovered, well, I am not sure | but looks a bit lag behind on updating portage. I only noticed two | examples: | 2. The other package arphicfonts are not developed for years |neither, a continue effort is the CJK Unifont project. In |Gentoo still there are only old packages. The new project |produce Chinese font that is used as default Chinese font in |Ubuntu. Actually more people are using Simsun or Yahei from Windoze for pragmatic reasons. Also you can try wqy-bitmapfont. Yes I knew Simsun, Yahei. My suggestion is if there is an opensource Chinese font with reasonably wide coverage, it should be there for those who want to have it. ghostscript-gpl when added cjk USE flag, would depend on the years-old arpphic fonts, the best behavior is either tell users to use Yahei/Simsun or use the latest CJK Unifont, not providing the latest enhanced opensource font is pratcially encouraging users to copy propiertry fonts. I think CJK Unifont project has done a lot of hinting work to make it look nice on screen and now it's much more usable on desktop then old arpphic font, it's making sense to avoid user install an old font and say oh, opensource fonts looks bad and then go copy the Windows fonts, when they actually got the outdated fonts. wqy-bitmap is in an other category. It's usable on the screen but not on word processing. I am using it right now as my default screen font:) Thanks for having it in portage. | By the way I can compile these packages myself and I can contribute | ebuilds when I got some free time (e.g. in the coming holiday). I am | just a bit curious on how everything is generally going on in | Portage. AFAIK, Gentoo CJK team is short-staffed. It's better if you can join gentoo and become a developer, ;) If you want to know how everything is going on in portage, you can check either: http://packages.gentoo.org or: http://cia.vc/stats/project/gentoo Ad time, ;) If you have some Chinese related questions, you can easily get an answer here: http://groups.google.com/group/gentoo-china/ http://www.linuxsir.org/bbs/forum59.html Also #gentoo-cn on freenode Thanks for the information. I'll see what I can do in the coming spring festival and see if I can help. Best regards Zhang Weiwu -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Lost /sbin/rc
Hi there! I just did an emerge -uDN on my system, followed by revdep-rebuild and emerge --depclean. When rebooting, my system did not come up because of missing things like /sbin/rc. Argh! Good thing I had a backup, after copying some files back the system was up again, and I could go to bed. Bad idea anyway to do a reboot on a critical machine at 6 AM. The missing files belong to sys-apps/baselayout-1.12.10-r5 which I had just installed recently. I had masked it for a while because I want to update such critical packages only when I am home at the server, while most of the time I am far away from it. The depclean removed an older baselayout which was also installed, I guess that removed the files. Why did that happen, and why did I have two baselayouts installed in parallel? These are the missing files: /etc/env.d/00basic /etc/init.d/depscan.sh /etc/init.d/functions.sh /etc/init.d/runscript.sh /sbin/depscan.sh /sbin/functions.sh /sbin/rc /sbin/rc-update /sbin/runscript /sbin/runscript.sh /sbin/start-stop-daemon /sbin/update-rc /usr/sbin/MAKEDEV Alex -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Lost /sbin/rc
It sounds like the mistake was on your hand. baselayout isn't udated as often, unless you are ~**. the missing files are from any baselayout, not just the version you are stating. *** WARNING *** Depclean may break link level dependencies. Thus, it is *** WARNING *** recommended to use a tool such as `revdep-rebuild` (from *** WARNING *** app-portage/gentoolkit) in order to detect such breakage. *** WARNING *** *** WARNING *** Also study the list of packages to be cleaned for any obvious *** WARNING *** mistakes. Packages that are part of the world set will always *** WARNING *** be kept. They can be manually added to this set with *** WARNING *** `emerge --noreplace atom`. Packages that are listed in *** WARNING *** package.provided (see portage(5)) will be removed by *** WARNING *** depclean, even if they are part of the world set. *** WARNING *** *** WARNING *** As a safety measure, depclean will not remove any packages *** WARNING *** unless *all* required dependencies have been resolved. As a *** WARNING *** consequence, it is often necessary to run *** WARNING *** `emerge --update --newuse --deep world` prior to depclean. Plenty of warning there. Not recommended to --depclean. UNLESS absolutely necessary. deface On Jan 27, 2008, at 9:10 PM, Alex Schuster wrote: Hi there! I just did an emerge -uDN on my system, followed by revdep-rebuild and emerge --depclean. When rebooting, my system did not come up because of missing things like /sbin/rc. Argh! Good thing I had a backup, after copying some files back the system was up again, and I could go to bed. Bad idea anyway to do a reboot on a critical machine at 6 AM. The missing files belong to sys-apps/baselayout-1.12.10-r5 which I had just installed recently. I had masked it for a while because I want to update such critical packages only when I am home at the server, while most of the time I am far away from it. The depclean removed an older baselayout which was also installed, I guess that removed the files. Why did that happen, and why did I have two baselayouts installed in parallel? These are the missing files: /etc/env.d/00basic /etc/init.d/depscan.sh /etc/init.d/functions.sh /etc/init.d/runscript.sh /sbin/depscan.sh /sbin/functions.sh /sbin/rc /sbin/rc-update /sbin/runscript /sbin/runscript.sh /sbin/start-stop-daemon /sbin/update-rc /usr/sbin/MAKEDEV Alex -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Lost /sbin/rc
deface wrote: It sounds like the mistake was on your hand. baselayout isn't udated as often, unless you are ~**. the missing files are from any baselayout, not just the version you are stating. *** WARNING *** Depclean may break link level dependencies. Thus, it is *** WARNING *** recommended to use a tool such as `revdep-rebuild` (from *** WARNING *** app-portage/gentoolkit) in order to detect such breakage. *** WARNING *** *** WARNING *** Also study the list of packages to be cleaned for any obvious *** WARNING *** mistakes. Packages that are part of the world set will always *** WARNING *** be kept. They can be manually added to this set with *** WARNING *** `emerge --noreplace atom`. Packages that are listed in *** WARNING *** package.provided (see portage(5)) will be removed by *** WARNING *** depclean, even if they are part of the world set. *** WARNING *** *** WARNING *** As a safety measure, depclean will not remove any packages *** WARNING *** unless *all* required dependencies have been resolved. As a *** WARNING *** consequence, it is often necessary to run *** WARNING *** `emerge --update --newuse --deep world` prior to depclean. Plenty of warning there. Not recommended to --depclean. UNLESS absolutely necessary. deface Isn't baselayout part of system? Wouldn't --depclean leave that installed? Something sounds . . . fishy. I run --depclean and I don't recall it ever removing something in system. That said, always add a -p or -a to that thing. It can boo boo and remove something you need if you are not careful. I removed a kde thing once. No GUI for a bit. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Lost /sbin/rc
Not sure how far behind he was w/ the baselayout. It may have been removed from portage, and him masking it blocked. although he says he had recently installed it. but yes, it sounds as though something else went wrong. On Jan 27, 2008, at 10:43 PM, Dale wrote: deface wrote: It sounds like the mistake was on your hand. baselayout isn't udated as often, unless you are ~**. the missing files are from any baselayout, not just the version you are stating. *** WARNING *** Depclean may break link level dependencies. Thus, it is *** WARNING *** recommended to use a tool such as `revdep-rebuild` (from *** WARNING *** app-portage/gentoolkit) in order to detect such breakage. *** WARNING *** *** WARNING *** Also study the list of packages to be cleaned for any obvious *** WARNING *** mistakes. Packages that are part of the world set will always *** WARNING *** be kept. They can be manually added to this set with *** WARNING *** `emerge --noreplace atom`. Packages that are listed in *** WARNING *** package.provided (see portage(5)) will be removed by *** WARNING *** depclean, even if they are part of the world set. *** WARNING *** *** WARNING *** As a safety measure, depclean will not remove any packages *** WARNING *** unless *all* required dependencies have been resolved. As a *** WARNING *** consequence, it is often necessary to run *** WARNING *** `emerge --update --newuse --deep world` prior to depclean. Plenty of warning there. Not recommended to --depclean. UNLESS absolutely necessary. deface Isn't baselayout part of system? Wouldn't --depclean leave that installed? Something sounds . . . fishy. I run --depclean and I don't recall it ever removing something in system. That said, always add a -p or -a to that thing. It can boo boo and remove something you need if you are not careful. I removed a kde thing once. No GUI for a bit. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list -- gentoo-user@lists.gentoo.org mailing list