The time now is Tue 10 Dec 2019, 17:17
All times are UTC - 4 |
Page 45 of 103 [1533 Posts] |
Goto page: Previous 1, 2, 3, ..., 43, 44, 45, 46, 47, ..., 101, 102, 103 Next |
Author |
Message |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Mon 02 Oct 2017, 21:40 Post subject:
|
|
fredx181 wrote: | EDIT2: Also OK on Openbox with pcmanfm providing the desktop |
That's good news.
On another topic, I am working at how to install the NVIDIA vendor driver in Stretch-Live from its .run installer file. Trying to install nvidia through the repo was a disaster.
Has this been discussed before? If not, I will post a recipe.
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4208 Location: holland
|
Posted: Tue 03 Oct 2017, 05:03 Post subject:
|
|
rcrsn51 wrote: | On another topic, I am working at how to install the NVIDIA vendor driver in Stretch-Live from its .run installer file. Trying to install nvidia through the repo was a disaster.
Has this been discussed before? If not, I will post a recipe. |
What was the disaster then ?
Not that I know of it has been discussed before.
Fred
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Tue 03 Oct 2017, 07:39 Post subject:
|
|
fredx181 wrote: | What was the disaster then ? |
It was similar to stretchy's report on page 43.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Tue 03 Oct 2017, 07:42 Post subject:
|
|
How to Install the NVIDIA Video Driver in Stretch-Live 64bit
NVIDIA makes a variety of video cards and supporting them in Linux is a challenge. My old NVIDIA machine loads the open-source nouveau driver - it works, but it's "blinky". There are two methods for installing a better driver. You might want to practise on a test setup first.
Thank you to anikin for helping with this.
------------------------
Method A:
The Debian repo has driver packages that support many NVIDIA cards.
1. Open a terminal and run:
Code: | apt-get update
apt-get install linux-headers-$(uname -r)
apt-get install nvidia-detect
|
2a. Run the command: nvidia-detect
2b. It will recommend a driver for your card. Install it. For example:
Code: | apt-get install nvidia-legacy-304xx-driver |
3a. Reboot.
3b. To check that the driver has installed correctly, run: lspci -nnk | grep nvidia
-----------------------
Method B:
This method installs the NVIDIA vendor driver from scratch.
IMPORTANT: You should back up your changes folder before proceeding. If something goes wrong, you may not be able to restore the nouveau driver.
1a. Run the command: lspci -nnk
1b. Identify the model name of your NVIDIA adapter and the current driver, probably nouveau.
2a. Go here. These are combo Linux driver installers.
2b. For each series, look under Supported Products to see if your model is listed. Be aware that some series are incompatible with some kernels. The 340.107 series is a good choice.
2c. Download the .run installer file.
3. As with Puppy, you need a devx and kernel-sources in order to compile the driver. You have two choices:
a. Download and install them directly into your filesystem.
Code: | apt-get update
apt-get install build-essential
apt-get install linux-headers-$(uname -r) |
b. Use apt2sfs to build a mini-devx squashfs module from the above packages. Activate it from the right-click menu.
4. Download and extract the "mk-nvidia.tar.gz" attached below.
5a. Start with an empty folder in an ext partition with 1GB free space.
5b. Put the NVIDIA.run file and the mk-nvidia script in this folder.
6. Open a terminal and run the script. Ignore the messages about installing 32bit compatibility libs. Any error messages at the end may or may not be significant.
7. Unload the devx module and reboot.
8.If X does NOT start and quits with a prompt, run
Code: | nvidia-xconfig
startx |
9. If X starts OK, verify with
Code: | lspci -nnk | grep nvidia
nvidia-settings |
10.If X still won't start, you may need to reinstall your system.
-----------------------
Upgrading the driver for a new kernel: When X fails at bootup, type from the console:
Code: | apt-get update
apt-get install linux-headers-$(uname -r)
nvidia-detect
apt-get remove nvidia-xxx-driver #use your particular driver package
apt-get install nvidia-xxx-driver
reboot |
-------------------
Description |
|

Download |
Filename |
mk-nvidia.tar.gz |
Filesize |
697 Bytes |
Downloaded |
19 Time(s) |
Last edited by rcrsn51 on Sun 06 Oct 2019, 11:27; edited 21 times in total
|
Back to top
|
|
 |
anikin
Joined: 10 May 2012 Posts: 1020
|
Posted: Tue 03 Oct 2017, 11:07 Post subject:
|
|
rcrsn51 wrote: | ...On another topic, I am working at how to install the NVIDIA vendor driver in Stretch-Live from its .run installer file. Trying to install nvidia through the repo was a disaster.
Has this been discussed before? If not, I will post a recipe. |
With all due respect, it's done a little bit differently in Debian. First, make sure non-free is added to your sources list, something like: Code: | deb http://http.debian.net/debian/ stretch main contrib non-free | run Code: | apt-get update && apt-get install nvidia-detect nvidia-kernel-dkms | and run Debian wrote: | NVIDIA GPU detection utility
The 'nvidia-detect' script in this package checks for an NVIDIA GPU in the system and recommends one of the non-free accelerated driver meta-packages (nvidia-driver, nvidia-legacy-340xx-driver, or nvidia-legacy-304xx-driver) for installation. | https://packages.debian.org/stretch/nvidia-detect Debian wrote: | Package: nvidia-kernel-dkms (375.66-2~deb9u1) [non-free]
NVIDIA binary kernel module DKMS source
This package builds the NVIDIA Xorg binary kernel module needed by nvidia-driver, using DKMS. Provided that you have the kernel header packages installed, the kernel module will be built for your running kernel and automatically rebuilt for any new kernel headers that are installed.
The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets.
This version only supports GeForce, Quadro, NVS, Tesla, ... GPUs based on the Fermi, Kepler, Maxwell, or newer architectures. Look at the legacy packages for older cards.
See /usr/share/doc/nvidia-kernel-dkms/README.txt.gz for a complete list of supported GPUs and PCI IDs.
Building the kernel module has been tested up to Linux 4.10. | https://packages.debian.org/stretch/nvidia-kernel-dkms
Debian wrote: | Package: dkms (2.3-2)
Dynamic Kernel Module Support Framework
DKMS is a framework designed to allow individual kernel modules to be upgraded without changing the whole kernel. It is also very easy to rebuild modules as you upgrade kernels. | https://packages.debian.org/stretch/dkms
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Tue 03 Oct 2017, 11:30 Post subject:
|
|
Hi anikin: Could you confirm that this works in Stretch-Live? Because I attempted something like this and it failed.
[Edit] I tried again using the anikin procedure and it worked. There were still some messages about missing files but they don't appear to be significant.
I think that my original mistake was failing to install the driver package recommended by nvidia-detect.
This method also needs:
Code: | apt-get install linux-headers-$(uname -r) |
Thanks.
------------------
I shortened the procedure down to this:
Code: | apt-get update
apt-get install linux-headers-$(uname -r)
apt-get install nvidia-detect
nvidia-detect #pick the recommended driver
apt-get install nvidia-legacy-304xx-driver
reboot |
It worked and was faster. Have I lost anything by omitting the nvidia-kernel-dkms stuff?
|
Back to top
|
|
 |
anikin
Joined: 10 May 2012 Posts: 1020
|
Posted: Wed 04 Oct 2017, 01:56 Post subject:
|
|
rcrsn51 wrote: | It worked and was faster. Have I lost anything by omitting the nvidia-kernel-dkms stuff? | Probably, you haven't. The wiki https://wiki.debian.org/NvidiaGraphicsDrivers and this particular section dealing with your nvidia-legacy-304xx-driver: https://wiki.debian.org/NvidiaGraphicsDrivers#Version_304.135_.28legacy_GPUs.29 says: Quote: | This will install the nvidia-legacy-304xx-driver package. DKMS will build the nvidia module for your system, via the nvidia-legacy-304xx-kernel-dkms package. | There are so many nvidia drivers out there and apparently they have their own dkms packages.
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Wed 04 Oct 2017, 06:14 Post subject:
|
|
Thanks. The wiki also talks about running nvidia-config to create an Xorg config. I guess that I don't need to do that in Debian 9?
Running lspci definitely shows that the nvidia driver has loaded.
|
Back to top
|
|
 |
anikin
Joined: 10 May 2012 Posts: 1020
|
Posted: Wed 04 Oct 2017, 23:54 Post subject:
|
|
rcrsn51 wrote: | The wiki also talks about running nvidia-config to create an Xorg config. I guess that I don't need to do that in Debian 9? | I think you do. Have a look at both Arch Linux and Debian wikis linked below. Quote: | Running lspci definitely shows that the nvidia driver has loaded. | This one (from Arch wiki) has a bit more nuanced output. Code: | lspci -k | grep -A 2 -E "(VGA|3D)" | https://wiki.debian.org/NvidiaGraphicsDrivers/Configuration
https://wiki.archlinux.org/index.php/NVIDIA
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Thu 05 Oct 2017, 11:15 Post subject:
|
|
Scanner driver packages moved here.
Last edited by rcrsn51 on Sun 20 Oct 2019, 10:25; edited 5 times in total
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4208 Location: holland
|
Posted: Thu 05 Oct 2017, 15:09 Post subject:
|
|
Added to first post some links:
Any other suggestions ?
@rcrsn51
Does the installing of the Nvidia driver work as expected after reboot ?
I can't test, but I thought maybe it might be required to regenerate initrd and boot with that.
(how it would be in a full install)
EDIT: Package quick-remaster updated to v 1.1.3 with some improvements:
- Added graphical progress bar (instead xterm window)
- More safe because unmounting mount bind directories with "umount -l")
Install with Synaptic or from terminal:
Code: | apt-get update
apt-get install quick-remaster |
Fred
Description |
Quick-remaster progress |
Filesize |
17.33 KB |
Viewed |
1092 Time(s) |

|
Last edited by fredx181 on Thu 05 Oct 2017, 18:26; edited 3 times in total
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Thu 05 Oct 2017, 17:15 Post subject:
|
|
fredx181 wrote: | Does the installing of the Nvidia driver work as expected after reboot ? |
Yes, with both methods.
Method A still gives the message "missing /boot/initrd.img...", but it doesn't appear to matter.
|
Back to top
|
|
 |
dancytron
Joined: 18 Jul 2012 Posts: 1413
|
Posted: Thu 05 Oct 2017, 18:23 Post subject:
|
|
Quote: | EDIT: Package quick-remaster updated to v 1.1.3 with some improvements:
- Added graphical progress bar (instead xterm window)
- More safe because unmounting mount bind directories with "umount -l")
Install with Synaptic or from terminal: |
Just used this. Everything worked as expected.
|
Back to top
|
|
 |
zagreb999
Joined: 11 Apr 2014 Posts: 533 Location: Yugoslavija
|
Posted: Sat 07 Oct 2017, 15:37 Post subject:
xfce panel plugins |
|
regards
on
xfce panel there are duplicate (two instead one!) plugins:
pulseaudio, freememaplet tray....
thanks...
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 12801 Location: Stratford, Ontario
|
Posted: Sat 07 Oct 2017, 23:20 Post subject:
|
|
Hi Fred:
I updated unzipper here.
Also, I am suddenly having problems running "apt-get update" in my 64bit version of Stretch-Live. Is this me or them?
[Update] It's working now.
Bill
|
Back to top
|
|
 |
|
Page 45 of 103 [1533 Posts] |
Goto page: Previous 1, 2, 3, ..., 43, 44, 45, 46, 47, ..., 101, 102, 103 Next |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|