LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-11-2020, 03:15 PM   #1
TheDragonfly
LQ Newbie
 
Registered: Jul 2020
Posts: 7

Rep: Reputation: Disabled
Nvidia graphics card Debian 10 install help.


I need help installing nvidia drivers in Debian 10. Before I start typing in sudo commands, I'd like know where to start, and whats the best way to go about this. I did watch a couple YouTube videos. But it seems each one has a different method.


I went with the Debian network installer.


System specs from Neofetch
OS: Debian GNU/Linux 10 (buster) x86_64
Host: MS-7589 1.0
Kernel: 4.19.0-9-amd64
Uptime: 48 mins
Packages: 1974 (dpkg)
Shell: bash 5.0.3
Resolution: 1360x768, 1280x1024
DE: KDE
WM: KWin
Theme: Breeze [KDE], Breeze [GTK2/3]
Icons: breeze [KDE], breeze [GTK2/3]
Terminal: konsole
CPU: Intel i7 860 (8) @ 2.801GHz
GPU: NVIDIA GeForce GTX 260
Memory: 1529MiB / 3937MiB

Last edited by TheDragonfly; 07-11-2020 at 03:17 PM.
 
Old 07-11-2020, 03:53 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,809
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Are you sure you need to:
Code:
$ inxi -SGxx
System:    Host: p5bse Kernel: 4.19.0-9-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Trinity R14.0.9
           tk: Qt 3.5.0 wm: Twin dm: TDM Distro: Debian GNU/Linux 10 (buster)
Graphics:  Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau v: kernel bus ID: 01:00.0
           chip ID: 10de:107d
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa resolution: 1: 2560x1440~60Hz
           2: 1920x1200~60Hz s-dpi: 120
           OpenGL: renderer: NVD9 v: 4.3 Mesa 18.3.6 direct render: Yes
$ xrandr | egrep 'onnect|creen|\*' | grep -v disconn | sort -r
Screen 0: minimum 320 x 200, current 2560 x 2640, maximum 16384 x 16384
DP-2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
DP-1 connected primary 2560x1440+0+1200 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440     59.95*+  74.92
   1920x1200     59.95*
 
Old 07-11-2020, 08:28 PM   #3
TheDragonfly
LQ Newbie
 
Registered: Jul 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
I'm still getting use to everything.

Think I'll use inxi next time over neofetch. I couldn't find the NVIDIA control panel anywhere, so I assumed the drivers had to be installed. I notice the 3D animation in Cairo Dock isn't working properly. I also have a animated theme in Firefox that isn't working ether. Both of these worked fine in Linux Mint. Is their something else I need to configure in Debian?

Last edited by TheDragonfly; 07-11-2020 at 08:29 PM.
 
Old 07-11-2020, 09:02 PM   #4
tinfoil3d
Member
 
Registered: Apr 2020
Location: Japan/RJCC
Distribution: debian, lfs, whatever else i need in qemu
Posts: 268

Rep: Reputation: 75
That means you'd need to uncomment/add non-free to your sources.list and get the nvidia packages needed, https://wiki.debian.org/NvidiaGraphicsDrivers
 
1 members found this post helpful.
Old 07-11-2020, 09:40 PM   #5
TheDragonfly
LQ Newbie
 
Registered: Jul 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
I did update sources.list with contrib non-free and saved it. From the looks of it my card is going to use the Version 340.108. Please forgive for not being completely up to speed. But what are the proper sudo commands?
 
Old 07-11-2020, 11:27 PM   #6
tinfoil3d
Member
 
Registered: Apr 2020
Location: Japan/RJCC
Distribution: debian, lfs, whatever else i need in qemu
Posts: 268

Rep: Reputation: 75
Just follow the manual i linked, it's
Code:
apt install nvidia-legacy-340xx-driver
under root.
 
Old 07-12-2020, 01:11 PM   #7
TheDragonfly
LQ Newbie
 
Registered: Jul 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
I'm positive I followed the instruction right, but something went wrong. The splash screen took on an alien form and can't read anything on the desktop. Any suggestions?


Splash screen
https://i.postimg.cc/kD3PSTrH/20200712-121611.jpg
Desktop
https://i.postimg.cc/fWFzZvPm/106704...93307838-o.jpg

Last edited by TheDragonfly; 07-12-2020 at 01:13 PM.
 
Old 07-12-2020, 11:40 PM   #8
tinfoil3d
Member
 
Registered: Apr 2020
Location: Japan/RJCC
Distribution: debian, lfs, whatever else i need in qemu
Posts: 268

Rep: Reputation: 75
Maybe it has way too high resolution? And are you sure you need the legacy one not the more recent one?
 
Old 07-13-2020, 12:05 PM   #9
TheDragonfly
LQ Newbie
 
Registered: Jul 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
First monitor 1280x1024, and second monitor 1360x768. I've always used the legacy drivers in Mint for many without any issues. When you say "more recent one" are you referring to the opening source?

Something hit me just now. Could it be the KDE desktop is messing up and be maybe not Debian. I just installed MX Linux (Debian based) with the Xfce4 desktop. Now everything works fine with the legacy drivers. Later on I'm going to install Debian with Xfce, and try this again.
 
Old 07-16-2020, 03:54 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by TheDragonfly View Post
That looks really wrong and I don't think it has anything to do with the Nvidia driver.

Quote:
Originally Posted by TheDragonfly View Post
something went wrong.
That's the key point, isn't it. What went wrong?
I think you should start from scratch (reinstall the whole OS) and chalk this one up to "be more careful in the future".
 
1 members found this post helpful.
Old 07-16-2020, 10:16 AM   #11
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
That looks really wrong and I don't think it has anything to do with the Nvidia driver.
Kinda reminds me of my "aw snap" screen after blindly running and figuring I was good enough to tweak GhostBSD.

I tried a Nvidia 400 card driver on my Ubuntu Box.
It had me running back to the noveau driver rickey tic.
I betcha MX is running it. In MX.

Code:
inxi -Fxz
will tell us what Debian is dealing with as far as hardware. inxi will run in Debian also. But Usually. You got to install it. It will be in Debians package manager. apt or synaptic.

Code:
apt search inxi

Last edited by rokytnji; 07-16-2020 at 10:21 AM.
 
Old 07-16-2020, 10:23 AM   #12
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Also. If Debian was running noveau open source for nvidia driver.

And you installed proprietary Nvidia driver.

You created a driver conflict by not blacklisting noveau.

https://wiki.debian.org/NvidiaGraphicsDrivers

Quote:
Troubleshooting

The NVIDIA driver conflicts with the nouveau DRM driver (580894). The nouveau kernel module is blacklisted by the glx-alternative-nvidia or nvidia-kernel-common packages.
 
1 members found this post helpful.
Old 07-17-2020, 03:26 AM   #13
hd_scania
Member
 
Registered: Apr 2017
Location: Nowhere
Distribution: Plenties found in my signatures :)
Posts: 268
Blog Entries: 6

Rep: Reputation: Disabled
I have a laptop with NVidia graphics too, so if there IS Nouveau plz REMOVE nonfree drivers.
Quote:
Originally Posted by rokytnji View Post
Also. If Debian was running noveau open source for nvidia driver.
And you installed proprietary Nvidia driver.
You created a driver conflict by not blacklisting noveau.
https://wiki.debian.org/NvidiaGraphicsDrivers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Use Nvidia graphics card on linux mint mate 17.3 when in a hybrid graphics card environment betty _frances Linux Mint 1 06-08-2016 06:31 AM
[SOLVED] Instructions on how to make nVidia GTX645 graphics card run using nVidia in RHEL 6.5 anthony000 Linux - Newbie 12 04-11-2014 11:42 AM
[SOLVED] Bad screen resolution when switch from NVIDIA graphics card to motherboard graphics crs17 Linux - Hardware 9 11-15-2012 09:06 AM
Dual monitors: inbuilt graphics card & external graphics card fanofai Linux - Newbie 1 06-07-2009 07:31 AM
ATI on-borad graphics & Nvidia PCI graphics together? PClOStinspace Linux - Hardware 5 04-28-2009 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration