Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Nvidia proprietary driver problem

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
yumyum
Posts: 4
Joined: 2019-02-08 10:47

Nvidia proprietary driver problem

#1 Post by yumyum »

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.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Nvidia proprietary driver problem

#2 Post by arochester »

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

yumyum
Posts: 4
Joined: 2019-02-08 10:47

Re: Nvidia proprietary driver problem

#3 Post by yumyum »

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

#4 Post by yumyum »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Nvidia proprietary driver problem

#5 Post by stevepusser »

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
MX Linux packager and developer

yumyum
Posts: 4
Joined: 2019-02-08 10:47

Re: Nvidia proprietary driver problem

#6 Post by yumyum »

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.

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

Re: Nvidia proprietary driver problem

#7 Post by piper »

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
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Nvidia proprietary driver problem

#8 Post by Head_on_a_Stick »

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).
deadbang

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

Re: Nvidia proprietary driver problem

#9 Post by piper »

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

Post Reply