Ubuntu

Skype crash with proprietary nvidia drivers

Reported by Mattia Impellizzeri on 2013-02-27
300
This bug affects 69 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-310 (Ubuntu)
Undecided
Unassigned

Bug Description

Ubuntu version: 13.04
nvidia driver version: 310.32-0ubuntu1(but also crashes with previous versions)

If i launch skype from shell i receive:
Errore di segmentazione (core dump creato)

i try to delete the folder .skype in my home and to remove it with purge. I try the version on the repo end the version on the website of skype. anythink works.

if i use the open driver for nvidia skype works correctly, but the screen resolution its bad...

thanks

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: nvidia-310 310.32-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-7.15-generic 3.8.0
Uname: Linux 3.8.0-7-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Wed Feb 27 08:14:35 2013
InstallationDate: Installed on 2011-05-20 (648 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
MarkForUpload: True
SourcePackage: nvidia-graphics-drivers-310
UpgradeStatus: Upgraded to raring on 2013-02-24 (2 days ago)
modified.conffile..etc.modprobe.d.nvidia.310.hybrid.conf: [deleted]

William (bthomas-akld) wrote :

Same problem here. Also appport-gtk crashes immediately after the skype crash

Download full text (3.4 KiB)

i try to purge all nvidia pakage and then reinstal it:

root@ImpellizzeriLaptop:~# aptitude install nvidia-current
I seguenti pacchetti NUOVI (NEW) saranno installati:
  nvidia-304{a} nvidia-current nvidia-settings-304{a}
0 pacchetti aggiornati, 3 installati, 0 da rimuovere e 42 non aggiornati.
È necessario prelevare 1822 kB/69,6 MB di archivi. Dopo l'estrazione, verranno occupati 208 MB.
Continuare? [Y/n/?]
Get: 1 http://archive.ubuntu.com/ubuntu/ raring/main nvidia-settings-304 amd64 304.64-0ubuntu1 [1822 kB]
Scaricato 1822 kB in 16s (107 kB/s)
Selezionato il pacchetto nvidia-304 non precedentemente selezionato.
(Lettura del database... 392732 file e directory attualmente installati.)
Estrazione di nvidia-304 (da .../nvidia-304_304.64-0ubuntu5_amd64.deb)...
Selezionato il pacchetto nvidia-current non precedentemente selezionato.
Estrazione di nvidia-current (da .../nvidia-current_304.64-0ubuntu5_amd64.deb)...
Selezionato il pacchetto nvidia-settings-304 non precedentemente selezionato.
Estrazione di nvidia-settings-304 (da .../nvidia-settings-304_304.64-0ubuntu1_amd64.deb)...
Elaborazione dei trigger per bamfdaemon...
Rebuilding /usr/share/applications/bamf.index...
Elaborazione dei trigger per desktop-file-utils...
Elaborazione dei trigger per gnome-menus...
Elaborazione dei trigger per man-db...
Configurazione di nvidia-304 (304.64-0ubuntu5)...
update-alternatives: viene usato /usr/lib/nvidia-304/ld.so.conf per fornire /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in modalità automatica
update-alternatives: viene usato /usr/lib/nvidia-304/alt_ld.so.conf per fornire /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in modalità automatica
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-304
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Loading new nvidia-304-304.64 DKMS files...
First Installation: checking all kernels...
Building only for 3.8.0-9-generic
Building for architecture x86_64
Building initial module for 3.8.0-9-generic
Done.

nvidia_304:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.8.0-9-generic/updates/dkms/

depmod.........

DKMS: install completed.
Configurazione di nvidia-settings-304 (304.64-0ubuntu1)...
update-alternatives: attenzione: l'alternativa /usr/lib/nvidia-settings/ld.so.conf (parte del gruppo nvidia_settings_conf) non esiste; viene rimossa dall'elenco delle alternative
update-alternatives: attenzione: /etc/alternatives/nvidia_settings_conf è in attesa, verrà aggiornato tramite una scelta ottimale
update-alternatives: viene usato /usr/lib/nvidia-settings-304/ld.so.conf per fornire /etc/ld.so.conf.d/nvidia_settings.conf (nvidia_settings_conf) in modalità automatica
Elaborazione dei trigger per bamfdaemon...
Rebuilding /usr/share/applications/bamf.index...
Configurazione di nvidia-current (304.64-0ubuntu5)......

Read more...

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-310 (Ubuntu):
status: New → Confirmed
Dmitry Pankratov (dremon) wrote :

I have the same problem - as a workaround make the run-skype.sh script with the following content:

#!/bin/sh
export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1
exec skype

David Burrows (snadge) wrote :

I have the same problem, using Ubuntu 13.04 except with fglrx, not nvidia. Dmitry's script above allows skype to start for me, without crashing. I still have an unrelated audio corruption issue with skype and intel audio, where I have to change pulseaudio /etc/pulse/default.pa .. "load-module module-udev-detect use_ucm=0" to "load-module module-udev-detect tsched=0".

The solution proposed from Dmitry works! thank you!

If you want to resolve temporary for all user:

sudo -s
mv /usr/bin/skype /usr/bin/skype-bin
gedit /usr/bin/skype

then copy this:
#!/bin/sh
export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1
exec skype-bin

save and close and then:
chmod 0755 /usr/bin/skype

now skype works for all users!

Kai Mast (kai-mast) wrote :

Yeah, this fix works. Shouldn't be that difficult to update the package too?

Povilas Kanapickas (p12) wrote :

FIY the workaround at comment #5 also fixes the issue with nvidia-304=304.64-0ubuntu5 driver.

jeteir (jeteir) wrote :

Thanks for the fix, Dmitry!

This bug affects not only nvidia drivers, but fglrx too. Please update the description ;)

cacula (cacula) wrote :

thanks for fix #5 & #8 - skype works again :-)

Cormac (cormac-wilcox) wrote :

Thanks for the fix - I have added comments of what I believe you are doing with the fix for a better understanding for those of us who are not so smart, please correct me if I am wrong:

(move the current skype run script to a new file "skype-bin")
mv /usr/bin/skype /usr/bin/skype-bin

(make a new skype run script)
gedit /usr/bin/skype

(copy this so that skype will preload "libGL.so.1" before running the original run script, which is now "skype-bin")
#!/bin/sh
export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1
exec skype-bin

(update permissions to allow the user to run the script)
## save and close and then:
chmod 0755 /usr/bin/skype

(can anyone explain why libGL.so.1 is needed?)

Thanks
Cormac

deadmoto@gmail.com (deadmoto) wrote :

I do not sure I am completely right, but I think such trick with LD_PRELOAD allows you to define what libGL version should application use.

Here libGL's on my machine:
deadmoto@IdeaPad:~$ locate libGL
/usr/lib/i386-linux-gnu/libGLU.so.1
/usr/lib/i386-linux-gnu/libGLU.so.1.3.1
/usr/lib/i386-linux-gnu/mesa/libGL.so.1
/usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
/usr/lib/nvidia-310/libGL.so
/usr/lib/nvidia-310/libGL.so.1
/usr/lib/nvidia-310/libGL.so.310.44

PeeJay (pjmaljers) wrote :

Hi,

also have a Nvidia card in my laptop. Skype doesn't running. Don't know why im only a user.

redpirate (anasmib) wrote :

I faced the same error; skype did not start and when starting from the terminal got (core segmentation fault). I followed the instruction by Dimitry and was successful in running Skype. I too have a Nividia graphics card and the system is using proprietary nividia-304 driver.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers