Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

esa1966

Members
  • Posts

    12
  • Joined

  • Last visited

Community Answers

  1. esa1966's post in Perl 5.18 conflict with 5.20 was marked as the answer   
    Topic closed : see solution here http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS&s=1b99033b65772166c641fee379c06f49
  2. esa1966's post in nvidia-drivers-340.76 Direct Rendering on ION card was marked as the answer   
    After 8 hours of debug with different NVIDIA drivers, I find a solution.
    Now, the question is why it happens ?
    I think I will block the next upgrade because I spend a lot of time with NVIDIA Drivers (for XBMC), PERL (for SqueezeBox).
     
    Solution with nvidia-331.113.
    This is an old drivers but I was able to make it running again so I place the solution :
     
    Check that all the links libGL.xxx link to the latest nvidia version :
    ldconfig -p | grep libGL
            libGLU.so.1 (libc6) => /usr/lib/libGLU.so.1
            libGLU.so (libc6) => /usr/lib/libGLU.so
            libGLEWmx.so.1.12 (libc6) => /usr/lib/libGLEWmx.so.1.12
            libGLEWmx.so (libc6) => /usr/lib/libGLEWmx.so
            libGLEW.so.1.12 (libc6) => /usr/lib/libGLEW.so.1.12
            libGLEW.so (libc6) => /usr/lib/libGLEW.so
            libGL.so.1 (libc6) => /usr/lib/libGL.so.1
            libGL.so (libc6) => /usr/lib/libGL.so
     
    Then, check the folder ?/usr/lib? and file ?libGL*? :
     
    cd /usr/lib/
     
    localhost lib # ls -al libGL*
    lrwxrwxrwx 1 root root     14 Apr  7 10:14 libGL.so -> libGL.so.1.2.0
    lrwxrwxrwx 1 root root     14 Apr  7 10:14 libGL.so.1 -> libGL.so.1.2.0
    -rwxr-xr-x 1 root root 610168 Apr  7 10:11 libGL.so.1.2.0
    lrwxrwxrwx 1 root root     40 Jan 30 02:51 libGLESv1_CM.so -> opengl/nvidia/lib/libGLESv1_CM.so.340.65
    lrwxrwxrwx 1 root root     37 Jan 30 02:51 libGLESv2.so -> opengl/nvidia/lib/libGLESv2.so.340.65
    lrwxrwxrwx 1 root root     17 Feb 12 02:05 libGLEW.so -> libGLEW.so.1.12.0
    lrwxrwxrwx 1 root root     17 Feb 12 02:05 libGLEW.so.1.12 -> libGLEW.so.1.12.0
    -rwxr-xr-x 1 root root 472296 Feb 12 02:04 libGLEW.so.1.12.0
    lrwxrwxrwx 1 root root     19 Feb 12 02:05 libGLEWmx.so -> libGLEWmx.so.1.12.0
    lrwxrwxrwx 1 root root     19 Feb 12 02:05 libGLEWmx.so.1.12 -> libGLEWmx.so.1.12.0
    -rwxr-xr-x 1 root root 427236 Feb 12 02:04 libGLEWmx.so.1.12.0
    lrwxrwxrwx 1 root root     15 Apr 10  2014 libGLU.so -> libGLU.so.1.3.1
    lrwxrwxrwx 1 root root     15 Apr 10  2014 libGLU.so.1 -> libGLU.so.1.3.1
    -rwxr-xr-x 1 root root 579488 Apr 10  2014 libGLU.so.1.3.1
     
    Some links are not defined and are linked to the old NVIDIA drivers (libGLESv2.so.340.65) : This is not the problem whit this driver because this links come from newest drivers.
    libGLESv1_CM.so -> opengl/nvidia/lib/libGLESv1_CM.so.340.65
    libGLESv2.so -> opengl/nvidia/lib/libGLESv2.so.340.65
    The solution is to do the following :
    mv libGL.so.1.2.0 libGL.so.1.2.0-v1 ln -s opengl/nvidia/lib/libGL.so.331.113 libGL.so.1.2.0 The result :
    lrwxrwxrwx 1 root root     14 Apr  7 10:14 libGL.so -> libGL.so.1.2.0
    lrwxrwxrwx 1 root root     14 Apr  7 10:14 libGL.so.1 -> libGL.so.1.2.0
    lrwxrwxrwx 1 root root     34 Apr 11 15:36 libGL.so.1.2.0 -> opengl/nvidia/lib/libGL.so.331.113
    -rwxr-xr-x 1 root root 610168 Apr  7 10:11 libGL.so.1.2.0-v1
    lrwxrwxrwx 1 root root     40 Jan 30 02:51 libGLESv1_CM-v1.so -> opengl/nvidia/lib/libGLESv1_CM.so.340.65
    lrwxrwxrwx 1 root root     34 Apr 11 15:50 libGLESv1_CM.so -> opengl/nvidia/lib/libGL.so.331.113
    lrwxrwxrwx 1 root root     37 Jan 30 02:51 libGLESv2-v1.so -> opengl/nvidia/lib/libGLESv2.so.340.65
    lrwxrwxrwx 1 root root     34 Apr 11 15:51 libGLESv2.so -> opengl/nvidia/lib/libGL.so.331.113
    lrwxrwxrwx 1 root root     17 Feb 12 02:05 libGLEW.so -> libGLEW.so.1.12.0
    lrwxrwxrwx 1 root root     17 Feb 12 02:05 libGLEW.so.1.12 -> libGLEW.so.1.12.0
    -rwxr-xr-x 1 root root 472296 Feb 12 02:04 libGLEW.so.1.12.0
    lrwxrwxrwx 1 root root     19 Feb 12 02:05 libGLEWmx.so -> libGLEWmx.so.1.12.0
    lrwxrwxrwx 1 root root     19 Feb 12 02:05 libGLEWmx.so.1.12 -> libGLEWmx.so.1.12.0
    -rwxr-xr-x 1 root root 427236 Feb 12 02:04 libGLEWmx.so.1.12.0
    lrwxrwxrwx 1 root root     15 Apr 10  2014 libGLU.so -> libGLU.so.1.3.1
    lrwxrwxrwx 1 root root     15 Apr 10  2014 libGLU.so.1 -> libGLU.so.1.3.1
    -rwxr-xr-x 1 root root 579488 Apr 10  2014 libGLU.so.1.3.1
     
    In folder : ? /usr/lib/xorg/modules/extensions ? the link point to the old library :
    I do : ln -s ../../../opengl/nvidia/extensions/libglx.so.331.113 libglx.so
     
    After this, I tried glxgears again and it runs without error.
    glxinfo | grep direct give YES
    XBMC started again :)
     
    Solution with nvidia-drivers-340.76.Below /usr/lib you must have something like :
    libGL.so -> libGL.so.1.2.0
    libGL.so.1 -> libGL.so.1.2.0
    libGL.so.1.2.0 -> opengl/nvidia/lib/libGL.so.331.113
     
    But, after installed 340.76 you have only a missing link :
     
    libGL.so -> libGL.so.1.2.0
     
    I recreate the two links :
     
    ln -s libGL.so.1.2.0 libGL.so.1
    ln -s opengl/nvidia/lib/libGL.so.340.76 libGL.so.1.2.0
     
    now I have : ls -al libGL*
     
    lrwxrwxrwx 1 root root     14 Apr  7 10:14 libGL.so -> libGL.so.1.2.0
    lrwxrwxrwx 1 root root     14 Apr 11 16:31 libGL.so.1 -> libGL.so.1.2.0
    lrwxrwxrwx 1 root root     33 Apr 11 16:26 libGL.so.1.2.0 -> opengl/nvidia/lib/libGL.so.340.76
    -rwxr-xr-x 1 root root 610168 Apr  7 10:11 libGL.so.1.2.0-v1
    lrwxrwxrwx 1 root root     40 Jan 30 02:51 libGLESv1_CM-v1.so -> opengl/nvidia/lib/libGLESv1_CM.so.340.65
    lrwxrwxrwx 1 root root     37 Jan 30 02:51 libGLESv2-v1.so -> opengl/nvidia/lib/libGLESv2.so.340.65
     
    I also do this but I don?t think it?s important :
     
    ln -s opengl/nvidia/lib/libGLESv1_CM.so.340.76 libGLESv1_CM.so
    ln -s opengl/nvidia/lib/libGLESv2.so.340.76 libGLESv2.so
     
    In folder : /usr/lib/xorg/modules/extensions
     
    ln -s ../../../opengl/nvidia/extensions/libglx.so.340.76 libglx.so
    libglx.so -> ../../../opengl/nvidia/extensions/libglx.so.340.76
     
    + Reboot
     
    Then I startx and run glxgears and it started without error.
    glxinfo | grep direct gives :
    direct rendering: Yes
        GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
        GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
     
    Start XBMC and it runs !
    :)
×
×
  • Create New...