Bug#930563: Can not start freecad

2020-04-11 Thread Tobias Frost
Control: tags -1 moreinfo

On Tue, 14 Jan 2020 07:04:53 +0100 Jean-Luc Lacroix  wrote:
> 
> Hallo Bernhard,
> 
> My system only has a single GPU (Nvidia GTX 970, see attached config) 
> installed on a robust tower powered by a i7-4790K with plenty of RAM.
> 
> It must be package related as the package (Stretch) was running without 
> any issue.
> 
> Attached my config.
> 
> Cheers
> 
Which drivers are you running for your nvidia card? The ones from Debian non-
free?

I have a Nividia GTX 980Ti on an i5. So not-so-different setup and freecad works
fine here. I've got the in packaged drivers in the non-free section of Debian.

Can you run nvidia-bug-report.sh and attach the generated file?

Cheers,
tobi



Bug#930563: Can not start freecad

2020-01-14 Thread Jean-Luc Lacroix


Hallo Bernhard,

My system only has a single GPU (Nvidia GTX 970, see attached config) 
installed on a robust tower powered by a i7-4790K with plenty of RAM.


It must be package related as the package (Stretch) was running without 
any issue.


Attached my config.

Cheers

Jean-Luc

Le 8/01/20 à 16:01, Bernhard Übelacker a écrit :

Hello Gulfstream, hello Jean-Luc,
this report got opened mentioning a "Thinkpad P1".

Reading through some pages about that device, it looks
like it contains some "hybrid graphics".

Maybe you both could confirm that your devices have such
"hybrid graphics", and if yes, maybe you could give some more
information of both graphic devices and how the switching
between them is configured? (I don't have such a device accessible.)

Kind regards,
Bernhard



Device  Class  Description
==
system All Series (All)
busZ97-A
memory 64KiB BIOS
memory 24GiB System Memory
memory 8GiB DIMM DDR3 Synchronous 2133 MHz (0.5 ns)
memory 4GiB DIMM DDR3 Synchronous 2133 MHz (0.5 ns)
memory 4GiB DIMM DDR3 Synchronous 2133 MHz (0.5 ns)
memory 8GiB DIMM DDR3 Synchronous 2133 MHz (0.5 ns)
processor  Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
memory 256KiB L1 cache
memory 1MiB L2 cache
memory 8MiB L3 cache
bridge 4th Gen Core Processor DRAM Controller
bridge Xeon E3-1200 v3/4th Gen Core Processor PCI Express 
x16 Controller
displayGM204 [GeForce GTX 970]
multimedia GM204 High Definition Audio Controller
bus9 Series Chipset Family USB xHCI Controller
usb2busxHCI Host Controller
busUSB2.0 Hub
input  USB Receiver
scsi8   storageNokia 7 plus
/dev/sr1disk   File-CD Gadget
/dev/sr1disk   
communication  CSR8510 A10
input  Logitech Illuminated Keyboard
genericCanoScan
usb4busxHCI Host Controller
scsi6   storageLRWM04U
/dev/sdedisk   LRWM04U
/dev/sdedisk   
scsi7   storageTranscend
/dev/sdddisk   SD  Transcend
/dev/sdddisk   
busUSB3.0 Hub
communication  9 Series Chipset Family ME Interface #1
eno1networkEthernet Connection (2) I218-V
bus9 Series Chipset Family USB EHCI Controller #2
usb1busEHCI Host Controller
busUSB hub
multimedia 9 Series Chipset Family HD Audio Controller
bridge 9 Series Chipset Family PCI Express Root Port 1
bridge 82801 PCI Bridge
bridge ASM1083/1085 PCIe to PCI Bridge
bus9 Series Chipset Family USB EHCI Controller #1
usb3busEHCI Host Controller
busUSB hub
bridge 9 Series Chipset Family Z97 LPC Controller
scsi0   storage9 Series Chipset Family SATA Controller [AHCI Mode]
/dev/sdadisk   256GB Crucial_CT256MX1
/dev/sda1   volume 238GiB EXT4 volume
/dev/sdbdisk   2TB ST2000DM001-1CH1
/dev/sdb1   volume 1863GiB EXT4 volume
/dev/sdcdisk   500GB Samsung SSD 860
/dev/sdc1   volume 465GiB EXT4 volume
/dev/cdrom  disk   CDDVDW SH-224FB
bus9 Series Chipset Family SMBus Controller
system PnP device PNP0c01
system PnP device PNP0c02
system PnP device PNP0b00
genericPnP device INT3f0d
system PnP device PNP0c02
system PnP device PNP0c02
communication  PnP device PNP0501
system PnP device PNP0c02
power  To Be Filled By O.E.M.


Bug#930563: Can not start freecad

2020-01-14 Thread Bernhard Übelacker
Hello Gulfstream,


On Mon, 17 Jun 2019 11:17:48 +0800 (GMT+08:00) wg...@china.com wrote:
> 
> I have install the proprietary nvidia drivers and it runs well.
> 


Another user reported the same error and he had installed the nvidia
driver by their installer. He could solve the issue by uninstalling it
and installing by the Debian nvidia-driver package.

Have you by any chance also used the nvidia installer in the first place?

Kind regards,
Bernhard



Bug#930563: Can not start freecad

2020-01-13 Thread Jean-Luc Lacroix

Hallo Bernard,

You nailed it! That was the proprietary Nvidia driver that was the 
culprit. I uninstalled it and installed the debian nvidia-driver and 
nvidia-libopencl1 packages. Freecad is up and running now.


The nvidia-libopencl1 package is not strictly required by Freecad I 
believe, but I need it for darktable.


Thanks for your help.

Cheers.

Jean-Luc

Le 13/01/20 à 23:20, Bernhard Übelacker a écrit :

Hello Jean-Luc,
thanks for your information.
Please use the reply-to-all button to have the
information forwarded to the bug report.


Am 08.01.20 um 17:21 schrieb Jean-Luc Lacroix:

Hallo Bernhard,

My system only has a single GPU (Nvidia GTX 970, see attached config)
installed on a robust tower powered by a i7-4790K with plenty of RAM.

It must be package related as the package (Stretch) was running without
any issue.

Attached my config.

Cheers

Jean-Luc


Find below the information of libGLdispatch.so.0 from a
Buster VM, without any nvidia drivers.
There exists the _glapi_tls_Current symbol.
After installing the package nvidia-driver the files
and links libGLdispatch.so.0* and libOpenGL.so.0* were
unchanged.

Therefore the question, where does your libGLdispatch.so.0
come from?
How did you install the nvidia driver - by the Debian
package or did you use the installer from NVidia?

Kind regards,
Bernhard


# Buster stable without nvidia-drivre installed:

benutzer@debian:~$ nm -D /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 | grep tls
 D _glapi_tls_Current

benutzer@debian:~$ ls -la /usr/lib/x86_64-linux-gnu/libGLdispatch.so* 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0*
lrwxrwxrwx 1 root root 22 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rw-r--r-- 1 root root 637384 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0
lrwxrwxrwx 1 root root 18 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0 -> libOpenGL.so.0.0.0
-rw-r--r-- 1 root root 194880 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0

benutzer@debian:~$ dpkg -S /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
libglvnd0:amd64: /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
benutzer@debian:~$ dpkg -S /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
libopengl0:amd64: /usr/lib/x86_64-linux-gnu/libOpenGL.so.0

benutzer@debian:~$ dpkg -l | grep -E "libglvnd0|libopengl0"
ii  libglvnd0:amd64   1.1.0-1 
amd64Vendor neutral GL dispatch library
ii  libopengl0:amd64  1.1.0-1 
amd64Vendor neutral GL dispatch library -- OpenGL support




Bug#930563: Can not start freecad

2020-01-13 Thread Bernhard Übelacker
Hello Jean-Luc,
thanks for your information.
Please use the reply-to-all button to have the
information forwarded to the bug report.


Am 08.01.20 um 17:21 schrieb Jean-Luc Lacroix:
> Hallo Bernhard,
> 
> My system only has a single GPU (Nvidia GTX 970, see attached config)
> installed on a robust tower powered by a i7-4790K with plenty of RAM.
> 
> It must be package related as the package (Stretch) was running without
> any issue.
> 
> Attached my config.
> 
> Cheers
> 
> Jean-Luc


Find below the information of libGLdispatch.so.0 from a
Buster VM, without any nvidia drivers.
There exists the _glapi_tls_Current symbol.
After installing the package nvidia-driver the files
and links libGLdispatch.so.0* and libOpenGL.so.0* were
unchanged.

Therefore the question, where does your libGLdispatch.so.0
come from?
How did you install the nvidia driver - by the Debian
package or did you use the installer from NVidia?

Kind regards,
Bernhard


# Buster stable without nvidia-drivre installed:

benutzer@debian:~$ nm -D /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 | grep tls
 D _glapi_tls_Current

benutzer@debian:~$ ls -la /usr/lib/x86_64-linux-gnu/libGLdispatch.so* 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0*
lrwxrwxrwx 1 root root 22 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rw-r--r-- 1 root root 637384 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0
lrwxrwxrwx 1 root root 18 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0 -> libOpenGL.so.0.0.0
-rw-r--r-- 1 root root 194880 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0

benutzer@debian:~$ dpkg -S /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
libglvnd0:amd64: /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
benutzer@debian:~$ dpkg -S /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
libopengl0:amd64: /usr/lib/x86_64-linux-gnu/libOpenGL.so.0

benutzer@debian:~$ dpkg -l | grep -E "libglvnd0|libopengl0"
ii  libglvnd0:amd64   1.1.0-1 
amd64Vendor neutral GL dispatch library
ii  libopengl0:amd64  1.1.0-1 
amd64Vendor neutral GL dispatch library -- OpenGL support



Bug#930563: Can not start freecad

2020-01-08 Thread Bernhard Übelacker
Hello Gulfstream, hello Jean-Luc,
this report got opened mentioning a "Thinkpad P1".

Reading through some pages about that device, it looks
like it contains some "hybrid graphics".

Maybe you both could confirm that your devices have such
"hybrid graphics", and if yes, maybe you could give some more
information of both graphic devices and how the switching
between them is configured? (I don't have such a device accessible.)

Kind regards,
Bernhard



Bug#930563: Can not start freecad

2019-06-17 Thread Andreas Beckmann
Hi,

the missing symbol should be in libGLdispatch.so.0, please verify:

$ nm -D /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 | grep tls

$ ls -la /usr/lib/x86_64-linux-gnu/libGLdispatch.so*

Are there any stale versions of libGLdispatch.so* on your system?

You are working on a merged-usr environment - could this somehow be related?


Andreas



Bug#930563: Re: Bug#930563: Can not start freecad

2019-06-16 Thread wglxy
 2018 
/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0
4048758330 lrwxrwxrwx 1 root root   14 May 26 01:55 
/usr/lib/x86_64-linux-gnu/libOpenGL.so -> libOpenGL.so.0
4084457910 lrwxrwxrwx 1 root root   18 Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0 -> libOpenGL.so.0.0.0
408445790 192K -rw-r--r-- 1 root root 191K Aug 10  2018 
/usr/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0

> dpkg -l | grep libopengl0
ii  libopengl0:amd64   1.1.0-1  
amd64Vendor neutral GL dispatch library -- OpenGL support

> dpkg -l | grep libglvnd
ii  libglvnd0:amd641.1.0-1  
amd64Vendor neutral GL dispatch library
ii  libglvnd0:i386     1.1.0-1  
i386 Vendor neutral GL dispatch library


Thanks for your reply again!


Best regards,
Gulfstream




> -原始邮件-
> 发件人: "Bernhard Übelacker" 
> 发送时间: 2019-06-17 02:09:39 (星期一)
> 收件人: gulfstream 
> 抄送: 930...@bugs.debian.org
> 主题: Re: Bug#930563: Can not start freecad
> 
> Hello Gulfstream,
> are you by any chance running the proprietary nvidia drivers?
> 
> I guess the output of following commands could be
> helpful for the maintainer to diagnose this issue.
> Could you run them and forward the output to this bug?
> 
> 
> which freecad
> ldd /usr/bin/freecad
> dpkg -S /lib/x86_64-linux-gnu/libOpenGL.so.0
> dpkg -S /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
> ls -lisah /lib/x86_64-linux-gnu/libOpenGL.so* 
> /usr/lib/x86_64-linux-gnu/libOpenGL.so*
> dpkg -l | grep libopengl0
> dpkg -l | grep libglvnd
> 
> 
> Kind regards,
> Bernhard


Bug#930563: Can not start freecad

2019-06-16 Thread Bernhard Übelacker
Hello Gulfstream,
are you by any chance running the proprietary nvidia drivers?

I guess the output of following commands could be
helpful for the maintainer to diagnose this issue.
Could you run them and forward the output to this bug?


which freecad
ldd /usr/bin/freecad
dpkg -S /lib/x86_64-linux-gnu/libOpenGL.so.0
dpkg -S /usr/lib/x86_64-linux-gnu/libOpenGL.so.0
ls -lisah /lib/x86_64-linux-gnu/libOpenGL.so* 
/usr/lib/x86_64-linux-gnu/libOpenGL.so*
dpkg -l | grep libopengl0
dpkg -l | grep libglvnd


Kind regards,
Bernhard



Bug#930563: Can not start freecad

2019-06-15 Thread gulfstream
Package: freecad
Version: 0.18~pre1+dfsg1-5
Severity: grave


I try to start the FreeCAD after I install, but it is not be started, and I get 
the message "freecad: symbol lookup error: 
/lib/x86_64-linux-gnu/libOpenGL.so.0: undefined symbol: _glapi_tls_Current".

My computer is Thinkpad P1.



Best regards,
Gulfstream



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

Kernel: Linux 4.19.0-5-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), 
LANGUAGE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages freecad depends on:
ii  freecad-python2  0.18~pre1+dfsg1-5

Versions of packages freecad recommends:
ii  calculix-ccx  2.11-1+b3
ii  graphviz  2.40.1-6

Versions of packages freecad suggests:
pn  freecad-doc 
pn  povray  
pn  python-collada  

-- no debconf information