← Back to team overview

sony-vaio-z-series team mailing list archive

Re : sony-janitor and nvidia 185: need log

 

Hi Raphael,

I've done what you said. The nvidia driver was deinstalled but the Xorg didn't fail when restart (I don't understand because I check with lspci I had only the nvidia card). By the way the background gradation of the login screen was not as usual, as if I had only a few colors.

So I rerun the janitor and reinstall nvidia driver 1.85 from the repo. Every thing is ok with nvidia.
with Intel, the switch-x-to is not anymore in infinite-loop.

the only thing is that glxinfo says:
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".

This is the same thing that when I reinstall my system from scratch. At this step I've created the symbolic link (I will not do this error again):
domak@domakistan-laptop:~$ ll /usr/lib/libGL*
lrwxrwxrwx 1 root root       22 2009-12-21 21:02 /usr/lib/libGLcore.so.1 -> libGLcore.so.185.18.36
-rw-r--r-- 1 root root 18972488 2009-10-26 11:16 /usr/lib/libGLcore.so.185.18.36
lrwxrwxrwx 1 root root       13 2009-12-21 21:12 /usr/lib/libGL.so.1 -> libGL.so.1000
lrwxrwxrwx 1 root root       28 2009-12-21 21:12 /usr/lib/libGL.so.1000 -> nvidia/libGL.so.1.2.xlibmesa
-rw-r--r-- 1 root root   792992 2009-10-26 11:16 /usr/lib/libGL.so.185.18.36
lrwxrwxrwx 1 root root       20 2009-11-28 13:02 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070600
-rw-r--r-- 1 root root   461488 2009-10-14 00:17 /usr/lib/libGLU.so.1.3.070600

domak@domakistan-laptop:~$ ll /usr/lib/nvidia/
total 1080
-rw-r--r-- 1 root root 527256 2009-10-14 00:17 libGL.so.1.2.xlibmesa
lrwxrwxrwx 1 root root     12 2009-12-21 20:18 libGL.so.1.xlibmesa -> libGL.so.1.2
-rw-r--r-- 1 root root 422064 2009-11-14 18:53 libglx.so.xserver-xorg-core
-rw-r--r-- 1 root root 133896 2009-10-26 11:16 libnvidia-cfg.so.185.18.36
-rwxr-xr-x 1 root root   5064 2009-10-26 11:16 tls_test
-rw-r--r-- 1 root root   4920 2009-10-26 11:16 tls_test_dso.so

So the following link is broken:
lrwxrwxrwx 1 root root     12 2009-12-21 20:18 libGL.so.1.xlibmesa -> libGL.so.1.2

I check the log
domak@domakistan-laptop:~$ grep EE /var/log/Xorg.0.log 
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "i810" (module does not exist, 0)
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

but i don't understant the mention to nvidia cause
domak@domakistan-laptop:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

domak@domakistan-laptop:~$ dpkg-divert --list
diversion of /bin/sh to /bin/sh.distrib by dash
diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash
diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common
diversion of /usr/share/dbus-1/services/org.freedesktop.Notifications.service to /usr/share/dbus-1/services/org.freedesktop.Notifications.service.notify-osd by notify-osd
diversion of /usr/share/vim/vim72/doc/help.txt to /usr/share/vim/vim72/doc/help.txt.vim-tiny by vim-runtime
diversion of /usr/share/vim/vim72/doc/tags to /usr/share/vim/vim72/doc/tags.vim-tiny by vim-runtime
diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx-185
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/nvidia/libGL.so.1.2.xlibmesa by nvidia-glx-185
diversion of /usr/lib/xorg/modules/extensions/libglx.so to /usr/lib/nvidia/libglx.so.xserver-xorg-core by nvidia-glx-185
diversion of /usr/lib32/libGL.so to /usr/lib32/nvidia/libGL.so.xlibmesa by nvidia-glx-185
diversion of /usr/lib32/libGL.so.1 to /usr/lib32/nvidia/libGL.so.1.xlibmesa by nvidia-glx-185
diversion of /usr/lib32/libGL.so.1.2 to /usr/lib32/nvidia/libGL.so.1.2.xlibmesa by nvidia-glx-185
diversion of /usr/lib/xorg/modules/extensions/libGLcore.so to /usr/lib/nvidia/libGLcore.so.xlibmesa by nvidia-glx-185

domak@domakistan-laptop:~$ ll /etc/X11/
total 76
drwxr-xr-x 2 root root  4096 2009-10-27 21:48 app-defaults
drwxr-xr-x 2 root root  4096 2009-10-27 21:48 cursors
-rw-r--r-- 1 root root    14 2009-10-27 21:50 default-display-manager
drwxr-xr-x 6 root root  4096 2009-10-27 21:42 fonts
-rw-r--r-- 1 root root 17394 2009-06-23 00:57 rgb.txt
lrwxrwxrwx 1 root root    13 2009-11-28 13:01 X -> /usr/bin/Xorg
drwxr-xr-x 3 root root  4096 2009-10-27 21:48 xinit
drwxr-xr-x 2 root root  4096 2009-10-27 21:32 xkb
-rw-r--r-- 1 root root   269 2009-12-12 12:30 xorg.conf.failsafe
-rw-r--r-- 1 root root   218 2009-12-21 21:02 xorg.conf.NVIDIA
drwxr-xr-x 2 root root  4096 2009-12-04 20:43 Xresources
-rwxr-xr-x 1 root root  3730 2008-06-25 04:05 Xsession
drwxr-xr-x 2 root root  4096 2009-12-04 20:43 Xsession.d
-rw-r--r-- 1 root root   265 2008-06-25 04:05 Xsession.options
-rw-r--r-- 1 root root    13 2009-08-25 02:43 XvMCConfig
-rw------- 1 root root   601 2009-10-27 21:34 Xwrapper.config


I don't understand what I'm doing wrong. I'm exactly in the same case when I've resinstalled from scratch.
It's not a big problem (nvidia is ok, and I don't really need glx on intel) but I'm curious to understant what happens.

thanks,

Christophe







________________________________
De : Raphael Gradenwitz <raphael@xxxxxxxxxxxxxxxxx>
À : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Envoyé le : Dim 20 Décembre 2009, 20 h 15 min 15 s
Objet : Re: [Sony-vaio-z-series] sony-janitor and nvidia 185: need log

Hello Christophe,

i did send this message but one mailserver in the middle seem to be
down, I send it here again with another smtp host:

Am Sonntag, den 20.12.2009, 13:56 +0000 schrieb
domakmail-ubuntu@xxxxxxxx:
> For some times, I have some trouble with switch-x-to when booting with
> intel card: the switch-x-to starts an infinite loop while trying to
> find the target of /usr/lib/nvidia/libGL.so.1.xlibmesa with
> dpkg--divert (certainly due to a bad manipulation of my part).
> 

I see what you manipulated. Why are you not able to solve such easy
things yourself? Simply undo the steps you did..

> Could someone that have installed switch-x-to and nvidia-185 (from
> ubuntu repos) with the janitor script could run the following command
> and send me the result:
> 
> ls -l /usr/lib/libGL* && ls -l /usr/lib/nvidia/ && dpkg-divert --list
> > log.txt

      * Wrong syntax:
        this will only output the result of dpkg-divert --list to the
        logfile if the two other requests succeed.
        what you where trying to say and what you wanted was this:

        {
                ls -l /usr/lib/libGL*
                ls -l /usr/lib/nvidia/
                dpkg-divert --list
        } > domaklog.txt

      * and wrong procedure!

You should undo your changes, simply fix the diverted symlinks:

To understand what I mean: make a diversion from a symlink and look
where it points to after it was diverted.

the fault lays here:

domak@domakistan-laptop:~$ ll /usr/lib/nvidia/
lrwxrwxrwx 1 root root     21 2009-12-12 18:45 libGL.so.1.xlibmesa -> libGL.so.1.2.xlibmesa

That can not work.

this symlink should not point to libGL.so.1.2.xlibmesa but to
libGL.so.1.2 (which is the original target it points to before it was
diverted, that target should not change after diversion)

simply run

sudo ln -fs libGL.so.1.2 /usr/lib/nvidia/libGL.so.1.xlibmesa

that will fix your personal selfmade problem.

Or you can undo the complete nvidia instalation, create a virgin system
and reinstall everything again:

while in stamina mode:

run the sanitor script and when it asks you if you want to install the
newest driver from nvidia ftp answer with yes, let the script uninstall
all the previous nvidia drivers

reinstall all the intel stuff again:
sudo apt-get install --reinstall xserver-xorg-core libgl1-mesa-glx

(you can check with dpkg-divert --list if the diversions are now
removed)

Next you can begin installing the driver again

      * if you want to install the repo driver, reboot twice without
        acpi_osi in commandline

      * if you want to install the nvidia ftp driver (my recommendation)
        you can simply now reboot in speed mode, the xserver will fail
        (don't be afraid, it MUST fail at this point) and it will tell
        you something about 'Ubuntu is running in Low Graphics mode",
        choose the last option (Comandline) and login, run

                sudo nvsetup

and get happy.

Regards,

Raphael




_______________________________________________
Mailing list: https://launchpad.net/~sony-vaio-z-series
Post to     : sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~sony-vaio-z-series
More help   : https://help.launchpad.net/ListHelp



      

Follow ups

References