Re: [gentoo-user] black console w/ 3.2.0-rc7
On 12/29/2011 04:32 PM, Stefan G. Weichinger wrote: Very likely a FAQ but I can't find it right now: wanted to try linux 3.2.0-rc7 (by emerging git-sources) ... used my old config and it built OK. It also boots OK but very soon it gets simply black, no console, no xdm. I am able to ssh into it, can't find anything obvious. framebuffer stuff? This is my thinkpad L520, with intel graphics. Does someone has a pointer for me? Thanks, Stefan I had a similar problem. I had selected the intel hardware iommu as default. This caused my X to completely stay black. Systemlog showed something about dma and drna (if i remember correctly). try to disable intel hardware iommu, if you have it selected.
Re: [gentoo-user] Any way to get real text console without killing X capability?
On 02/03/2011 07:07 AM, Walter Dnes wrote: Back around 2000, we still had CRT monitors, not LCDs. The cheaper monitors shimmered badly in GUI mode and were hard on my eyes. One of the factors that drove me to linux back then was that, except for web browsing and spreadsheets, I could do most of my work in a true text console (and I don't mean an xterm, either). I love sharp crisp textmode fonts on a text console. I used to do email and write code in text consoles, and {CTRL-ALT-F10} to GUI for browsing (yes, I tweaked my /etc/inittab to allow 10 consoles). Recently, however, video drivers for both Intel and ATI have switched over to some brain-dead framebuffer mode that renders regular consolefonts microscopic. Also the line lengths are ridiculously long. E.g. on my 1920x1200 LCD monitor, an 8x16 font gives 75 rows of 240 columns each. On my 14" notebook (1366x768) it's 48 rows of 170 columns each. The largest consolefont I can find in /usr/share/consolefonts/ is sun12x22. It's large enough to be at least readable, but I don't like the way the font looks, and it's still too small for my taste, 54 rows of 160 columns each on the LCD monitor. My questions, in decreasing order of preference, are... Plan a) Is there a way to have a real text console? I know that I can have 2 X sessions on tty10 and tty11 with different resolutions, and colour depths. Is there a way to set tty1..tty9 to 640x480 *IN TEXT MODE*, so that lat1-?? fonts would look normal, without killing the ability to have X run at 1920x1200? Plan b) Are there extra large versions of lat1-?? fonts (24 pixels wide for my 24" LED and 17 pixels wide for my notebook) that I can use in framebuffer mode to emulate the look of real text mode? Plan c) Are there any font-design and manipulation utilities that will allow me to modify lat1-?? fonts to generate bigger versions? Maybe you should also try using a tiling-window-manager like awesome or xmonad. This way you can easily switch between consoles and most x-terminals support a lot of fonts. Johannes Kimmel
Re: [gentoo-user] Remove redundant entries in "world" - howto
On 12/08/2010 12:23 PM, Helmut Jarausch wrote: Hi, does anybody know about an easy method to remove all entries from /var/lib/portage/world which would have been pulled in anyway even if they were not contained in world. My current attempt would be to write a script which executes emerge -vpc on each entry in world. If it wouldn't be removed it's obsolete in world. Unfortunately this has to be done in several rounds. Many thanks for a hint, Helmut. Hi, I wanted to add, that a minimal world in my opinion isn't always what you want. For example in the time I searched for a suitable window manager for me I did a lot of depclean these days and accidently removed the xserver. There was no harm done, but I figured, that my world file should contain all packages, that should never removed automatically unless I want to. This way there is a little less danger involved using depclean. So this type of work might only be done by hand. Johannes Kimmel
Re: [gentoo-user] firefox-bin optimizations?
On 09/30/2010 12:58 PM, Mark David Dumlao wrote: Heya, I noticed that my firefox-bin is a lot smaller in memory footprint compared to ordinary gentoo-compiled firefox. Does anyone know what compiler flags upstream applies to their firefox? I turned off the custom-optimization USE on mine assuming that it would follow upstream optimizations, but maybe it doesn't. I thought firefox-bin is a 32-bit binary. If you are using a 64-bit gentoo it is likely you self compiled version is a lot bigger. Regards Johannes Kimmel
Re: [gentoo-user] emerge 32bits on 64bits platform
On 08/16/2010 08:13 PM, Stéphane Guedon wrote: I have read several things about this, but never really solved ! Can I emerge a 32bits software on 64bits platform with a multilib profile ? All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas flash player exist currently in 32bits. So, I need to have 32bits browser ! Can I emerge ? Thanks ! Not exactly. You can use www-plugins/nspluginwrapper to use 32bit plugins in a 64bit browser. But yes, you can emerge www-client/firefox-bin. This is a precompiled 32bit firefox, that runs the flashplugin without nspluginwrapper. That should at least answer one question :) Greetings Johannes Kimmel
Re: [gentoo-user] Maximizing memory with 32bit
On 06/02/2010 03:27 PM, Alex Schuster wrote: Hi there! I have 4GB of RAM, but the system is swapping A LOT. I think I will have to go to 64 bit, but I need some time for that, and I need to use the system in the meantime. But: free -m shows only 2787 MB of total memory. I know I cannot use all the 4G, but shouldn't there be at least 3GB or even a little more available? What is your output of free -m? wo...@weird ~ $ zgrep HIGHMEM /proc/config.gz # CONFIG_NOHIGHMEM is not set CONFIG_HIGHMEM4G=y # CONFIG_HIGHMEM64G is not set CONFIG_HIGHMEM=y # CONFIG_DEBUG_HIGHMEM is not set Wonko Probably your graphicscard uses the rest of the memory. Johannes Kimmel
Re: [gentoo-user] Re: can't create file but disk isn't full
On 05/09/2010 01:39 AM, Crístian Viana wrote: I shutdown this computer everyday, those temp files shouldn't be alive for months. I ran lsof | grep deleted and it returned 132 lines, the biggest number being 2032226 (2 MB?), belonging to the Chromium browser process. even if every line had that value (which is not), that would sum up 264 MB, but the difference of reported/real free space is way bigger than that. changing the filesystem back to ext3 can solve this problem? it was ext3 before I've changed it to ext4 some months ago. On Sat, May 8, 2010 at 8:00 PM, Alan McKinnon mailto:alan.mckin...@gmail.com>> wrote: You probably have files opened that have since been deleted. du doesn't report them as the names are no longer in the directory and df doesn't report them as they are pending deletion once the last handle to them is closed. It's a nasty thing to find. Run this: lsof | grep deleted You should find a ton of junk temp files (they will go away when you log out). Look for big numbers in column 8 On Sunday 09 May 2010 00:46:28 Crístian Viana wrote: > it doesn't seem so :-( > > FilesystemInodes IUsed IFree IUse% Mounted on > /dev/sda620856832 108698 207481341% /home > > I didn't know that the filesystem could run out of inodes before the disk > space itself! thanks for the information :-) > > On Sat, May 8, 2010 at 4:07 PM, Nikos Chantziaras mailto:rea...@arcor.de>> wrote: > > On 05/08/2010 09:21 PM, Crístian Viana wrote: > >> hi everyone, > >> > >> something weird is happening on my system. I can't create new files, it > >> says "No space left on device", but the disk has several gigabytes of > >> free space! > > > > The filesystem probably ran out of inodes. "df -i /home" will show inode > > usage. This can happen when you have many small files; they eat inodes > > but not storage space. -- alan dot mckinnon at gmail dot com this is unlikely, but can you create files as root? ext filesystems reserve a certain amount of space for root use only. you can change this with tune2fs if necessary.
Re: [gentoo-user] Recompile system but omit package?
Tanstaafl wrote: On 2010-04-17 6:29 PM, Tanstaafl wrote: On 2010-04-17 6:06 PM, Vincent Launchbury wrote: On 04/17/10 17:09, Tanstaafl wrote: On 2010-04-17 4:59 PM, Tanstaafl wrote: emerge system -gcc (where '-gcc' serves to tell portage to compile everything *but* gcc)? Of course I meant: emerge -e system -gcc You could try temporarily masking it: #echo sys-devel/gcc >> /etc/portage/package.mask Then updating: #emerge -e system Then removing the mask: #sed -i '$d' /etc/portage/package.mask I don't know of any emerge flag that does this in one step. Hmmm, good idea, thanks Vincent... Crap, doesn't look like this will work... After masking gcc (and glibc - same argument there), I get: emerge -pev world Total: 351 packages (351 reinstalls), Size of downloads: 5 kB Portage tree and overlays: [0] /usr/portage [?] indicates that the source repository could not be determined !!! The following installed packages are masked: - sys-devel/gcc-4.1.2 (masked by: package.mask) - sys-libs/glibc-2.10.1-r1 (masked by: package.mask) - sys-devel/gcc-4.3.4 (masked by: package.mask) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! All ebuilds that could satisfy "sys-devel/gcc:4.1" have been masked. !!! One of the following masked packages is required to complete your request: - sys-devel/gcc-4.1.2 (masked by: package.mask) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! All ebuilds that could satisfy "sys-devel/gcc" have been masked. !!! One of the following masked packages is required to complete your request: - sys-devel/gcc-4.4.3 (masked by: package.mask, ~amd64 keyword) - sys-devel/gcc-4.4.2 (masked by: package.mask, ~amd64 keyword) - sys-devel/gcc-4.4.1 (masked by: package.mask, ~amd64 keyword) - sys-devel/gcc-4.3.4 (masked by: package.mask) - sys-devel/gcc-4.3.3-r2 (masked by: package.mask, ~amd64 keyword) - sys-devel/gcc-4.3.2-r4 (masked by: package.mask, ~amd64 keyword) - sys-devel/gcc-4.3.2-r3 (masked by: package.mask) - sys-devel/gcc-4.2.4-r1 (masked by: package.mask, ~amd64 keyword) - sys-devel/gcc-4.1.2 (masked by: package.mask) - sys-devel/gcc-4.0.4 (masked by: package.mask, missing keyword) - sys-devel/gcc-3.4.6-r2 (masked by: package.mask) - sys-devel/gcc-3.3.6-r1 (masked by: package.mask, ~amd64 keyword) - sys-devel/gcc-3.2.3-r4 (masked by: package.mask, missing keyword) - sys-devel/gcc-3.2.2 (masked by: package.mask, missing keyword) - sys-devel/gcc-3.1.1-r2 (masked by: package.mask, missing keyword) - sys-devel/gcc-2.95.3-r10 (masked by: package.mask, missing keyword) - sys-devel/gcc-2.95.3-r9 (masked by: package.mask, missing keyword) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! All ebuilds that could satisfy "sys-libs/glibc" have been masked. !!! One of the following masked packages is required to complete your request: - sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.10.1-r1 (masked by: package.mask) - sys-libs/glibc-2.10.1 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.9_p20081201-r3 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.9_p20081201-r2 (masked by: package.mask) - sys-libs/glibc-2.8_p20080602-r1 (masked by: package.mask) - sys-libs/glibc-2.7-r2 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.6.1 (masked by: package.mask) - sys-libs/glibc-2.5.1 (masked by: package.mask, missing keyword) - sys-libs/glibc-2.5-r4 (masked by: package.mask) - sys-libs/glibc-2.2.5-r10 (masked by: profile, package.mask, missing keyword) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! All ebuilds that could satisfy "virtual/libc" have been masked. !!! One of the following masked packages is required to complete your request: - sys-libs/glibc-2.11-r1 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.11 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.10.1-r1 (masked by: package.mask) - sys-libs/glibc-2.10.1 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.9_p20081201-r3 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.9_p20081201-r2 (masked by: package.mask) - sys-libs/glibc-2.8_p20080602-r1 (masked by: package.mask) - sys-libs/glibc-2.7-r2 (masked by: package.mask, ~amd64 keyword) - sys-libs/glibc-2.6.1 (masked by: package.mask) - sys-libs/glibc-2.5.1 (masked by: package.mask, missing keyword) - sys-libs/glibc-2.5-r4 (masked by: package.mask) - sys-libs/glibc-2.2.5-r10 (masked by: profile, package.mask, missing keyword) For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. myhost : Sun Apr 18, 10:56:51 : ~ # Any other ideas? well... you could use --keep-going and kill something
Re: [gentoo-user] CPU "choking" under high load
Paul Hartman wrote: On Fri, Mar 26, 2010 at 5:43 PM, Dale wrote: Daniel Quinn wrote: I don't know if this is a hardware issue or not, but I thought that maybe I'd configured my kernel incorrectly and that this might be a known issue someone here has run across in the past so here goes: My computer is a pretty impressive AMD 64 X2 Dual Core Processor 6400+ box with 2GB of RAM and for the most part, I just use it to write code at work. However, whenever I'm doing something CPU-intensive, two things happen: * The load on the box goes up to 4 * The box intermittently wobbles from running at full-speed and dropping to a crawl. This is best seen while watching Flash videos online, compressing/encoding video, or compiling. Everything is fine for a few minutes, then suddenly the rate of compiling/compression/playback etc. drops to a crawl for about 1-3minutes, then back up to full speed. I don't know why it's happening. I've tried various kernel options with no change in behaviour. Outside of that though, I don't know what to try. Suggestions welcome :-( Shot in the dark here. Could it be that something is getting hot, or thinks it is getting hot, and slows down processing in a effort to cool things down a bit? I don't know if this is just laptops but I think there is a option in the kernel to do this. I don't use it but it may be worth checking into. Maybe it was turned on by default. Sometimes in the BIOS this happens, too. At work a few years ago we had a Dell laptop where it thought the temperature was 200C degrees all the time, so it would run the fan at full speed and go into lowest-power mode etc. Once we determined it wasn't really 200C, we found out it was a buggy BIOS and upgrading it solved the problem. Nobody knows why the laptop worked fine for 2 years and then suddenly exhibited this problem, but I was glad to get it fixed so I would stop hearing the fan blowing at max speed in the cubicle next to mine. :) I have the very same problem with my GX700 msi laptop. I determined the cause was a dirty cooler. Every time I blow the dust out of the fan it can run hours without throttling itself. If maybe your cpu-cooler is undersized and has collected a lot of dust, cleaning it could solve your problem. Johannes
Re: [gentoo-user] [OT crypto] How to encrypt a directory without root?
Harry Putnam wrote: I want to encrypt a directory heirarchy on a remote machine where I don't have root. I can use either an openbsd, or gentoo remote. Encfs could also be interesting for you. Johannes
Re: [gentoo-user] kde 4.3.4 crashing after login
Kenneth Prugh wrote: On Sun, 06 Dec 2009 00:26:32 +0100 Johannes Kimmel wrote: There's a discussion on the forum about this issue currently at https://forums.gentoo.org/viewtopic.php?p=6085003 Reports that downgrading hal to 0.5.13-r2 fixes the issue (it did for me). Downgrading solved the problem, thanks a lot :) Johannes Kimmel
[gentoo-user] kde 4.3.4 crashing after login
Hi, after yesterday's update kde won't work anymore. After login I get a message, that plasma-desktop got an segfault. I tried to move the .kde folders somewhere else to start from a clean configuration, but it won't help. Starting kde as root ("startx -> startkde") works somehow. I'm little out of ideas now. Here's what I get if I start start plasma-desktop manually again: $ DISPLAY=:0.0 plasma-desktop QDBusObjectPath: invalid path "" QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection QGraphicsLinearLayout::removeAt: invalid index 0 Unrecognized character: / Unrecognized character: / ERROR: syntax error QGraphicsLinearLayout::removeAt: invalid index 0 Object::connect: No such signal SystemTray::Manager::jobStateChanged(SystemTray::Job*) KCrash: Application 'plasma-desktop' crashing... sock_file=/home/lea/.kde4/socket-kimmelbaer/kdeinit4__0 QDBusObjectPath: invalid path "" QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout Invalid D-BUS interface name 'org.kde.plasma-desktop.PlasmaApp' found while parsing introspection QGraphicsLinearLayout::removeAt: invalid index 0 Unrecognized character: / Unrecognized character: / ERROR: syntax error QGraphicsLinearLayout::removeAt: invalid index 0 Object::connect: No such signal SystemTray::Manager::jobStateChanged(SystemTray::Job*) If you need more information please ask, as I want to fix this as soon as possible. emerge --info: Portage 2.1.7.10 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64) = System uname: Linux-2.6.32-gentoo-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-58-with-gentoo-2.0.1 Timestamp of tree: Sat, 05 Dec 2009 21:45:01 + ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox:2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ABI="amd64" ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86" ACCEPT_LICENSE="* -...@eula" ACCEPT_PROPERTIES="*" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CCACHE_DIR="/var/tmp/ccache" CCACHE_SIZE="2150M" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-march=native -mtune=native -O2 -pipe -ftracer" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLISION_IGNORE="/lib/modules" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CVS_RSH="ssh" CXXFLAGS="-march=native -mtune=native -O2 -pipe -ftracer" DEFAULT_ABI="amd64" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="-av -j2 --load-average=4 --keep-going" EMERGE_WARNING_DELAY="10" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" GDK_USE_XFT="1" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.2/info" INPUT_DEVICES="synaptics keyboard mouse" KERNEL="linux"
Re: [gentoo-user] where can I find USE flags description?
Stroller wrote: On 20 Nov 2009, at 10:05, Johannes Kimmel wrote: Jarry wrote: Hi, I want to emerge a certain package, let's say x11-base/xorg-drivers, so I try first "emerge --pretend xorg-drivers" and find it has ~50 various use-flags (some set, some unset). Where can I find their description? For example "vmmouse", what is this USE flag good for? Is it something for vmware? I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them... Jarry Maybe you want to try this little peace of code: alias findflag="flagedit --desc --list | grep -i" Works really great. If you search for a pattern, just "findflag foo". If you search for a specific use-flag you just add ":" at the end, like "findflag bar:" Don't forget to install flagedit first, if you haven't already. Surely this is just a re-implementation of the existing app-portage/euses? $ euses foo foomaticdb - Adds support for the foomatic printing driver database $ Stroller. seems so. but since I use flagedit anyway, I don't need another programm. Output is nearly the same.
Re: [gentoo-user] where can I find USE flags description?
Jarry wrote: Hi, I want to emerge a certain package, let's say x11-base/xorg-drivers, so I try first "emerge --pretend xorg-drivers" and find it has ~50 various use-flags (some set, some unset). Where can I find their description? For example "vmmouse", what is this USE flag good for? Is it something for vmware? I checked /etc/portage/profiles/use.desc and use.local.desc but there are not all of them... Jarry Maybe you want to try this little peace of code: alias findflag="flagedit --desc --list | grep -i" Works really great. If you search for a pattern, just "findflag foo". If you search for a specific use-flag you just add ":" at the end, like "findflag bar:" Don't forget to install flagedit first, if you haven't already.
Re: [gentoo-user] Layman and eix-sync
Dale wrote: Hi, I'm using layman to keep KDE 3.5 installed and have a question. I run eix-sync to sync my tree. From what I see, it appears it also syncs the layman part as well. Does it? This is what I see: [0] "gentoo" /usr/portage/ (cache: metadata-flat) Reading 100%[1] "kde-sunset" /usr/local/portage/layman/kde-sunset (cache: parse|ebuild*#metadata-flat#assign) Reading 100% I just want to make sure I am seeing this correctly. I dont't think so. "eix-sync" runs an "eix-update" after "emerge --sync". It just rereads the overlay, without "layman -S" in advance. You have to do that manually. While I am here, I plan to get rid of all the layman stuff when KDE 4 is ready enough for me to use. Do I just run layman -d all and unmerge layman? Does that get the job done? Thanks much. Dale :-) :-) Maybe you want install kde4 first and then run "emerge --depclean" (after removing the overlay). In that way you had an backup if kde4 fails. Johannes
Re: [gentoo-user] xorg-server upgrading problem
Roy Wright wrote: On Nov 9, 2009, at 1:04 AM, Johannes Kimmel wrote: Try to resync and emerge the new eselect-opengl and run "eselect opengl set nvidia" again. This could fix it, as I had a similar problem. The old eselect did something wrong, but I can't remember exactly because it went somehow long yesterday :) Good catch, but unfortunately it didn't help. I've downgraded the nvidia drivers to 185.18.36-r1 which then loaded glx, but still not dri or dri2. Maybe I need to upgrade the kernel from 2.6.29... BTW, xorg-server-1.6.5 does work with nv drivers, but I need opengl. I'm currently trying to downgrade server to 1.6.3, but that's not compiling. Let's say I'm not very impressed with the xorg ebuild technique of specifying dependencies using >=. xorg ebuilds should be holistic based on the xorg-server version. Instead I have to figure out the version masks for each of the dependencies. PITA! Thank you, Roy AFAIK it doesn't matter if dri and dri2 don't load. On the three systems I maintain the "dris" don't load, too, but I have full opengl acceleration.
Re: [gentoo-user] xorg-server upgrading problem
Roy Wright wrote: Howdy, I have a home server/htpc (~x86) that I'm finally updating after a few months and I hit an issue with xorg-server. Here's the background: Was at xorg-server-1.6.3 and current sync tried to upgrade to 1.7.1, which failed to compile. In researching on b.g.o., discovered that nvidia has not released a driver yet that will work with 1.7.1, so followed the bug report directions and masked out several packages to prevent 1.7.1 upgrading. So next attempt at upgrading was to 1.6.5. That failed too, so back to b.g.o. where the first directions were to install nvidia-drivers-190.42. But nvidia-drivers has a dependency to xorg-server-1.6.5, so had to mask >1.6.3 to get nvidia to emerge. Then hit the bug with nvidia-settings with the work around of symbolically linking /usr/include/X11/extensions/xf86vmproto.h to /usr/include/X11/extensions/xf86vmode.h. Finally removed the >xorg-server-1.6.3 mask and successfully emerged. So now it looks like I have xorg-server-1.6.5 and nvidia-drivers-190.42 installed. But when starting the xorg server, it is unable to load glx, dri, and dri2 modules: xbmc log # grep EE Xorg.0.log Current Operating System: Linux xbmc 2.6.29-gentoo-r2 #7 SMP PREEMPT Sun Jun 21 10:15:29 CDT 2009 i686 (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (EE) Failed to load module "glx" (module does not exist, 0) (II) Loading extension MIT-SCREEN-SAVER (EE) Failed to load module "dri" (module does not exist, 0) (EE) Failed to load module "dri2" (module does not exist, 0) (EE) Nov 08 13:48:35 NVIDIA(0): Failed to initialize the GLX module; please check in your X (EE) Nov 08 13:48:35 NVIDIA(0): log file that the GLX module has been loaded in your X (EE) Nov 08 13:48:35 NVIDIA(0): server, and that the module is the NVIDIA GLX module. If (EE) Nov 08 13:48:35 NVIDIA(0): you continue to encounter problems, Please try (EE) Nov 08 13:48:35 NVIDIA(0): reinstalling the NVIDIA driver. (EE) Microsoft Natural Keyboard Pro: failed to initialize for relative axes. (EE) Gyration Gyration RF Technology Receiver: failed to initialize for relative axes. I've even rebooted and still see the same problem. I'm not having any luck finding a hint on b.g.o. or with searching (I use startpage instead of google). Here's my xorg.conf which works with xorg-server-1.6.3 (it's a little explicit because it is connected (DVI) to an A/V receiver (Yamaha RX-V861) which doesn't pass thru EDID): Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "built-ins" EndSection Section "Module" Load "glx" Load "dbe" Load "extmod" EndSection Section "Monitor" # Block type: 2:0 3:fc Identifier "FPD TV" VendorName "HTC" ModelName "FPD TV" # Block type: 2:0 3:fc # Block type: 2:0 3:fd HorizSync 15-70 VertRefresh 59-61 # Max dot clock (video bandwidth) 150 MHz # DPMS capabilities: Active off:no Suspend:no Standby:no Mode"1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz DotClock148.50 HTimings1920 2008 2052 2200 VTimings1080 1084 1089 1125 Flags "+HSync" "+VSync" EndMode Mode"1920x540" # vfreq 60.053Hz, hfreq 33.750kHz DotClock74.25 HTimings1920 2008 2052 2200 VTimings540 542 547 562 Flags "Interlace" "+HSync" "+VSync" EndMode EndSection Section "Device" Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" Option "RenderAccel" "true" Option "ModeValidation" "NoDFPNativeResolutionCheck, NoMaxSizeCheck" Option "NoLogo" "true" Option "ConnectedMonitor" "DFP" Option "TVStandard""HD1080p" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor"FPD TV" # depth of 16 breaks xbmc DefaultDepth24 Option "renderAccel" "true" Option "ExactModeTimingsDVI" "true" Option "NoLogo" "true" Option "DynamicTwinView" "false" Option "UseEvents" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true" Option "FlatPanelProperties" "Scaling = Native" SubSection "Display" Depth24 Modes "1920x1080" "1080p" "1080i" "720p" "720i" "480p" "480i" "1024x768" "800x600" "640x480" Virtual 1920 1080 EndSubSection EndSection Any ideas? TIA, Roy Try to resync and emerge the new eselect-opengl and run "eselect opengl set nvidia" again. This could fix it, as I had a similar problem. The old eselect did something wrong, but I can't remember exactly because it went somehow long y
Re: [gentoo-user] Short cut for unmerging all packages that are not longer in the tree
Helmut Jarausch wrote: > Hi, > > is there an easy way to unmerge all packages which are no longer in > the current portage tree. > (Those make problems on update world) > > Many thanks for a hint, > Helmut. > > if packages are not in the portage tree, they should not be pulled in anymore. therefore "emerge --depclean" could help. Johannes