Install Nvidia VGA driver.

New to Debian (Or Linux in general)? Ask your questions here!

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-09 14:49

sunrat wrote:
hack3rcon wrote:How you know "Nvidia Geforce GT630" is "nvidia-legacy-390xx-kernel-dkms" ?


Maybe searched on the internet. Something you should try before asking questions on the forum.
A quick search using the term "debian buster Nvidia Geforce GT630" brought this up as the second result. First was the Debian wiki page about Nvidia.

https://packages.debian.org/buster/nvid ... ernel-dkms

I found that information in Synaptic too. I meant was CLI.
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

Re: Install Nvidia VGA driver.

Postby Head_on_a_Stick » 2019-07-09 17:18

hack3rcon wrote:How you know "Nvidia Geforce GT630" is "nvidia-legacy-390xx-kernel-dkms" ?

https://packages.debian.org/buster/nvidia-detect
User avatar
Head_on_a_Stick
 
Posts: 10490
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-09 19:26

Head_on_a_Stick wrote:
hack3rcon wrote:How you know "Nvidia Geforce GT630" is "nvidia-legacy-390xx-kernel-dkms" ?

https://packages.debian.org/buster/nvidia-detect

Thank you.
Before install, which config file I need to create backup? If after install system can't boot into GUI then I can restore it to previous state.
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

Re: Install Nvidia VGA driver.

Postby stevepusser » 2019-07-09 19:37

I suggested in my first post that you follow the Debian wiki, which tells you to install and use nvidia-detect. Before we answer any more of your questions that are answered in the wiki, please actually go there and read the entry.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11154
Joined: 2009-10-06 05:53

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-09 19:44

stevepusser wrote:I suggested in my first post that you follow the Debian wiki, which tells you to install and use nvidia-detect. Before we answer any more of your questions that are answered in the wiki, please actually go there and read the entry.

I can't see anything about backup!!!
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

Re: Install Nvidia VGA driver.

Postby GarryRicketson » 2019-07-09 22:11

I can't see anything about backup!!!

https://wiki.debian.org/BackupAndRecovery
Because it is a different topic, so after reading some about it, if you feel you must do so,
start a new topic about making backups, which files to back up , etc.
================
If you had looked at and read the link, you would see:

From:https://packages.debian.org/buster/nvidia-detect
The 'nvidia-detect' script in this package checks for an NVIDIA GPU in the system and recommends one of the non-free accelerated driver meta-packages (nvidia-driver, nvidia-legacy-390xx-driver, or nvidia-legacy-340xx-driver) for installation.

All that package is , is a script that checks your system, it then makes a recommendation
about which one of packages should be installed. It does not install anything, and is not at all likely to harm your system.
If you do decide to install one, then yes you should make a good back up of your entire system, especially if it is all ready working OK, In fact it does not make sense to me why you would want to do this, assuming everything is working, but that also is another topic.
My advice is , if you have a working system, learn how to do some more practical things, like making good backups, before trying to experiment with this.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-10 03:52

GarryRicketson wrote:
I can't see anything about backup!!!

https://wiki.debian.org/BackupAndRecovery
Because it is a different topic, so after reading some about it, if you feel you must do so,
start a new topic about making backups, which files to back up , etc.
================
If you had looked at and read the link, you would see:

From:https://packages.debian.org/buster/nvidia-detect
The 'nvidia-detect' script in this package checks for an NVIDIA GPU in the system and recommends one of the non-free accelerated driver meta-packages (nvidia-driver, nvidia-legacy-390xx-driver, or nvidia-legacy-340xx-driver) for installation.

All that package is , is a script that checks your system, it then makes a recommendation
about which one of packages should be installed. It does not install anything, and is not at all likely to harm your system.
If you do decide to install one, then yes you should make a good back up of your entire system, especially if it is all ready working OK, In fact it does not make sense to me why you would want to do this, assuming everything is working, but that also is another topic.
My advice is , if you have a working system, learn how to do some more practical things, like making good backups, before trying to experiment with this.

I mean wasn't the whole system. I guess something like "X.org" or anything that related to start GUI need a backup!!!
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-10 04:01

I tried to install:
Code: Select all
$ sudo apt-get install nvidia-legacy-390xx-kernel-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gvfs : Depends: gvfs-daemons (>= 1.30.4-1)
        Depends: gvfs-daemons (< 1.30.4-1.1~)
 libgl1 : Depends: libglx0 (= 1.1.0-1~bpo9+1) but it is not going to be installed
 openjdk-8-jre : Depends: libatk-wrapper-java-jni (>= 0.33.3-9~) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

Re: Install Nvidia VGA driver.

Postby sunrat » 2019-07-10 07:07

Nvidia drivers don't depend on gvfs or openjdk afaik and nothing should be depending on backports (package with bpo in name) in a default system so you've messed up something else. I think your system is now broken. Good news is you can keep all the pieces and get a full refund.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2823
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-10 07:51

sunrat wrote:Nvidia drivers don't depend on gvfs or openjdk afaik and nothing should be depending on backports (package with bpo in name) in a default system so you've messed up something else. I think your system is now broken. Good news is you can keep all the pieces and get a full refund.

I guess it is because of my "source.list" problem. Can you look at http://forums.debian.net/viewtopic.php?f=30&t=142571&start=15?
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

Re: Install Nvidia VGA driver.

Postby GarryRicketson » 2019-07-10 13:20

I did look at that thread, and responded. Also, please stop the unnecessary full quoting.
Please read this topic:http://forums.debian.net/viewtopic.php?f=12&t=130997

If you do a fresh install, and use one of the Live CD's with non-free :
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/
You will not need to do anything with your sources.list file, it will include links to the non-free, etc.
Also I suggest reading:
Forum guidelines. Please read before first post!
=============
Please Read.. What we expect you have already Done.

If you are a bot, tell your developer you need some repairs, you are not passing the "turing test"
any more.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-13 11:46

I changed my "source.list" as below:
Code: Select all
$ cat /etc/apt/sources.list

deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free

deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free

deb http://deb.debian.org/debian stretch-backports main contrib non-free
deb-src http://deb.debian.org/debian stretch-backports main contrib non-free


And:
Code: Select all
$ sudo apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://deb.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Hit:3 https://repo.skype.com/deb stable InRelease
Hit:4 https://download.jitsi.org stable/ InRelease             
Get:5 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:6 http://deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:7 http://deb.debian.org/debian stretch Release
Get:9 http://deb.debian.org/debian stretch-backports/main Sources.diff/Index [27.8 kB]
Get:10 http://deb.debian.org/debian stretch-backports/main amd64 Packages.diff/Index [27.8 kB]
Get:11 http://deb.debian.org/debian stretch-backports/main i386 Packages.diff/Index [27.8 kB]
Get:12 http://deb.debian.org/debian stretch-backports/main Translation-en.diff/Index [27.8 kB]
Get:13 http://deb.debian.org/debian stretch-backports/main Sources 2019-07-10-1415.27.pdiff [1,798 B]
Get:13 http://deb.debian.org/debian stretch-backports/main Sources 2019-07-10-1415.27.pdiff [1,798 B]
Get:14 http://deb.debian.org/debian stretch-backports/main amd64 Packages 2019-07-10-1415.27.pdiff [571 B]
Get:15 http://deb.debian.org/debian stretch-backports/main amd64 Packages 2019-07-10-2021.14.pdiff [1,266 B]
Get:15 http://deb.debian.org/debian stretch-backports/main amd64 Packages 2019-07-10-2021.14.pdiff [1,266 B]
Get:16 http://deb.debian.org/debian stretch-backports/main i386 Packages 2019-07-10-2021.14.pdiff [1,377 B]
Get:16 http://deb.debian.org/debian stretch-backports/main i386 Packages 2019-07-10-2021.14.pdiff [1,377 B]
Get:17 http://deb.debian.org/debian stretch-backports/main Translation-en 2019-07-10-1415.27.pdiff [415 B]
Get:17 http://deb.debian.org/debian stretch-backports/main Translation-en 2019-07-10-1415.27.pdiff [415 B]
Get:18 http://deb.debian.org/debian-security stretch/updates/main Sources [210 kB]
Get:19 http://deb.debian.org/debian-security stretch/updates/main amd64 Packages [499 kB]
Get:20 http://deb.debian.org/debian-security stretch/updates/main i386 Packages [501 kB]
Get:21 http://deb.debian.org/debian-security stretch/updates/main Translation-en [223 kB]
Fetched 1,827 kB in 5s (315 kB/s)       
Reading package lists... Done
$

But:
Code: Select all
$ sudo apt-get install nvidia-legacy-390xx-kernel-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gvfs : Depends: gvfs-daemons (>= 1.30.4-1)
        Depends: gvfs-daemons (< 1.30.4-1.1~)
 libgl1 : Depends: libglx0 (= 1.1.0-1~bpo9+1) but it is not going to be installed
 openjdk-8-jre : Depends: libatk-wrapper-java-jni (>= 0.33.3-9~) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

What is my problem?
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

Re: Install Nvidia VGA driver.

Postby GarryRicketson » 2019-07-13 12:51

Skype is not an open source application and it is not included in the Debian repositories.
And you have these:
Code: Select all
Hit:3 https://repo.skype.com/deb stable InRelease
Hit:4 https://download.jitsi.org stable/ InRelease   

Debian Stable is now Debian Buster, your sources.list is for Debian Stretch, you should not be doing that. Read this: https://wiki.debian.org/DontBreakDebian
==========
You should show us, ALL the sources you are using, that would include what you have in:
Code: Select all
/etc/apt/sources.d

as well as your :
Code: Select all
/etc/apt/sources.list

The sources.list, you have showed, it looks ok,
==================
To sum it up, I can not help you any more on this , or the other topic, what you have here is NOT a standard Debian system, but a mixture of things, some of them I would never install on my system. There are a few other threads, other members that insist they have to have Skype, and that is ok, but I can not help any further on this, maybe some one else will. Also this, is not Debian:
Code: Select all
Hit:4 https://download.jitsi.org stable/

I don't know what it is, and don't really care.
If you re-install Debian, and use the current stable , Debian Buster, I would be happy to help, but the same not if you mix in all the propriety softawre, and stuff, it needs to be a clean system.
If you must have Skype, and things like that, it might be better for you to just use MS Windows, I don't think Debian is a good choice for you.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Install Nvidia VGA driver.

Postby Head_on_a_Stick » 2019-07-13 16:53

Try
Code: Select all
# aptitude install -t stretch-backports nvidia-legacy-390xx-kernel-dkms libgl1 libglx0

If it still has problems then keeping saying "no" to the suggestions until if finds an acceptable solution.
User avatar
Head_on_a_Stick
 
Posts: 10490
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Install Nvidia VGA driver.

Postby hack3rcon » 2019-07-13 20:19

Thus, first of all I must upgrade my Debian 9.9 to Debian 10.
hack3rcon
 
Posts: 295
Joined: 2015-02-16 09:54

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable