Code: Select all
emerge -av x11

Code: Select all
eselect opengl list # this will show you the opengl implementations installed
eselect opengl set nvidia # this is what you would use to run opengl apps
eselect opengl set xorg-x11 # mesa is better for building against. This is probably what you want for building xorg-x11
Code: Select all
emerge --resume --skipfirst


Dooood!silverback011 wrote:I have seen several people reference this howto
http://www.gentoo.org/proj/en/desktop/x ... -howto.xml
I had no idea of it's existence until after I run into trouble. Is there something that I should be reading prior to updating telling me about these things?
Actually, it has been marked as unstable for some time. Considering the magnitude of the change, I was impressed by how well it went on all the system I put it on.sundialsvc4 wrote:You know, silverback011 is right on the money. I think that his points need to be taken .. squarely, soberly, and not defensively.
The "stable" operating system must be stable. Certainly in the case of the X11 update (which tipped big warning-bells to me because it was so huge, and I thank my lucky stars that I haven't installed it) it was not stable and it brought-down a lot of systems .. systems that are primarily used for production work of some kind. And the Gentooers who are responsible for this issue cannot, must not, point-fingers at the X11 group and say "it was their fault." Maybe they released something that's not right; and, maybe, Gentoo should have decided "therefore we will mark this as unstable and keep it that way for the next six months."
I don't think I'm following what you are saying here. If you are saying most people do a emerge -uD world regularly from cron, we should probably start by educating people not to do that. Even very stable changes can require intervention because of fundamental package changes upstream.sundialsvc4 wrote:
Many users schedule "update world" and then fuhgeddaboudit. Therefore, the updates that are released to this venue need to be chosen very conservatively.
You got a point there. The revdep-rebuild comment should have included a few more details. However, I believe the modular x guide does give those details.sundialsvc4 wrote: Cryptic commands that no one has heard about (as in "what in the heck is 'revdep-rebuild' and why should I care?") are not a good solution, especially if one only hears about them in the eleventh hour.
Not sure I can agree with you on this. Certainly not in the case of xorg. There was no way to do the upgrade without user intervention and something as fundamental as x needing to be unmerged should raise a red flag even for beginners.sundialsvc4 wrote: It is a disaster, and yet it happens a lot, that you apply what you expect to be "a routine update," and suddenly your system is hosed, and now you are scrambling to find out "what to do," and only then do you discover that, oh, by the way, a document was published about this a long time ago... Too Late!
Yes they do! And fortunately, with the latest version of portage, those advisories are much more available than ever before.sundialsvc4 wrote: Portage updates need to be furnished with detailed advisory notices that are furnished .. are pushed right in front of the user's face .. first. This forum is an extremely logical place to start.
The recent changes to portage have gone a long way in addressing these problems. The developers are open to improving things even more (even if they are a little slow to implement them). If you have other improvements to suggest, you should probably suggest them.sundialsvc4 wrote: Many users do not understand, will never understand, and therefore need not to be required to deeply understand the Portage system upon which their businesses do critically depend. This is no fault, either of them or of Portage's designers. It is simply a requirement that is not being adequately met.

In my oppinion xorg-x11-7.0 is as stable as it get's, meaning that it will go fine on the majority of systems that are not borked up somehow. For others that have dependency problems, I don't think there's is something the devs could do to prevent blowing up there systems, except issue a warning that it could go wrong. If you need your system to not break down for a few days, I would not try to update it.sundialsvc4 wrote:You know, silverback011 is right on the money. I think that his points need to be taken .. squarely, soberly, and not defensively.
The "stable" operating system must be stable. Certainly in the case of the X11 update (which tipped big warning-bells to me because it was so huge, and I thank my lucky stars that I haven't installed it) it was not stable and it brought-down a lot of systems .. systems that are primarily used for production work of some kind. And the Gentooers who are responsible for this issue cannot, must not, point-fingers at the X11 group and say "it was their fault." Maybe they released something that's not right; and, maybe, Gentoo should have decided "therefore we will mark this as unstable and keep it that way for the next six months."
I very much agree with Raffi. Running emerges as cron jobs is just not the best idea, no matter how many people report happily that it works for them. At the very least, you need to look to see what is going to be updated, then check the gentoo website front page & documentation, and any advisories published on the forums or via the GLSA list. (I also check the ebuilds for information I might miss as the emerge scrolls by, if we're dealing with a major package.) Also, you need to exercise some discretion: if there are a lot of problems with something being reported on the mailing lists or forums, then don't upgrade.Raffi wrote:I don't think I'm following what you are saying here. If you are saying most people do a emerge -uD world regularly from cron, we should probably start by educating people not to do that. Even very stable changes can require intervention because of fundamental package changes upstream.sundialsvc4 wrote:
Many users schedule "update world" and then fuhgeddaboudit. Therefore, the updates that are released to this venue need to be chosen very conservatively.
Again, I just don't have much sympathy. Gentoo users should read the gentoo handbook, which introduces revdep-rebuild adequately. (It is not a cryptic command, and lots of people have heard about it.)sundialsvc4 wrote: Cryptic commands that no one has heard about (as in "what in the heck is 'revdep-rebuild' and why should I care?") are not a good solution, especially if one only hears about them in the eleventh hour.

Code: Select all
#emerge --sync
Code: Select all
#emerge -puDN world /* Look at the changes */
#emerge -uDN world
Code: Select all
$xterm -fg white -bg black -font 10x20
Warning: Color name "black" is not defined
Warning: Color name "white" is not defined
xterm: Cannot allocate color green
$
Code: Select all
*****INVALID MEM ALLOCATION**** b: 0xffffc000 e: 0xffffffff correcting
MGA(2): Cannot read V_BIOS

Code: Select all
RgbPath "/usr/share/X11/rgb"
Code: Select all
emerge -C xorg-x11 && emerge xorg-x11I actually have the same problem with colour and some fonts (this I don't worry about after the upgrade)Raffi wrote:Color names might have changed (White instead of white? etc.) or you may be missing your /usr/share/X11/rgb.txt file (comes with .x11-apps/rgb).
Code: Select all
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
Code: Select all
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
I surely did etc-update, but you are right, it is a path to rgb database somewhere.Raffi wrote:Someone else got it right on this thread. It is probably from not taking the path changes when you did etc-update or dispatch-conf. You did do one of those right?