Bug#848893: nvidia-settings: When launching "nvidia-settings" -- "undefined symbol error"

2017-01-10 Thread Philippe Waroquiers
On Wed, 04 Jan 2017 22:20:55 +0100 Philippe Waroquiers 
 wrote:
> I downloaded the version 375.26 from the nvidia site, and just extracted
> the files from the archive, without installing.

Today, (some of) the nvidia related things were upgraded to 375.26
(see below the details).
However, nvidia-settings is still the Dec 2016 (not working) version:
nvidia-settings --version
nvidia-settings:  version 367.57  (buildd@debian)  Sun Dec 18 10:23:08
UTC 2016

The library libnvidia-gtk3.so has also not been upgraded :
it is still /usr/lib/libnvidia-gtk3.so.367.57
which as I understand does not have the symbols that nvidia-settings
needs.


Details of upgrade to 375.26:
-

Commit Log for Tue Jan 10 19:43:07 2017


Removed the following packages:
libegl1-glvnd-nvidia

Upgraded the following packages:
dkms (2.2.1.0+git20160527-1~bpo8+1) to 2.3-2~bpo8+1
libegl-nvidia0 (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libegl1-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgl1-nvidia-glx (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgldispatch0-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgles-nvidia1 (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgles-nvidia2 (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgles1-glvnd-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgles1-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgles2-glvnd-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libgles2-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libglx-nvidia0 (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libglx0-glvnd-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libnvidia-cfg1 (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libnvidia-eglcore (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libnvidia-glcore (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libnvidia-ml1 (367.57-2~bpo8+1) to 375.26-1~bpo8+1
libopengl0-glvnd-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-alternative (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-driver (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-driver-bin (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-driver-libs (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-kernel-dkms (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-kernel-support (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-legacy-check (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-smi (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-vdpau-driver (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-vulkan-common (367.57-2~bpo8+1) to 375.26-1~bpo8+1
nvidia-vulkan-icd (367.57-2~bpo8+1) to 375.26-1~bpo8+1
xserver-xorg-video-nvidia (367.57-2~bpo8+1) to 375.26-1~bpo8+1

Installed the following packages:
nvidia-egl-common (375.26-1~bpo8+1)



Bug#848893: nvidia-settings: When launching "nvidia-settings" -- "undefined symbol error"

2017-01-04 Thread Philippe Waroquiers
On Thu, 29 Dec 2016 13:18:12 +0100 Andreas Beckmann  wrote:
> Rebuilding nvidia-settings from sid with no further changes in a jessie
> environment results in these lost symbols. I don't have much time to
> investigate this further right now over the holidays.

I downloaded the version 375.26 from the nvidia site, and just extracted
the files from the archive, without installing.

The gtk3 library in this version has a lot more symbols than the debian
installed 367.57 version:

objdump -tT ./NVIDIA-Linux-x86_64-375.26/libnvidia-gtk3.so.375.26 |grep ctk|wc 
-l
259

objdump -tT /usr/lib/libnvidia-gtk3.so.367.57 |grep ctk|wc -l
21


A.o., the library downloaded from nvidia has the symbol ctk_init_check
objdump -tT ./NVIDIA-Linux-x86_64-375.26/libnvidia-gtk3.so.375.26 |grep 
ctk_init_check
0002fb20 gDF .text  000a  Basectk_init_check


Running the below works ok :
LD_LIBRARY_PATH=./NVIDIA-Linux-x86_64-375.26 
./NVIDIA-Linux-x86_64-375.26/nvidia-settings

Philippe



Bug#848893: nvidia-settings: When launching "nvidia-settings" -- "undefined symbol error"

2016-12-29 Thread Andreas Beckmann
Rebuilding nvidia-settings from sid with no further changes in a jessie
environment results in these lost symbols. I don't have much time to
investigate this further right now over the holidays.


Andreas



Bug#848893: nvidia-settings: When launching "nvidia-settings" -- "undefined symbol error"

2016-12-28 Thread Brian Holaday
Hi Andreas,

I did some general looking/testing (I am a python/web coder but really
don't know gtk directly but am able to test a few things):

I did a file check:
A. It looks like .nvidia-settings-rc does not get created when running 367.57
yet 375.26.1 does after launch.

I did a library check: (seems to have an issue loading)
B. Testing nvidia-settings using the library directly #nvidia-settings -I
/usr/lib/libnvidia-gtk3.so.367.57 , results in the same error.

I did a command line check: see if the nvidia-driver is working:
C. Testing nvidia-smi, #nvidia-smi, the nvidia modules appear to load just
fine so *it must be a gtk or library related issue under **/usr/lib/
possibly*.

Looking at the sid branch:
https://anonscm.debian.org/cgit/pkg-nvidia/nvidia-settings.git/diff/?h=upstream,
it seems like there was quite a few changes to go though, That is something
a little beyond my build experience.


One Solution:
As far as installing the driver 375.26.1 on Jessie like you suggested it
all works fine (nvidia-settings) works fine.


Bug#848893: nvidia-settings: When launching "nvidia-settings" -- "undefined symbol error"

2016-12-26 Thread Andreas Beckmann
Control: merge -1 849128

On 2016-12-20 16:41, Arcademan wrote:
> When launching "nvidia-settings" via the terminal window I see the following 
> error:
> 
> ERROR: /usr/lib/libnvidia-gtk3.so.367.57: undefined symbol: ctk_init_check
...

I could reproduce this also with 375.26-1 by rebuilding it in jessie,
while the packages in sid are fine. Need more time to investigate.
Probably something is not linked in the correct order, causing some
symbols to be lost. Help would be welcome.


Andreas



Bug#848893: nvidia-settings: When launching "nvidia-settings" -- "undefined symbol error"

2016-12-20 Thread Arcademan
Package: nvidia-settings
Version: 367.57-1~bpo8+1
Severity: important

Dear Maintainer,

When launching "nvidia-settings" via the terminal window I see the following 
error:

ERROR: /usr/lib/libnvidia-gtk3.so.367.57: undefined symbol: ctk_init_check
   /usr/lib/libnvidia-gtk3.so.367.57: undefined symbol: ctk_get_display
   /usr/lib/libnvidia-gtk3.so.367.57: undefined symbol: ctk_main
   libnvidia-gtk3.so: cannot open shared object file: No such file or
   directory
   /usr/lib/libnvidia-gtk2.so.367.57: undefined symbol: ctk_init_check
   /usr/lib/libnvidia-gtk2.so.367.57: undefined symbol: ctk_get_display
   /usr/lib/libnvidia-gtk2.so.367.57: undefined symbol: ctk_main
   libnvidia-gtk2.so: cannot open shared object file: No such file or
   directory


ERROR: A problem occurred when loading the GUI library. Please check your
   installation and library path. You may need to specify this library when
   calling nvidia-settings. Please run `nvidia-settings --help` for usage
   information.


It looks like the library "/usr/lib/libnvidia-gtk3.so.367.57" is having issues 
with loading up.

Testing Manually: #nvidia-settings -I /usr/lib/libnvidia-gtk3.so.367.57 shows 
the same issue.


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nvidia-settings depends on:
ii  libc6 2.19-18+deb8u6
ii  libcairo2 1.14.0-2.1+deb8u1
ii  libgdk-pixbuf2.0-02.31.1-2+deb8u5
ii  libglib2.0-0  2.42.1-1+b1
ii  libgtk-3-03.14.5-1+deb8u1
ii  libgtk2.0-0   2.24.25-3+deb8u1
ii  libjansson4   2.7-1+deb8u1
ii  libpango-1.0-01.36.8-3
ii  libpangocairo-1.0-0   1.36.8-3
ii  libx11-6  2:1.6.2-3
ii  libxnvctrl0   367.57-1~bpo8+1
ii  libxxf86vm1   1:1.1.3-1+b1
ii  nvidia-alternative367.57-2~bpo8+1
ii  nvidia-installer-cleanup  20151021+1~bpo8+1
ii  pkg-config0.28-1

Versions of packages nvidia-settings recommends:
ii  libgl1-nvidia-glx  367.57-2~bpo8+1

nvidia-settings suggests no packages.

-- no debconf information