Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] nvidia install [solved]  (Read 2559 times)

Offline sotnik

  • User
  • Posts: 105
[EN] nvidia install [solved]
« on: 2018/12/01, 14:01:09 »
I tried to install nvidia driver but the listbugs gives 3 errors:

Quote
b1 - #905309 - nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing
serious bugs of xserver-xorg-video-nvidia (→ 390.87-3) <Outstanding>
 b2 - #903121 - xserver-xorg-video-nvidia: blank screen, CPU fan goes to max and the systems freezes
serious bugs of dkms (→ 2.6.1-1) <Outstanding>
 b3 - #884658 - dkms: Should really depends on dpkg-dev for dpkg-architecture
Is it safe to install?
The procedure described in the manual is up-to-date or I have to follow an other procedure.
If it is possible to add automatic installation for closed GPU drivers, will be a nice addition for the next release of siduxion.
« Last Edit: 2018/12/02, 03:31:09 by sotnik »

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: nvidia install
« Reply #1 on: 2018/12/01, 14:17:01 »
We need more information, what video card do you have?

Post the output of

Code: [Select]
inxi -G

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline sotnik

  • User
  • Posts: 105
Re: nvidia install
« Reply #2 on: 2018/12/01, 15:10:40 »
 
Quote
Device-1: NVIDIA GK208 [GeForce GT 730] driver: nouveau v: kernel
  Display: x11 server: X.Org 1.20.3 driver: modesetting unloaded: fbdev,vesa
  resolution: 1920x1080~60Hz
  OpenGL: renderer: NV106 v: 4.3 Mesa 18.2.6

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: nvidia install
« Reply #3 on: 2018/12/01, 15:36:58 »
Since you already tried to install nvidia drivers, lets clean that mess up

Code: [Select]
apt purge nvidia.
Yes, make sure you include the period, very important

Remove any xorg.conf you have

Then do

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


Reboot

Please post any errors

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline sotnik

  • User
  • Posts: 105
Re: nvidia install
« Reply #4 on: 2018/12/01, 17:45:31 »
Ok thank you piper
One last question. Do I have to blacklist nouveau before or after the nvidia installation

/etc/modprobe.d/nouveau-blacklist.conf
Quote
blacklist nouveau
blacklist lbm-nouveau
This is a first time that I will install proprietary drivers for my card in linux (and first time with nvidia)
« Last Edit: 2018/12/01, 17:48:33 by sotnik »

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: nvidia install
« Reply #5 on: 2018/12/01, 18:04:09 »
You should see a screen about nouveau and current kernel and reboot, I forgot the exact words, I thought I had a screenshot but I don't,  just reboot
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline sotnik

  • User
  • Posts: 105
Re: nvidia install
« Reply #6 on: 2018/12/02, 02:14:55 »
OK installed and rebooted without a problem.

nvidia-blacklists-nouveau.conf  & nvidia.conf  created automatically but not the xorg.conf (do I have to create one?)

Now I have the following two issues:
1. The characters are smaller than used to be.
I tried the following commands:
Quote
xdpyinfo | grep dots
  resolution:    96x96 dots per inch
and
Quote
xrdb -query | grep dpi
Xft.dpi:    96
but
Quote
grep DPI /var/log/Xorg.0.log
[     7.858] (--) NVIDIA(0): DPI set to (95, 94); computed from "UseEdidDpi" X config
indicate that DPI settings are wrong. How I can correct DPi in xfce desktop? (In settings the custom DPI is 96. According to some advice's in the internet I changed the value and I reverted back in 96 without any effect). 

2. In idle the fun plays between 2200 & 2500 (RPM) which is high. Is it possible to reduce the speed?

And some general questions.
  • Do I have to repeat the procedure with kernel upgrade?
  • It is reasonable to install libnvidia-encode1 & nvidia-opencl-common?
« Last Edit: 2018/12/02, 02:21:51 by sotnik »

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: nvidia install
« Reply #7 on: 2018/12/02, 02:34:50 »
I really don't know enough about xfce, but, here is some good reading, more than a few people here use xfce, so maybe they can chime in

https://wiki.archlinux.org/index.php/HiDPI

You don't have to repeat the procedure with kernel upgrade ;)

Can you post the output of

Code: [Select]
inxi -Gx
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: nvidia install
« Reply #8 on: 2018/12/02, 02:39:56 »
Unless you actually want/need nvidia-opencl-common libnvidia-encode1 theirs no reason to install them

Code: [Select]
apt policy nvidia-opencl-common libnvidia-encode1
nvidia-opencl-common:
  Installed: (none)
  Candidate: 390.87-3
  Version table:
     396.54-2 1
          1 http://10.10.10.3:3142/deb.debian.org/debian experimental/non-free amd64 Packages
     390.87-3 500
        500 http://10.10.10.3:3142/mirror.math.princeton.edu/pub/debian unstable/non-free amd64 Packages
libnvidia-encode1:
  Installed: (none)
  Candidate: 390.87-3
  Version table:
     396.54-2 1
          1 http://10.10.10.3:3142/deb.debian.org/debian experimental/non-free amd64 Packages
     390.87-3 500
        500 http://10.10.10.3:3142/mirror.math.princeton.edu/pub/debian unstable/non-free amd64 Packages


More reading for dpi

https://www.google.com/search?q=How+I+can+correct+DPi+in+xfce+desktop

I have no idea with fan speed with xfce, search-foo is your best bet
Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck

Offline sotnik

  • User
  • Posts: 105
Re: nvidia install
« Reply #9 on: 2018/12/02, 02:46:47 »
inxi -Gx
Quote
Graphics:  Device-1: NVIDIA GK208 [GeForce GT 730] vendor: Gigabyte GK208B
  driver: nvidia v: 390.87 bus ID: 09:00.0
  Display: x11 server: X.Org 1.20.3 driver: nvidia
  unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
  OpenGL: renderer: GeForce GT 730/PCIe/SSE2 v: 4.6.0 NVIDIA 390.87
  direct render: Yes
Also just now I realized the situation is even worse. Some applications have large characters and some other small, see https://imgur.com/a/qra01bb

EDIT
The problem with font inconsistencies solved after installing xsettingsd

All resolutions problems solved after creating the file ~/.Xresources and adding Xft.dpi: 96
96 is the correct DPI for my system.
« Last Edit: 2018/12/02, 03:35:42 by sotnik »

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: nvidia install [solved]
« Reply #10 on: 2018/12/02, 11:54:36 »
Glad you have this all figured out :)

xorg.conf is pretty much depreciated so not needed in *most cases, their are however some exceptions :)

Free speech isn't just fucking saying what you want to say, it's also hearing what you don't want to fucking hear

I either give too many fucks or no fucks at all, it's like I cannot find a middle ground for a moderate fuck distribution, it's like what the fuck