You are not logged in.

#41 2016-12-25 20:12:55

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: [SOLVED] System crashes during tasks especially while opening browsers

Hmmm, that looks a bit b0rked big_smile

Try:

sudo apt install xserver-xorg-video-nvidia-legacy-304xx xserver-xorg-video-nvidia-

If that doesn't work, see what this attempts to do:

aptitude -s purge xserver-xorg-video-nvidia

I did suggest that you try this command earlier and this time I want you to check *all* of the options that are offered, *do not* just accept the first solution.

Other things that can be tried:

apt-get remove --force-yes -s xserver-xorg-video-nvidia

Or, at the lowest level:

sudo dpkg -r xserver-xorg-video-nvidia

However, that final command should only be used as a last resort and probably indicates more fundamental problems.

Offline

#42 2016-12-26 03:26:13

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] System crashes during tasks especially while opening browsers

Head_on_a_Stick wrote:

I did suggest that you try this command earlier and this time I want you to check *all* of the options that are offered, *do not* just accept the first solution.

I did try the command that you had asked me to try. In fact, you had replied to that post too. big_smile

Here're the output,
sudo dpkg -r xserver-xorg-video-nvidia

root@linux:~# sudo dpkg -r xserver-xorg-video-nvidia
dpkg: dependency problems prevent removal of xserver-xorg-video-nvidia:
 nvidia-driver depends on xserver-xorg-video-nvidia (= 340.96-1).

dpkg: error processing package xserver-xorg-video-nvidia (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 xserver-xorg-video-nvidia
root@linux:~# 

aptitude -s purge xserver-xorg-video-nvidia

root@linux:~# aptitude -s purge xserver-xorg-video-nvidia
The following packages will be REMOVED:  
  xserver-xorg-video-nvidia{p} 
The following partially installed packages will be configured:
  nvidia-driver{b} 
0 packages upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 22.4 MB will be freed.
The following packages have unmet dependencies:
 nvidia-driver : Depends: xserver-xorg-video-nvidia (= 340.96-1) but it is not going to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:                                               
1)     nvidia-driver                                                              

     Leave the following dependencies unresolved:                                 
2)     nvidia-driver-bin recommends nvidia-driver                                 
3)     nvidia-kernel-dkms recommends nvidia-driver (>= 340.96) | libcuda1 (>= 340.


Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  nvidia-driver{a} xserver-xorg-video-nvidia{p} 
0 packages upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
Need to get 0 B of archives. After unpacking 23.4 MB will be freed.
Do you want to continue? [Y/n/?] y
Would download/install/remove packages.
root@linux:~#

apt-get remove --force-yes -s xserver-xorg-video-nvidia

root@linux:~# apt-get remove --force-yes -s xserver-xorg-video-nvidia
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 nvidia-driver : Depends: xserver-xorg-video-nvidia (= 340.96-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@linux:~# 

sudo dpkg -r xserver-xorg-video-nvidia

root@linux:~# sudo dpkg -r xserver-xorg-video-nvidia
dpkg: dependency problems prevent removal of xserver-xorg-video-nvidia:
 nvidia-driver depends on xserver-xorg-video-nvidia (= 340.96-1).

dpkg: error processing package xserver-xorg-video-nvidia (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 xserver-xorg-video-nvidia
root@linux:~# 

Since all the output says nvidia driver depends on  xserver-xorg-video-nvidia, I listed all the packages,

root@linux:~# dpkg -l | grep nvidia
ii  glx-alternative-nvidia                 0.5.1                                amd64        allows the selection of NVIDIA as GLX provider
ii  libegl1-nvidia:amd64                   340.96-1                             amd64        NVIDIA binary EGL libraries
ii  libgl1-nvidia-glx:amd64                340.96-1                             amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx:i386                 340.96-1                             i386         NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx-i386                 340.96-1                             i386         NVIDIA binary OpenGL 32-bit libraries
ii  libgl1-nvidia-legacy-304xx-glx:amd64   304.131-1                            amd64        NVIDIA binary OpenGL libraries (304xx legacy version)
ii  libgl1-nvidia-legacy-304xx-glx:i386    304.131-1                            i386         NVIDIA binary OpenGL libraries (304xx legacy version)
ii  libgl1-nvidia-legacy-304xx-glx-i386    304.131-1                            i386         NVIDIA binary OpenGL 32-bit libraries (304xx legacy version)
ii  libgles1-nvidia:amd64                  340.96-1                             amd64        NVIDIA binary OpenGL|ES 1.x libraries
ii  libgles2-nvidia:amd64                  340.96-1                             amd64        NVIDIA binary OpenGL|ES 2.x libraries
ii  libnvidia-eglcore:amd64                340.96-1                             amd64        NVIDIA binary EGL core libraries
ii  libnvidia-ml1:amd64                    340.96-1                             amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                     340.96-1                             amd64        allows the selection of NVIDIA as GLX provider
iU  nvidia-driver                          340.96-1                             amd64        NVIDIA metapackage
ii  nvidia-driver-bin                      340.96-1                             amd64        NVIDIA driver support binaries
ii  nvidia-installer-cleanup               20141201+1                           amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                   20141201+1                           amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                     340.96-1                             amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-legacy-304xx-alternative        304.131-1                            amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-legacy-304xx-driver             304.131-1                            amd64        NVIDIA metapackage (304xx legacy version)
ii  nvidia-legacy-304xx-kernel-dkms        304.131-1                            amd64        NVIDIA binary kernel module DKMS source (304xx legacy version)
ii  nvidia-modprobe                        340.46-1                             amd64        utility to load NVIDIA kernel modules and create device nodes
ii  nvidia-settings                        340.46-2                             amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-settings-legacy-304xx           304.123-2                            amd64        tool for configuring the NVIDIA graphics driver (304xx legacy version)
ii  nvidia-support                         20141201+1                           amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64              340.96-1                             amd64        Video Decode and Presentation API for Unix - NVIDIA driver
ii  nvidia-xconfig                         340.46-1                             amd64        X configuration tool for non-free NVIDIA drivers
rH  xserver-xorg-video-nvidia              340.96-1                             amd64        NVIDIA binary Xorg driver
ii  xserver-xorg-video-nvidia-legacy-304xx 304.131-1                            amd64        NVIDIA binary Xorg driver (304xx legacy version)

It looks like more 340.xx drivers are installed now compared to the list when I fixed it.

I think I better reinstall BL.

Last edited by linux_user (2016-12-26 03:33:28)


"Blind faith to authority is the greatest enemy of truth."

Offline

#43 2016-12-26 11:09:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: [SOLVED] System crashes during tasks especially while opening browsers

Head_on_a_Stick wrote:

I did suggest that you try this command earlier and this time I want you to check *all* of the options that are offered, *do not* just accept the first solution.

I did try the command that you had asked me to try. In fact, you had replied to that post too. big_smile

Yes, but you didn't do what I asked then and you haven't done what I asked this time either big_smile

Here is my suggestion again, I have added some emphasis:

I wrote:

I did suggest that you try this command earlier and this time I want you to check *all* of the options that are offered, *do not* just accept the first solution.

Once again, you have simply pressed "y" at the first suggestion -- please try the command again and this time press "n" instead and keep pressing "n" until `aptitude` says:

There are no more solutions!

Then go back and pick the best option, if any.

At any rate, this is all rather irrelevant as I had posted without checking the Debian wiki first  :8

I think you should look at this section:

https://wiki.debian.org/NvidiaGraphicsD … cy_GPUs.29

Offline

#44 2016-12-26 11:35:34

linux_user
50/50 it's a spam account
Registered: 2016-11-04
Posts: 484

Re: [SOLVED] System crashes during tasks especially while opening browsers

Head_on_a_Stick wrote:

Yes, but you didn't do what I asked then and you haven't done what I asked this time either big_smile

Here is my suggestion again, I have added some emphasis:

I wrote:

I did suggest that you try this command earlier and this time I want you to check *all* of the options that are offered, *do not* just accept the first solution.

Once again, you have simply pressed "y" at the first suggestion -- please try the command again and this time press "n" instead and keep pressing "n" until `aptitude` says:

There are no more solutions!

Then go back and pick the best option, if any.

Oops, misunderstanding.... I thought you had asked me to try all the answers posted by members instead of just one (and I was also confused as I did read and consider every of them)... I didn't realize that you were asking me to try all the options provided by terminal.... big_smile

Nevertheless, I had already reinstalled BL, and installed the 304xx drivers.

Surprisingly, before installing the 304xx drivers I checked for any nvidia drivers using

dkpg -l | grep nvidia

However there was none.

Now that 340xx drivers weren't installed by default, I am still wondering how did they got into my system earlier. smile

Anyway, I then installed  304xx drivers using

sudo apt-get install nvidia-legacy-304xx-driver

And that's all I have in my system right now

toor@linux:~$ sudo dpkg -l |grep nvidia
ii  glx-alternative-nvidia                 0.5.1                                amd64        allows the selection of NVIDIA as GLX provider
ii  libgl1-nvidia-legacy-304xx-glx:amd64   304.131-1                            amd64        NVIDIA binary OpenGL libraries (304xx legacy version)
ii  nvidia-installer-cleanup               20141201+1                           amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                   20141201+1                           amd64        NVIDIA binary kernel module support files
ii  nvidia-legacy-304xx-alternative        304.131-1                            amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-legacy-304xx-driver             304.131-1                            amd64        NVIDIA metapackage (304xx legacy version)
ii  nvidia-legacy-304xx-kernel-dkms        304.131-1                            amd64        NVIDIA binary kernel module DKMS source (304xx legacy version)
ii  nvidia-settings-legacy-304xx           304.123-2                            amd64        tool for configuring the NVIDIA graphics driver (304xx legacy version)
ii  nvidia-support                         20141201+1                           amd64        NVIDIA binary graphics driver support files
ii  xserver-xorg-video-nvidia-legacy-304xx 304.131-1                            amd64        NVIDIA binary Xorg driver (304xx legacy version)
toor@linux:~$ 

All seems pretty good so far. Installed libreoffice too.

Thank you all for your help!


"Blind faith to authority is the greatest enemy of truth."

Offline

Board footer

Powered by FluxBB