[Newbie] problems after upgrade

Hi all,
this is my first post , I just installed Calculate 2 days , I am new with gentoo based distros but I am a long time Linux user (Debian mostly).
Install went well on my laptop (Lenovo W530 with Nvida Quadro K100M graphics card)
I decided to update/upgrade the distro using the emerge -uDna (copy/paste from the manual) and problems arrived…
In fact my X server can’t be launched as shown in the Xorg.0.log ( GLX module failed to load). This is an excerpt fronm this file:

    15.991] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    15.991] (EE) Failed to load /usr/lib64/xorg/modules/extensions/libglx.so: /usr/lib64/xorg/modules/extensions/libglx.so: cannot open shared object file: No such file or directory
[    15.991] (II) UnloadModule: "glx"
[    15.991] (II) Unloading glx
[    15.991] (EE) Failed to load module "glx" (loader failed, 7)
[    15.991] (II) LoadModule: "nvidia"
[    15.992] (WW) Warning, couldn't open module nvidia
[    15.992] (II) UnloadModule: "nvidia"
[    15.992] (II) Unloading nvidia
[    15.992] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    15.992] (EE) No drivers available.

And this module loading failure is due to preserved-libs ( if I am not wrong)…
I’ve tried to launch the emerge @preserved-rebuild but it fails in several places:

  • nvidia-driver-glx fail to compile
  • xorg server nvidia module

The problem is too tricky for me , your help is required -)
One last thing I tried this emerge command several times but I guess it’s considered as a transactionnal work so while one module fail to compile , process restart from scratch and fails every time.
Kind regards and thanks to the dev team for this tremendous work.

Jerome
PS:
I am using the other distro on the same machine so I can access some log files even if am not able to find the emerge @preserved… logs …

jerome moliere wrote:

One last thing I tried this emerge command several times but I guess it’s considered as a transactionnal work so while one module fail to compile , process restart from scratch and fails every time.

I too am new to Gentoo and learned some things the hard way. When trying to emerge world if a package fails it halts the entire process. You can skip the package that fails to build and build the rest like so:

emerge -uDN --exclude x11-drivers/nvidia-drivers --keep-going system world

Be sure to run dispatch-conf after.

If you want to install just a single package do something like this:

emerge =x11-drivers/nvidia-drivers-313.18

I don’t know if this helps much but it shouldn’t make you any worse off than you already are. :slight_smile:

In this laptop you have video card with shit technology named Nvidia Optimus. This mean you must use intel drivers for xorg and run some of applications on nvidia card with optirun from x11-misc/bumblebee

Thanks Yuri for your answer, unfortunately bumblebee + intel graphics driver don’t work …X driver is not loaded…
I can’t explain how it can work during install and after the first reboot…But even with the CL 13 stock kernel it does not work anymore with the nvidia driver…
The only working solution is as suggested by Elena on the french forum to use the nouveau driver (using the cl-setup-video it works while trying an emerge for this package fails with compil problems due to kernel options)

After that I encountered a problem with gdm because in the new version there’s no keyboard selector and I use an US layout but french locale.I was obliged to use lightdm to be able to log in without spending minutes while translating keys from us to french layout -)

Your work is really impressive … A small feedback with Gnome 3 upgrade, I really lost many features with new version while the 3.4.x was really working very well…

Kind regards
jerome

I think bumblebee + intel will work if you choose in BIOS another than discret mode for videocard