Nvida Drivers Install (Just came from Fedora)

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

Nvida Drivers Install (Just came from Fedora)

Postby icecold7777 » 2018-04-04 15:11

Hey there Debian Community. Don’t go to harsh on me now I am brand new here heh, Anyways just installed Debian and installed Neofetch so I could see if Debian is picking up my GPU which it is in fact detecting that I am currently on my GTX 970 anyways, the resolution is stuck at 1024x768 which I assume is because of me not installing the Nvida Proprietary drivers yet so before I freak out about my resolution I wanted some help installing my Nvida Drivers and see if that fixes it first. I tried the way I normally install Fedora Drivers on Debian but obviously instead of using the Fedora Commands I replaced them with the Debian ones but it didn’t really install anything.. Maybe im just looking over something? Any suggestions, All responses are appreciated thanks :D

Heres a overview of how I usually install them when i do this on fedora:


1. sudo rpm --import 'http://negativo17.org/repos/RPM-GPG-KEY-slaanesh'
2. sudo dnf config-manager --add-repo='http://negativo17.org/repos/fedora-nvidia.repo'
3. sudo dnf update
4. sudo dnf install nvidia-driver nvidia-settings nvidia-driver-libs.i686 dkms-nvidia kernel-devel && sync
5. sudo dnf install nvidia-xconfig
6. sudo nvidia-xconfig
icecold7777
 
Posts: 8
Joined: 2016-10-08 02:23

Re: Nvida Drivers Install (Just came from Fedora)

Postby Jimmyfd » 2018-04-04 15:15

Hi there - Here is a guide to installing nVidia driver in Debian

https://linuxconfig.org/how-to-install-the-latest-nvidia-drivers-on-debian-9-stretch-linux

I use this driver on my Debian Sid/Butch
UBUNTU ? Debian programmer gone mad !
User avatar
Jimmyfd
 
Posts: 61
Joined: 2011-01-02 14:18
Location: Denmark

Re: Nvida Drivers Install (Just came from Fedora)

Postby Segfault » 2018-04-04 15:45

Jimmyfd wrote:Hi there - Here is a guide to installing nVidia driver in Debian

https://linuxconfig.org/how-to-install-the-latest-nvidia-drivers-on-debian-9-stretch-linux

This guide tells you to install llvm and clang. These are not used with proprietary nVidia drivers, nor is MESA used with blob.
Segfault
 
Posts: 805
Joined: 2005-09-24 12:24

Re: Nvida Drivers Install (Just came from Fedora)

Postby bw123 » 2018-04-04 15:54

Jimmyfd wrote:Hi there - Here is a guide to installing nVidia driver in Debian https://linuxconfig.org/how-to-install- ... etch-linux

Firmware The first step in installing the firmware is to enable the contrib and non-free repositories in Debian. Open up /etc/apt/sources.list in you favorite text editor as root, and add contrib non-free to the end of every line after main. Save and exit. Now, run an system update. # apt update && apt upgrade Use apt instead of apt-get. It is the newer version, and tends to handle conflicts better.


This doesn't make sense. After adding 'contrib non-free' to sources, there won't be anything to upgrade because nothing from them are installed yet?

Also, I haven't seen any documentation that reports that apt is any better than apt-get...

There is a wiki for nvidia that is probably where I'd go first.
https://wiki.debian.org/NvidiaGraphicsDrivers
User avatar
bw123
 
Posts: 3572
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Nvida Drivers Install (Just came from Fedora)

Postby Jimmyfd » 2018-04-04 16:25

This is the guide I used to install nVidia driver on my Debian system - Thus it must be right on other Debian systems too
UBUNTU ? Debian programmer gone mad !
User avatar
Jimmyfd
 
Posts: 61
Joined: 2011-01-02 14:18
Location: Denmark

Re: Nvida Drivers Install (Just came from Fedora)

Postby bw123 » 2018-04-04 17:01

OP has a similar thread with more info here
viewtopic.php?f=30&t=134680
User avatar
bw123
 
Posts: 3572
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Nvida Drivers Install (Just came from Fedora)

Postby stevepusser » 2018-04-04 19:28

Jimmyfd wrote:This is the guide I used to install nVidia driver on my Debian system - Thus it must be right on other Debian systems too


Yet it has upgrade instead of install a missing firmware package, and says to install clang for no reason whatsoever. Sorry, why should we accept this sorry mess instead of the wiki entry again?
Last edited by stevepusser on 2018-04-05 17:57, edited 1 time in total.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, tlp-ui, wine-staging 3.21, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10244
Joined: 2009-10-06 05:53

Re: Nvida Drivers Install (Just came from Fedora)

Postby sunrat » 2018-04-04 22:20

bw123 wrote:OP has a similar thread with more info here
viewtopic.php?f=30&t=134680


The reply posted in that thread by stevepusser is exactly the method I used to install nvidia-driver for my GTX970 which is running at 3840 x 2160. No config files necessary, it autodetects correct resolution.


@ icecold7777 - is there some reason that didn't work for you?

PS. that howto posted earlier is one of the worst I've seen on the internet. It says to install several useless packages (llvm, clang) and skips several essential ones (module-assistant or kernel headers). And why the hell would you need to add i386 architecture on a 64 bit system? Yeah, Steam but that's not the subject of the howto. :roll:
“ 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: 2495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia


Return to Beginners Questions

Who is online

Users browsing this forum: manmic and 5 guests

fashionable