You are not logged in.

#26 2016-12-20 08:08:37

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 707

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

justin_mathew wrote:
iMBeCil wrote:

Try:

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

Perhaps you meant,

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

Quite, good catch. (Corrected in original post).

I think you have a bit of a mess with nvidia driver(s) you have tried to install. I think you have to purge your nvidia installs, and start again. If you don't know how to do it, I (and others) can try to help you ... As a first step, please post output of:

dpkg -l | grep nvidia

EDIT: Perhaps I should explain what I think has to be done, in more details:
1) remove all nvidia packages, especcially those with '340xx' dependences
2) install '304xx' driver version (and appropriate dependencies) only

Last edited by iMBeCil (2016-12-20 08:46:11)


Postpone all your duties; if you die, you won't have to do them ..

Online

#27 2016-12-20 12:54:39

linux_user
Member
Registered: 2016-11-04
Posts: 434

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

Head_on_a_Stick wrote:

^ weird hmm

Try:

sudo aptitude install nvidia-legacy-304xx-driver

The `aptitude` command is good for sorting through dependency issues, it should offer several options for you to choose from.

The following NEW packages will be installed:
  libgl1-nvidia-legacy-304xx-glx{a} libgl1-nvidia-legacy-304xx-glx:i386{a} 
  libgl1-nvidia-legacy-304xx-glx-i386:i386{a} libxv1:i386{a} libxvmc1:i386{a} 
  nvidia-legacy-304xx-alternative{a} nvidia-legacy-304xx-driver 
  nvidia-legacy-304xx-kernel-dkms{a} nvidia-settings-legacy-304xx{a} 
  xserver-xorg-video-nvidia-legacy-304xx{a} 
The following packages will be REMOVED:
  cups-client{u} flashplugin-nonfree{u} libminiupnpc10{u} libnatpmp1{u} 
  libwebpdemux1{u} transmission-common{u} 
The following partially installed packages will be configured:
  cpp-4.8 dkms fakeroot gcc gcc-4.8 gcc-4.9 glx-alternative-mesa 
  glx-alternative-nvidia glx-diversions libasan0 libasan1 libatomic1 
  libc-dev-bin libc6-dev libcilkrts5 libegl1-nvidia libfakeroot libgcc-4.8-dev 
  libgcc-4.9-dev libgl1-nvidia-glx-i386:i386{b} libgles1-nvidia 
  libgles2-nvidia libitm1 libjansson4 liblsan0 libnvidia-eglcore libnvidia-ml1 
  libtsan0 libubsan0 linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-amd64 
  linux-headers-3.16.0-4-common linux-headers-amd64 linux-kbuild-3.16 
  linux-libc-dev make manpages-dev nvidia-alternative nvidia-driver{b} 
  nvidia-driver-bin nvidia-kernel-common nvidia-kernel-dkms nvidia-modprobe 
  nvidia-settings nvidia-support nvidia-vdpau-driver patch pkg-config 
  xserver-xorg-video-nvidia{b} 
0 packages upgraded, 10 newly installed, 6 to remove and 0 not upgraded.
Need to get 20.6 MB of archives. After unpacking 109 MB will be used.
The following packages have unmet dependencies:
 nvidia-driver : Depends: libgl1-nvidia-glx (= 340.96-1) but it is not going to be installed.
 xserver-xorg-video-nvidia : Depends: libgl1-nvidia-glx (= 340.96-1) but it is not going to be installed.
 libgl1-nvidia-glx-i386:i386 : Depends: libgl1-nvidia-glx:i386 but it is not going to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:                                                
1)     libgl1-nvidia-glx-i386:i386                                                 
2)     nvidia-driver                                                               
3)     xserver-xorg-video-nvidia                                                   

     Leave the following dependencies unresolved:                                  
4)     nvidia-driver-bin recommends nvidia-driver                                  
5)     nvidia-kernel-dkms recommends nvidia-driver (>= 340.96) | libcuda1 (>= 340.9
6)     xserver-xorg-video-nvidia recommends nvidia-driver (>= 340.96)         

     


Accept this solution? [Y/n/q/?]

I choose YES. Here's the output.

The following NEW packages will be installed:
  libgl1-nvidia-legacy-304xx-glx{a} libgl1-nvidia-legacy-304xx-glx:i386{a} 
  libgl1-nvidia-legacy-304xx-glx-i386:i386{a} libxv1:i386{a} libxvmc1:i386{a} 
  nvidia-legacy-304xx-alternative{a} nvidia-legacy-304xx-driver 
  nvidia-legacy-304xx-kernel-dkms{a} nvidia-settings-legacy-304xx{a} 
  xserver-xorg-video-nvidia-legacy-304xx{a} 
The following packages will be REMOVED:
  cups-client{u} flashplugin-nonfree{u} libgl1-nvidia-glx-i386:i386{a} 
  libminiupnpc10{u} libnatpmp1{u} libwebpdemux1{u} nvidia-driver{a} 
  transmission-common{u} xserver-xorg-video-nvidia{a} 
The following partially installed packages will be configured:
  cpp-4.8 dkms fakeroot gcc gcc-4.8 gcc-4.9 glx-alternative-mesa 
  glx-alternative-nvidia glx-diversions libasan0 libasan1 libatomic1 
  libc-dev-bin libc6-dev libcilkrts5 libegl1-nvidia libfakeroot libgcc-4.8-dev 
  libgcc-4.9-dev libgles1-nvidia libgles2-nvidia libitm1 libjansson4 liblsan0 
  libnvidia-eglcore libnvidia-ml1 libtsan0 libubsan0 
  linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-amd64 
  linux-headers-3.16.0-4-common linux-headers-amd64 linux-kbuild-3.16 
  linux-libc-dev make manpages-dev nvidia-alternative nvidia-driver-bin 
  nvidia-kernel-common nvidia-kernel-dkms nvidia-modprobe nvidia-settings 
  nvidia-support nvidia-vdpau-driver patch pkg-config 
0 packages upgraded, 10 newly installed, 9 to remove and 0 not upgraded.
Need to get 20.6 MB of archives. After unpacking 85.1 MB will be used.
Do you want to continue? [Y/n/?] 

I continued with Y.

Then it informed me that there is a conflict with Nouveau Driver installed, and can be sorted after reboot... I continued... Then I got this message with OK button.

Manual configuration required to enable NVIDIA driver 
The NVIDIA driver is not yet configured; it needs to be enabled in xorg.conf before it can be used. Please see the package documentation for instructions.

I continued hitting the OK button. These are the final lines in terminal.

DKMS: install completed.
Setting up nvidia-settings-legacy-304xx (304.123-2) ...
Setting up libgl1-nvidia-legacy-304xx-glx:amd64 (304.131-1) ...
Setting up libgl1-nvidia-legacy-304xx-glx:i386 (304.131-1) ...
Setting up xserver-xorg-video-nvidia-legacy-304xx (304.131-1) ...
Setting up nvidia-legacy-304xx-driver (304.131-1) ...
Setting up libgl1-nvidia-legacy-304xx-glx-i386 (304.131-1) ...
Processing triggers for nvidia-alternative (340.96-1) ...
update-alternatives: using /usr/lib/nvidia/current to provide /usr/lib/nvidia/nvidia (nvidia) in auto mode
Processing triggers for glx-alternative-nvidia (0.5.1) ...
update-alternatives: using /usr/lib/mesa-diverted to provide /usr/lib/glx (glx) in auto mode
update-initramfs: deferring update (trigger activated)
Setting up libgles1-nvidia:amd64 (340.96-1) ...
Setting up libgles2-nvidia:amd64 (340.96-1) ...
Setting up libnvidia-ml1:amd64 (340.96-1) ...
Setting up nvidia-kernel-dkms (340.96-1) ...
Loading new nvidia-current-340.96 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-4-amd64
Building initial module for 3.16.0-4-amd64
Done.

nvidia-current:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-4-amd64/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-4-amd64/updates/dkms/

depmod....

DKMS: install completed.
Setting up nvidia-vdpau-driver:amd64 (340.96-1) ...
Setting up nvidia-driver-bin (340.96-1) ...
Setting up nvidia-settings (340.46-2) ...
Setting up libegl1-nvidia:amd64 (340.96-1) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Processing triggers for initramfs-tools (0.120+deb8u2) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
Processing triggers for systemd (215-17+deb8u5) ...
W: Operation was interrupted before it could finish
                                         
Current status: 0 broken [-3].

Is it installed properly? If yes, how can I modify the xorg.conf file?


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

Offline

#28 2016-12-20 12:59:45

linux_user
Member
Registered: 2016-11-04
Posts: 434

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

I think you have a bit of a mess with nvidia driver(s) you have tried to install. I think you have to purge your nvidia installs, and start again. If you don't know how to do it, I (and others) can try to help you ... As a first step, please post output of:

dpkg -l | grep nvidia

Here's the output. Please note I ran the command after running sudo aptitude install nvidia-legacy-304xx-driver command (see above reply).

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-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
ii  nvidia-detect                          340.96-1                             amd64        NVIDIA GPU detection utility
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
rc  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)

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

Offline

#29 2016-12-20 13:38:08

damo
....moderator....
Registered: 2015-08-20
Posts: 5,563

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

I think you should be installing the nvidia driver while the X server isn't running. This allows for the xorg.conf to be set up, and the nouveau driver to be blacklisted before restarting the graphical interface.


Here is my method for installing nvidia:

NvidiaGraphicsDrivers
---------------------
https://wiki.debian.org/NvidiaGraphicsDrivers

1)  Go to TTY1 (ctrl-alt-F1), then login as root: "sudo su -"

2)  Stop the X server with "systemctl stop lightdm.service"

3)  "apt-get install nvidia-settings nvidia-xconfig nvidia-driver"

    This will also build the kernel nvidia module

4)  Create xorg server config file [ important to do this before restarting X!!] by running

    "nvidia-xconfig"    [ error messages can usually be ignored ]

5)  Reboot, to blacklist nouveau

6)  set up monitors with "nvidia-settings" (although arandr should work)


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#30 2016-12-20 14:27:28

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 707

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

justin_mathew wrote:
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-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
ii  nvidia-detect                          340.96-1                             amd64        NVIDIA GPU detection utility
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
rc  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)

Thanks for the output. From this, I can say that all the packages with version '340xx' have to be removed. At this point, perhaps, it would be the most easy way to resolve this by way of installing 'smxi'. This is very powerful script which can automatically sort out such type of problems. And it runs from separate console terminal, not from GUI (as damo pointed out, see his post above). To use smxi, follow following steps:
1) Go to TTY1 (ctrl-alt-F1), then login as root: "sudo su -" (as damo suggested)
2) execute

# as root, run the following command
cd /usr/local/bin && wget -Nc smxi.org/smxi.zip && unzip smxi.zip && smxi

3) now, smxi script will lead you throughout the process (there is lot's of output, but important part for you is the step where graphics driver is installed (menu 7) if I recall corectly).

----------

OTOH, instead of going this 'smxi' route, you can instead of 2) and 3), do following:
2) Stop the X server with "systemctl stop lightdm.service" (again, per damo's instructions)
3) try to remove everything '340xx'-versioned:

apt-get --purge remove {packages with version no. 340xx}

4) Install nvidia-legacy-304xx-driver package:

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

There is possibility that those steps won't work without restart in between ... no worries, just press Ctrl-Alt-F1 after you restart your computer, and there is black screen.

----------

And, finally, the easiest option would be to reinstall BL, and then afterwards simply run:

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

This will ensure that no incompatible '340xx' packages will be installed. Personally, I would go this way, because, right now, your system seems polluted with '340xx' version ... and this version of drivers and friends doesn't support your graphics card. (NB: you did notice that '340xx' and '304xx' are very similar words ... be careful which one we are talking about.)
----------

I am by no means the authority to be trusted blindly on this, perhaps an advice from damo and HoaS and other would be valuable, too ...


Postpone all your duties; if you die, you won't have to do them ..

Online

#31 2016-12-20 15:08:25

damo
....moderator....
Registered: 2015-08-20
Posts: 5,563

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

^ Just to point out that if you use smxi to manage drivers etc, then the graphics driver kernel module will need to be rebuilt after any kernel upgrade - it doesn't happen automatically.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#32 2016-12-20 21:45:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

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

justin_mathew wrote:

Is it installed properly?

Yes.

how can I modify the xorg.conf file?

You can either use `nvidia-xconfig` or create the file yourself.

I recommend the second method as the configuration file generated by the `nvidia-xconfig` package is stupidly over-complicated.

sudo mkdir -p /etc/X11/xorg.conf.d
sudo tee /etc/X11/xorg.conf.d/20-nvidia.conf <<!
Section "Device"
        Identifier "My GPU"
        Driver "nvidia"
EndSection
!

I would strongly recommend against using sxmi -- IMO, the configuration should be transparent to the end-user and the (ridiculously long) sxmi scripts prevent this.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#33 2016-12-22 16:31:10

linux_user
Member
Registered: 2016-11-04
Posts: 434

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

iMBeCil wrote:

1) remove all nvidia packages, especcially those with '340xx' dependences
2) install '304xx' driver version (and appropriate dependencies) only

How do I remove all the nVIDIA driver present in my system, not limited to only 304xx version?

I would like to then install 304xx version using the following command

sudo aptitude install nvidia-legacy-304xx-driver

Btw, do I just create a .conf file with the following lines and palce it in /usr/share/X11/xorg.conf.d folder?

Head_on_a_Stick wrote:
sudo mkdir -p /etc/X11/xorg.conf.d
sudo tee /etc/X11/xorg.conf.d/20-nvidia.conf <<!
Section "Device"
        Identifier "My GPU"
        Driver "nvidia"
EndSection
!

Last edited by linux_user (2016-12-22 16:35:50)


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

Offline

#34 2016-12-22 22:23:11

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

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

justin_mathew wrote:

How do I remove all the nVIDIA driver present in my system, not limited to only 304xx version?

Probably best to use `aptitude -u` or synaptic to remove the unwanted packages manually.

Btw, do I just create a .conf file with the following lines and palce it in /usr/share/X11/xorg.conf.d folder?

No, those commands will create the folder and the configuration file as well -- the actual file content is between the exclamation marks wink

http://mywiki.wooledge.org/HereDocument


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#35 2016-12-24 04:39:00

linux_user
Member
Registered: 2016-11-04
Posts: 434

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

Head_on_a_Stick wrote:
justin_mathew wrote:

How do I remove all the nVIDIA driver present in my system, not limited to only 304xx version?

Probably best to use `aptitude -u` or synaptic to remove the unwanted packages manually.

I used apt-get --purge remove <package_name> to uninstall all the 340xx drivers. Worked pretty well.

Here's the output for

dpkg -l | grep nvidia
root@linux:~# 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  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  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)

Seems all 340xx drivers are gone....

justin_mathew wrote:

Btw, do I just create a .conf file with the following lines and palce it in /usr/share/X11/xorg.conf.d folder?

No, those commands will create the folder and the configuration file as well -- the actual file content is between the exclamation marks wink

http://mywiki.wooledge.org/HereDocument

Here's the output,

root@linux:~# sudo mkdir -p /etc/X11/xorg.conf.d
root@linux:~# sudo tee /etc/X11/xorg.conf.d/20-nvidia.conf <<!
> Section "Device"
>         Identifier "My GPU"
>         Driver "nvidia"
> EndSection
> !
Section "Device"
        Identifier "My GPU"
        Driver "nvidia"
EndSection
root@linux:~# 

Seems pretty done, isn't it?

Last edited by linux_user (2016-12-24 05:05:50)


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

Offline

#36 2016-12-24 04:40:28

linux_user
Member
Registered: 2016-11-04
Posts: 434

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

On reboot, I face a problem.

It boots to the tty1 mode.... I can log in there, however it is the CUI.
---------

After few hours, since I was getting the tty1 screen,I thought of using damo's method...

NvidiaGraphicsDrivers
---------------------
https://wiki.debian.org/NvidiaGraphicsDrivers

1)  Go to TTY1 (ctrl-alt-F1), then login as root: "sudo su -"

2)  Stop the X server with "systemctl stop lightdm.service"

3)  "apt-get install nvidia-settings nvidia-xconfig nvidia-driver"

    This will also build the kernel nvidia module

4)  Create xorg server config file [ important to do this before restarting X!!] by running

    "nvidia-xconfig"    [ error messages can usually be ignored ]

5)  Reboot, to blacklist nouveau

6)  set up monitors with "nvidia-settings" (although arandr should work)

In step 3, I did get the conflict error about the conflict with nouveau. I continued.

In step 4, I did get an error saying it cannot be found. Ignored as advised.

After restarting, I however had nothing but a blank screen with blinking cursor.. no keyboard input recognized.

Nevertheless, I thought of using the second method of iMBeCil.

I hard booted the system, choose BL recovery mode from grub2, and searched for the drivers using

dpkg -l | grep nvidia

I did find some 340xx drivers.. I guess step 2 actually installs them.

I tried removing them, some I could, but not these-
1. nvidia-xconfig                         340.46-1                             amd64        X configuration tool for non-free NVIDIA drivers
2. rH  xserver-xorg-video-nvidia              340.96-1                             amd64        NVIDIA binary Xorg driver

Then I installed 304xx drivers

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

and rebooted after installation.

This time, I was able to see the GUI with box for user name and password. I logged in as usual, and checked the packages I have,

toor@linux:~$ 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  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  libnvidia-eglcore:amd64                340.96-1                             amd64        NVIDIA binary EGL core libraries
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  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)

There are still some 340xx I can see, not sure if I should remove them. But compared to the https://forums.bunsenlabs.org/viewtopic.php?pid=42100#p42100, it's a lot less...

Started firefox once, didn't crash the system.... Will update as after some regular use.

Last edited by linux_user (2016-12-24 10:17:39)


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

Offline

#37 2016-12-24 12:43:49

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 707

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

^I hope your system will work now.

But, looking into time you have spent in making it work, I wonder if it would be much simpler for you to just reinstall BL (and manually install 403xx drivers)? OTOH, I'm sure that learning-wise it was really worth it. For me it was, I definitely learned some new stuff.


Postpone all your duties; if you die, you won't have to do them ..

Online

#38 2016-12-25 05:29:35

linux_user
Member
Registered: 2016-11-04
Posts: 434

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

iMBeCil wrote:

^I hope your system will work now.

But, looking into time you have spent in making it work, I wonder if it would be much simpler for you to just reinstall BL (and manually install 403xx drivers)? OTOH, I'm sure that learning-wise it was really worth it. For me it was, I definitely learned some new stuff.

A couple of days, quite a few boots and everything seems so fine.... Feels like a system I can rely...

I am not sure how the wrong drivers were installed or rather, why the right drivers weren't installed in the first place. Perhaps it is beacause, I didn't choose any mirror during the installation (since my internet was down), therefore didn't have the Jessie repositories. Only later after boot up, I modified the sources.list file as per this and ran apt update && apt upgrade.

Concerning reinstalling BL instead of fixing it, first up all, it took some time to realize that it crashes not only while opening firefox or other browsers, but also during other tasks. So moving from a browser problem to a system problem happened later.

Secondly, you would not want to fix it rather reinstall everthing because most settings and tasks (like torrents) are already set. You don't want to redo the whole thing unless there is no other way.

Lastly and most importantly, it's fun fixing a broken system, learns a lot about BL and improves your own investigation and general work around skills.

Thanks to all who participated...

Last edited by linux_user (2016-12-25 05:40:47)


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

Offline

#39 2016-12-25 15:34:56

damo
....moderator....
Registered: 2015-08-20
Posts: 5,563

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

justin_mathew wrote:

.....
I am not sure how the wrong drivers were installed or rather, why the right drivers weren't installed in the first place. Perhaps it is beacause, I didn't choose any mirror during the installation (since my internet was down), therefore didn't have the Jessie repositories....

That would do it! wink


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#40 2016-12-25 18:08:07

linux_user
Member
Registered: 2016-11-04
Posts: 434

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

While installing many other aps using terminal, I am told that xserver-xorg-video-nvidia needs to be removed. While proceeding it hits an error. In this eg, I am installing libreoffice,

toor@linux:~$ sudo apt install libreoffice
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libnvidia-eglcore
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  ca-certificates-java coinor-libcbc3 coinor-libcgl1 coinor-libclp1
  coinor-libcoinmp1 coinor-libcoinutils3 coinor-libosi1 default-jre
  default-jre-headless firebird2.5-common firebird2.5-common-doc
  firebird2.5-server-common fonts-sil-gentium fonts-sil-gentium-basic
  gnome-mime-data java-common libatk-wrapper-java libatk-wrapper-java-jni
  libbonobo2-0 libbonobo2-common libcdr-0.1-1 libcolamd2.8.0 libetonyek-0.1-1
  libfbclient2 libfbembed2.5 libfreehand-0.1-1 libgconf2-4 libgnome-2-0
  libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0 libgnomevfs2-common
  libgnomevfs2-extra libhsqldb1.8.0-java libmspub-0.1-1 liborbit-2-0
  liborcus-0.8-0 libpaper-utils libpython3.4
  libreoffice-avmedia-backend-gstreamer libreoffice-base
  libreoffice-base-drivers libreoffice-calc libreoffice-draw libreoffice-impress
  libreoffice-java-common libreoffice-math libreoffice-report-builder-bin
  libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libsctp1 libservlet2.5-java
  libvisio-0.1-1 lksctp-tools lp-solve openjdk-7-jre openjdk-7-jre-headless
  python3-uno tzdata-java
Suggested packages:
  equivs libbonobo2-bin desktop-base libgnomevfs2-bin java-virtual-machine
  libhsqldb1.8.0-java-gcj cups-bsd hunspell-dictionary
  hyphen-hyphenation-patterns imagemagick graphicsmagick-imagemagick-compat
  libreoffice-gnome libreoffice-kde libreoffice-grammarcheck
  libreoffice-help-4.3 libreoffice-l10n-4.3 libsane myspell-dictionary
  mythes-thesaurus openclipart-libreoffice pstoedit unixodbc gstreamer1.0-ffmpeg
  libreoffice-officebean libreoffice-gcj libreoffice-report-builder libjtds-java
  libreoffice-mysql-connector libmyodbc libmysql-java
  libreoffice-sdbc-postgresql odbc-postgresql libpg-java libsqliteodbc tdsodbc
  mdbtools ocl-icd-libopencl1 bluez icedtea-7-plugin icedtea-7-jre-jamvm
  libnss-mdns sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho
  ttf-wqy-microhei ttf-wqy-zenhei fonts-indic
The following packages will be REMOVED:
  xserver-xorg-video-nvidia
The following NEW packages will be installed:
  ca-certificates-java coinor-libcbc3 coinor-libcgl1 coinor-libclp1
  coinor-libcoinmp1 coinor-libcoinutils3 coinor-libosi1 default-jre
  default-jre-headless firebird2.5-common firebird2.5-common-doc
  firebird2.5-server-common fonts-sil-gentium fonts-sil-gentium-basic
  gnome-mime-data java-common libatk-wrapper-java libatk-wrapper-java-jni
  libbonobo2-0 libbonobo2-common libcdr-0.1-1 libcolamd2.8.0 libetonyek-0.1-1
  libfbclient2 libfbembed2.5 libfreehand-0.1-1 libgconf2-4 libgnome-2-0
  libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0 libgnomevfs2-common
  libgnomevfs2-extra libhsqldb1.8.0-java libmspub-0.1-1 liborbit-2-0
  liborcus-0.8-0 libpaper-utils libpython3.4 libreoffice
  libreoffice-avmedia-backend-gstreamer libreoffice-base
  libreoffice-base-drivers libreoffice-calc libreoffice-draw libreoffice-impress
  libreoffice-java-common libreoffice-math libreoffice-report-builder-bin
  libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libsctp1 libservlet2.5-java
  libvisio-0.1-1 lksctp-tools lp-solve openjdk-7-jre openjdk-7-jre-headless
  python3-uno tzdata-java
0 upgraded, 61 newly installed, 1 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/72.6 MB of archives.
After this operation, 153 MB of additional disk space will be used.
Do you want to continue? [Y/n]  y
Extracting templates from packages: 100%
(Reading database ... 110815 files and directories currently installed.)
Removing xserver-xorg-video-nvidia (340.96-1) ...
dpkg: error processing package xserver-xorg-video-nvidia (--remove):
 subprocess installed post-removal script returned error exit status 20
Errors were encountered while processing:
 xserver-xorg-video-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)toor@linux:~$ sudo apt install libreoffice
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libnvidia-eglcore
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  ca-certificates-java coinor-libcbc3 coinor-libcgl1 coinor-libclp1
  coinor-libcoinmp1 coinor-libcoinutils3 coinor-libosi1 default-jre
  default-jre-headless firebird2.5-common firebird2.5-common-doc
  firebird2.5-server-common fonts-sil-gentium fonts-sil-gentium-basic
  gnome-mime-data java-common libatk-wrapper-java libatk-wrapper-java-jni
  libbonobo2-0 libbonobo2-common libcdr-0.1-1 libcolamd2.8.0 libetonyek-0.1-1
  libfbclient2 libfbembed2.5 libfreehand-0.1-1 libgconf2-4 libgnome-2-0
  libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0 libgnomevfs2-common
  libgnomevfs2-extra libhsqldb1.8.0-java libmspub-0.1-1 liborbit-2-0
  liborcus-0.8-0 libpaper-utils libpython3.4
  libreoffice-avmedia-backend-gstreamer libreoffice-base
  libreoffice-base-drivers libreoffice-calc libreoffice-draw libreoffice-impress
  libreoffice-java-common libreoffice-math libreoffice-report-builder-bin
  libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libsctp1 libservlet2.5-java
  libvisio-0.1-1 lksctp-tools lp-solve openjdk-7-jre openjdk-7-jre-headless
  python3-uno tzdata-java
Suggested packages:
  equivs libbonobo2-bin desktop-base libgnomevfs2-bin java-virtual-machine
  libhsqldb1.8.0-java-gcj cups-bsd hunspell-dictionary
  hyphen-hyphenation-patterns imagemagick graphicsmagick-imagemagick-compat
  libreoffice-gnome libreoffice-kde libreoffice-grammarcheck
  libreoffice-help-4.3 libreoffice-l10n-4.3 libsane myspell-dictionary
  mythes-thesaurus openclipart-libreoffice pstoedit unixodbc gstreamer1.0-ffmpeg
  libreoffice-officebean libreoffice-gcj libreoffice-report-builder libjtds-java
  libreoffice-mysql-connector libmyodbc libmysql-java
  libreoffice-sdbc-postgresql odbc-postgresql libpg-java libsqliteodbc tdsodbc
  mdbtools ocl-icd-libopencl1 bluez icedtea-7-plugin icedtea-7-jre-jamvm
  libnss-mdns sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho
  ttf-wqy-microhei ttf-wqy-zenhei fonts-indic
The following packages will be REMOVED:
  xserver-xorg-video-nvidia
The following NEW packages will be installed:
  ca-certificates-java coinor-libcbc3 coinor-libcgl1 coinor-libclp1
  coinor-libcoinmp1 coinor-libcoinutils3 coinor-libosi1 default-jre
  default-jre-headless firebird2.5-common firebird2.5-common-doc
  firebird2.5-server-common fonts-sil-gentium fonts-sil-gentium-basic
  gnome-mime-data java-common libatk-wrapper-java libatk-wrapper-java-jni
  libbonobo2-0 libbonobo2-common libcdr-0.1-1 libcolamd2.8.0 libetonyek-0.1-1
  libfbclient2 libfbembed2.5 libfreehand-0.1-1 libgconf2-4 libgnome-2-0
  libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0 libgnomevfs2-common
  libgnomevfs2-extra libhsqldb1.8.0-java libmspub-0.1-1 liborbit-2-0
  liborcus-0.8-0 libpaper-utils libpython3.4 libreoffice
  libreoffice-avmedia-backend-gstreamer libreoffice-base
  libreoffice-base-drivers libreoffice-calc libreoffice-draw libreoffice-impress
  libreoffice-java-common libreoffice-math libreoffice-report-builder-bin
  libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libsctp1 libservlet2.5-java
  libvisio-0.1-1 lksctp-tools lp-solve openjdk-7-jre openjdk-7-jre-headless
  python3-uno tzdata-java
0 upgraded, 61 newly installed, 1 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/72.6 MB of archives.
After this operation, 153 MB of additional disk space will be used.
Do you want to continue? [Y/n]  y
Extracting templates from packages: 100%
(Reading database ... 110815 files and directories currently installed.)
Removing xserver-xorg-video-nvidia (340.96-1) ...
dpkg: error processing package xserver-xorg-video-nvidia (--remove):
 subprocess installed post-removal script returned error exit status 20
Errors were encountered while processing:
 xserver-xorg-video-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)
toor@linux:~$ 

I can't individually remove it too..

toor@linux:~$ sudo apt-get --purge remove xserver-xorg-video-nvidia
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libnvidia-eglcore
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  xserver-xorg-video-nvidia
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 22.4 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 110815 files and directories currently installed.)
Removing xserver-xorg-video-nvidia (340.96-1) ...
dpkg: error processing package xserver-xorg-video-nvidia (--remove):
 subprocess installed post-removal script returned error exit status 20
Errors were encountered while processing:
 xserver-xorg-video-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)
toor@linux:~$ 

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

Offline

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

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
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.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

linux_user
Member
Registered: 2016-11-04
Posts: 434

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: 8,759
Website

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

justin_mathew wrote:
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  ops

I think you should look at this section:

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


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

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

linux_user
Member
Registered: 2016-11-04
Posts: 434

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