Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 15 Dec 2017, 00:38
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 45 of 61 [903 Posts]   Goto page: Previous 1, 2, 3, ..., 43, 44, 45, 46, 47, ..., 59, 60, 61 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2634
Location: holland

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: Tue 03 Oct 2017, 07:42    Post subject:  

How to Install the NVIDIA Video Driver in Stretch-Live

NVIDIA makes a variety of video cards and using them in Linux is a challenge. My 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.

Please report your own results. Thank you to anikin for helping with this.

------------------------

Method A:

Debian has some pre-built 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.

1a. Run the command: lspci -nnk
1b. Identify the model name of your NVIDIA adapter and the current driver.

2a. Go here and locate the installer for your model.
2b. Look under Supported Products for detailed model lists.
2c. Download the .run installer file to your /root folder.

3. Install the Linux compiler tools.
Code:
apt-get update
apt-get install build-essential
apt-get install linux-headers-$(uname -r)

4. Exit out of X to a prompt.
Code:
Menu > Logout > Exit X

5a. Make the installer file executable and run it (use Tab completion)
Code:
cd /root
ls
chmod 755 NVDIA [Tab]
./NVIDIA [Tab]

5b. You should get an error message that another video driver (like nouveau) is already active.
5c. Follow the steps to blacklist this driver.
5d. Run the command: reboot

6a. On the next boot, you will only get as far as a prompt.
6b. Run the installer again.
Code:
cd /root
ls
./NVIDIA [Tab]

6c. The installer should start to run. Follow the steps.

7a. You may be asked to install some 32bit compatibility libs. If there is a problem, skip this step.
7b. Let the installer set up the Xorg config.
7c. Reboot.

If something goes wrong and X doesn't start, you will need to restore the default nouveau driver.
Code:
cd /etc/modprobe.d
ls
rm nvidia [Tab]

-----------------------

Last edited by rcrsn51 on Wed 04 Oct 2017, 08:09; edited 9 times in total
Back to top
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 968

PostPosted: 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
Code:
nvidia-detect
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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 968

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
anikin

Joined: 10 May 2012
Posts: 968

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: Thu 05 Oct 2017, 11:15    Post subject:  

Here is a package of SANE scanner backends:

1. epkowa: the standard Epson driver from the vendor's Debian package but without the extra stuff.
2. pixma: the Canon driver from the new SANE v1.0.27 source. It supports more models than the current Stretch v1.0.25.
3. genesys: the SANE v1.0.27 driver for the Canon LiDE series of scanners.
4. xerox_mfp: an open-source substitute for the Samsung vendor scanner driver.

I have combined them into one package. However, it CANNOT be installed via apt-get because it over-writes existing files. Instead, download the package and use:

Code:
dpkg --force-overwrite -i sane-backends-pixma-genesys-epkowa-xerox_1.0.27_xxxxx.deb
apt-get -f install

http://www.mediafire.com/file/u8t8vrpnj4ve7vy/sane-backends-pixma-genesys-epkowa-xerox_1.0.27_i386.deb

http://www.mediafire.com/file/b8ka958o4x04y2s/sane-backends-pixma-genesys-epkowa-xerox_1.0.27_amd64.deb
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 2634
Location: holland

PostPosted: Thu 05 Oct 2017, 15:09    Post subject:  

Added to first post some links:
Quote:

Some links to useful info in this thread:
WiFi Firmware
3D graphics acceleration
Installing Brother printers in Stretch-Live-64bit
Problem changing brightness, solved
How to Install the NVIDIA Video Driver in Stretch-Live
Package of SANE scanner backends
pet2stretch


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
quick-remaster.jpg
 Description   Quick-remaster progress
 Filesize   17.33 KB
 Viewed   397 Time(s)

quick-remaster.jpg


Last edited by fredx181 on Thu 05 Oct 2017, 18:26; edited 3 times in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 956

PostPosted: 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
View user's profile Send private message 
zagreb999

Joined: 11 Apr 2014
Posts: 268
Location: Yugoslavija

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11738
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 45 of 61 [903 Posts]   Goto page: Previous 1, 2, 3, ..., 43, 44, 45, 46, 47, ..., 59, 60, 61 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

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
[ Time: 0.0698s ][ Queries: 14 (0.0081s) ][ GZIP on ]