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

Author Topic:  Nvidia installation  (Read 3759 times)

Offline GoinEasy9

  • User
  • Posts: 560
Nvidia installation
« on: 2018/03/06, 00:05:05 »
It's been years since I installed the Nvidia driver on siduction.  I have not had a problem with Mesa and up to now have been satisfied with it.

Question is: Are the manual directions ( https://manual.siduction.org/gpu#nvidia ) still correct? Or have they been modified/simplified since then?

It seems that this older AMD processor and the Mesa graphics are causing the login screen to lock up, and, the only way around it is to use the proprietary Nvidia driver.

My machine:
System:    Host: M2N-SLI Kernel: 4.15.7-towo.1-siduction-amd64 x86_64 bits: 64
           Desktop: KDE Plasma 5.12.2 Distro: siduction 18.1.0 Patience - kde - (201712310029)
Machine:   Device: desktop Mobo: ASUSTeK model: M2N-SLI v: 1.XX serial: N/A
           BIOS: Phoenix v: ASUS M2N SLI 0802 date: 04/16/2008
CPU:       Dual core AMD Athlon 64 X2 5000+ (-MCP-) cache: 1024 KB
           clock speeds: max: 2600 MHz 1: 1800 MHz 2: 1800 MHz
Graphics:  Card: NVIDIA G94 [GeForce 9600 GT]
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nouveau (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: NV94 version: 3.3 Mesa 17.3.6

The bug wasn't present when I installed patience KDE, but appeared after the large update.  I wish I kept track of the version numbers of Mesa along the way. 

I know there are others who are having problems with this bug, I filed an addendum to an openSUSE Bugzilla asking the kernel folks to look into it, without response.  Anyone else have their login screen lock up after hitting enter?
« Last Edit: 2018/03/06, 01:44:23 by GoinEasy9 »
Linux Counter number 348347

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: Nvidia installation
« Reply #1 on: 2018/03/06, 08:28:45 »
I have seen the "lock up" before, but, not recently.

When I install siduction or debian sid (I use both, 99.9% siduction) I usually don't install the nvidia drivers right away, just to make sure there are no lockups.

My private builds sometimes include the nvidia driver, depends what mood i'm in :)

I usually install nvidia from experimental on debian or extra experimental on siduction

xorg.conf is obsolete and not needed (there are a few cases one should have one)

If this is an older install or one that had nvidia installed before, I would install like

Code: [Select]
apt --no-install-recommends --autoremove purge $(dpkg -l | grep -v 'un ' | grep nvidia | awk '{ print $2 }') && rm -f /etc/X11/xorg.conf.d/20-nvidia.conf
It doesn't hurt to reboot, users choice :P

Code: [Select]
apt install nvidia-driver -t experimental
That should pull in what you need.



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 towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: Nvidia installation
« Reply #2 on: 2018/03/06, 08:48:19 »
Geforce 9xxx cards are not supported by the current driver, so nvidia-driver is the wrong package.
Those cards needs the 340 legacy branch of the driver.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline piper

  • User
  • Posts: 1.785
  • we are the priests ... of the temples of syrinx
Re: Nvidia installation
« Reply #3 on: 2018/03/06, 09:00:25 »
Quote from: towo
Geforce 9xxx cards are not supported by the current driver, so nvidia-driver is the wrong package.
Those cards needs the 340 legacy branch of the driver.

Of course you are correct, and my mistake, and I knew this as I was looking at my nvidia installer script as I posted, but failed to mention the 340 legacy branch, Thank You .

Code: [Select]
4)
echo ""
echo -e "\x1B[31m simulate installing nvidia legacy-340xx \x1B[0m"
apt update; apt install -s xserver-xorg-video-nvidia-legacy-340xx                       
echo ""
echo -e "\033[34m \e[0m \033[31msimulate nvidia install legacy-340xx"
exit
;;

Which should pull in (reminder I have multiarch installed, YMMV)

Code: [Select]
The following additional packages will be installed:
  libegl1-nvidia-legacy-340xx libegl1-nvidia-legacy-340xx:i386 libgl1-nvidia-legacy-340xx-glx libgl1-nvidia-legacy-340xx-glx:i386
  libgles1-nvidia-legacy-340xx libgles1-nvidia-legacy-340xx:i386 libgles2-nvidia-legacy-340xx libgles2-nvidia-legacy-340xx:i386
  libnvidia-legacy-340xx-cfg1 libnvidia-legacy-340xx-cfg1:i386 libnvidia-legacy-340xx-eglcore libnvidia-legacy-340xx-eglcore:i386
  libnvidia-legacy-340xx-glcore libnvidia-legacy-340xx-glcore:i386 libnvidia-legacy-340xx-ml1 nvidia-legacy-340xx-alternative
  nvidia-legacy-340xx-driver nvidia-legacy-340xx-driver-bin nvidia-legacy-340xx-driver-libs nvidia-legacy-340xx-driver-libs:i386
  nvidia-legacy-340xx-driver-libs-i386:i386 nvidia-legacy-340xx-kernel-dkms nvidia-legacy-340xx-kernel-support
  nvidia-legacy-340xx-vdpau-driver nvidia-settings-legacy-340xx
The following NEW packages will be installed:
  libegl1-nvidia-legacy-340xx libegl1-nvidia-legacy-340xx:i386 libgl1-nvidia-legacy-340xx-glx libgl1-nvidia-legacy-340xx-glx:i386
  libgles1-nvidia-legacy-340xx libgles1-nvidia-legacy-340xx:i386 libgles2-nvidia-legacy-340xx libgles2-nvidia-legacy-340xx:i386
  libnvidia-legacy-340xx-cfg1 libnvidia-legacy-340xx-cfg1:i386 libnvidia-legacy-340xx-eglcore libnvidia-legacy-340xx-eglcore:i386
  libnvidia-legacy-340xx-glcore libnvidia-legacy-340xx-glcore:i386 libnvidia-legacy-340xx-ml1 nvidia-legacy-340xx-alternative
  nvidia-legacy-340xx-driver nvidia-legacy-340xx-driver-bin nvidia-legacy-340xx-driver-libs nvidia-legacy-340xx-driver-libs:i386
  nvidia-legacy-340xx-driver-libs-i386:i386 nvidia-legacy-340xx-kernel-dkms nvidia-legacy-340xx-kernel-support
  nvidia-legacy-340xx-vdpau-driver nvidia-settings-legacy-340xx xserver-xorg-video-nvidia-legacy-340xx
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Inst nvidia-legacy-340xx-alternative (340.106-2 Debian:unstable [amd64])
Inst libnvidia-legacy-340xx-glcore (340.106-2 Debian:unstable [amd64])
Inst libgl1-nvidia-legacy-340xx-glx (340.106-2 Debian:unstable [amd64])
Inst libnvidia-legacy-340xx-glcore:i386 (340.106-2 Debian:unstable [i386])
Inst libgl1-nvidia-legacy-340xx-glx:i386 (340.106-2 Debian:unstable [i386])
Inst libnvidia-legacy-340xx-eglcore (340.106-2 Debian:unstable [amd64])
Inst libegl1-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Inst nvidia-legacy-340xx-driver-libs (340.106-2 Debian:unstable [amd64])
Inst libnvidia-legacy-340xx-ml1 (340.106-2 Debian:unstable [amd64])
Inst nvidia-legacy-340xx-driver-bin (340.106-2 Debian:unstable [amd64])
Inst xserver-xorg-video-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Inst nvidia-legacy-340xx-vdpau-driver (340.106-2 Debian:unstable [amd64])
Inst nvidia-legacy-340xx-kernel-support (340.106-2 Debian:unstable [amd64])
Inst nvidia-legacy-340xx-kernel-dkms (340.106-2 Debian:unstable [amd64])
Inst nvidia-legacy-340xx-driver (340.106-2 Debian:unstable [amd64])
Inst nvidia-settings-legacy-340xx (340.104-1 Debian:unstable [amd64])
Inst libnvidia-legacy-340xx-eglcore:i386 (340.106-2 Debian:unstable [i386])
Inst libegl1-nvidia-legacy-340xx:i386 (340.106-2 Debian:unstable [i386])
Inst libgles1-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Inst libgles1-nvidia-legacy-340xx:i386 (340.106-2 Debian:unstable [i386])
Inst libgles2-nvidia-legacy-340xx:i386 (340.106-2 Debian:unstable [i386])
Inst libgles2-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Inst libnvidia-legacy-340xx-cfg1:i386 (340.106-2 Debian:unstable [i386])
Inst libnvidia-legacy-340xx-cfg1 (340.106-2 Debian:unstable [amd64])
Inst nvidia-legacy-340xx-driver-libs:i386 (340.106-2 Debian:unstable [i386])
Inst nvidia-legacy-340xx-driver-libs-i386:i386 (340.106-2 Debian:unstable [i386])
Conf nvidia-legacy-340xx-alternative (340.106-2 Debian:unstable [amd64])
Conf libnvidia-legacy-340xx-glcore (340.106-2 Debian:unstable [amd64])
Conf libgl1-nvidia-legacy-340xx-glx (340.106-2 Debian:unstable [amd64])
Conf libnvidia-legacy-340xx-glcore:i386 (340.106-2 Debian:unstable [i386])
Conf libgl1-nvidia-legacy-340xx-glx:i386 (340.106-2 Debian:unstable [i386])
Conf libnvidia-legacy-340xx-eglcore (340.106-2 Debian:unstable [amd64])
Conf libegl1-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Conf nvidia-legacy-340xx-driver-libs (340.106-2 Debian:unstable [amd64])
Conf libnvidia-legacy-340xx-ml1 (340.106-2 Debian:unstable [amd64])
Conf nvidia-legacy-340xx-driver-bin (340.106-2 Debian:unstable [amd64])
Conf xserver-xorg-video-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Conf nvidia-legacy-340xx-vdpau-driver (340.106-2 Debian:unstable [amd64])
Conf nvidia-legacy-340xx-kernel-support (340.106-2 Debian:unstable [amd64])
Conf nvidia-legacy-340xx-kernel-dkms (340.106-2 Debian:unstable [amd64])
Conf nvidia-legacy-340xx-driver (340.106-2 Debian:unstable [amd64])
Conf nvidia-settings-legacy-340xx (340.104-1 Debian:unstable [amd64])
Conf libnvidia-legacy-340xx-eglcore:i386 (340.106-2 Debian:unstable [i386])
Conf libegl1-nvidia-legacy-340xx:i386 (340.106-2 Debian:unstable [i386])
Conf libgles1-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Conf libgles1-nvidia-legacy-340xx:i386 (340.106-2 Debian:unstable [i386])
Conf libgles2-nvidia-legacy-340xx:i386 (340.106-2 Debian:unstable [i386])
Conf libgles2-nvidia-legacy-340xx (340.106-2 Debian:unstable [amd64])
Conf libnvidia-legacy-340xx-cfg1:i386 (340.106-2 Debian:unstable [i386])
Conf libnvidia-legacy-340xx-cfg1 (340.106-2 Debian:unstable [amd64])
Conf nvidia-legacy-340xx-driver-libs:i386 (340.106-2 Debian:unstable [i386])
Conf nvidia-legacy-340xx-driver-libs-i386:i386 (340.106-2 Debian:unstable [i386])
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 GoinEasy9

  • User
  • Posts: 560
Re: Nvidia installation
« Reply #4 on: 2018/03/06, 20:39:06 »
Thank You piper and towo. I appreciate the help. 

I almost came back to say that Mesa was working again, because last night it was.  Then this morning login locked up again. This is how it started when I had Tumbleweed on the machine.  Intermittent lock ups.  Then as Mesa version moved from 17 to 18 the lock ups were constant.

So, I'm going to leave Mesa active on the machine and see if I can file some Bugzillas.

Question is: Do I file the bugs under Mesa or the Kernel?
Linux Counter number 348347

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: Nvidia installation
« Reply #5 on: 2018/03/06, 22:03:34 »
Most nouveau problems are from the kernel side, aka the kernel module.
So bugs should adressed to the kernel module, or if you want fast help, without filling long bug reports, tell your problems in the #nouveau channel on the freenode irc, all nouveau devs are there.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline GoinEasy9

  • User
  • Posts: 560
Re: Nvidia installation
« Reply #6 on: 2018/03/07, 03:01:10 »
Thanks towo, that information will come in handy.
Linux Counter number 348347