You are not logged in.
Maybe the proprietary Nvidia driver could make a difference. You can see if it can be installed by installing the "nvidia-detect" package and running it in the terminal. It will tell you if your hardware's supported by any of the proprietary drivers in Debian's repository.
Offline
nvidia-detect gave the following output,
00:0d.0 VGA compatible controller [0300]: NVIDIA Corporation C61 [GeForce 6100 nForce 405] [10de:03d1] (rev a2)
Your card is only supported up to the 304 legacy drivers series.
It is recommended to install the
nvidia-legacy-304xx-driver
package.
How do I install that driver? The following code didn't work (I knew it wasn't going to work, but just gave a try).
apt-get install nvidia-driver-304xx
Using the code apt-get install nvidia-driver downloaded a driver, but while installing gave a pop up saying that the it's not compatible.
│This system has a graphics card which is no longer handled by the NVIDIA
│ driver (package nvidia-driver). You may wish to keep the package installed │
│ - for instance to drive some other card - but the card with the following │
│ chipset won't be usable: │
│ │
│ 00:0d.0 VGA compatible controller [0300]: NVIDIA Corporation C61 [GeForce │
│ 6100 nForce 405] [10de:03d1] (rev a2) │
│ │
│ The above card requires either the non-free legacy NVIDIA driver (package │
│ nvidia-legacy-304xx-driver) or the free Nouveau driver (package │
│ xserver-xorg-video-nouveau). │
│
│ Before the Nouveau driver can be used you must remove NVIDIA configuration │
│ from xorg.conf (and xorg.conf.d/).
│
│ Install NVIDIA driver despite unsupported graphics card?
I chose NO and aborted the installation.
Last edited by linux_user (2016-12-19 15:38:09)
"Blind faith to authority is the greatest enemy of truth."
Offline
Try:
$ sudo apt-get install xserver-xorg-video-nvidia-legacy-304xx
or
$ sudo apt-get install nvidia-legacy-304xx-driver
(I cannot tell which one is better ... probably the second one.)
Why? Because if you execute:
$ apt-cache show nvidia-legacy-304xx-driver
you will see your card in the list of supported gfx cards.
(And your card doesn't seem to be supported with version '340xx'!)
(EDIT: addedd missing 'install' command.)
Last edited by iMBeCil (2016-12-20 08:01:10)
Postpone all your duties; if you die, you won't have to do them ..
Offline
Try:
$ sudo apt-get nvidia-legacy-304xx-driver
Perhaps you meant,
$ sudo apt-get install nvidia-legacy-304xx-driver
Here's the output (outputA),
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:
libgl1-nvidia-glx-i386:i386 : Depends: libgl1-nvidia-glx:i386 but it is not going to be installed
nvidia-driver : Depends: libgl1-nvidia-glx (= 340.96-1) but it is not going to be installed
nvidia-legacy-304xx-driver : Depends: libgl1-nvidia-legacy-304xx-glx (= 304.131-1) but it is not going to be installed
Depends: xserver-xorg-video-nvidia-legacy-304xx (= 304.131-1) but it is not going to be installed
Depends: nvidia-legacy-304xx-alternative (= 304.131-1)
Depends: nvidia-legacy-304xx-kernel-dkms (= 304.131-1) or
nvidia-legacy-304xx-kernel-304.131
Recommends: nvidia-settings-legacy-304xx but it is not going to be installed
Recommends: libgl1-nvidia-legacy-304xx-glx-i386
xserver-xorg-video-nvidia : Depends: libgl1-nvidia-glx (= 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).
So I use apt-get -f install
After the download, I get a new screen asking me this,
Configuring libgl1-nvidia-glx
This system has a graphics card which is no longer handled by the NVIDIA │
│ driver (package nvidia-driver). You may wish to keep the package installed - │
│ for instance to drive some other card - but the card with the following │
│ chipset won't be usable: │
│ │
│ 00:0d.0 VGA compatible controller [0300]: NVIDIA Corporation C61 [GeForce │
│ 6100 nForce 405] [10de:03d1] (rev a2) │
│ │
│ The above card requires either the non-free legacy NVIDIA driver (package │
│ nvidia-legacy-304xx-driver) or the free Nouveau driver (package │
│ xserver-xorg-video-nouveau). │
│ │
│ Before the Nouveau driver can be used you must remove NVIDIA configuration │
│ from xorg.conf (and xorg.conf.d/). │
│ │
│ Install NVIDIA driver despite unsupported graphics card?
I choose NO.
PS:
apt-get install xserver-xorg-video-nvidia-legacy-304xx
returns the same output as (outputA).
Last edited by linux_user (2016-12-19 18:04:41)
"Blind faith to authority is the greatest enemy of truth."
Offline
^ weird
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.
Offline
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 ..
Offline
^ weird
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
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
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/NvidiaGraphicsDrivers1) 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...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
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 ..
Offline
^ 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...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
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.
Offline
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?
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
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
Offline
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....
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
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
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/NvidiaGraphicsDrivers1) 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
^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 ..
Offline
^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
.....
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!
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
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