Nvidia proprietary driver problem

Everything about X, Gnome, KDE, ... and everything running on it

Nvidia proprietary driver problem

Postby yumyum » 2019-02-08 11:03

I have a problem with performance on my system, I have installed the nvidia binary drivers following the instructions from https://wiki.debian.org/NvidiaGraphicsDrivers. But everytime I try to play any sort of 3D accelerated game, I'm only getting about 1-3 frames per second.

Output from
Code: Select all
$ inxi -Gx
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Micro-Star MSI
  driver: nvidia v: 390.87 bus ID: 01:00.0
  Display: x11 server: X.Org 1.20.3 driver: nvidia tty: N/A
  OpenGL: renderer: llvmpipe (LLVM 7.0 256 bits) v: 3.3 Mesa 18.3.2
  direct render: Yes


All help appreciated, I'm still very much learning about linux. Thank you.
yumyum
 
Posts: 4
Joined: 2019-02-08 10:47

Re: Nvidia proprietary driver problem

Postby arochester » 2019-02-08 11:08

Does your computer have a make and model? Or can you give some basic specs? How much RAM have you got?
arochester
 
Posts: 1508
Joined: 2010-12-07 19:55

Re: Nvidia proprietary driver problem

Postby yumyum » 2019-02-08 11:11

arochester wrote:Does your computer have a make and model? Or can you give some basic specs? How much RAM have you got?


EDIT: Motherboard: z270x-gaming-k5
Cpu: Intel Core i7-7700k
GFX: Nvidia MSI GTX 1070
Ram: 16gb ddr4 2133mhz

I have been running windows on this system for about 2 years with no problems, any further info I'll provide.
yumyum
 
Posts: 4
Joined: 2019-02-08 10:47

Re: Nvidia proprietary driver problem

Postby yumyum » 2019-02-08 11:47

It did actually work with acceptable performance when i first installed nvidia-drivers, but then I did apt-get update & apt-get upgrade a day layer and it no longer works. Even with reinstalling nvidia-driver.
yumyum
 
Posts: 4
Joined: 2019-02-08 10:47

Re: Nvidia proprietary driver problem

Postby stevepusser » 2019-02-08 21:43

You're running Debian testing, aka Buster. You should make this clear from the very start.

Look in your apt history to see what updated to cause these problems. These are the last two updates to Nvidia in Buster that haven't made it to stretch-backports (which version works fine in MX Linux, BTW)

Code: Select all
nvidia-graphics-drivers (390.87-8) unstable; urgency=medium

  * Tune more package relationships to prevent that installing packages from
    nvidia-graphics-drivers-legacy-390xx driver pulls in packages from
    nvidia-graphics-drivers via Recommends.

 -- Andreas Beckmann <anbe@debian.org>  Mon, 04 Feb 2019 01:36:47 +0100

nvidia-graphics-drivers (390.87-7) unstable; urgency=medium

  * Updated French (fr) debconf translations by Quentin Lejard.
    (Closes: #920940)
  * Use d/control.md5sum to keep track of d/control being up-to-date.
  * Tune package relationships to prevent that installing packages from
    nvidia-graphics-drivers-legacy-390xx driver pulls in packages from
    nvidia-graphics-drivers via Recommends.
  * Drop versioned constraints that are satisfied in wheezy.
  * Drop versioned constraints that are satisfied in jessie.

 -- Andreas Beckmann <anbe@debian.org>  Sat, 02 Feb 2019 15:24:09 +0100
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11007
Joined: 2009-10-06 05:53

Re: Nvidia proprietary driver problem

Postby yumyum » 2019-02-09 15:09

You're running Debian testing, aka Buster. You should make this clear from the very start.


Yeah sorry about that.

But anyway I have already given up on this, and reinstalled another version of linux which I am a little more familiar with the package manager.
yumyum
 
Posts: 4
Joined: 2019-02-08 10:47

Re: Nvidia proprietary driver problem

Postby piper » 2019-02-10 21:43

I really don't understand the way the wiki has people installing the nvidia drivers, it's such a simple process and the wiki makes it a mess and hard, it's not rocket science

Code: Select all
apt purge nvidia.


(Make sure you include the period, this will delete all of nvidia blob)

Get rid of any xorg.conf you have (it's pretty much depreciated (under certain circumstances it's still needed)

Code: Select all
rm -f /etc/X11/xorg.conf.d/20-nvidia.conf


(or any other name you have for it)

Code: Select all
apt update; apt install linux-image-amd64 linux-headers-amd64


Reboot, to boot into latest kernel (should be 4.19+102 for buster)

Code: Select all
apt clean; apt update; apt install nvidia-driver nvidia-driver-libs nvidia-settings nvidia-kernel-dkms


(any errors post)

Reboot

Very simple
User avatar
piper
 
Posts: 102
Joined: 2005-07-03 08:29

Re: Nvidia proprietary driver problem

Postby Head_on_a_Stick » 2019-02-10 22:16

piper wrote:Get rid of any xorg.conf you have

Doesn't the X server need a configuration file to load the blobby driver? Only the nouveau driver is loaded automatically, AFAIUI.

Reference: https://wiki.debian.org/NvidiaGraphicsD ... figuration (don't use nvidia-xconfig though, it is rubbish).
User avatar
Head_on_a_Stick
 
Posts: 10330
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Nvidia proprietary driver problem

Postby piper » 2019-02-10 23:15

DKMS will build the nvidia module for your system, via the nvidia-kernel-dkms package.
Just restart your system to enable the nouveau blacklist. (no need to manually blacklist it)
There is no need for a xorg.conf or to install/run nvidia-xconfig anymore.

It's been like this for years (sid), but, stable is a different ballgame and is behind (not saying that as a bad thing), buster should help on this

There is a "global" default configuration in arch, debian that is now in

Code: Select all
/usr/share/X11/xorg.conf.d


no extra configuration is necessary for *most setups

Code: Select all
Package nvidia-xconfig

    jessie (oldstable) (x11): X configuration tool for non-free NVIDIA drivers [contrib]
    340.46-1: amd64 armhf i386
    stretch (stable) (x11): deprecated X configuration tool for non-free NVIDIA drivers [contrib]
    384.111-1~deb9u1: amd64 armhf i386
    stretch-backports (x11): deprecated X configuration tool for non-free NVIDIA drivers [contrib]
    390.87-1~bpo9+1: amd64 armhf i386
    buster (testing) (x11): deprecated X configuration tool for non-free NVIDIA drivers [contrib]
    390.87-1: amd64 armhf i386
    sid (unstable) (x11): deprecated X configuration tool for non-free NVIDIA drivers [contrib]
    396.54-1: amd64 armhf i386
User avatar
piper
 
Posts: 102
Joined: 2005-07-03 08:29


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable